Skip to content

Data Source: awsConnectContactFlow

Provides details about a specific Amazon Connect Contact Flow.

Example Usage

By name

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsConnectContactFlow.DataAwsConnectContactFlow(this, "test", {
  instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
  name: "Test",
});

By contact_flow_id

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsConnectContactFlow.DataAwsConnectContactFlow(this, "test", {
  contactFlowId: "cccccccc-bbbb-cccc-dddd-111111111111",
  instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
});

Argument Reference

\~> NOTE: instanceId and one of either name or contactFlowId is required.

The following arguments are supported:

  • contactFlowId - (Optional) Returns information on a specific Contact Flow by contact flow id
  • instanceId - (Required) Reference to the hosting Amazon Connect Instance
  • name - (Optional) Returns information on a specific Contact Flow by name

Attributes Reference

In addition to all of the arguments above, the following attributes are exported:

  • arn - ARN of the Contact Flow.
  • content - Logic of the Contact Flow.
  • description - Description of the Contact Flow.
  • tags - Tags to assign to the Contact Flow.
  • type - Type of Contact Flow.