Interface CfnTemplate.SubjectNameFlagsV2Property
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.SubjectNameFlagsV2Property.Jsii$Proxy
- Enclosing class:
CfnTemplate
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 classA builder forCfnTemplate.SubjectNameFlagsV2Propertystatic final classAn implementation forCfnTemplate.SubjectNameFlagsV2Property -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectInclude the common name in the subject name.default ObjectInclude the directory path in the subject name.default ObjectInclude the DNS as common name in the subject name.default ObjectInclude the subject's email in the subject name.default ObjectInclude the globally unique identifier (GUID) in the subject alternate name.default ObjectInclude the DNS in the subject alternate name.default ObjectInclude the domain DNS in the subject alternate name.default ObjectInclude the subject's email in the subject alternate name.default ObjectInclude the service principal name (SPN) in the subject alternate name.default ObjectInclude 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.Returns union: either
BooleanorIResolvable- See Also:
-
getRequireDirectoryPath
Include the directory path in the subject name.Returns union: either
BooleanorIResolvable- See Also:
-
getRequireDnsAsCn
Include the DNS as common name in the subject name.Returns union: either
BooleanorIResolvable- See Also:
-
getRequireEmail
Include the subject's email in the subject name.Returns union: either
BooleanorIResolvable- See Also:
-
getSanRequireDirectoryGuid
Include the globally unique identifier (GUID) in the subject alternate name.Returns union: either
BooleanorIResolvable- See Also:
-
getSanRequireDns
Include the DNS in the subject alternate name.Returns union: either
BooleanorIResolvable- See Also:
-
getSanRequireDomainDns
Include the domain DNS in the subject alternate name.Returns union: either
BooleanorIResolvable- See Also:
-
getSanRequireEmail
Include the subject's email in the subject alternate name.Returns union: either
BooleanorIResolvable- See Also:
-
getSanRequireSpn
Include the service principal name (SPN) in the subject alternate name.Returns union: either
BooleanorIResolvable- See Also:
-
getSanRequireUpn
Include the user principal name (UPN) in the subject alternate name.Returns union: either
BooleanorIResolvable- See Also:
-
builder
-