Skip to content
v2.278.0

VocabularyReference Struct ​

A reference to a Vocabulary 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 vocabularyReference: interfaces_connect.VocabularyReference = {
  vocabularyArn: 'vocabularyArn',
};
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

vocabulary_reference = interfaces_connect.VocabularyReference(
    vocabulary_arn="vocabularyArn"
)
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.*;

VocabularyReference vocabularyReference = VocabularyReference.builder()
        .vocabularyArn("vocabularyArn")
        .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 vocabularyReference = new VocabularyReference {
    VocabularyArn = "vocabularyArn"
};
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"

vocabularyReference := &VocabularyReference{
	VocabularyArn: jsii.String("vocabularyArn"),
}

Properties ​

vocabularyArnstringvocabulary_arnstrvocabularyArnStringVocabularyArnstringVocabularyArn*string required #
The Arn of the Vocabulary resource.