Class CfnEnclaveCertificateIamRoleAssociationPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
This enables the certificate to be used by the ACM for Nitro Enclaves application inside an enclave. For more information, see Certificate Manager for Nitro Enclaves in the AWS Nitro Enclaves User Guide .
When the IAM role is associated with the ACM certificate, the certificate, certificate chain, and encrypted private key are placed in an Amazon S3 location that only the associated IAM role can access. The private key of the certificate is encrypted with an AWS managed key that has an attached attestation-based key policy.
To enable the IAM role to access the Amazon S3 object, you must grant it permission to call s3:GetObject on the Amazon S3 bucket returned by the command. To enable the IAM role to access the KMS key, you must grant it permission to call kms:Decrypt on the KMS key returned by the command. For more information, see Grant the role permission to access the certificate and encryption key in the AWS Nitro Enclaves User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ec2.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnEnclaveCertificateIamRoleAssociationPropsMixin cfnEnclaveCertificateIamRoleAssociationPropsMixin = CfnEnclaveCertificateIamRoleAssociationPropsMixin.Builder.create(CfnEnclaveCertificateIamRoleAssociationMixinProps.builder()
.certificateArn("certificateArn")
.roleArn("roleArn")
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnEnclaveCertificateIamRoleAssociationPropsMixin.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnEnclaveCertificateIamRoleAssociationPropsMixin(CfnEnclaveCertificateIamRoleAssociationMixinProps props) Create a mixin to apply properties toAWS::EC2::EnclaveCertificateIamRoleAssociation.CfnEnclaveCertificateIamRoleAssociationPropsMixin(CfnEnclaveCertificateIamRoleAssociationMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::EC2::EnclaveCertificateIamRoleAssociation.protectedCfnEnclaveCertificateIamRoleAssociationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEnclaveCertificateIamRoleAssociationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.getProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnEnclaveCertificateIamRoleAssociationPropsMixin
protected CfnEnclaveCertificateIamRoleAssociationPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEnclaveCertificateIamRoleAssociationPropsMixin
protected CfnEnclaveCertificateIamRoleAssociationPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEnclaveCertificateIamRoleAssociationPropsMixin
@Stability(Stable) public CfnEnclaveCertificateIamRoleAssociationPropsMixin(@NotNull CfnEnclaveCertificateIamRoleAssociationMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::EC2::EnclaveCertificateIamRoleAssociation.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnEnclaveCertificateIamRoleAssociationPropsMixin
@Stability(Stable) public CfnEnclaveCertificateIamRoleAssociationPropsMixin(@NotNull CfnEnclaveCertificateIamRoleAssociationMixinProps props) Create a mixin to apply properties toAWS::EC2::EnclaveCertificateIamRoleAssociation.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-