AWS v6.77.1 published on Friday, Apr 18, 2025 by Pulumi
aws.connect.getContactFlowModule
Explore with Pulumi AI
Provides details about a specific Amazon Connect Contact Flow Module.
Example Usage
By name
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.connect.getContactFlowModule({
    instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
    name: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.connect.get_contact_flow_module(instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
    name="example")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/connect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := connect.LookupContactFlowModule(ctx, &connect.LookupContactFlowModuleArgs{
			InstanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
			Name:       pulumi.StringRef("example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = Aws.Connect.GetContactFlowModule.Invoke(new()
    {
        InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
        Name = "example",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.ConnectFunctions;
import com.pulumi.aws.connect.inputs.GetContactFlowModuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = ConnectFunctions.getContactFlowModule(GetContactFlowModuleArgs.builder()
            .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
            .name("example")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:connect:getContactFlowModule
      arguments:
        instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
        name: example
By contact_flow_module_id
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.connect.getContactFlowModule({
    instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
    contactFlowModuleId: "cccccccc-bbbb-cccc-dddd-111111111111",
});
import pulumi
import pulumi_aws as aws
example = aws.connect.get_contact_flow_module(instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
    contact_flow_module_id="cccccccc-bbbb-cccc-dddd-111111111111")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/connect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := connect.LookupContactFlowModule(ctx, &connect.LookupContactFlowModuleArgs{
			InstanceId:          "aaaaaaaa-bbbb-cccc-dddd-111111111111",
			ContactFlowModuleId: pulumi.StringRef("cccccccc-bbbb-cccc-dddd-111111111111"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = Aws.Connect.GetContactFlowModule.Invoke(new()
    {
        InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
        ContactFlowModuleId = "cccccccc-bbbb-cccc-dddd-111111111111",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.connect.ConnectFunctions;
import com.pulumi.aws.connect.inputs.GetContactFlowModuleArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = ConnectFunctions.getContactFlowModule(GetContactFlowModuleArgs.builder()
            .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
            .contactFlowModuleId("cccccccc-bbbb-cccc-dddd-111111111111")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:connect:getContactFlowModule
      arguments:
        instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
        contactFlowModuleId: cccccccc-bbbb-cccc-dddd-111111111111
Using getContactFlowModule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getContactFlowModule(args: GetContactFlowModuleArgs, opts?: InvokeOptions): Promise<GetContactFlowModuleResult>
function getContactFlowModuleOutput(args: GetContactFlowModuleOutputArgs, opts?: InvokeOptions): Output<GetContactFlowModuleResult>def get_contact_flow_module(contact_flow_module_id: Optional[str] = None,
                            instance_id: Optional[str] = None,
                            name: Optional[str] = None,
                            tags: Optional[Mapping[str, str]] = None,
                            opts: Optional[InvokeOptions] = None) -> GetContactFlowModuleResult
def get_contact_flow_module_output(contact_flow_module_id: Optional[pulumi.Input[str]] = None,
                            instance_id: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetContactFlowModuleResult]func LookupContactFlowModule(ctx *Context, args *LookupContactFlowModuleArgs, opts ...InvokeOption) (*LookupContactFlowModuleResult, error)
func LookupContactFlowModuleOutput(ctx *Context, args *LookupContactFlowModuleOutputArgs, opts ...InvokeOption) LookupContactFlowModuleResultOutput> Note: This function is named LookupContactFlowModule in the Go SDK.
public static class GetContactFlowModule 
{
    public static Task<GetContactFlowModuleResult> InvokeAsync(GetContactFlowModuleArgs args, InvokeOptions? opts = null)
    public static Output<GetContactFlowModuleResult> Invoke(GetContactFlowModuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetContactFlowModuleResult> getContactFlowModule(GetContactFlowModuleArgs args, InvokeOptions options)
public static Output<GetContactFlowModuleResult> getContactFlowModule(GetContactFlowModuleArgs args, InvokeOptions options)
fn::invoke:
  function: aws:connect/getContactFlowModule:getContactFlowModule
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Instance
Id string - Reference to the hosting Amazon Connect Instance
 - Contact
Flow stringModule Id  - Returns information on a specific Contact Flow Module by contact flow module id
 - Name string
 - Returns information on a specific Contact Flow Module by name
 - Dictionary<string, string>
 - Map of tags to assign to the Contact Flow Module.
 
- Instance
Id string - Reference to the hosting Amazon Connect Instance
 - Contact
Flow stringModule Id  - Returns information on a specific Contact Flow Module by contact flow module id
 - Name string
 - Returns information on a specific Contact Flow Module by name
 - map[string]string
 - Map of tags to assign to the Contact Flow Module.
 
- instance
Id String - Reference to the hosting Amazon Connect Instance
 - contact
Flow StringModule Id  - Returns information on a specific Contact Flow Module by contact flow module id
 - name String
 - Returns information on a specific Contact Flow Module by name
 - Map<String,String>
 - Map of tags to assign to the Contact Flow Module.
 
- instance
Id string - Reference to the hosting Amazon Connect Instance
 - contact
Flow stringModule Id  - Returns information on a specific Contact Flow Module by contact flow module id
 - name string
 - Returns information on a specific Contact Flow Module by name
 - {[key: string]: string}
 - Map of tags to assign to the Contact Flow Module.
 
- instance_
id str - Reference to the hosting Amazon Connect Instance
 - contact_
flow_ strmodule_ id  - Returns information on a specific Contact Flow Module by contact flow module id
 - name str
 - Returns information on a specific Contact Flow Module by name
 - Mapping[str, str]
 - Map of tags to assign to the Contact Flow Module.
 
- instance
Id String - Reference to the hosting Amazon Connect Instance
 - contact
Flow StringModule Id  - Returns information on a specific Contact Flow Module by contact flow module id
 - name String
 - Returns information on a specific Contact Flow Module by name
 - Map<String>
 - Map of tags to assign to the Contact Flow Module.
 
getContactFlowModule Result
The following output properties are available:
- Arn string
 - ARN of the Contact Flow Module.
 - Contact
Flow stringModule Id  - Content string
 - Logic of the Contact Flow Module.
 - Description string
 - Description of the Contact Flow Module.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Instance
Id string - Name string
 - State string
 - Type of Contact Flow Module Module. Values are either 
ACTIVEorARCHIVED. - Status string
 - Status of the Contact Flow Module Module. Values are either 
PUBLISHEDorSAVED. - Dictionary<string, string>
 - Map of tags to assign to the Contact Flow Module.
 
- Arn string
 - ARN of the Contact Flow Module.
 - Contact
Flow stringModule Id  - Content string
 - Logic of the Contact Flow Module.
 - Description string
 - Description of the Contact Flow Module.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Instance
Id string - Name string
 - State string
 - Type of Contact Flow Module Module. Values are either 
ACTIVEorARCHIVED. - Status string
 - Status of the Contact Flow Module Module. Values are either 
PUBLISHEDorSAVED. - map[string]string
 - Map of tags to assign to the Contact Flow Module.
 
- arn String
 - ARN of the Contact Flow Module.
 - contact
Flow StringModule Id  - content String
 - Logic of the Contact Flow Module.
 - description String
 - Description of the Contact Flow Module.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - instance
Id String - name String
 - state String
 - Type of Contact Flow Module Module. Values are either 
ACTIVEorARCHIVED. - status String
 - Status of the Contact Flow Module Module. Values are either 
PUBLISHEDorSAVED. - Map<String,String>
 - Map of tags to assign to the Contact Flow Module.
 
- arn string
 - ARN of the Contact Flow Module.
 - contact
Flow stringModule Id  - content string
 - Logic of the Contact Flow Module.
 - description string
 - Description of the Contact Flow Module.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - instance
Id string - name string
 - state string
 - Type of Contact Flow Module Module. Values are either 
ACTIVEorARCHIVED. - status string
 - Status of the Contact Flow Module Module. Values are either 
PUBLISHEDorSAVED. - {[key: string]: string}
 - Map of tags to assign to the Contact Flow Module.
 
- arn str
 - ARN of the Contact Flow Module.
 - contact_
flow_ strmodule_ id  - content str
 - Logic of the Contact Flow Module.
 - description str
 - Description of the Contact Flow Module.
 - id str
 - The provider-assigned unique ID for this managed resource.
 - instance_
id str - name str
 - state str
 - Type of Contact Flow Module Module. Values are either 
ACTIVEorARCHIVED. - status str
 - Status of the Contact Flow Module Module. Values are either 
PUBLISHEDorSAVED. - Mapping[str, str]
 - Map of tags to assign to the Contact Flow Module.
 
- arn String
 - ARN of the Contact Flow Module.
 - contact
Flow StringModule Id  - content String
 - Logic of the Contact Flow Module.
 - description String
 - Description of the Contact Flow Module.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - instance
Id String - name String
 - state String
 - Type of Contact Flow Module Module. Values are either 
ACTIVEorARCHIVED. - status String
 - Status of the Contact Flow Module Module. Values are either 
PUBLISHEDorSAVED. - Map<String>
 - Map of tags to assign to the Contact Flow Module.
 
Package Details
- Repository
 - AWS Classic pulumi/pulumi-aws
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
awsTerraform Provider.