db_parameter_group#
Exec module for managing db parameter groups.
- async idem_aws.exec.aws.rds.db_parameter_group.get(hub, ctx, name: str) Dict [source]#
Get DB Parameter Group resource from AWS.
- Parameters:
name (str) – AWS DB Parameter Group name to identify the resource.
- Returns:
Returns db parameter group in present format
- Return type:
Dict[str, Any]
Examples
Calling this exec module function from the cli with filters
idem exec aws.rds.db_parameter_group.get name=my_resource resource_id=my_resource_id
Calling this exec module function from within a state module in pure python.
Using in a state:
my_unmanaged_resource: exec.run: - path: aws.rds.db_parameter_group.get - kwargs: name: my_resource
- async idem_aws.exec.aws.rds.db_parameter_group.list_(hub, ctx, name: str = None) Dict [source]#
Get DB Parameter Group from AWS.
- Parameters:
name (str, Optional) – The name of the Idem state.
- Returns:
Returns db_parameter_group in present format
- Return type:
Dict[str, Any]
Examples
Calling this exec module function from the cli
idem exec aws.rds.db_parameter_group.list name="my_resources"
Calling this exec module function from within a state module in pure python.
await hub.exec.aws.rds.db_parameter_group.list( ctx=ctx, name=name )
Using in a state:
my_unmanaged_resource: exec.run: - path: aws.rds.db_parameter_group.list - kwargs: name: my_resources