CfnUseCaseProps Struct
Properties for defining a CfnUseCase.
| Source | |
|---|---|
| Type last changed |
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 cfnUseCaseProps: connect.CfnUseCaseProps = {
instanceId: 'instanceId',
integrationAssociationId: 'integrationAssociationId',
useCaseType: 'useCaseType',
// the properties below are optional
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_use_case_props = connect.CfnUseCaseProps(
instance_id="instanceId",
integration_association_id="integrationAssociationId",
use_case_type="useCaseType",
# the properties below are optional
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.*;
CfnUseCaseProps cfnUseCaseProps = CfnUseCaseProps.builder()
.instanceId("instanceId")
.integrationAssociationId("integrationAssociationId")
.useCaseType("useCaseType")
// the properties below are optional
.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 cfnUseCaseProps = new CfnUseCaseProps {
InstanceId = "instanceId",
IntegrationAssociationId = "integrationAssociationId",
UseCaseType = "useCaseType",
// the properties below are optional
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"
cfnUseCaseProps := &CfnUseCaseProps{
InstanceId: jsii.String("instanceId"),
IntegrationAssociationId: jsii.String("integrationAssociationId"),
UseCaseType: jsii.String("useCaseType"),
// the properties below are optional
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
The identifier of the Amazon Connect instance.
integrationAssociationIdstringintegration_association_idstrintegrationAssociationIdStringIntegrationAssociationIdstringIntegrationAssociationId*string required #The identifier for the integration association.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #The tags used to organize, track, or control access for this resource.
The type of use case to associate to the integration association.