Skip to content
v2.278.0

CfnIntegrationAssociationProps Struct ​

Properties for defining a CfnIntegrationAssociation.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
const cfnIntegrationAssociationProps: connect.CfnIntegrationAssociationProps = {
  instanceId: 'instanceId',
  integrationArn: 'integrationArn',
  integrationType: 'integrationType',

  // the properties below are optional
  sourceApplicationName: 'sourceApplicationName',
  sourceApplicationUrl: 'sourceApplicationUrl',
  sourceType: 'sourceType',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect

cfn_integration_association_props = connect.CfnIntegrationAssociationProps(
    instance_id="instanceId",
    integration_arn="integrationArn",
    integration_type="integrationType",

    # the properties below are optional
    source_application_name="sourceApplicationName",
    source_application_url="sourceApplicationUrl",
    source_type="sourceType",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;

CfnIntegrationAssociationProps cfnIntegrationAssociationProps = CfnIntegrationAssociationProps.builder()
        .instanceId("instanceId")
        .integrationArn("integrationArn")
        .integrationType("integrationType")

        // the properties below are optional
        .sourceApplicationName("sourceApplicationName")
        .sourceApplicationUrl("sourceApplicationUrl")
        .sourceType("sourceType")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;

var cfnIntegrationAssociationProps = new CfnIntegrationAssociationProps {
    InstanceId = "instanceId",
    IntegrationArn = "integrationArn",
    IntegrationType = "integrationType",

    // the properties below are optional
    SourceApplicationName = "sourceApplicationName",
    SourceApplicationUrl = "sourceApplicationUrl",
    SourceType = "sourceType",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnIntegrationAssociationProps := &CfnIntegrationAssociationProps{
	InstanceId: jsii.String("instanceId"),
	IntegrationArn: jsii.String("integrationArn"),
	IntegrationType: jsii.String("integrationType"),

	// the properties below are optional
	SourceApplicationName: jsii.String("sourceApplicationName"),
	SourceApplicationUrl: jsii.String("sourceApplicationUrl"),
	SourceType: jsii.String("sourceType"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

instanceIdstring | IInstanceRefinstance_idtyping.Union[str, IInstanceRef]instanceIdStringInstanceIdstringInstanceIdinterface{} required #
The Amazon Resource Name (ARN) of the instance.

Minimum : 1

Maximum : 100

integrationArnstringintegration_arnstrintegrationArnStringIntegrationArnstringIntegrationArn*string required #
ARN of the integration being associated with the instance.

Minimum : 1

Maximum : 140

integrationTypestringintegration_typestrintegrationTypeStringIntegrationTypestringIntegrationType*string required #
Specifies the integration type to be associated with the instance.

Allowed Values : LEX_BOT | LAMBDA_FUNCTION

sourceApplicationNameoptionalstringsource_application_nameoptionalstrsourceApplicationNameoptionalStringSourceApplicationNameoptionalstringSourceApplicationNameoptional*string #
The name of the external application.

This is only supported for the EVENT integration type

sourceApplicationUrloptionalstringsource_application_urloptionalstrsourceApplicationUrloptionalStringSourceApplicationUrloptionalstringSourceApplicationUrloptional*string #
The URL for the external application.

This is only supported for the EVENT integration type

sourceTypeoptionalstringsource_typeoptionalstrsourceTypeoptionalStringSourceTypeoptionalstringSourceTypeoptional*string #
The type of the data source.

This is only supported for the EVENT integration type

tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
The tags used to organize, track, or control access for this resource.