class CfnCertificateAuthorityPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ACMPCA.Mixins.CfnCertificateAuthorityPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsacmpca/mixins#CfnCertificateAuthorityPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.acmpca.mixins.CfnCertificateAuthorityPropsMixin |
Python | aws_cdk.mixins_preview.aws_acmpca.mixins.CfnCertificateAuthorityPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_acmpca » mixins » CfnCertificateAuthorityPropsMixin |
Implements
IMixin
Extends
Mixin
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 { mixins } from '@aws-cdk/mixins-preview';
import { mixins as acmpca_mixins } from '@aws-cdk/mixins-preview/aws-acmpca';
const cfnCertificateAuthorityPropsMixin = new acmpca_mixins.CfnCertificateAuthorityPropsMixin({
csrExtensions: {
keyUsage: {
crlSign: false,
dataEncipherment: false,
decipherOnly: false,
digitalSignature: false,
encipherOnly: false,
keyAgreement: false,
keyCertSign: false,
keyEncipherment: false,
nonRepudiation: false,
},
subjectInformationAccess: [{
accessLocation: {
directoryName: {
commonName: 'commonName',
country: 'country',
customAttributes: [{
objectIdentifier: 'objectIdentifier',
value: 'value',
}],
distinguishedNameQualifier: 'distinguishedNameQualifier',
generationQualifier: 'generationQualifier',
givenName: 'givenName',
initials: 'initials',
locality: 'locality',
organization: 'organization',
organizationalUnit: 'organizationalUnit',
pseudonym: 'pseudonym',
serialNumber: 'serialNumber',
state: 'state',
surname: 'surname',
title: 'title',
},
dnsName: 'dnsName',
ediPartyName: {
nameAssigner: 'nameAssigner',
partyName: 'partyName',
},
ipAddress: 'ipAddress',
otherName: {
typeId: 'typeId',
value: 'value',
},
registeredId: 'registeredId',
rfc822Name: 'rfc822Name',
uniformResourceIdentifier: 'uniformResourceIdentifier',
},
accessMethod: {
accessMethodType: 'accessMethodType',
customObjectIdentifier: 'customObjectIdentifier',
},
}],
},
keyAlgorithm: 'keyAlgorithm',
keyStorageSecurityStandard: 'keyStorageSecurityStandard',
revocationConfiguration: {
crlConfiguration: {
crlDistributionPointExtensionConfiguration: {
omitExtension: false,
},
crlType: 'crlType',
customCname: 'customCname',
customPath: 'customPath',
enabled: false,
expirationInDays: 123,
s3BucketName: 's3BucketName',
s3ObjectAcl: 's3ObjectAcl',
},
ocspConfiguration: {
enabled: false,
ocspCustomCname: 'ocspCustomCname',
},
},
signingAlgorithm: 'signingAlgorithm',
subject: {
commonName: 'commonName',
country: 'country',
customAttributes: [{
objectIdentifier: 'objectIdentifier',
value: 'value',
}],
distinguishedNameQualifier: 'distinguishedNameQualifier',
generationQualifier: 'generationQualifier',
givenName: 'givenName',
initials: 'initials',
locality: 'locality',
organization: 'organization',
organizationalUnit: 'organizationalUnit',
pseudonym: 'pseudonym',
serialNumber: 'serialNumber',
state: 'state',
surname: 'surname',
title: 'title',
},
tags: [{
key: 'key',
value: 'value',
}],
type: 'type',
usageMode: 'usageMode',
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnCertificateAuthorityPropsMixin(props: CfnCertificateAuthorityMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Certificate Authority Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::ACMPCA::CertificateAuthority.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript