Interface CfnDomainProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomainProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:00.532Z")
@Stability(Stable)
public interface CfnDomainProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDomain.
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.codeartifact.*;
Object permissionsPolicyDocument;
CfnDomainProps cfnDomainProps = CfnDomainProps.builder()
.domainName("domainName")
// the properties below are optional
.encryptionKey("encryptionKey")
.permissionsPolicyDocument(permissionsPolicyDocument)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomainPropsstatic final classAn implementation forCfnDomainProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDomainProps.Builderbuilder()A string that specifies the name of the requested domain.default StringThe key used to encrypt the domain.default ObjectThe document that defines the resource policy that is set on a domain.getTags()A list of tags to be applied to the domain.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDomainName
A string that specifies the name of the requested domain.- See Also:
-
getEncryptionKey
The key used to encrypt the domain.- See Also:
-
getPermissionsPolicyDocument
The document that defines the resource policy that is set on a domain.- See Also:
-
getTags
A list of tags to be applied to the domain.- See Also:
-
builder
- Returns:
- a
CfnDomainProps.BuilderofCfnDomainProps
-