Skip to main content

associated_enclave_certificate_iam_roles

Creates, updates, deletes, gets or lists an associated_enclave_certificate_iam_roles resource.

Overview

Nameassociated_enclave_certificate_iam_roles
TypeResource
Idaws.ec2.associated_enclave_certificate_iam_roles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
associated_rolesstringInformation about the associated IAM roles.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_associated_enclave_certificate_iam_rolesselectCertificateArn, regionDryRunReturns the IAM roles that are associated with the specified ACM (ACM) certificate. It also returns the name of the Amazon S3 bucket and the Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored, and the ARN of the KMS key that's used to encrypt the private key.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
CertificateArnstringThe ARN of the ACM certificate for which to view the associated IAM roles, encryption keys, and Amazon S3 object information.
regionstringAWS region (default: us-east-1)
DryRunbooleanChecks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

SELECT examples

Returns the IAM roles that are associated with the specified ACM (ACM) certificate. It also returns the name of the Amazon S3 bucket and the Amazon S3 object key where the certificate, certificate chain, and encrypted private key bundle are stored, and the ARN of the KMS key that's used to encrypt the private key.

SELECT
associated_roles
FROM aws.ec2.associated_enclave_certificate_iam_roles
WHERE CertificateArn = '{{ CertificateArn }}' -- required
AND region = '{{ region }}' -- required
AND DryRun = '{{ DryRun }}'
;