AWS Native is in preview. AWS Classic is fully supported.
aws-native.connect.ContactFlowModule
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
- Instance
Arn 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.
- List<Pulumi.
Aws Native. Inputs. Tag> - One or more tags.
- Content string
- The content of the contact flow module in JSON format.
- Instance
Arn 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.
- Tag
Args - One or more tags.
- content String
- The content of the contact flow module in JSON format.
- instance
Arn 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.
- List<Tag>
- One or more tags.
- content string
- The content of the contact flow module in JSON format.
- instance
Arn 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.
- 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.
- Sequence[Tag
Args] - One or more tags.
- content String
- The content of the contact flow module in JSON format.
- instance
Arn 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.
- 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:
- Contact
Flow stringModule Arn - 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 stringModule Arn - 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 StringModule Arn - 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 stringModule Arn - 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_ strmodule_ arn - 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.
- contact
Flow StringModule Arn - 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.