associated_enclave_certificate_iam_roles
Creates, updates, deletes, gets or lists an associated_enclave_certificate_iam_roles resource.
Overview
| Name | associated_enclave_certificate_iam_roles |
| Type | Resource |
| Id | aws.ec2.associated_enclave_certificate_iam_roles |
Fields
The following fields are returned by SELECT queries:
- get_associated_enclave_certificate_iam_roles
| Name | Datatype | Description |
|---|---|---|
associated_roles | string | Information about the associated IAM roles. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_associated_enclave_certificate_iam_roles | select | CertificateArn, region | DryRun | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
CertificateArn | string | The ARN of the ACM certificate for which to view the associated IAM roles, encryption keys, and Amazon S3 object information. |
region | string | AWS region (default: us-east-1) |
DryRun | boolean | Checks 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
- get_associated_enclave_certificate_iam_roles
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 }}'
;