HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/ec2/describe-account-attributes.rst
**To describe all the attributes for your AWS account**

This example describes the attributes for your AWS account.

Command::

  aws ec2 describe-account-attributes

Output::

  {
      "AccountAttributes": [
          {
              "AttributeName": "vpc-max-security-groups-per-interface",
              "AttributeValues": [
                  {
                      "AttributeValue": "5"
                  }
              ]
          },
          {
              "AttributeName": "max-instances",
              "AttributeValues": [
                  {
                      "AttributeValue": "20"
                  }
              ]
          },
          {
              "AttributeName": "supported-platforms",
              "AttributeValues": [
                  {
                      "AttributeValue": "EC2"
                  },
                  {
                      "AttributeValue": "VPC"
                  }
              ]
          },
          {
              "AttributeName": "default-vpc",
              "AttributeValues": [
                  {
                      "AttributeValue": "none"
                  }
              ]
          },
          {
              "AttributeName": "max-elastic-ips",
              "AttributeValues": [
                  {
                      "AttributeValue": "5"
                  }
              ]
          },
          {
              "AttributeName": "vpc-max-elastic-ips",
              "AttributeValues": [
                  {
                      "AttributeValue": "5"
                  }
              ]
          }
      ]
  }

**To describe a single attribute for your AWS account**

This example describes the ``supported-platforms`` attribute for your AWS account.

Command::

  aws ec2 describe-account-attributes --attribute-names supported-platforms

Output::

  {
      "AccountAttributes": [
          {
              "AttributeName": "supported-platforms",
              "AttributeValues": [
                  {
                      "AttributeValue": "EC2"
                  },
                  {
                      "AttributeValue": "VPC"
                  }
              ]
          }
      ]
  }