Learn Idem

Learn Idem

Powered by Idem Project

aws.neptune.db_subnet_group

**Autogenerated function**

Deletes a DB subnet group.  The specified database subnet group must not be associated with any DB instances.

Args:
    name(Text): An Idem name of the resource.
    resource_id(Text, Optional): AWS Neptune DB Subnet Group Name. Defaults to None.

Returns:
    Dict[str, Any]

Examples:

    .. code-block:: sls

        resource_is_absent:
          aws.neptune.db_subnet_group.absent:
            - name: value
            - resource_id: value
**Autogenerated function**

Describe the resource in a way that can be recreated/managed with the corresponding "present" function


Returns a list of DBSubnetGroup descriptions.

Returns:
    Dict[str, Any]

Examples:

    .. code-block:: bash

        $ idem describe aws.neptune.db_subnet_group
**Autogenerated function**

Creates a new DB subnet group. DB subnet groups must contain at least one subnet in at least two AZs in the
Amazon Region.

Args:
    name(Text): An Idem name of the resource.
    db_subnet_group_description(Text): The description for the DB subnet group.
    subnet_ids(List[str]): The EC2 Subnet IDs for the DB subnet group.
    resource_id(Text, optional): AWS Neptune DB Subnet Group Name. Defaults to None.
    tags(List or Dict, optional): The tags to assign to the new DB subnet group. Defaults to None.
        * Key (Text) --  The key of the tag. Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws: .
        * Value (Text) -- The value of the tag. Tag values are case-sensitive and accept a maximum of 255 Unicode characters.

Returns:
    Dict[str, Any]

Examples:

    .. code-block:: sls

        resource_is_present:
          aws.neptune.db_subnet_group.present:
            - name: value
            - db_subnet_group_description: value
            - subnet_ids:
              - subnet-123124324
              - subnet-123124322

Full plugin documentation is available on the Idem documentation site - aws.neptune.db_subnet_group .

Last updated on 20 Sep 2022
 Edit on GitHub