# AWS::Connect::ContactFlowModule Resource Type definition for AWS::Connect::ContactFlowModule. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "AWS::Connect::ContactFlowModule",
    "Properties" : {
        "InstanceArn" : String,
        "Name" : String,
        "Content" : String,
        "Description" : String,
        "State" : String,
        "Tags" : [ Tag, ... ]
    }
}
### YAML
Type: AWS::Connect::ContactFlowModule
Properties:
    InstanceArn: String
    Name: String
    Content: String
    Description: String
    State: String
    Tags: 
      - Tag
## Properties #### InstanceArn The identifier of the Amazon Connect instance (ARN). _Required_: Yes _Type_: String _Minimum_: 1 _Maximum_: 256 _Pattern_: ^arn:aws[-a-z0-9]*:connect:[-a-z0-9]*:[0-9]{12}:instance/[-a-zA-Z0-9]*$ _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Name The name of the contact flow module. _Required_: Yes _Type_: String _Minimum_: 1 _Maximum_: 127 _Pattern_: .*\S.* _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Content The content of the contact flow module in JSON format. _Required_: Yes _Type_: String _Minimum_: 1 _Maximum_: 256000 _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Description The description of the contact flow module. _Required_: No _Type_: String _Maximum_: 500 _Pattern_: .*\S.* _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### State The state of the contact flow module. _Required_: No _Type_: String _Allowed Values_: ACTIVE | ARCHIVED _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Tags One or more tags. _Required_: No _Type_: List of Tag _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) ## Return Values ### Ref When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the ContactFlowModuleArn. ### Fn::GetAtt The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values. For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html). #### ContactFlowModuleArn The identifier of the contact flow module (ARN). #### Status The status of the contact flow module.