configservice_put_configuration_aggregator: Creates and updates the configuration aggregator with the...

Description Usage Arguments Value Request syntax

View source: R/configservice_operations.R

Description

Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization.

AWS Config should be enabled in source accounts and regions you want to aggregate.

If your source type is an organization, you must be signed in to the master account and all features must be enabled in your organization. AWS Config calls EnableAwsServiceAccess API to enable integration between AWS Config and AWS Organizations.

Usage

1
2
configservice_put_configuration_aggregator(ConfigurationAggregatorName,
  AccountAggregationSources, OrganizationAggregationSource, Tags)

Arguments

ConfigurationAggregatorName

[required] The name of the configuration aggregator.

AccountAggregationSources

A list of AccountAggregationSource object.

OrganizationAggregationSource

An OrganizationAggregationSource object.

Tags

An array of tag object.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
list(
  ConfigurationAggregator = list(
    ConfigurationAggregatorName = "string",
    ConfigurationAggregatorArn = "string",
    AccountAggregationSources = list(
      list(
        AccountIds = list(
          "string"
        ),
        AllAwsRegions = TRUE|FALSE,
        AwsRegions = list(
          "string"
        )
      )
    ),
    OrganizationAggregationSource = list(
      RoleArn = "string",
      AwsRegions = list(
        "string"
      ),
      AllAwsRegions = TRUE|FALSE
    ),
    CreationTime = as.POSIXct(
      "2015-01-01"
    ),
    LastUpdatedTime = as.POSIXct(
      "2015-01-01"
    ),
    CreatedBy = "string"
  )
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
svc$put_configuration_aggregator(
  ConfigurationAggregatorName = "string",
  AccountAggregationSources = list(
    list(
      AccountIds = list(
        "string"
      ),
      AllAwsRegions = TRUE|FALSE,
      AwsRegions = list(
        "string"
      )
    )
  ),
  OrganizationAggregationSource = list(
    RoleArn = "string",
    AwsRegions = list(
      "string"
    ),
    AllAwsRegions = TRUE|FALSE
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.