interface CfnCertificateMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ACMPCA.Mixins.CfnCertificateMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsacmpca/mixins#CfnCertificateMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.acmpca.mixins.CfnCertificateMixinProps |
Python | aws_cdk.mixins_preview.aws_acmpca.mixins.CfnCertificateMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_acmpca » mixins » CfnCertificateMixinProps |
Properties for CfnCertificatePropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as acmpca_mixins } from '@aws-cdk/mixins-preview/aws-acmpca';
const cfnCertificateMixinProps: acmpca_mixins.CfnCertificateMixinProps = {
apiPassthrough: {
extensions: {
certificatePolicies: [{
certPolicyId: 'certPolicyId',
policyQualifiers: [{
policyQualifierId: 'policyQualifierId',
qualifier: {
cpsUri: 'cpsUri',
},
}],
}],
customExtensions: [{
critical: false,
objectIdentifier: 'objectIdentifier',
value: 'value',
}],
extendedKeyUsage: [{
extendedKeyUsageObjectIdentifier: 'extendedKeyUsageObjectIdentifier',
extendedKeyUsageType: 'extendedKeyUsageType',
}],
keyUsage: {
crlSign: false,
dataEncipherment: false,
decipherOnly: false,
digitalSignature: false,
encipherOnly: false,
keyAgreement: false,
keyCertSign: false,
keyEncipherment: false,
nonRepudiation: false,
},
subjectAlternativeNames: [{
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',
}],
},
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',
},
},
certificateAuthorityArn: 'certificateAuthorityArn',
certificateSigningRequest: 'certificateSigningRequest',
signingAlgorithm: 'signingAlgorithm',
templateArn: 'templateArn',
validity: {
type: 'type',
value: 123,
},
validityNotBefore: {
type: 'type',
value: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| api | IResolvable | Api | Specifies X.509 certificate information to be included in the issued certificate. An APIPassthrough or APICSRPassthrough template variant must be selected, or else this parameter is ignored. |
| certificate | string | The Amazon Resource Name (ARN) for the private CA issues the certificate. |
| certificate | string | The certificate signing request (CSR) for the certificate. |
| signing | string | The name of the algorithm that will be used to sign the certificate to be issued. |
| template | string | Specifies a custom configuration template to use when issuing a certificate. |
| validity? | IResolvable | Validity | The period of time during which the certificate will be valid. |
| validity | IResolvable | Validity | Information describing the start of the validity period of the certificate. |
apiPassthrough?
Type:
IResolvable | Api
(optional)
Specifies X.509 certificate information to be included in the issued certificate. An APIPassthrough or APICSRPassthrough template variant must be selected, or else this parameter is ignored.
certificateAuthorityArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) for the private CA issues the certificate.
certificateSigningRequest?
Type:
string
(optional)
The certificate signing request (CSR) for the certificate.
signingAlgorithm?
Type:
string
(optional)
The name of the algorithm that will be used to sign the certificate to be issued.
This parameter should not be confused with the SigningAlgorithm parameter used to sign a CSR in the CreateCertificateAuthority action.
The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.
templateArn?
Type:
string
(optional)
Specifies a custom configuration template to use when issuing a certificate.
If this parameter is not provided, AWS Private CA defaults to the EndEntityCertificate/V1 template. For more information about AWS Private CA templates, see Using Templates .
validity?
Type:
IResolvable | Validity
(optional)
The period of time during which the certificate will be valid.
validityNotBefore?
Type:
IResolvable | Validity
(optional)
Information describing the start of the validity period of the certificate.
This parameter sets the “Not Before" date for the certificate.
By default, when issuing a certificate, AWS Private CA sets the "Not Before" date to the issuance time minus 60 minutes. This compensates for clock inconsistencies across computer systems. The ValidityNotBefore parameter can be used to customize the “Not Before” value.
Unlike the Validity parameter, the ValidityNotBefore parameter is optional.
The ValidityNotBefore value is expressed as an explicit date and time, using the Validity type value ABSOLUTE .

.NET
Go
Java
Python
TypeScript