Class CfnCertificateAuthorityPropsMixin

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

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-14T18:32:07.923Z") @Stability(Stable) public class CfnCertificateAuthorityPropsMixin extends Mixin implements software.constructs.IMixin
Use the AWS::ACMPCA::CertificateAuthority resource to create a private CA.

Once the CA exists, you can use the AWS::ACMPCA::Certificate resource to issue a new CA certificate. Alternatively, you can issue a CA certificate using an on-premises CA, and then use the AWS::ACMPCA::CertificateAuthorityActivation resource to import the new CA certificate and activate the CA.

Before removing a AWS::ACMPCA::CertificateAuthority resource from the CloudFormation stack, disable the affected CA. Otherwise, the action will fail. You can disable the CA by removing its associated AWS::ACMPCA::CertificateAuthorityActivation resource from CloudFormation.

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.acmpca.*;
 import software.amazon.awscdk.*;
 IMergeStrategy mergeStrategy;
 CfnCertificateAuthorityPropsMixin cfnCertificateAuthorityPropsMixin = CfnCertificateAuthorityPropsMixin.Builder.create(CfnCertificateAuthorityMixinProps.builder()
         .csrExtensions(CsrExtensionsProperty.builder()
                 .keyUsage(KeyUsageProperty.builder()
                         .crlSign(false)
                         .dataEncipherment(false)
                         .decipherOnly(false)
                         .digitalSignature(false)
                         .encipherOnly(false)
                         .keyAgreement(false)
                         .keyCertSign(false)
                         .keyEncipherment(false)
                         .nonRepudiation(false)
                         .build())
                 .subjectInformationAccess(List.of(AccessDescriptionProperty.builder()
                         .accessLocation(GeneralNameProperty.builder()
                                 .directoryName(SubjectProperty.builder()
                                         .commonName("commonName")
                                         .country("country")
                                         .customAttributes(List.of(CustomAttributeProperty.builder()
                                                 .objectIdentifier("objectIdentifier")
                                                 .value("value")
                                                 .build()))
                                         .distinguishedNameQualifier("distinguishedNameQualifier")
                                         .generationQualifier("generationQualifier")
                                         .givenName("givenName")
                                         .initials("initials")
                                         .locality("locality")
                                         .organization("organization")
                                         .organizationalUnit("organizationalUnit")
                                         .pseudonym("pseudonym")
                                         .serialNumber("serialNumber")
                                         .state("state")
                                         .surname("surname")
                                         .title("title")
                                         .build())
                                 .dnsName("dnsName")
                                 .ediPartyName(EdiPartyNameProperty.builder()
                                         .nameAssigner("nameAssigner")
                                         .partyName("partyName")
                                         .build())
                                 .ipAddress("ipAddress")
                                 .otherName(OtherNameProperty.builder()
                                         .typeId("typeId")
                                         .value("value")
                                         .build())
                                 .registeredId("registeredId")
                                 .rfc822Name("rfc822Name")
                                 .uniformResourceIdentifier("uniformResourceIdentifier")
                                 .build())
                         .accessMethod(AccessMethodProperty.builder()
                                 .accessMethodType("accessMethodType")
                                 .customObjectIdentifier("customObjectIdentifier")
                                 .build())
                         .build()))
                 .build())
         .keyAlgorithm("keyAlgorithm")
         .keyStorageSecurityStandard("keyStorageSecurityStandard")
         .revocationConfiguration(RevocationConfigurationProperty.builder()
                 .crlConfiguration(CrlConfigurationProperty.builder()
                         .crlDistributionPointExtensionConfiguration(CrlDistributionPointExtensionConfigurationProperty.builder()
                                 .omitExtension(false)
                                 .build())
                         .crlType("crlType")
                         .customCname("customCname")
                         .customPath("customPath")
                         .enabled(false)
                         .expirationInDays(123)
                         .s3BucketName("s3BucketName")
                         .s3ObjectAcl("s3ObjectAcl")
                         .build())
                 .ocspConfiguration(OcspConfigurationProperty.builder()
                         .enabled(false)
                         .ocspCustomCname("ocspCustomCname")
                         .build())
                 .build())
         .signingAlgorithm("signingAlgorithm")
         .subject(SubjectProperty.builder()
                 .commonName("commonName")
                 .country("country")
                 .customAttributes(List.of(CustomAttributeProperty.builder()
                         .objectIdentifier("objectIdentifier")
                         .value("value")
                         .build()))
                 .distinguishedNameQualifier("distinguishedNameQualifier")
                 .generationQualifier("generationQualifier")
                 .givenName("givenName")
                 .initials("initials")
                 .locality("locality")
                 .organization("organization")
                 .organizationalUnit("organizationalUnit")
                 .pseudonym("pseudonym")
                 .serialNumber("serialNumber")
                 .state("state")
                 .surname("surname")
                 .title("title")
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .type("type")
         .usageMode("usageMode")
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

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

    • CfnCertificateAuthorityPropsMixin

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

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

      @Stability(Stable) public CfnCertificateAuthorityPropsMixin(@NotNull CfnCertificateAuthorityMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::ACMPCA::CertificateAuthority.

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

      @Stability(Stable) public CfnCertificateAuthorityPropsMixin(@NotNull CfnCertificateAuthorityMixinProps props)
      Create a mixin to apply properties to AWS::ACMPCA::CertificateAuthority.

      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 CfnCertificateAuthorityMixinProps getProps()
    • getStrategy

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