1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. connect
  5. ContactFlowModule

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.connect.ContactFlowModule

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Resource Type definition for AWS::Connect::ContactFlowModule.

Example Usage

Example

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;

return await Deployment.RunAsync(() => 
{
    var cf11 = new AwsNative.Connect.ContactFlowModule("cf11", new()
    {
        Name = "ExampleFlowModule",
        Description = "flow module created using cfn",
        InstanceArn = "arn:aws:connect:region-name:aws-account-id:instance/instance-arn",
        Content = "ExampleFlowModule content(JSON) using Amazon Connect Flow Language.",
        Tags = new[]
        {
            new AwsNative.Inputs.TagArgs
            {
                Key = "testkey",
                Value = "testValue",
            },
        },
    });

});
Copy
package main

import (
	awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/connect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := connect.NewContactFlowModule(ctx, "cf11", &connect.ContactFlowModuleArgs{
			Name:        pulumi.String("ExampleFlowModule"),
			Description: pulumi.String("flow module created using cfn"),
			InstanceArn: pulumi.String("arn:aws:connect:region-name:aws-account-id:instance/instance-arn"),
			Content:     pulumi.String("ExampleFlowModule content(JSON) using Amazon Connect Flow Language."),
			Tags: aws.TagArray{
				&aws.TagArgs{
					Key:   pulumi.String("testkey"),
					Value: pulumi.String("testValue"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";

const cf11 = new aws_native.connect.ContactFlowModule("cf11", {
    name: "ExampleFlowModule",
    description: "flow module created using cfn",
    instanceArn: "arn:aws:connect:region-name:aws-account-id:instance/instance-arn",
    content: "ExampleFlowModule content(JSON) using Amazon Connect Flow Language.",
    tags: [{
        key: "testkey",
        value: "testValue",
    }],
});
Copy
import pulumi
import pulumi_aws_native as aws_native

cf11 = aws_native.connect.ContactFlowModule("cf11",
    name="ExampleFlowModule",
    description="flow module created using cfn",
    instance_arn="arn:aws:connect:region-name:aws-account-id:instance/instance-arn",
    content="ExampleFlowModule content(JSON) using Amazon Connect Flow Language.",
    tags=[{
        "key": "testkey",
        "value": "testValue",
    }])
Copy

Coming soon!

Create ContactFlowModule Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ContactFlowModule(name: string, args: ContactFlowModuleArgs, opts?: CustomResourceOptions);
@overload
def ContactFlowModule(resource_name: str,
                      args: ContactFlowModuleArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def ContactFlowModule(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      content: Optional[str] = None,
                      instance_arn: Optional[str] = None,
                      description: Optional[str] = None,
                      name: Optional[str] = None,
                      state: Optional[str] = None,
                      tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewContactFlowModule(ctx *Context, name string, args ContactFlowModuleArgs, opts ...ResourceOption) (*ContactFlowModule, error)
public ContactFlowModule(string name, ContactFlowModuleArgs args, CustomResourceOptions? opts = null)
public ContactFlowModule(String name, ContactFlowModuleArgs args)
public ContactFlowModule(String name, ContactFlowModuleArgs args, CustomResourceOptions options)
type: aws-native:connect:ContactFlowModule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ContactFlowModuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ContactFlowModuleArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ContactFlowModuleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ContactFlowModuleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ContactFlowModuleArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ContactFlowModule Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ContactFlowModule resource accepts the following input properties:

Content This property is required. string
The content of the contact flow module in JSON format.
InstanceArn This property is required. string
The identifier of the Amazon Connect instance (ARN).
Description string
The description of the contact flow module.
Name string
The name of the contact flow module.
State string
The state of the contact flow module.
Tags List<Pulumi.AwsNative.Inputs.Tag>
One or more tags.
Content This property is required. string
The content of the contact flow module in JSON format.
InstanceArn This property is required. string
The identifier of the Amazon Connect instance (ARN).
Description string
The description of the contact flow module.
Name string
The name of the contact flow module.
State string
The state of the contact flow module.
Tags TagArgs
One or more tags.
content This property is required. String
The content of the contact flow module in JSON format.
instanceArn This property is required. String
The identifier of the Amazon Connect instance (ARN).
description String
The description of the contact flow module.
name String
The name of the contact flow module.
state String
The state of the contact flow module.
tags List<Tag>
One or more tags.
content This property is required. string
The content of the contact flow module in JSON format.
instanceArn This property is required. string
The identifier of the Amazon Connect instance (ARN).
description string
The description of the contact flow module.
name string
The name of the contact flow module.
state string
The state of the contact flow module.
tags Tag[]
One or more tags.
content This property is required. str
The content of the contact flow module in JSON format.
instance_arn This property is required. str
The identifier of the Amazon Connect instance (ARN).
description str
The description of the contact flow module.
name str
The name of the contact flow module.
state str
The state of the contact flow module.
tags Sequence[TagArgs]
One or more tags.
content This property is required. String
The content of the contact flow module in JSON format.
instanceArn This property is required. String
The identifier of the Amazon Connect instance (ARN).
description String
The description of the contact flow module.
name String
The name of the contact flow module.
state String
The state of the contact flow module.
tags List<Property Map>
One or more tags.

Outputs

All input properties are implicitly available as output properties. Additionally, the ContactFlowModule resource produces the following output properties:

ContactFlowModuleArn string
The identifier of the contact flow module (ARN).
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the contact flow module.
ContactFlowModuleArn string
The identifier of the contact flow module (ARN).
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the contact flow module.
contactFlowModuleArn String
The identifier of the contact flow module (ARN).
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the contact flow module.
contactFlowModuleArn string
The identifier of the contact flow module (ARN).
id string
The provider-assigned unique ID for this managed resource.
status string
The status of the contact flow module.
contact_flow_module_arn str
The identifier of the contact flow module (ARN).
id str
The provider-assigned unique ID for this managed resource.
status str
The status of the contact flow module.
contactFlowModuleArn String
The identifier of the contact flow module (ARN).
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the contact flow module.

Supporting Types

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi