Interface CfnCertificateMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCertificateMixinProps.Jsii$Proxy
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.*;
CfnCertificateMixinProps cfnCertificateMixinProps = CfnCertificateMixinProps.builder()
.apiPassthrough(ApiPassthroughProperty.builder()
.extensions(ExtensionsProperty.builder()
.certificatePolicies(List.of(PolicyInformationProperty.builder()
.certPolicyId("certPolicyId")
.policyQualifiers(List.of(PolicyQualifierInfoProperty.builder()
.policyQualifierId("policyQualifierId")
.qualifier(QualifierProperty.builder()
.cpsUri("cpsUri")
.build())
.build()))
.build()))
.customExtensions(List.of(CustomExtensionProperty.builder()
.critical(false)
.objectIdentifier("objectIdentifier")
.value("value")
.build()))
.extendedKeyUsage(List.of(ExtendedKeyUsageProperty.builder()
.extendedKeyUsageObjectIdentifier("extendedKeyUsageObjectIdentifier")
.extendedKeyUsageType("extendedKeyUsageType")
.build()))
.keyUsage(KeyUsageProperty.builder()
.crlSign(false)
.dataEncipherment(false)
.decipherOnly(false)
.digitalSignature(false)
.encipherOnly(false)
.keyAgreement(false)
.keyCertSign(false)
.keyEncipherment(false)
.nonRepudiation(false)
.build())
.subjectAlternativeNames(List.of(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()))
.build())
.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())
.build())
.certificateAuthorityArn("certificateAuthorityArn")
.certificateSigningRequest("certificateSigningRequest")
.signingAlgorithm("signingAlgorithm")
.templateArn("templateArn")
.validity(ValidityProperty.builder()
.type("type")
.value(123)
.build())
.validityNotBefore(ValidityProperty.builder()
.type("type")
.value(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCertificateMixinPropsstatic final classAn implementation forCfnCertificateMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies X.509 certificate information to be included in the issued certificate.default ObjectThe Amazon Resource Name (ARN) for the private CA issues the certificate.default StringThe certificate signing request (CSR) for the certificate.default StringThe name of the algorithm that will be used to sign the certificate to be issued.default ObjectSpecifies a custom configuration template to use when issuing a certificate.default ObjectThe period of time during which the certificate will be valid.default ObjectInformation describing the start of the validity period of the certificate.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiPassthrough
Specifies X.509 certificate information to be included in the issued certificate. AnAPIPassthroughorAPICSRPassthroughtemplate variant must be selected, or else this parameter is ignored.Returns union: either
IResolvableorCfnCertificatePropsMixin.ApiPassthroughProperty- See Also:
-
getCertificateAuthorityArn
The Amazon Resource Name (ARN) for the private CA issues the certificate.Returns union: either
StringorICertificateAuthorityRef- See Also:
-
getCertificateSigningRequest
The certificate signing request (CSR) for the certificate.- See Also:
-
getSigningAlgorithm
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.The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.
- See Also:
-
getTemplateArn
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 .Returns union: either
StringorICertificateAuthorityRef- See Also:
-
getValidity
The period of time during which the certificate will be valid.Returns union: either
IResolvableorCfnCertificatePropsMixin.ValidityProperty- See Also:
-
getValidityNotBefore
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.Returns union: either
IResolvableorCfnCertificatePropsMixin.ValidityProperty- See Also:
-
builder
- Returns:
- a
CfnCertificateMixinProps.BuilderofCfnCertificateMixinProps
-