Interface CfnDomainProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomainProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-03T18:29:23.041Z")
@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 ARN of an AWS Key Management Service (AWS KMS) key associated with a 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 ARN of an AWS Key Management Service (AWS KMS) key associated with a 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
-