account_attributes
Creates, updates, deletes, gets or lists an account_attributes resource.
Overview
| Name | account_attributes |
| Type | Resource |
| Id | aws.ec2.account_attributes |
Fields
The following fields are returned by SELECT queries:
- describe_account_attributes
| Name | Datatype | Description |
|---|---|---|
attribute_name | string | The name of the account attribute. |
attribute_values | string | The values for the account attribute. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_account_attributes | select | region | DryRun, AttributeName | Describes attributes of your Amazon Web Services account. The following are the supported account attributes: default-vpc: The ID of the default VPC for your account, or none. max-instances: This attribute is no longer supported. The returned value does not reflect your actual vCPU limit for running On-Demand Instances. For more information, see On-Demand Instance Limits in the Amazon Elastic Compute Cloud User Guide. max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate. supported-platforms: This attribute is deprecated. vpc-max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate. vpc-max-security-groups-per-interface: The maximum number of security groups that you can assign to a network interface. The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order. |
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) |
AttributeName | array | The account attribute names. |
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
- describe_account_attributes
Describes attributes of your Amazon Web Services account. The following are the supported account attributes: default-vpc: The ID of the default VPC for your account, or none. max-instances: This attribute is no longer supported. The returned value does not reflect your actual vCPU limit for running On-Demand Instances. For more information, see On-Demand Instance Limits in the Amazon Elastic Compute Cloud User Guide. max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate. supported-platforms: This attribute is deprecated. vpc-max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate. vpc-max-security-groups-per-interface: The maximum number of security groups that you can assign to a network interface. The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.
SELECT
attribute_name,
attribute_values
FROM aws.ec2.account_attributes
WHERE region = '{{ region }}' -- required
AND DryRun = '{{ DryRun }}'
AND AttributeName = '{{ AttributeName }}'
;