1. Packages
  2. AWS Native
  3. API Docs
  4. connect
  5. IntegrationAssociation

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.connect.IntegrationAssociation

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Resource Type definition for AWS::Connect::IntegrationAssociation

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var integrationAssociation = new AwsNative.Connect.IntegrationAssociation("integrationAssociation", new()
        {
            InstanceId = "arn:aws:connect:region-name:aws-account-id:instance/instance-id",
            IntegrationType = AwsNative.Connect.IntegrationAssociationIntegrationType.LexBot,
            IntegrationArn = "arn:aws:lex:region-name:aws-account-id:bot/bot-name",
        });
    
    });
    
    package main
    
    import (
    	"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.NewIntegrationAssociation(ctx, "integrationAssociation", &connect.IntegrationAssociationArgs{
    			InstanceId:      pulumi.String("arn:aws:connect:region-name:aws-account-id:instance/instance-id"),
    			IntegrationType: connect.IntegrationAssociationIntegrationTypeLexBot,
    			IntegrationArn:  pulumi.String("arn:aws:lex:region-name:aws-account-id:bot/bot-name"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    integration_association = aws_native.connect.IntegrationAssociation("integrationAssociation",
        instance_id="arn:aws:connect:region-name:aws-account-id:instance/instance-id",
        integration_type=aws_native.connect.IntegrationAssociationIntegrationType.LEX_BOT,
        integration_arn="arn:aws:lex:region-name:aws-account-id:bot/bot-name")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const integrationAssociation = new aws_native.connect.IntegrationAssociation("integrationAssociation", {
        instanceId: "arn:aws:connect:region-name:aws-account-id:instance/instance-id",
        integrationType: aws_native.connect.IntegrationAssociationIntegrationType.LexBot,
        integrationArn: "arn:aws:lex:region-name:aws-account-id:bot/bot-name",
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var integrationAssociation = new AwsNative.Connect.IntegrationAssociation("integrationAssociation", new()
        {
            InstanceId = "arn:aws:connect:region-name:aws-account-id:instance/instance-id",
            IntegrationType = AwsNative.Connect.IntegrationAssociationIntegrationType.LexBot,
            IntegrationArn = "arn:aws:lex:region-name:aws-account-id:bot-alias/bot-id/alias-id",
        });
    
    });
    
    package main
    
    import (
    	"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.NewIntegrationAssociation(ctx, "integrationAssociation", &connect.IntegrationAssociationArgs{
    			InstanceId:      pulumi.String("arn:aws:connect:region-name:aws-account-id:instance/instance-id"),
    			IntegrationType: connect.IntegrationAssociationIntegrationTypeLexBot,
    			IntegrationArn:  pulumi.String("arn:aws:lex:region-name:aws-account-id:bot-alias/bot-id/alias-id"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    integration_association = aws_native.connect.IntegrationAssociation("integrationAssociation",
        instance_id="arn:aws:connect:region-name:aws-account-id:instance/instance-id",
        integration_type=aws_native.connect.IntegrationAssociationIntegrationType.LEX_BOT,
        integration_arn="arn:aws:lex:region-name:aws-account-id:bot-alias/bot-id/alias-id")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const integrationAssociation = new aws_native.connect.IntegrationAssociation("integrationAssociation", {
        instanceId: "arn:aws:connect:region-name:aws-account-id:instance/instance-id",
        integrationType: aws_native.connect.IntegrationAssociationIntegrationType.LexBot,
        integrationArn: "arn:aws:lex:region-name:aws-account-id:bot-alias/bot-id/alias-id",
    });
    

    Coming soon!

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var integrationAssociation = new AwsNative.Connect.IntegrationAssociation("integrationAssociation", new()
        {
            InstanceId = "arn:aws:connect:region-name:aws-account-id:instance/instance-id",
            IntegrationType = AwsNative.Connect.IntegrationAssociationIntegrationType.LambdaFunction,
            IntegrationArn = "arn:aws:lambda:region-name:aws-account-id:function:function-arn",
        });
    
    });
    
    package main
    
    import (
    	"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.NewIntegrationAssociation(ctx, "integrationAssociation", &connect.IntegrationAssociationArgs{
    			InstanceId:      pulumi.String("arn:aws:connect:region-name:aws-account-id:instance/instance-id"),
    			IntegrationType: connect.IntegrationAssociationIntegrationTypeLambdaFunction,
    			IntegrationArn:  pulumi.String("arn:aws:lambda:region-name:aws-account-id:function:function-arn"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    integration_association = aws_native.connect.IntegrationAssociation("integrationAssociation",
        instance_id="arn:aws:connect:region-name:aws-account-id:instance/instance-id",
        integration_type=aws_native.connect.IntegrationAssociationIntegrationType.LAMBDA_FUNCTION,
        integration_arn="arn:aws:lambda:region-name:aws-account-id:function:function-arn")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const integrationAssociation = new aws_native.connect.IntegrationAssociation("integrationAssociation", {
        instanceId: "arn:aws:connect:region-name:aws-account-id:instance/instance-id",
        integrationType: aws_native.connect.IntegrationAssociationIntegrationType.LambdaFunction,
        integrationArn: "arn:aws:lambda:region-name:aws-account-id:function:function-arn",
    });
    

    Coming soon!

    Create IntegrationAssociation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IntegrationAssociation(name: string, args: IntegrationAssociationArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationAssociation(resource_name: str,
                               args: IntegrationAssociationArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationAssociation(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               instance_id: Optional[str] = None,
                               integration_arn: Optional[str] = None,
                               integration_type: Optional[IntegrationAssociationIntegrationType] = None)
    func NewIntegrationAssociation(ctx *Context, name string, args IntegrationAssociationArgs, opts ...ResourceOption) (*IntegrationAssociation, error)
    public IntegrationAssociation(string name, IntegrationAssociationArgs args, CustomResourceOptions? opts = null)
    public IntegrationAssociation(String name, IntegrationAssociationArgs args)
    public IntegrationAssociation(String name, IntegrationAssociationArgs args, CustomResourceOptions options)
    
    type: aws-native:connect:IntegrationAssociation
    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 IntegrationAssociationArgs
    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 IntegrationAssociationArgs
    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 IntegrationAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    IntegrationAssociation 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 IntegrationAssociation resource accepts the following input properties:

    InstanceId string

    The Amazon Resource Name (ARN) of the instance.

    Minimum : 1

    Maximum : 100

    IntegrationArn string

    ARN of the integration being associated with the instance.

    Minimum : 1

    Maximum : 140

    IntegrationType Pulumi.AwsNative.Connect.IntegrationAssociationIntegrationType

    Specifies the integration type to be associated with the instance.

    Allowed Values : LEX_BOT | LAMBDA_FUNCTION

    InstanceId string

    The Amazon Resource Name (ARN) of the instance.

    Minimum : 1

    Maximum : 100

    IntegrationArn string

    ARN of the integration being associated with the instance.

    Minimum : 1

    Maximum : 140

    IntegrationType IntegrationAssociationIntegrationType

    Specifies the integration type to be associated with the instance.

    Allowed Values : LEX_BOT | LAMBDA_FUNCTION

    instanceId String

    The Amazon Resource Name (ARN) of the instance.

    Minimum : 1

    Maximum : 100

    integrationArn String

    ARN of the integration being associated with the instance.

    Minimum : 1

    Maximum : 140

    integrationType IntegrationAssociationIntegrationType

    Specifies the integration type to be associated with the instance.

    Allowed Values : LEX_BOT | LAMBDA_FUNCTION

    instanceId string

    The Amazon Resource Name (ARN) of the instance.

    Minimum : 1

    Maximum : 100

    integrationArn string

    ARN of the integration being associated with the instance.

    Minimum : 1

    Maximum : 140

    integrationType IntegrationAssociationIntegrationType

    Specifies the integration type to be associated with the instance.

    Allowed Values : LEX_BOT | LAMBDA_FUNCTION

    instance_id str

    The Amazon Resource Name (ARN) of the instance.

    Minimum : 1

    Maximum : 100

    integration_arn str

    ARN of the integration being associated with the instance.

    Minimum : 1

    Maximum : 140

    integration_type IntegrationAssociationIntegrationType

    Specifies the integration type to be associated with the instance.

    Allowed Values : LEX_BOT | LAMBDA_FUNCTION

    instanceId String

    The Amazon Resource Name (ARN) of the instance.

    Minimum : 1

    Maximum : 100

    integrationArn String

    ARN of the integration being associated with the instance.

    Minimum : 1

    Maximum : 140

    integrationType "LEX_BOT" | "LAMBDA_FUNCTION" | "APPLICATION"

    Specifies the integration type to be associated with the instance.

    Allowed Values : LEX_BOT | LAMBDA_FUNCTION

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IntegrationAssociation resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    IntegrationAssociationId string
    Identifier of the association with an Amazon Connect instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    IntegrationAssociationId string
    Identifier of the association with an Amazon Connect instance.
    id String
    The provider-assigned unique ID for this managed resource.
    integrationAssociationId String
    Identifier of the association with an Amazon Connect instance.
    id string
    The provider-assigned unique ID for this managed resource.
    integrationAssociationId string
    Identifier of the association with an Amazon Connect instance.
    id str
    The provider-assigned unique ID for this managed resource.
    integration_association_id str
    Identifier of the association with an Amazon Connect instance.
    id String
    The provider-assigned unique ID for this managed resource.
    integrationAssociationId String
    Identifier of the association with an Amazon Connect instance.

    Supporting Types

    IntegrationAssociationIntegrationType, IntegrationAssociationIntegrationTypeArgs

    LexBot
    LEX_BOT
    LambdaFunction
    LAMBDA_FUNCTION
    Application
    APPLICATION
    IntegrationAssociationIntegrationTypeLexBot
    LEX_BOT
    IntegrationAssociationIntegrationTypeLambdaFunction
    LAMBDA_FUNCTION
    IntegrationAssociationIntegrationTypeApplication
    APPLICATION
    LexBot
    LEX_BOT
    LambdaFunction
    LAMBDA_FUNCTION
    Application
    APPLICATION
    LexBot
    LEX_BOT
    LambdaFunction
    LAMBDA_FUNCTION
    Application
    APPLICATION
    LEX_BOT
    LEX_BOT
    LAMBDA_FUNCTION
    LAMBDA_FUNCTION
    APPLICATION
    APPLICATION
    "LEX_BOT"
    LEX_BOT
    "LAMBDA_FUNCTION"
    LAMBDA_FUNCTION
    "APPLICATION"
    APPLICATION

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi