Interface CfnTemplate.KeyUsageProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.KeyUsageProperty.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.KeyUsageProperty
extends software.amazon.jsii.JsiiSerializable
The key usage extension defines the purpose (e.g., encipherment, signature) of the key contained in the certificate.
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.*; KeyUsageProperty keyUsageProperty = KeyUsageProperty.builder() .usageFlags(KeyUsageFlagsProperty.builder() .dataEncipherment(false) .digitalSignature(false) .keyAgreement(false) .keyEncipherment(false) .nonRepudiation(false) .build()) // the properties below are optional .critical(false) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTemplate.KeyUsageProperty
static final class
An implementation forCfnTemplate.KeyUsageProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUsageFlags
The key usage flags represent the purpose (e.g., encipherment, signature) of the key contained in the certificate.- See Also:
-
getCritical
Sets the key usage extension to critical.- See Also:
-
builder
-