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();
 
  • Method Details

    • getDomainName

      @Stability(Stable) @NotNull String getDomainName()
      A string that specifies the name of the requested domain.
    • getEncryptionKey

      @Stability(Stable) @Nullable default String getEncryptionKey()
      The key used to encrypt the domain.
    • getPermissionsPolicyDocument

      @Stability(Stable) @Nullable default Object getPermissionsPolicyDocument()
      The document that defines the resource policy that is set on a domain.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      A list of tags to be applied to the domain.
    • builder

      @Stability(Stable) static CfnDomainProps.Builder builder()
      Returns:
      a CfnDomainProps.Builder of CfnDomainProps