Interface CfnCertificateAuthority.CsrExtensionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCertificateAuthority.CsrExtensionsProperty.Jsii$Proxy
- Enclosing class:
CfnCertificateAuthority
@Stability(Stable)
public static interface CfnCertificateAuthority.CsrExtensionsProperty
extends software.amazon.jsii.JsiiSerializable
Describes the certificate extensions to be added to the certificate signing request (CSR).
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.*;
CsrExtensionsProperty csrExtensionsProperty = CsrExtensionsProperty.builder()
.keyUsage(KeyUsageProperty.builder()
.crlSign(false)
.dataEncipherment(false)
.decipherOnly(false)
.digitalSignature(false)
.encipherOnly(false)
.keyAgreement(false)
.keyCertSign(false)
.keyEncipherment(false)
.nonRepudiation(false)
.build())
.subjectInformationAccess(List.of(AccessDescriptionProperty.builder()
.accessLocation(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()
.partyName("partyName")
// the properties below are optional
.nameAssigner("nameAssigner")
.build())
.ipAddress("ipAddress")
.otherName(OtherNameProperty.builder()
.typeId("typeId")
.value("value")
.build())
.registeredId("registeredId")
.rfc822Name("rfc822Name")
.uniformResourceIdentifier("uniformResourceIdentifier")
.build())
.accessMethod(AccessMethodProperty.builder()
.accessMethodType("accessMethodType")
.customObjectIdentifier("customObjectIdentifier")
.build())
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCertificateAuthority.CsrExtensionsPropertystatic final classAn implementation forCfnCertificateAuthority.CsrExtensionsProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKeyUsage
Indicates the purpose of the certificate and of the key contained in the certificate.Returns union: either
IResolvableorCfnCertificateAuthority.KeyUsageProperty- See Also:
-
getSubjectInformationAccess
For CA certificates, provides a path to additional information pertaining to the CA, such as revocation and policy.For more information, see Subject Information Access in RFC 5280.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCertificateAuthority.AccessDescriptionProperty>- See Also:
-
builder
-