java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.certificatemanager.CfnCertificatePropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-14T18:32:09.669Z") @Stability(Stable) public class CfnCertificatePropsMixin extends Mixin implements software.constructs.IMixin
The AWS::CertificateManager::Certificate resource requests an Certificate Manager ( ACM ) certificate that you can use to enable secure connections.

For example, you can deploy an ACM certificate to an Elastic Load Balancer to enable HTTPS support. For more information, see RequestCertificate in the Certificate Manager API Reference.

When you use the AWS::CertificateManager::Certificate resource in a CloudFormation stack, domain validation is handled automatically if all three of the following are true: The certificate domain is hosted in Amazon Route 53, the domain resides in your AWS account , and you are using DNS validation.

However, if the certificate uses email validation, or if the domain is not hosted in Route 53, then the stack will remain in the CREATE_IN_PROGRESS state. Further stack operations are delayed until you validate the certificate request, either by acting upon the instructions in the validation email, or by adding a CNAME record to your DNS configuration. For more information, see Option 1: DNS Validation and Option 2: Email Validation .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.certificatemanager.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnCertificatePropsMixin cfnCertificatePropsMixin = CfnCertificatePropsMixin.Builder.create(CfnCertificateMixinProps.builder()
         .certificateAuthorityArn("certificateAuthorityArn")
         .certificateExport("certificateExport")
         .certificateTransparencyLoggingPreference("certificateTransparencyLoggingPreference")
         .domainName("domainName")
         .domainValidationOptions(List.of(DomainValidationOptionProperty.builder()
                 .domainName("domainName")
                 .hostedZoneId("hostedZoneId")
                 .validationDomain("validationDomain")
                 .build()))
         .keyAlgorithm("keyAlgorithm")
         .subjectAlternativeNames(List.of("subjectAlternativeNames"))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .validationMethod("validationMethod")
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnCertificatePropsMixin

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

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

      @Stability(Stable) public CfnCertificatePropsMixin(@NotNull CfnCertificateMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::CertificateManager::Certificate.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnCertificatePropsMixin

      @Stability(Stable) public CfnCertificatePropsMixin(@NotNull CfnCertificateMixinProps props)
      Create a mixin to apply properties to AWS::CertificateManager::Certificate.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnCertificateMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()