AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.10.0 published on Monday, Jul 11, 2022 by Pulumi

getContactFlow

Provides details about a specific Amazon Connect Contact Flow.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var test = Output.Create(Aws.Connect.GetContactFlow.InvokeAsync(new Aws.Connect.GetContactFlowArgs
        {
            InstanceId = "aaaaaaaa-bbbb-cccc-dddd-111111111111",
            Name = "Test",
        }));
    }

}
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.LookupContactFlow(ctx, &connect.LookupContactFlowArgs{
			InstanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
			Name:       pulumi.StringRef("Test"),
		}, 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 test = Output.of(ConnectFunctions.getContactFlow(GetContactFlowArgs.builder()
            .instanceId("aaaaaaaa-bbbb-cccc-dddd-111111111111")
            .name("Test")
            .build()));

    }
}
import pulumi
import pulumi_aws as aws

test = aws.connect.get_contact_flow(instance_id="aaaaaaaa-bbbb-cccc-dddd-111111111111",
    name="Test")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = pulumi.output(aws.connect.getContactFlow({
    instanceId: "aaaaaaaa-bbbb-cccc-dddd-111111111111",
    name: "Test",
}));
variables:
  test:
    Fn::Invoke:
      Function: aws:connect:getContactFlow
      Arguments:
        instanceId: aaaaaaaa-bbbb-cccc-dddd-111111111111
        name: Test

Using getContactFlow

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 getContactFlow(args: GetContactFlowArgs, opts?: InvokeOptions): Promise<GetContactFlowResult>
function getContactFlowOutput(args: GetContactFlowOutputArgs, opts?: InvokeOptions): Output<GetContactFlowResult>
def get_contact_flow(contact_flow_id: Optional[str] = None,
                     instance_id: Optional[str] = None,
                     name: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     type: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetContactFlowResult
def get_contact_flow_output(contact_flow_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,
                     type: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetContactFlowResult]
func LookupContactFlow(ctx *Context, args *LookupContactFlowArgs, opts ...InvokeOption) (*LookupContactFlowResult, error)
func LookupContactFlowOutput(ctx *Context, args *LookupContactFlowOutputArgs, opts ...InvokeOption) LookupContactFlowResultOutput

> Note: This function is named LookupContactFlow in the Go SDK.

public static class GetContactFlow 
{
    public static Task<GetContactFlowResult> InvokeAsync(GetContactFlowArgs args, InvokeOptions? opts = null)
    public static Output<GetContactFlowResult> Invoke(GetContactFlowInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetContactFlowResult> getContactFlow(GetContactFlowArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws:connect/getContactFlow:getContactFlow
  Arguments:
    # Arguments dictionary

The following arguments are supported:

InstanceId string

Reference to the hosting Amazon Connect Instance

ContactFlowId string

Returns information on a specific Contact Flow by contact flow id

Name string

Returns information on a specific Contact Flow by name

Tags Dictionary<string, string>

A the map of tags to assign to the Contact Flow.

Type string

Specifies the type of Contact Flow.

InstanceId string

Reference to the hosting Amazon Connect Instance

ContactFlowId string

Returns information on a specific Contact Flow by contact flow id

Name string

Returns information on a specific Contact Flow by name

Tags map[string]string

A the map of tags to assign to the Contact Flow.

Type string

Specifies the type of Contact Flow.

instanceId String

Reference to the hosting Amazon Connect Instance

contactFlowId String

Returns information on a specific Contact Flow by contact flow id

name String

Returns information on a specific Contact Flow by name

tags Map<String,String>

A the map of tags to assign to the Contact Flow.

type String

Specifies the type of Contact Flow.

instanceId string

Reference to the hosting Amazon Connect Instance

contactFlowId string

Returns information on a specific Contact Flow by contact flow id

name string

Returns information on a specific Contact Flow by name

tags {[key: string]: string}

A the map of tags to assign to the Contact Flow.

type string

Specifies the type of Contact Flow.

instance_id str

Reference to the hosting Amazon Connect Instance

contact_flow_id str

Returns information on a specific Contact Flow by contact flow id

name str

Returns information on a specific Contact Flow by name

tags Mapping[str, str]

A the map of tags to assign to the Contact Flow.

type str

Specifies the type of Contact Flow.

instanceId String

Reference to the hosting Amazon Connect Instance

contactFlowId String

Returns information on a specific Contact Flow by contact flow id

name String

Returns information on a specific Contact Flow by name

tags Map<String>

A the map of tags to assign to the Contact Flow.

type String

Specifies the type of Contact Flow.

getContactFlow Result

The following output properties are available:

Arn string

The Amazon Resource Name (ARN) of the Contact Flow.

ContactFlowId string
Content string

Specifies the logic of the Contact Flow.

Description string

Specifies the description of the Contact Flow.

Id string

The provider-assigned unique ID for this managed resource.

InstanceId string
Name string
Tags Dictionary<string, string>

A the map of tags to assign to the Contact Flow.

Type string

Specifies the type of Contact Flow.

Arn string

The Amazon Resource Name (ARN) of the Contact Flow.

ContactFlowId string
Content string

Specifies the logic of the Contact Flow.

Description string

Specifies the description of the Contact Flow.

Id string

The provider-assigned unique ID for this managed resource.

InstanceId string
Name string
Tags map[string]string

A the map of tags to assign to the Contact Flow.

Type string

Specifies the type of Contact Flow.

arn String

The Amazon Resource Name (ARN) of the Contact Flow.

contactFlowId String
content String

Specifies the logic of the Contact Flow.

description String

Specifies the description of the Contact Flow.

id String

The provider-assigned unique ID for this managed resource.

instanceId String
name String
tags Map<String,String>

A the map of tags to assign to the Contact Flow.

type String

Specifies the type of Contact Flow.

arn string

The Amazon Resource Name (ARN) of the Contact Flow.

contactFlowId string
content string

Specifies the logic of the Contact Flow.

description string

Specifies the description of the Contact Flow.

id string

The provider-assigned unique ID for this managed resource.

instanceId string
name string
tags {[key: string]: string}

A the map of tags to assign to the Contact Flow.

type string

Specifies the type of Contact Flow.

arn str

The Amazon Resource Name (ARN) of the Contact Flow.

contact_flow_id str
content str

Specifies the logic of the Contact Flow.

description str

Specifies the description of the Contact Flow.

id str

The provider-assigned unique ID for this managed resource.

instance_id str
name str
tags Mapping[str, str]

A the map of tags to assign to the Contact Flow.

type str

Specifies the type of Contact Flow.

arn String

The Amazon Resource Name (ARN) of the Contact Flow.

contactFlowId String
content String

Specifies the logic of the Contact Flow.

description String

Specifies the description of the Contact Flow.

id String

The provider-assigned unique ID for this managed resource.

instanceId String
name String
tags Map<String>

A the map of tags to assign to the Contact Flow.

type String

Specifies the type of Contact Flow.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.