@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.062Z") @Stability(value=Stable) public class CfnFlowTemplate extends CfnResource implements IInspectable
Represents a workflow template. Workflows can be created only in the user's namespace. (The public namespace contains only entities.) The workflow can contain only entities in the specified namespace. The workflow is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotthingsgraph.*;
CfnFlowTemplate cfnFlowTemplate = CfnFlowTemplate.Builder.create(this, "MyCfnFlowTemplate")
.definition(DefinitionDocumentProperty.builder()
.language("language")
.text("text")
.build())
// the properties below are optional
.compatibleNamespaceVersion(123)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnFlowTemplate.Builder
A fluent builder for
CfnFlowTemplate. |
static interface |
CfnFlowTemplate.DefinitionDocumentProperty
A document that defines an entity.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnFlowTemplate(software.constructs.Construct scope,
String id,
CfnFlowTemplateProps props)
Create a new `AWS::IoTThingsGraph::FlowTemplate`.
|
protected |
CfnFlowTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnFlowTemplate(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getCfnProperties() |
Number |
getCompatibleNamespaceVersion()
The version of the user's namespace against which the workflow was validated.
|
Object |
getDefinition()
A workflow's definition document.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCompatibleNamespaceVersion(Number value)
The version of the user's namespace against which the workflow was validated.
|
void |
setDefinition(CfnFlowTemplate.DefinitionDocumentProperty value)
A workflow's definition document.
|
void |
setDefinition(IResolvable value)
A workflow's definition document.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnFlowTemplate(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnFlowTemplate(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnFlowTemplate(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnFlowTemplateProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public Object getDefinition()
@Stability(value=Stable)
public void setDefinition(@NotNull
CfnFlowTemplate.DefinitionDocumentProperty value)
@Stability(value=Stable)
public void setDefinition(@NotNull
IResolvable value)
@Stability(value=Stable) @Nullable public Number getCompatibleNamespaceVersion()
Use this value in your system instance.
@Stability(value=Stable)
public void setCompatibleNamespaceVersion(@Nullable
Number value)
Use this value in your system instance.
Copyright © 2022. All rights reserved.