Skip to content
v2.277.0

CfnFlowTemplateProps Struct ​

Properties for defining a CfnFlowTemplate.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotthingsgraph as iotthingsgraph } from 'aws-cdk-lib';
const cfnFlowTemplateProps: iotthingsgraph.CfnFlowTemplateProps = {
  definition: {
    language: 'language',
    text: 'text',
  },

  // the properties below are optional
  compatibleNamespaceVersion: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotthingsgraph as iotthingsgraph

cfn_flow_template_props = iotthingsgraph.CfnFlowTemplateProps(
    definition=iotthingsgraph.CfnFlowTemplate.DefinitionDocumentProperty(
        language="language",
        text="text"
    ),

    # the properties below are optional
    compatible_namespace_version=123
)
java
// 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.*;

CfnFlowTemplateProps cfnFlowTemplateProps = CfnFlowTemplateProps.builder()
        .definition(DefinitionDocumentProperty.builder()
                .language("language")
                .text("text")
                .build())

        // the properties below are optional
        .compatibleNamespaceVersion(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTThingsGraph;

var cfnFlowTemplateProps = new CfnFlowTemplateProps {
    Definition = new DefinitionDocumentProperty {
        Language = "language",
        Text = "text"
    },

    // the properties below are optional
    CompatibleNamespaceVersion = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnFlowTemplateProps := &CfnFlowTemplateProps{
	Definition: &DefinitionDocumentProperty{
		Language: jsii.String("language"),
		Text: jsii.String("text"),
	},

	// the properties below are optional
	CompatibleNamespaceVersion: jsii.Number(123),
}

Properties ​

compatibleNamespaceVersionoptionalnumbercompatible_namespace_versionoptionalint | floatcompatibleNamespaceVersionoptionalNumberCompatibleNamespaceVersionoptionaldoubleCompatibleNamespaceVersionoptional*float64#
definitionIResolvable | CfnFlowTemplate.DefinitionDocumentPropertydefinitiontyping.Union[IResolvable, DefinitionDocumentProperty]definitionIResolvableDefinitionIResolvableDefinitioninterface{}required#