account_configurations
Creates, updates, deletes, gets or lists an account_configurations resource.
Overview
| Name | account_configurations |
| Type | Resource |
| Id | aws.acm.account_configurations |
Fields
The following fields are returned by SELECT queries:
- get_account_configuration
| Name | Datatype | Description |
|---|---|---|
days_before_expiry | integer | Specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_account_configuration | select | region | Returns the account configuration options associated with an Amazon Web Services account. | |
put_account_configuration | replace | region, IdempotencyToken | Adds or modifies account-level configurations in ACM. The supported configuration option is DaysBeforeExpiry. This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration. |
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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_account_configuration
Returns the account configuration options associated with an Amazon Web Services account.
SELECT
days_before_expiry
FROM aws.acm.account_configurations
WHERE region = '{{ region }}' -- required
;
REPLACE examples
- put_account_configuration
Adds or modifies account-level configurations in ACM. The supported configuration option is DaysBeforeExpiry. This option specifies the number of days prior to certificate expiration when ACM starts generating EventBridge events. ACM sends one event per day per certificate until the certificate expires. By default, accounts receive events starting 45 days before certificate expiration.
REPLACE aws.acm.account_configurations
SET
ExpiryEvents = '{{ ExpiryEvents }}',
IdempotencyToken = '{{ IdempotencyToken }}'
WHERE
region = '{{ region }}' --required
AND IdempotencyToken = '{{ IdempotencyToken }}' --required;