# CfnFlowTemplateProps

Properties for defining a `CfnFlowTemplate`.

Used as props by: [CfnFlowTemplate](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iotthingsgraph.CfnFlowTemplate.html)

- Source: Generated at build time

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `compatibleNamespaceVersion`: number

- `definition`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowTemplate.DefinitionDocumentProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iotthingsgraph.CfnFlowTemplate.DefinitionDocumentProperty.html) (required)
