Interface CfnCertificate.ExtensionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCertificate.ExtensionsProperty.Jsii$Proxy
- Enclosing class:
CfnCertificate
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.acmpca.*;
ExtensionsProperty extensionsProperty = ExtensionsProperty.builder()
.certificatePolicies(List.of(PolicyInformationProperty.builder()
.certPolicyId("certPolicyId")
// the properties below are optional
.policyQualifiers(List.of(PolicyQualifierInfoProperty.builder()
.policyQualifierId("policyQualifierId")
.qualifier(QualifierProperty.builder()
.cpsUri("cpsUri")
.build())
.build()))
.build()))
.customExtensions(List.of(CustomExtensionProperty.builder()
.objectIdentifier("objectIdentifier")
.value("value")
// the properties below are optional
.critical(false)
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCertificate.ExtensionsPropertystatic final classAn implementation forCfnCertificate.ExtensionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectContains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers.default ObjectContains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag.default ObjectSpecifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsageextension.default ObjectDefines one or more purposes for which the key contained in the certificate can be used.default ObjectThe subject alternative name extension allows identities to be bound to the subject of the certificate.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCertificatePolicies
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers.For more information, see NIST's definition of Object Identifier (OID) .
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCertificate.PolicyInformationProperty>- See Also:
-
getCustomExtensions
Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the Global OID reference database..Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCertificate.CustomExtensionProperty>- See Also:
-
getExtendedKeyUsage
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsageextension.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCertificate.ExtendedKeyUsageProperty>- See Also:
-
getKeyUsage
Defines one or more purposes for which the key contained in the certificate can be used.Default value for each option is false.
Returns union: either
IResolvableorCfnCertificate.KeyUsageProperty- See Also:
-
getSubjectAlternativeNames
The subject alternative name extension allows identities to be bound to the subject of the certificate.These identities may be included in addition to or in place of the identity in the subject field of the certificate.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCertificate.GeneralNameProperty>- See Also:
-
builder
-