db_subnet_group#

Exec module for rds.db_subnet_group

async idem_aws.exec.aws.rds.db_subnet_group.get(hub, ctx, resource_id: str, name: str = None) Dict[str, Any][source]#

Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup. For an overview of CIDR ranges, go to the Wikipedia Tutorial.

Args:
resource_id(str):

An identifier of the resource in the provider. Defaults to None.

name(str, Optional):

An Idem name of the resource

Examples:

idem exec aws_auto.rds.db_subnet_group.get.get resource_id=01235789abcdef
async def my_func(hub, ctx):
    ret = await hub.exec.aws_auto.rds.db_subnet_group.get.get(ctx, resource_id="012345789abcedf")
aws_auto_rds_db_subnet_group_get_resource:
  exec.run:
    - path: aws_auto.rds.db_subnet_group.get
    - resource_id: 0123456789abcdef
async idem_aws.exec.aws.rds.db_subnet_group.list_(hub, ctx, name: str = None, filters: List[Filter] = None) Dict[str, Any][source]#

Returns a list of DBSubnetGroup descriptions. If a DBSubnetGroupName is specified, the list will contain only the descriptions of the specified DBSubnetGroup. For an overview of CIDR ranges, go to the Wikipedia Tutorial.

Args:
name(str):

An Idem name of the resource.

filters(list[Dict[str, Any]], Optional):

This parameter isn’t currently supported. Defaults to None.

  • Name (str):

    The name of the filter. Filter names are case-sensitive.

  • Values (list[str]):

    One or more filter values. Filter values are case-sensitive.

Examples:

idem exec aws_auto.rds.db_subnet_group.list
async def my_func(hub, ctx):
    ret = await hub.exec.aws_auto.rds.db_subnet_group.list(ctx)
aws_auto_rds_db_subnet_group_list_resource:
  exec.run:
    - path: aws_auto.rds.db_subnet_group.list