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::CertificateAuthorityresource from the CloudFormation stack, disable the affected CA. Otherwise, the action will fail. You can disable the CA by removing its associatedAWS::ACMPCA::CertificateAuthorityActivationresource 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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceProvides access information used by theauthorityInfoAccessandsubjectInfoAccessextensions described in RFC 5280 .static interfaceDescribes the type and format of extension access.static final classA fluent builder forCfnCertificateAuthorityPropsMixin.static interfaceContains configuration information for a certificate revocation list (CRL).static interfaceContains configuration information for the default behavior of the CRL Distribution Point (CDP) extension in certificates issued by your CA.static interfaceDescribes the certificate extensions to be added to the certificate signing request (CSR).static interfaceDefines the X.500 relative distinguished name (RDN).static interfaceDescribes an Electronic Data Interchange (EDI) entity as described in as defined in Subject Alternative Name in RFC 5280.static interfaceDescribes an ASN.1 X.400GeneralNameas defined in RFC 5280 .static interfaceDefines one or more purposes for which the key contained in the certificate can be used.static interfaceContains information to enable and configure Online Certificate Status Protocol (OCSP) for validating certificate revocation status.static interfaceDefines a custom ASN.1 X.400GeneralNameusing an object identifier (OID) and value.static interfaceCertificate revocation information used by the CreateCertificateAuthority and UpdateCertificateAuthority actions.static interfaceASN1 subject for the certificate authority.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::ACMPCA::CertificateAuthority.CfnCertificateAuthorityPropsMixin(CfnCertificateAuthorityMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::ACMPCA::CertificateAuthority.protectedCfnCertificateAuthorityPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnCertificateAuthorityPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnCertificateAuthorityMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 toAWS::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 toAWS::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. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-