Class CfnVocabulary
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.connect.CfnVocabulary
- All Implemented Interfaces:
IInspectable,IVocabularyRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:48.753Z")
@Stability(Stable)
public class CfnVocabulary
extends CfnResource
implements IInspectable, IVocabularyRef, ITaggableV2
Resource type definition for AWS::Connect::Vocabulary.
Example:
// 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.*;
CfnVocabulary cfnVocabulary = CfnVocabulary.Builder.create(this, "MyCfnVocabulary")
.content("content")
.instanceId("instanceId")
.languageCode("languageCode")
.vocabularyName("vocabularyName")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.connect.IVocabularyRef
IVocabularyRef.Jsii$Default, IVocabularyRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnVocabulary(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnVocabulary(software.amazon.jsii.JsiiObjectRef objRef) CfnVocabulary(software.constructs.Construct scope, String id, CfnVocabularyProps props) Create a newAWS::Connect::Vocabulary. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForVocabulary(IVocabularyRef resource) The Amazon Resource Name (ARN) of the custom vocabulary.The timestamp when the custom vocabulary was last modified.The current state of the custom vocabulary.The identifier of the custom vocabulary.Tag Manager which manages the tags for this resource.The content of the custom vocabulary in plain-text format with a table of values.The identifier of the Amazon Connect instance.The language code of the vocabulary entries.getTags()The tags used to organize, track, or control access for this resource.A unique name of the custom vocabulary.A reference to a Vocabulary resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnVocabulary.renderProperties(Map<String, Object> props) voidsetContent(String value) The content of the custom vocabulary in plain-text format with a table of values.voidsetInstanceId(String value) The identifier of the Amazon Connect instance.voidsetLanguageCode(String value) The language code of the vocabulary entries.voidThe tags used to organize, track, or control access for this resource.voidsetVocabularyName(String value) A unique name of the custom vocabulary.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnVocabulary
protected CfnVocabulary(software.amazon.jsii.JsiiObjectRef objRef) -
CfnVocabulary
protected CfnVocabulary(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnVocabulary
@Stability(Stable) public CfnVocabulary(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnVocabularyProps props) Create a newAWS::Connect::Vocabulary.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForVocabulary
- Parameters:
resource- This parameter is required.
-
isCfnVocabulary
Checks whether the given object is a CfnVocabulary.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the custom vocabulary. -
getAttrLastModifiedTime
The timestamp when the custom vocabulary was last modified. -
getAttrState
The current state of the custom vocabulary. -
getAttrVocabularyId
The identifier of the custom vocabulary. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getVocabularyRef
A reference to a Vocabulary resource.- Specified by:
getVocabularyRefin interfaceIVocabularyRef
-
getContent
The content of the custom vocabulary in plain-text format with a table of values. -
setContent
The content of the custom vocabulary in plain-text format with a table of values. -
getInstanceId
The identifier of the Amazon Connect instance. -
setInstanceId
The identifier of the Amazon Connect instance. -
getLanguageCode
The language code of the vocabulary entries. -
setLanguageCode
The language code of the vocabulary entries. -
getVocabularyName
A unique name of the custom vocabulary. -
setVocabularyName
A unique name of the custom vocabulary. -
getTags
The tags used to organize, track, or control access for this resource. -
setTags
The tags used to organize, track, or control access for this resource.
-