Skip to main content

enclave_certificate_iam_role_association

Gets an individual enclave_certificate_iam_role_association resource

Overview

Nameenclave_certificate_iam_role_association
TypeResource
Descriptionenclave_certificate_iam_role_association
Idawscc.ec2.enclave_certificate_iam_role_association

Fields

NameDatatypeDescription
certificate_arnstringThe Amazon Resource Name (ARN) of the ACM certificate with which to associate the IAM role.
role_arnstringThe Amazon Resource Name (ARN) of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.
certificate_s3_bucket_namestringThe name of the Amazon S3 bucket to which the certificate was uploaded.
certificate_s3_object_keystringThe Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored.
encryption_kms_key_idstringThe ID of the AWS KMS CMK used to encrypt the private key of the certificate.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
certificate_arn,
role_arn,
certificate_s3_bucket_name,
certificate_s3_object_key,
encryption_kms_key_id
FROM awscc.ec2.enclave_certificate_iam_role_association
WHERE data__Identifier = '<CertificateArn>|<RoleArn>';

Permissions

To operate on the enclave_certificate_iam_role_association resource, the following permissions are required:

Read

ec2:GetAssociatedEnclaveCertificateIamRoles

Delete

ec2:DisassociateEnclaveCertificateIamRole