AwsAccountsList Schema
Data structure for Aws Accounts List objects.
Item Type
This is a collection (list) of AwsAccount items.
Usage
# Example: Working with AwsAccountsList
items = [
{"account_details":{"aws_account_id":"aws_account_id-value-1","aws_role_name":"aws_role_name-value-1","cloud_watch_group_arn":"cloud_watch_group_arn-value-1"},"account_groups":[],"cloud_type":"cloud_type-value-1","external_id":"external_id-value-1","id":1},
{"account_details":{"aws_account_id":"aws_account_id-value-2","aws_role_name":"aws_role_name-value-2","cloud_watch_group_arn":"cloud_watch_group_arn-value-2"},"account_groups":[],"cloud_type":"cloud_type-value-2","external_id":"external_id-value-2","id":2}
]
# Pass to an action that requires this collection type
resource.some_action(body=items)
JSON Example
[
{
"account_details": {
"aws_account_id": "aws_account_id-value-1",
"aws_role_name": "aws_role_name-value-1",
"cloud_watch_group_arn": "cloud_watch_group_arn-value-1"
},
"account_groups": [],
"cloud_type": "cloud_type-value-1",
"external_id": "external_id-value-1",
"id": 1
},
{
"account_details": {
"aws_account_id": "aws_account_id-value-2",
"aws_role_name": "aws_role_name-value-2",
"cloud_watch_group_arn": "cloud_watch_group_arn-value-2"
},
"account_groups": [],
"cloud_type": "cloud_type-value-2",
"external_id": "external_id-value-2",
"id": 2
}
]