Show / Hide Table of Contents

Class CfnEnclaveCertificateIamRoleAssociation

Associates an AWS Identity and Access Management (IAM) role with an Certificate Manager (ACM) certificate.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnEnclaveCertificateIamRoleAssociation
Implements
IInspectable
IEnclaveCertificateIamRoleAssociationRef
IConstruct
IDependable
IEnvironmentAware
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.Env
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEnclaveCertificateIamRoleAssociation : CfnResource, IInspectable, IEnclaveCertificateIamRoleAssociationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnEnclaveCertificateIamRoleAssociation Inherits CfnResource Implements IInspectable, IEnclaveCertificateIamRoleAssociationRef, IConstruct, IDependable, IEnvironmentAware
Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html

CloudformationResource: AWS::EC2::EnclaveCertificateIamRoleAssociation

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.EC2;

             var cfnEnclaveCertificateIamRoleAssociation = new CfnEnclaveCertificateIamRoleAssociation(this, "MyCfnEnclaveCertificateIamRoleAssociation", new CfnEnclaveCertificateIamRoleAssociationProps {
                 CertificateArn = "certificateArn",
                 RoleArn = "roleArn"
             });

Synopsis

Constructors

CfnEnclaveCertificateIamRoleAssociation(Construct, string, ICfnEnclaveCertificateIamRoleAssociationProps)

Create a new AWS::EC2::EnclaveCertificateIamRoleAssociation.

Properties

AttrCertificateS3BucketName

The name of the Amazon S3 bucket to which the certificate was uploaded.

AttrCertificateS3ObjectKey

The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.

AttrEncryptionKmsKeyId

The ID of the AWS KMS key used to encrypt the private key of the certificate.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CertificateArn

The ARN of the ACM certificate with which to associate the IAM role.

CfnProperties

Associates an AWS Identity and Access Management (IAM) role with an Certificate Manager (ACM) certificate.

EnclaveCertificateIamRoleAssociationRef

A reference to a EnclaveCertificateIamRoleAssociation resource.

RoleArn

The ARN of the IAM role to associate with the ACM certificate.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

IsCfnEnclaveCertificateIamRoleAssociation(object)

Checks whether the given object is a CfnEnclaveCertificateIamRoleAssociation.

RenderProperties(IDictionary<string, object>)

Associates an AWS Identity and Access Management (IAM) role with an Certificate Manager (ACM) certificate.

Constructors

CfnEnclaveCertificateIamRoleAssociation(Construct, string, ICfnEnclaveCertificateIamRoleAssociationProps)

Create a new AWS::EC2::EnclaveCertificateIamRoleAssociation.

public CfnEnclaveCertificateIamRoleAssociation(Construct scope, string id, ICfnEnclaveCertificateIamRoleAssociationProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnEnclaveCertificateIamRoleAssociationProps

Resource properties.

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html

CloudformationResource: AWS::EC2::EnclaveCertificateIamRoleAssociation

ExampleMetadata: fixture=_generated

Properties

AttrCertificateS3BucketName

The name of the Amazon S3 bucket to which the certificate was uploaded.

public virtual string AttrCertificateS3BucketName { get; }
Property Value

string

Remarks

CloudformationAttribute: CertificateS3BucketName

AttrCertificateS3ObjectKey

The Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.

public virtual string AttrCertificateS3ObjectKey { get; }
Property Value

string

Remarks

The object key is formatted as follows: role_arn / certificate_arn .

CloudformationAttribute: CertificateS3ObjectKey

AttrEncryptionKmsKeyId

The ID of the AWS KMS key used to encrypt the private key of the certificate.

public virtual string AttrEncryptionKmsKeyId { get; }
Property Value

string

Remarks

CloudformationAttribute: EncryptionKmsKeyId

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html

CloudformationResource: AWS::EC2::EnclaveCertificateIamRoleAssociation

ExampleMetadata: fixture=_generated

CertificateArn

The ARN of the ACM certificate with which to associate the IAM role.

public virtual string CertificateArn { get; set; }
Property Value

string

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html

CloudformationResource: AWS::EC2::EnclaveCertificateIamRoleAssociation

ExampleMetadata: fixture=_generated

CfnProperties

Associates an AWS Identity and Access Management (IAM) role with an Certificate Manager (ACM) certificate.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html

CloudformationResource: AWS::EC2::EnclaveCertificateIamRoleAssociation

ExampleMetadata: fixture=_generated

EnclaveCertificateIamRoleAssociationRef

A reference to a EnclaveCertificateIamRoleAssociation resource.

public virtual IEnclaveCertificateIamRoleAssociationReference EnclaveCertificateIamRoleAssociationRef { get; }
Property Value

IEnclaveCertificateIamRoleAssociationReference

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html

CloudformationResource: AWS::EC2::EnclaveCertificateIamRoleAssociation

ExampleMetadata: fixture=_generated

RoleArn

The ARN of the IAM role to associate with the ACM certificate.

public virtual string RoleArn { get; set; }
Property Value

string

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html

CloudformationResource: AWS::EC2::EnclaveCertificateIamRoleAssociation

ExampleMetadata: fixture=_generated

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html

CloudformationResource: AWS::EC2::EnclaveCertificateIamRoleAssociation

ExampleMetadata: fixture=_generated

IsCfnEnclaveCertificateIamRoleAssociation(object)

Checks whether the given object is a CfnEnclaveCertificateIamRoleAssociation.

public static bool IsCfnEnclaveCertificateIamRoleAssociation(object x)
Parameters
x object
Returns

bool

Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html

CloudformationResource: AWS::EC2::EnclaveCertificateIamRoleAssociation

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Associates an AWS Identity and Access Management (IAM) role with an Certificate Manager (ACM) certificate.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

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 .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-enclavecertificateiamroleassociation.html

CloudformationResource: AWS::EC2::EnclaveCertificateIamRoleAssociation

ExampleMetadata: fixture=_generated

Implements

IInspectable
IEnclaveCertificateIamRoleAssociationRef
Constructs.IConstruct
Constructs.IDependable
IEnvironmentAware
Back to top Generated by DocFX