AWS Classic
getContactFlowModule
Provides details about a specific Amazon Connect Contact Flow Module.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Aws.Connect.GetContactFlowModule.InvokeAsync(new Aws.Connect.GetContactFlowModuleArgs
{
InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
Name = "example",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/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
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = Output.of(ConnectFunctions.getContactFlowModule(GetContactFlowModuleArgs.builder()
.instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
.name("example")
.build()));
}
}
import pulumi
import pulumi_aws as aws
example = aws.connect.get_contact_flow_module(instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
name="example")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = pulumi.output(aws.connect.getContactFlowModule({
instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
name: "example",
}));
variables:
example:
Fn::Invoke:
Function: aws:connect:getContactFlowModule
Arguments:
instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
name: example
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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: aws:connect/getContactFlowModule:getContactFlowModule
Arguments:
# Arguments dictionary
The 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>
A 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
A 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
A 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}
A 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]
A 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
A map of tags to assign to the Contact Flow Module.
getContactFlowModule Result
The following output properties are available:
- Arn string
The Amazon Resource Name (ARN) of the Contact Flow Module.
- Contact
Flow stringModule Id - Content string
Specifies the logic of the Contact Flow Module.
- Description string
Specifies the description of the Contact Flow Module.
- Id string
The provider-assigned unique ID for this managed resource.
- Instance
Id string - Name string
- State string
Specifies the type of Contact Flow Module Module. Values are either
ACTIVE
orARCHIVED
.- Status string
The status of the Contact Flow Module Module. Values are either
PUBLISHED
orSAVED
.- Dictionary<string, string>
A map of tags to assign to the Contact Flow Module.
- Arn string
The Amazon Resource Name (ARN) of the Contact Flow Module.
- Contact
Flow stringModule Id - Content string
Specifies the logic of the Contact Flow Module.
- Description string
Specifies the description of the Contact Flow Module.
- Id string
The provider-assigned unique ID for this managed resource.
- Instance
Id string - Name string
- State string
Specifies the type of Contact Flow Module Module. Values are either
ACTIVE
orARCHIVED
.- Status string
The status of the Contact Flow Module Module. Values are either
PUBLISHED
orSAVED
.- map[string]string
A map of tags to assign to the Contact Flow Module.
- arn String
The Amazon Resource Name (ARN) of the Contact Flow Module.
- contact
Flow StringModule Id - content String
Specifies the logic of the Contact Flow Module.
- description String
Specifies the description of the Contact Flow Module.
- id String
The provider-assigned unique ID for this managed resource.
- instance
Id String - name String
- state String
Specifies the type of Contact Flow Module Module. Values are either
ACTIVE
orARCHIVED
.- status String
The status of the Contact Flow Module Module. Values are either
PUBLISHED
orSAVED
.- Map
A map of tags to assign to the Contact Flow Module.
- arn string
The Amazon Resource Name (ARN) of the Contact Flow Module.
- contact
Flow stringModule Id - content string
Specifies the logic of the Contact Flow Module.
- description string
Specifies the description of the Contact Flow Module.
- id string
The provider-assigned unique ID for this managed resource.
- instance
Id string - name string
- state string
Specifies the type of Contact Flow Module Module. Values are either
ACTIVE
orARCHIVED
.- status string
The status of the Contact Flow Module Module. Values are either
PUBLISHED
orSAVED
.- {[key: string]: string}
A map of tags to assign to the Contact Flow Module.
- arn str
The Amazon Resource Name (ARN) of the Contact Flow Module.
- contact_
flow_ strmodule_ id - content str
Specifies the logic of the Contact Flow Module.
- description str
Specifies the description of the Contact Flow Module.
- id str
The provider-assigned unique ID for this managed resource.
- instance_
id str - name str
- state str
Specifies the type of Contact Flow Module Module. Values are either
ACTIVE
orARCHIVED
.- status str
The status of the Contact Flow Module Module. Values are either
PUBLISHED
orSAVED
.- Mapping[str, str]
A map of tags to assign to the Contact Flow Module.
- arn String
The Amazon Resource Name (ARN) of the Contact Flow Module.
- contact
Flow StringModule Id - content String
Specifies the logic of the Contact Flow Module.
- description String
Specifies the description of the Contact Flow Module.
- id String
The provider-assigned unique ID for this managed resource.
- instance
Id String - name String
- state String
Specifies the type of Contact Flow Module Module. Values are either
ACTIVE
orARCHIVED
.- status String
The status of the Contact Flow Module Module. Values are either
PUBLISHED
orSAVED
.- Map
A map of tags to assign to the Contact Flow Module.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.