CfnCertificateMixinProps
- class aws_cdk.mixins_preview.aws_acmpca.mixins.CfnCertificateMixinProps(*, api_passthrough=None, certificate_authority_arn=None, certificate_signing_request=None, signing_algorithm=None, template_arn=None, validity=None, validity_not_before=None)
Bases:
objectProperties for CfnCertificatePropsMixin.
- Parameters:
api_passthrough (
Union[IResolvable,ApiPassthroughProperty,Dict[str,Any],None]) – Specifies X.509 certificate information to be included in the issued certificate. AnAPIPassthroughorAPICSRPassthroughtemplate variant must be selected, or else this parameter is ignored.certificate_authority_arn (
Optional[str]) – The Amazon Resource Name (ARN) for the private CA issues the certificate.certificate_signing_request (
Optional[str]) – The certificate signing request (CSR) for the certificate.signing_algorithm (
Optional[str]) – The name of the algorithm that will be used to sign the certificate to be issued. This parameter should not be confused with theSigningAlgorithmparameter used to sign a CSR in theCreateCertificateAuthorityaction. .. epigraph:: The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA’s secret key.template_arn (
Optional[str]) – Specifies a custom configuration template to use when issuing a certificate. If this parameter is not provided, AWS Private CA defaults to theEndEntityCertificate/V1template. For more information about AWS Private CA templates, see Using Templates .validity (
Union[IResolvable,ValidityProperty,Dict[str,Any],None]) – The period of time during which the certificate will be valid.validity_not_before (
Union[IResolvable,ValidityProperty,Dict[str,Any],None]) – 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. TheValidityNotBeforeparameter can be used to customize the “Not Before” value. Unlike theValidityparameter, theValidityNotBeforeparameter is optional. TheValidityNotBeforevalue is expressed as an explicit date and time, using theValiditytype valueABSOLUTE.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_acmpca import mixins as acmpca_mixins cfn_certificate_mixin_props = acmpca_mixins.CfnCertificateMixinProps( api_passthrough=acmpca_mixins.CfnCertificatePropsMixin.ApiPassthroughProperty( extensions=acmpca_mixins.CfnCertificatePropsMixin.ExtensionsProperty( certificate_policies=[acmpca_mixins.CfnCertificatePropsMixin.PolicyInformationProperty( cert_policy_id="certPolicyId", policy_qualifiers=[acmpca_mixins.CfnCertificatePropsMixin.PolicyQualifierInfoProperty( policy_qualifier_id="policyQualifierId", qualifier=acmpca_mixins.CfnCertificatePropsMixin.QualifierProperty( cps_uri="cpsUri" ) )] )], custom_extensions=[acmpca_mixins.CfnCertificatePropsMixin.CustomExtensionProperty( critical=False, object_identifier="objectIdentifier", value="value" )], extended_key_usage=[acmpca_mixins.CfnCertificatePropsMixin.ExtendedKeyUsageProperty( extended_key_usage_object_identifier="extendedKeyUsageObjectIdentifier", extended_key_usage_type="extendedKeyUsageType" )], key_usage=acmpca_mixins.CfnCertificatePropsMixin.KeyUsageProperty( crl_sign=False, data_encipherment=False, decipher_only=False, digital_signature=False, encipher_only=False, key_agreement=False, key_cert_sign=False, key_encipherment=False, non_repudiation=False ), subject_alternative_names=[acmpca_mixins.CfnCertificatePropsMixin.GeneralNameProperty( directory_name=acmpca_mixins.CfnCertificatePropsMixin.SubjectProperty( common_name="commonName", country="country", custom_attributes=[acmpca_mixins.CfnCertificatePropsMixin.CustomAttributeProperty( object_identifier="objectIdentifier", value="value" )], distinguished_name_qualifier="distinguishedNameQualifier", generation_qualifier="generationQualifier", given_name="givenName", initials="initials", locality="locality", organization="organization", organizational_unit="organizationalUnit", pseudonym="pseudonym", serial_number="serialNumber", state="state", surname="surname", title="title" ), dns_name="dnsName", edi_party_name=acmpca_mixins.CfnCertificatePropsMixin.EdiPartyNameProperty( name_assigner="nameAssigner", party_name="partyName" ), ip_address="ipAddress", other_name=acmpca_mixins.CfnCertificatePropsMixin.OtherNameProperty( type_id="typeId", value="value" ), registered_id="registeredId", rfc822_name="rfc822Name", uniform_resource_identifier="uniformResourceIdentifier" )] ), subject=acmpca_mixins.CfnCertificatePropsMixin.SubjectProperty( common_name="commonName", country="country", custom_attributes=[acmpca_mixins.CfnCertificatePropsMixin.CustomAttributeProperty( object_identifier="objectIdentifier", value="value" )], distinguished_name_qualifier="distinguishedNameQualifier", generation_qualifier="generationQualifier", given_name="givenName", initials="initials", locality="locality", organization="organization", organizational_unit="organizationalUnit", pseudonym="pseudonym", serial_number="serialNumber", state="state", surname="surname", title="title" ) ), certificate_authority_arn="certificateAuthorityArn", certificate_signing_request="certificateSigningRequest", signing_algorithm="signingAlgorithm", template_arn="templateArn", validity=acmpca_mixins.CfnCertificatePropsMixin.ValidityProperty( type="type", value=123 ), validity_not_before=acmpca_mixins.CfnCertificatePropsMixin.ValidityProperty( type="type", value=123 ) )
Attributes
- api_passthrough
Specifies X.509 certificate information to be included in the issued certificate. An
APIPassthroughorAPICSRPassthroughtemplate variant must be selected, or else this parameter is ignored.
- certificate_authority_arn
The Amazon Resource Name (ARN) for the private CA issues the certificate.
- certificate_signing_request
The certificate signing request (CSR) for the certificate.
- signing_algorithm
The name of the algorithm that will be used to sign the certificate to be issued.
This parameter should not be confused with the
SigningAlgorithmparameter used to sign a CSR in theCreateCertificateAuthorityaction. .. epigraph:The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.
- template_arn
Specifies a custom configuration template to use when issuing a certificate.
If this parameter is not provided, AWS Private CA defaults to the
EndEntityCertificate/V1template. For more information about AWS Private CA templates, see Using Templates .
- validity
The period of time during which the certificate will be valid.
- validity_not_before
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
ValidityNotBeforeparameter can be used to customize the “Not Before” value.Unlike the
Validityparameter, theValidityNotBeforeparameter is optional.The
ValidityNotBeforevalue is expressed as an explicit date and time, using theValiditytype valueABSOLUTE.