Interface CfnDomainProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomainProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.892Z")
@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();
-
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. -
getEncryptionKey
The key used to encrypt the domain. -
getPermissionsPolicyDocument
The document that defines the resource policy that is set on a domain. -
getTags
A list of tags to be applied to the domain. -
builder
- Returns:
- a
CfnDomainProps.BuilderofCfnDomainProps
-