Skip to content
v2.277.0

CfnContactFlowModuleProps Struct ​

Properties for defining a CfnContactFlowModule.

Example ​

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
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
// 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();
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"
    } }
};
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 ​

contentstringcontentstrcontentStringContentstringContent*string required #
The content of the flow module.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The description of the flow module.
externalInvocationConfigurationoptionalIResolvable | CfnContactFlowModule.ExternalInvocationConfigurationPropertyexternal_invocation_configurationoptionaltyping.Union[IResolvable, ExternalInvocationConfigurationProperty]externalInvocationConfigurationoptionalIResolvableExternalInvocationConfigurationoptionalIResolvableExternalInvocationConfigurationoptionalinterface{} #
The external invocation configuration for the flow module.
instanceArnstring | IInstanceRefinstance_arntyping.Union[str, IInstanceRef]instanceArnStringInstanceArnstringInstanceArninterface{} required #
The Amazon Resource Name (ARN) of the Connect Customer instance.
namestringnamestrnameStringNamestringName*string required #
The name of the flow module.
settingsoptionalstringsettingsoptionalstrsettingsoptionalStringSettingsoptionalstringSettingsoptional*string #
The configuration settings for the flow module.
stateoptionalstringstateoptionalstrstateoptionalStringStateoptionalstringStateoptional*string #
The state of the flow module.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
An array of key-value pairs to apply to this resource.

For more information, see Tag .