Class CfnDomain
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.voiceid.CfnDomain
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IDomainRef,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:47.085Z")
@Stability(Stable)
public class CfnDomain
extends CfnResource
implements IInspectable, IDomainRef, ITaggable
End of support notice: On May 20, 2026, AWS will end support for Amazon Connect Voice ID.
After May 20, 2026, you will no longer be able to access Voice ID on the Amazon Connect console, access Voice ID features on the Amazon Connect admin website or Contact Control Panel, or access Voice ID resources. For more information, visit Amazon Connect Voice ID end of support .
Creates a domain that contains all Amazon Connect Voice ID data, such as speakers, fraudsters, customer audio, and voiceprints. Every domain is created with a default watchlist that fraudsters can be a part of.
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.voiceid.*;
CfnDomain cfnDomain = CfnDomain.Builder.create(this, "MyCfnDomain")
.name("name")
.serverSideEncryptionConfiguration(ServerSideEncryptionConfigurationProperty.builder()
.kmsKeyId("kmsKeyId")
.build())
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnDomain.static interfaceNested 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.interfaces.voiceid.IDomainRef
IDomainRef.Jsii$Default, IDomainRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDomain(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDomain(software.amazon.jsii.JsiiObjectRef objRef) CfnDomain(software.constructs.Construct scope, String id, CfnDomainProps props) Create a newAWS::VoiceID::Domain. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForDomain(IDomainRef resource) static IDomainReffromDomainId(software.constructs.Construct scope, String id, String domainId) Creates a new IDomainRef from a domainId.The identifier of the domain.The description of the domain.A reference to a Domain resource.getName()The name for the domain.The server-side encryption configuration containing the KMS key identifier you want Voice ID to use to encrypt your data.getTags()Tag Manager which manages the tags for this resource.The tags used to organize, track, or control access for this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnDomain.renderProperties(Map<String, Object> props) voidsetDescription(String value) The description of the domain.voidThe name for the domain.voidThe server-side encryption configuration containing the KMS key identifier you want Voice ID to use to encrypt your data.voidThe server-side encryption configuration containing the KMS key identifier you want Voice ID to use to encrypt your data.voidsetTagsRaw(List<CfnTag> value) The tags used to organize, track, or control access for this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods 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
getNodeMethods 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
-
CfnDomain
protected CfnDomain(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDomain
protected CfnDomain(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDomain
@Stability(Stable) public CfnDomain(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDomainProps props) Create a newAWS::VoiceID::Domain.- 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
-
arnForDomain
- Parameters:
resource- This parameter is required.
-
fromDomainId
@Stability(Stable) @NotNull public static IDomainRef fromDomainId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String domainId) Creates a new IDomainRef from a domainId.- Parameters:
scope- This parameter is required.id- This parameter is required.domainId- This parameter is required.
-
isCfnDomain
Checks whether the given object is a CfnDomain.- 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.
-
getAttrDomainId
The identifier of the domain. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDomainRef
A reference to a Domain resource.- Specified by:
getDomainRefin interfaceIDomainRef
-
getTags
Tag Manager which manages the tags for this resource. -
getName
The name for the domain. -
setName
The name for the domain. -
getServerSideEncryptionConfiguration
The server-side encryption configuration containing the KMS key identifier you want Voice ID to use to encrypt your data.Returns union: either
IResolvableorCfnDomain.ServerSideEncryptionConfigurationProperty -
setServerSideEncryptionConfiguration
The server-side encryption configuration containing the KMS key identifier you want Voice ID to use to encrypt your data. -
setServerSideEncryptionConfiguration
@Stability(Stable) public void setServerSideEncryptionConfiguration(@NotNull CfnDomain.ServerSideEncryptionConfigurationProperty value) The server-side encryption configuration containing the KMS key identifier you want Voice ID to use to encrypt your data. -
getDescription
The description of the domain. -
setDescription
The description of the domain. -
getTagsRaw
The tags used to organize, track, or control access for this resource. -
setTagsRaw
The tags used to organize, track, or control access for this resource.
-