Skip to content
v2.278.0

CfnContactFlowProps Struct ​

Properties for defining a CfnContactFlow.

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 cfnContactFlowProps: connect.CfnContactFlowProps = {
  content: 'content',
  instanceArn: 'instanceArn',
  name: 'name',
  type: 'type',

  // the properties below are optional
  description: 'description',
  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_props = connect.CfnContactFlowProps(
    content="content",
    instance_arn="instanceArn",
    name="name",
    type="type",

    # the properties below are optional
    description="description",
    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.*;

CfnContactFlowProps cfnContactFlowProps = CfnContactFlowProps.builder()
        .content("content")
        .instanceArn("instanceArn")
        .name("name")
        .type("type")

        // the properties below are optional
        .description("description")
        .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 cfnContactFlowProps = new CfnContactFlowProps {
    Content = "content",
    InstanceArn = "instanceArn",
    Name = "name",
    Type = "type",

    // the properties below are optional
    Description = "description",
    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"

cfnContactFlowProps := &CfnContactFlowProps{
	Content: jsii.String("content"),
	InstanceArn: jsii.String("instanceArn"),
	Name: jsii.String("name"),
	Type: jsii.String("type"),

	// the properties below are optional
	Description: jsii.String("description"),
	State: jsii.String("state"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

contentstringcontentstrcontentStringContentstringContent*string required #
The content of the flow.

For more information, see Connect Customer Flow language in the Connect Customer Administrator Guide .

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The description of the flow.
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.
stateoptionalstringstateoptionalstrstateoptionalStringStateoptionalstringStateoptional*string #
The state of the flow.
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 .

typestringtypestrtypeStringTypestringType*string required #
The type of the flow.

For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide .