Class CfnAcmeDomainValidation

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.certificatemanager.CfnAcmeDomainValidation
All Implemented Interfaces:
IInspectable, IAcmeDomainValidationRef, IEnvironmentAware, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-07-22T17:37:21.676Z") @Stability(Stable) public class CfnAcmeDomainValidation extends CfnResource implements IInspectable, IAcmeDomainValidationRef, ITaggableV2
Resource Type definition for AWS::CertificateManager::AcmeDomainValidation.

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.certificatemanager.*;
 CfnAcmeDomainValidation cfnAcmeDomainValidation = CfnAcmeDomainValidation.Builder.create(this, "MyCfnAcmeDomainValidation")
         .acmeEndpointArn("acmeEndpointArn")
         .domainName("domainName")
         .prevalidationOptions(PrevalidationOptionsProperty.builder()
                 .dnsPrevalidation(DnsPrevalidationOptionsProperty.builder()
                         .domainScope(DomainScopeProperty.builder()
                                 .exactDomain("exactDomain")
                                 .subdomains("subdomains")
                                 .wildcards("wildcards")
                                 .build())
                         .hostedZoneId("hostedZoneId")
                         .build())
                 .build())
         // the properties below are optional
         .tags(List.of(TagsItemsProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnAcmeDomainValidation

      protected CfnAcmeDomainValidation(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnAcmeDomainValidation

      protected CfnAcmeDomainValidation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnAcmeDomainValidation

      @Stability(Stable) public CfnAcmeDomainValidation(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAcmeDomainValidationProps props)
      Create a new AWS::CertificateManager::AcmeDomainValidation.

      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.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForAcmeDomainValidation

      @Stability(Stable) @NotNull public static String arnForAcmeDomainValidation(@NotNull IAcmeDomainValidationRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnAcmeDomainValidation

      @Stability(Stable) @NotNull public static Boolean isCfnAcmeDomainValidation(@NotNull Object x)
      Checks whether the given object is a CfnAcmeDomainValidation.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAcmeDomainValidationRef

      @Stability(Stable) @NotNull public AcmeDomainValidationReference getAcmeDomainValidationRef()
      A reference to a AcmeDomainValidation resource.
      Specified by:
      getAcmeDomainValidationRef in interface IAcmeDomainValidationRef
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon Resource Name (ARN) of the domain validation.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getAcmeEndpointArn

      @Stability(Stable) @NotNull public String getAcmeEndpointArn()
      The ARN of the ACME endpoint this domain validation is associated with.
    • setAcmeEndpointArn

      @Stability(Stable) public void setAcmeEndpointArn(@NotNull String value)
      The ARN of the ACME endpoint this domain validation is associated with.
    • getDomainName

      @Stability(Stable) @NotNull public String getDomainName()
      The domain name to validate.
    • setDomainName

      @Stability(Stable) public void setDomainName(@NotNull String value)
      The domain name to validate.
    • getPrevalidationOptions

      @Stability(Stable) @NotNull public Object getPrevalidationOptions()
      Prevalidation method configuration.

      Returns union: either IResolvable or CfnAcmeDomainValidation.PrevalidationOptionsProperty

    • setPrevalidationOptions

      @Stability(Stable) public void setPrevalidationOptions(@NotNull IResolvable value)
      Prevalidation method configuration.
    • setPrevalidationOptions

      @Stability(Stable) public void setPrevalidationOptions(@NotNull CfnAcmeDomainValidation.PrevalidationOptionsProperty value)
      Prevalidation method configuration.
    • getTags

      @Stability(Stable) @Nullable public List<CfnAcmeDomainValidation.TagsItemsProperty> getTags()
      Tags associated with the domain validation.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnAcmeDomainValidation.TagsItemsProperty> value)
      Tags associated with the domain validation.