Class CfnEnclaveCertificateIamRoleAssociationPropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnEnclaveCertificateIamRoleAssociationPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-14T18:32:11.444Z") @Stability(Stable) public class CfnEnclaveCertificateIamRoleAssociationPropsMixin extends Mixin implements software.constructs.IMixin
Associates an AWS Identity and Access Management (IAM) role with an Certificate Manager (ACM) certificate.

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:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> 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 to AWS::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 to AWS::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.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnEnclaveCertificateIamRoleAssociationMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()