We recommend new projects start with resources from the AWS provider.
aws-native.connect.IntegrationAssociation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IntegrationAssociation resource accepts the following input properties:
- Instance
Id string The Amazon Resource Name (ARN) of the instance.
Minimum :
1
Maximum :
100
- Integration
Arn string ARN of the integration being associated with the instance.
Minimum :
1
Maximum :
140
- Integration
Type Pulumi.Aws Native. Connect. Integration Association Integration Type Specifies the integration type to be associated with the instance.
Allowed Values :
LEX_BOT
|LAMBDA_FUNCTION
- Instance
Id string The Amazon Resource Name (ARN) of the instance.
Minimum :
1
Maximum :
100
- Integration
Arn string ARN of the integration being associated with the instance.
Minimum :
1
Maximum :
140
- Integration
Type IntegrationAssociation Integration Type Specifies the integration type to be associated with the instance.
Allowed Values :
LEX_BOT
|LAMBDA_FUNCTION
- instance
Id String The Amazon Resource Name (ARN) of the instance.
Minimum :
1
Maximum :
100
- integration
Arn String ARN of the integration being associated with the instance.
Minimum :
1
Maximum :
140
- integration
Type IntegrationAssociation Integration Type Specifies the integration type to be associated with the instance.
Allowed Values :
LEX_BOT
|LAMBDA_FUNCTION
- instance
Id string The Amazon Resource Name (ARN) of the instance.
Minimum :
1
Maximum :
100
- integration
Arn string ARN of the integration being associated with the instance.
Minimum :
1
Maximum :
140
- integration
Type IntegrationAssociation Integration Type 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 IntegrationAssociation Integration Type Specifies the integration type to be associated with the instance.
Allowed Values :
LEX_BOT
|LAMBDA_FUNCTION
- instance
Id String The Amazon Resource Name (ARN) of the instance.
Minimum :
1
Maximum :
100
- integration
Arn String ARN of the integration being associated with the instance.
Minimum :
1
Maximum :
140
- integration
Type "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.
- Integration
Association stringId - Identifier of the association with an Amazon Connect instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Integration
Association stringId - Identifier of the association with an Amazon Connect instance.
- id String
- The provider-assigned unique ID for this managed resource.
- integration
Association StringId - Identifier of the association with an Amazon Connect instance.
- id string
- The provider-assigned unique ID for this managed resource.
- integration
Association stringId - Identifier of the association with an Amazon Connect instance.
- id str
- The provider-assigned unique ID for this managed resource.
- integration_
association_ strid - Identifier of the association with an Amazon Connect instance.
- id String
- The provider-assigned unique ID for this managed resource.
- integration
Association StringId - Identifier of the association with an Amazon Connect instance.
Supporting Types
IntegrationAssociationIntegrationType, IntegrationAssociationIntegrationTypeArgs
- Lex
Bot - LEX_BOT
- Lambda
Function - LAMBDA_FUNCTION
- Application
- APPLICATION
- Integration
Association Integration Type Lex Bot - LEX_BOT
- Integration
Association Integration Type Lambda Function - LAMBDA_FUNCTION
- Integration
Association Integration Type Application - APPLICATION
- Lex
Bot - LEX_BOT
- Lambda
Function - LAMBDA_FUNCTION
- Application
- APPLICATION
- Lex
Bot - LEX_BOT
- Lambda
Function - 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
We recommend new projects start with resources from the AWS provider.