Put Aggregation Authorization
| configservice_put_aggregation_authorization | R Documentation |
Authorizes the aggregator account and region to collect data from the source account and region¶
Description¶
Authorizes the aggregator account and region to collect data from the source account and region.
Tags are added at creation and cannot be updated with this operation
put_aggregation_authorization is an idempotent API. Subsequent
requests won’t create a duplicate resource if one was already created.
If a following request has different tags values, Config will ignore
these differences and treat it as an idempotent request of the previous.
In this case, tags will not be updated, even if they are different.
Use tag_resource and untag_resource to update tags after creation.
Usage¶
configservice_put_aggregation_authorization(AuthorizedAccountId,
AuthorizedAwsRegion, Tags)
Arguments¶
AuthorizedAccountId |
[required] The 12-digit account ID of the account authorized to aggregate data. |
AuthorizedAwsRegion |
[required] The region authorized to collect aggregated data. |
Tags |
An array of tag object. |
Value¶
A list with the following syntax:
list(
AggregationAuthorization = list(
AggregationAuthorizationArn = "string",
AuthorizedAccountId = "string",
AuthorizedAwsRegion = "string",
CreationTime = as.POSIXct(
"2015-01-01"
)
)
)
Request syntax¶
svc$put_aggregation_authorization(
AuthorizedAccountId = "string",
AuthorizedAwsRegion = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)