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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.connect.ContactFlowModule

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 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",
                },
            },
        });
    
    });
    
    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
    	})
    }
    

    Coming soon!

    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=[aws_native.TagArgs(
            key="testkey",
            value="testValue",
        )])
    
    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",
        }],
    });
    

    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 string
    The unique name of the resource.
    args ContactFlowModuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args ContactFlowModuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContactFlowModuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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

    The ContactFlowModule resource accepts the following input properties:

    Content string
    The content of the contact flow module in JSON format.
    InstanceArn 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 string
    The content of the contact flow module in JSON format.
    InstanceArn 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 String
    The content of the contact flow module in JSON format.
    instanceArn 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 string
    The content of the contact flow module in JSON format.
    instanceArn 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 str
    The content of the contact flow module in JSON format.
    instance_arn 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 String
    The content of the contact flow module in JSON format.
    instanceArn 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 string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi