Skip to content
v2.278.0

UseCaseReference Struct ​

A reference to a UseCase resource.

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 interfaces_connect } from 'aws-cdk-lib/interfaces';
const useCaseReference: interfaces_connect.UseCaseReference = {
  instanceId: 'instanceId',
  integrationAssociationId: 'integrationAssociationId',
  useCaseArn: 'useCaseArn',
  useCaseId: 'useCaseId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_connect as interfaces_connect

use_case_reference = interfaces_connect.UseCaseReference(
    instance_id="instanceId",
    integration_association_id="integrationAssociationId",
    use_case_arn="useCaseArn",
    use_case_id="useCaseId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.connect.*;

UseCaseReference useCaseReference = UseCaseReference.builder()
        .instanceId("instanceId")
        .integrationAssociationId("integrationAssociationId")
        .useCaseArn("useCaseArn")
        .useCaseId("useCaseId")
        .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.Interfaces.Connect;

var useCaseReference = new UseCaseReference {
    InstanceId = "instanceId",
    IntegrationAssociationId = "integrationAssociationId",
    UseCaseArn = "useCaseArn",
    UseCaseId = "useCaseId"
};
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"

useCaseReference := &UseCaseReference{
	InstanceId: jsii.String("instanceId"),
	IntegrationAssociationId: jsii.String("integrationAssociationId"),
	UseCaseArn: jsii.String("useCaseArn"),
	UseCaseId: jsii.String("useCaseId"),
}

Properties ​

instanceIdstringinstance_idstrinstanceIdStringInstanceIdstringInstanceId*string required #
The InstanceId of the UseCase resource.
integrationAssociationIdstringintegration_association_idstrintegrationAssociationIdStringIntegrationAssociationIdstringIntegrationAssociationId*string required #
The IntegrationAssociationId of the UseCase resource.
useCaseArnstringuse_case_arnstruseCaseArnStringUseCaseArnstringUseCaseArn*string required #
The ARN of the UseCase resource.
useCaseIdstringuse_case_idstruseCaseIdStringUseCaseIdstringUseCaseId*string required #
The UseCaseId of the UseCase resource.