configuration_aggregator#

Exec module for Amazon Configuration Aggregator.

async idem_aws.exec.aws.config.configuration_aggregator.get(hub, ctx, name: str) Dict[source]#

Get a Configuration Aggregator resource from AWS for a given name or resource_id.

Parameters:

name (str) – The name of the Configuration Aggregator.

Examples

Calling from the CLI:

$ idem exec aws.config.configuration_aggregator.get name="name"

Using in a state:

my_unmanaged_resource:
  exec.run:
    - path: aws.config.configuration_aggregator.get
    - kwargs:
        name: "unmanaged_configuration_aggregator"
async idem_aws.exec.aws.config.configuration_aggregator.list_(hub, ctx, names: List[str] = None) Dict[source]#

Get a Configuration Aggregator resources from AWS.

Parameters:
  • names (List[str] = Optional) – The name of the Configuration Aggregators.

  • https – //boto3.amazonaws.com/v1/documentation/api/latest/reference/services/config.html#ConfigService.Client.describe_configuration_aggregators

Examples

Calling from the CLI:

$ idem exec aws.config.configuration_aggregator.list configuration_aggregator_names="names"

Using in a state:

my_unmanaged_resource:
  exec.run:
    - path: aws.config.configuration_aggregator.list
    - kwargs:
        names: ["unmanaged_configuration_aggregator"]