# CfnContactFlowModuleProps

Properties for defining a `CfnContactFlowModule`.

Used as props by: [CfnContactFlowModule](/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnContactFlowModule.html)

- Source: Generated at build time
- Type last changed: v2.234.0 · 8 Jan 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnContactFlowModuleProps: connect.CfnContactFlowModuleProps = {
  content: 'content',
  instanceArn: 'instanceArn',
  name: 'name',

  // the properties below are optional
  description: 'description',
  externalInvocationConfiguration: {
    enabled: false,
  },
  settings: 'settings',
  state: 'state',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect

cfn_contact_flow_module_props = connect.CfnContactFlowModuleProps(
    content="content",
    instance_arn="instanceArn",
    name="name",

    # the properties below are optional
    description="description",
    external_invocation_configuration=connect.CfnContactFlowModule.ExternalInvocationConfigurationProperty(
        enabled=False
    ),
    settings="settings",
    state="state",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

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.connect.*;

CfnContactFlowModuleProps cfnContactFlowModuleProps = CfnContactFlowModuleProps.builder()
        .content("content")
        .instanceArn("instanceArn")
        .name("name")

        // the properties below are optional
        .description("description")
        .externalInvocationConfiguration(ExternalInvocationConfigurationProperty.builder()
                .enabled(false)
                .build())
        .settings("settings")
        .state("state")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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.Connect;

var cfnContactFlowModuleProps = new CfnContactFlowModuleProps {
    Content = "content",
    InstanceArn = "instanceArn",
    Name = "name",

    // the properties below are optional
    Description = "description",
    ExternalInvocationConfiguration = new ExternalInvocationConfigurationProperty {
        Enabled = false
    },
    Settings = "settings",
    State = "state",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

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"

cfnContactFlowModuleProps := &CfnContactFlowModuleProps{
	Content: jsii.String("content"),
	InstanceArn: jsii.String("instanceArn"),
	Name: jsii.String("name"),

	// the properties below are optional
	Description: jsii.String("description"),
	ExternalInvocationConfiguration: &ExternalInvocationConfigurationProperty{
		Enabled: jsii.Boolean(false),
	},
	Settings: jsii.String("settings"),
	State: jsii.String("state"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `content`: string (required) — The content of the flow module.

- `description`: string — The description of the flow module.

- `externalInvocationConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnContactFlowModule.ExternalInvocationConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_connect.CfnContactFlowModule.ExternalInvocationConfigurationProperty.html) — The external invocation configuration for the flow module.

- `instanceArn`: string | [IInstanceRef](/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_connect.IInstanceRef.html) (required) — The Amazon Resource Name (ARN) of the Connect Customer instance.

- `name`: string (required) — The name of the flow module.

- `settings`: string — The configuration settings for the flow module.

- `state`: string — The state of the flow module.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.

  For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
