Interface CfnTemplate.SubjectNameFlagsV2Property
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.SubjectNameFlagsV2Property.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.SubjectNameFlagsV2Property
extends software.amazon.jsii.JsiiSerializable
Information to include in the subject name and alternate subject name of the certificate.
The subject name can be common name, directory path, DNS as common name, or left blank. You can optionally include email to the subject name for user templates. If you leave the subject name blank then you must set a subject alternate name. The subject alternate name (SAN) can include globally unique identifier (GUID), DNS, domain DNS, email, service principal name (SPN), and user principal name (UPN). You can leave the SAN blank. If you leave the SAN blank, then you must set a subject name.
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.pcaconnectorad.*; SubjectNameFlagsV2Property subjectNameFlagsV2Property = SubjectNameFlagsV2Property.builder() .requireCommonName(false) .requireDirectoryPath(false) .requireDnsAsCn(false) .requireEmail(false) .sanRequireDirectoryGuid(false) .sanRequireDns(false) .sanRequireDomainDns(false) .sanRequireEmail(false) .sanRequireSpn(false) .sanRequireUpn(false) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTemplate.SubjectNameFlagsV2Property
static final class
An implementation forCfnTemplate.SubjectNameFlagsV2Property
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Include the common name in the subject name.default Object
Include the directory path in the subject name.default Object
Include the DNS as common name in the subject name.default Object
Include the subject's email in the subject name.default Object
Include the globally unique identifier (GUID) in the subject alternate name.default Object
Include the DNS in the subject alternate name.default Object
Include the domain DNS in the subject alternate name.default Object
Include the subject's email in the subject alternate name.default Object
Include the service principal name (SPN) in the subject alternate name.default Object
Include the user principal name (UPN) in the subject alternate name.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRequireCommonName
Include the common name in the subject name.- See Also:
-
getRequireDirectoryPath
Include the directory path in the subject name.- See Also:
-
getRequireDnsAsCn
Include the DNS as common name in the subject name.- See Also:
-
getRequireEmail
Include the subject's email in the subject name.- See Also:
-
getSanRequireDirectoryGuid
Include the globally unique identifier (GUID) in the subject alternate name.- See Also:
-
getSanRequireDns
Include the DNS in the subject alternate name.- See Also:
-
getSanRequireDomainDns
Include the domain DNS in the subject alternate name.- See Also:
-
getSanRequireEmail
Include the subject's email in the subject alternate name.- See Also:
-
getSanRequireSpn
Include the service principal name (SPN) in the subject alternate name.- See Also:
-
getSanRequireUpn
Include the user principal name (UPN) in the subject alternate name.- See Also:
-
builder
-