Interface CfnTemplate.ExtensionsV2Property
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.ExtensionsV2Property.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.ExtensionsV2Property
extends software.amazon.jsii.JsiiSerializable
Certificate extensions for v2 template schema.
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.*;
ExtensionsV2Property extensionsV2Property = ExtensionsV2Property.builder()
.keyUsage(KeyUsageProperty.builder()
.usageFlags(KeyUsageFlagsProperty.builder()
.dataEncipherment(false)
.digitalSignature(false)
.keyAgreement(false)
.keyEncipherment(false)
.nonRepudiation(false)
.build())
// the properties below are optional
.critical(false)
.build())
// the properties below are optional
.applicationPolicies(ApplicationPoliciesProperty.builder()
.policies(List.of(ApplicationPolicyProperty.builder()
.policyObjectIdentifier("policyObjectIdentifier")
.policyType("policyType")
.build()))
// the properties below are optional
.critical(false)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTemplate.ExtensionsV2Propertystatic final classAn implementation forCfnTemplate.ExtensionsV2Property -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKeyUsage
The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key contained in the certificate.Returns union: either
IResolvableorCfnTemplate.KeyUsageProperty- See Also:
-
getApplicationPolicies
Application policies specify what the certificate is used for and its purpose.Returns union: either
IResolvableorCfnTemplate.ApplicationPoliciesProperty- See Also:
-
builder
-