tax_inheritances
Creates, updates, deletes, gets or lists a tax_inheritances resource.
Overview
| Name | tax_inheritances |
| Type | Resource |
| Id | aws.taxsettings.tax_inheritances |
Fields
The following fields are returned by SELECT queries:
- get_tax_inheritance
| Name | Datatype | Description |
|---|---|---|
heritage_status | string | The tax inheritance status. (OptIn, OptOut) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_tax_inheritance | select | region | The get account tax inheritance status. | |
put_tax_inheritance | replace | region | The updated tax inheritance status. |
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_tax_inheritance
The get account tax inheritance status.
SELECT
heritage_status
FROM aws.taxsettings.tax_inheritances
WHERE region = '{{ region }}' -- required
;
REPLACE examples
- put_tax_inheritance
The updated tax inheritance status.
REPLACE aws.taxsettings.tax_inheritances
SET
heritageStatus = '{{ heritageStatus }}'
WHERE
region = '{{ region }}' --required;