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.datazone.CfnDomain
- All Implemented Interfaces:
IInspectable,ITaggableV2,IDomainRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:08.500Z")
@Stability(Stable)
public class CfnDomain
extends CfnResource
implements IInspectable, IDomainRef, ITaggableV2
The
AWS::DataZone::Domain resource specifies an Amazon DataZone domain.
You can use domains to organize your assets, users, and their projects.
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.datazone.*;
CfnDomain cfnDomain = CfnDomain.Builder.create(this, "MyCfnDomain")
.domainExecutionRole("domainExecutionRole")
.name("name")
// the properties below are optional
.description("description")
.domainVersion("domainVersion")
.kmsKeyIdentifier("kmsKeyIdentifier")
.serviceRole("serviceRole")
.singleSignOn(SingleSignOnProperty.builder()
.idcInstanceArn("idcInstanceArn")
.type("type")
.userAssignment("userAssignment")
.build())
.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 interfaceThe single sign-on details in Amazon DataZone.Nested 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.services.datazone.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.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.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) -
Method Summary
Modifier and TypeMethodDescriptionstatic IDomainReffromDomainArn(software.constructs.Construct scope, String id, String arn) Creates a new IDomainRef from an ARN.static IDomainReffromDomainId(software.constructs.Construct scope, String id, String domainId) Creates a new IDomainRef from a domainId.The ARN of the Amazon DataZone domain.A timestamp of when a Amazon DataZone domain was created.The ID of the Amazon DataZone domain.A timestamp of when a Amazon DataZone domain was last updated.The identifier of the AWS account that manages the domain.The data portal URL for the Amazon DataZone domain.The ID of the root domain unit.The status of the Amazon DataZone domain.Tag Manager which manages the tags for this resource.The description of the Amazon DataZone domain.The domain execution role that is created when an Amazon DataZone domain is created.A reference to a Domain resource.The domain version.The identifier of the AWS Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data.getName()The name of the Amazon DataZone domain.The service role of the domain.The single sign-on details in Amazon DataZone.getTags()The tags specified for the Amazon DataZone domain.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDescription(String value) The description of the Amazon DataZone domain.voidsetDomainExecutionRole(String value) The domain execution role that is created when an Amazon DataZone domain is created.voidsetDomainVersion(String value) The domain version.voidsetKmsKeyIdentifier(String value) The identifier of the AWS Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data.voidThe name of the Amazon DataZone domain.voidsetServiceRole(String value) The service role of the domain.voidsetSingleSignOn(IResolvable value) The single sign-on details in Amazon DataZone.voidThe single sign-on details in Amazon DataZone.voidThe tags specified for the Amazon DataZone domain.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, 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.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) - 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
-
fromDomainArn
@Stability(Stable) @NotNull public static IDomainRef fromDomainArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IDomainRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- 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.
-
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 ARN of the Amazon DataZone domain. -
getAttrCreatedAt
A timestamp of when a Amazon DataZone domain was created. -
getAttrId
The ID of the Amazon DataZone domain. -
getAttrLastUpdatedAt
A timestamp of when a Amazon DataZone domain was last updated. -
getAttrManagedAccountId
The identifier of the AWS account that manages the domain. -
getAttrPortalUrl
The data portal URL for the Amazon DataZone domain. -
getAttrRootDomainUnitId
The ID of the root domain unit. -
getAttrStatus
The status of the Amazon DataZone domain. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getDomainRef
A reference to a Domain resource.- Specified by:
getDomainRefin interfaceIDomainRef
-
getDomainExecutionRole
The domain execution role that is created when an Amazon DataZone domain is created. -
setDomainExecutionRole
The domain execution role that is created when an Amazon DataZone domain is created. -
getName
The name of the Amazon DataZone domain. -
setName
The name of the Amazon DataZone domain. -
getDescription
The description of the Amazon DataZone domain. -
setDescription
The description of the Amazon DataZone domain. -
getDomainVersion
The domain version. -
setDomainVersion
The domain version. -
getKmsKeyIdentifier
The identifier of the AWS Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data. -
setKmsKeyIdentifier
The identifier of the AWS Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data. -
getServiceRole
The service role of the domain. -
setServiceRole
The service role of the domain. -
getSingleSignOn
The single sign-on details in Amazon DataZone. -
setSingleSignOn
The single sign-on details in Amazon DataZone. -
setSingleSignOn
The single sign-on details in Amazon DataZone. -
getTags
The tags specified for the Amazon DataZone domain. -
setTags
The tags specified for the Amazon DataZone domain.
-