CfnCertificateProps

class aws_cdk.aws_acmpca.CfnCertificateProps(*, api_passthrough=None, certificate_authority_arn, certificate_signing_request, signing_algorithm, template_arn=None, validity, validity_not_before=None)

Bases: object

Properties for defining a AWS::ACMPCA::Certificate.

Parameters
  • api_passthrough (Union[IResolvable, ApiPassthroughProperty, None]) – AWS::ACMPCA::Certificate.ApiPassthrough.

  • certificate_authority_arn (str) – AWS::ACMPCA::Certificate.CertificateAuthorityArn.

  • certificate_signing_request (str) – AWS::ACMPCA::Certificate.CertificateSigningRequest.

  • signing_algorithm (str) – AWS::ACMPCA::Certificate.SigningAlgorithm.

  • template_arn (Optional[str]) – AWS::ACMPCA::Certificate.TemplateArn.

  • validity (Union[IResolvable, ValidityProperty]) – AWS::ACMPCA::Certificate.Validity.

  • validity_not_before (Union[IResolvable, ValidityProperty, None]) – AWS::ACMPCA::Certificate.ValidityNotBefore.

Link

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 aws_cdk.aws_acmpca as acmpca

cfn_certificate_props = acmpca.CfnCertificateProps(
    certificate_authority_arn="certificateAuthorityArn",
    certificate_signing_request="certificateSigningRequest",
    signing_algorithm="signingAlgorithm",
    validity=acmpca.CfnCertificate.ValidityProperty(
        type="type",
        value=123
    ),

    # the properties below are optional
    api_passthrough=acmpca.CfnCertificate.ApiPassthroughProperty(
        extensions=acmpca.CfnCertificate.ExtensionsProperty(
            certificate_policies=[acmpca.CfnCertificate.PolicyInformationProperty(
                cert_policy_id="certPolicyId",

                # the properties below are optional
                policy_qualifiers=[acmpca.CfnCertificate.PolicyQualifierInfoProperty(
                    policy_qualifier_id="policyQualifierId",
                    qualifier=acmpca.CfnCertificate.QualifierProperty(
                        cps_uri="cpsUri"
                    )
                )]
            )],
            extended_key_usage=[acmpca.CfnCertificate.ExtendedKeyUsageProperty(
                extended_key_usage_object_identifier="extendedKeyUsageObjectIdentifier",
                extended_key_usage_type="extendedKeyUsageType"
            )],
            key_usage=acmpca.CfnCertificate.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.CfnCertificate.GeneralNameProperty(
                directory_name=acmpca.CfnCertificate.SubjectProperty(
                    common_name="commonName",
                    country="country",
                    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.CfnCertificate.EdiPartyNameProperty(
                    name_assigner="nameAssigner",
                    party_name="partyName"
                ),
                ip_address="ipAddress",
                other_name=acmpca.CfnCertificate.OtherNameProperty(
                    type_id="typeId",
                    value="value"
                ),
                registered_id="registeredId",
                rfc822_name="rfc822Name",
                uniform_resource_identifier="uniformResourceIdentifier"
            )]
        ),
        subject=acmpca.CfnCertificate.SubjectProperty(
            common_name="commonName",
            country="country",
            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"
        )
    ),
    template_arn="templateArn",
    validity_not_before=acmpca.CfnCertificate.ValidityProperty(
        type="type",
        value=123
    )
)

Attributes

api_passthrough

AWS::ACMPCA::Certificate.ApiPassthrough.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-apipassthrough

Return type

Union[IResolvable, ApiPassthroughProperty, None]

certificate_authority_arn

AWS::ACMPCA::Certificate.CertificateAuthorityArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-certificateauthorityarn

Return type

str

certificate_signing_request

AWS::ACMPCA::Certificate.CertificateSigningRequest.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-certificatesigningrequest

Return type

str

signing_algorithm

AWS::ACMPCA::Certificate.SigningAlgorithm.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-signingalgorithm

Return type

str

template_arn

AWS::ACMPCA::Certificate.TemplateArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-templatearn

Return type

Optional[str]

validity

AWS::ACMPCA::Certificate.Validity.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-validity

Return type

Union[IResolvable, ValidityProperty]

validity_not_before

AWS::ACMPCA::Certificate.ValidityNotBefore.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-validitynotbefore

Return type

Union[IResolvable, ValidityProperty, None]