Class CfnDomain.Builder
java.lang.Object
software.amazon.awscdk.services.codeartifact.CfnDomain.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain>
- Enclosing class:
CfnDomain
@Stability(Stable)
public static final class CfnDomain.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain>
A fluent builder for
CfnDomain
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnDomain.Builder
domainName
(String domainName) A string that specifies the name of the requested domain.encryptionKey
(String encryptionKey) The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain.permissionsPolicyDocument
(Object permissionsPolicyDocument) The document that defines the resource policy that is set on a domain.A list of tags to be applied to the domain.
-
Method Details
-
create
@Stability(Stable) public static CfnDomain.Builder create(software.constructs.Construct scope, String id) - 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.- Returns:
- a new instance of
CfnDomain.Builder
.
-
domainName
A string that specifies the name of the requested domain.- Parameters:
domainName
- A string that specifies the name of the requested domain. This parameter is required.- Returns:
this
- See Also:
-
encryptionKey
The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain.- Parameters:
encryptionKey
- The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain. This parameter is required.- Returns:
this
- See Also:
-
permissionsPolicyDocument
@Stability(Stable) public CfnDomain.Builder permissionsPolicyDocument(Object permissionsPolicyDocument) The document that defines the resource policy that is set on a domain.- Parameters:
permissionsPolicyDocument
- The document that defines the resource policy that is set on a domain. This parameter is required.- Returns:
this
- See Also:
-
tags
A list of tags to be applied to the domain.- Parameters:
tags
- A list of tags to be applied to the domain. This parameter is required.- Returns:
this
- See Also:
-
build
-