https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/docdb/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/docdb/create-db-subnet-group.rst
**To create an Amazon DocumentDB subnet group**

The following ``create-db-subnet-group`` example creates an Amazon DocumentDB subnet group named ``sample-subnet-group``. ::

    aws docdb create-db-subnet-group \
        --db-subnet-group-description "a sample subnet group" \
        --db-subnet-group-name sample-subnet-group \
        --subnet-ids "subnet-29ab1025" "subnet-991cb8d0" "subnet-53ab3636"

Output::

    {
        "DBSubnetGroup": {
            "SubnetGroupStatus": "Complete",
            "DBSubnetGroupName": "sample-subnet-group",
            "DBSubnetGroupDescription": "a sample subnet group",
            "VpcId": "vpc-91280df6",
            "DBSubnetGroupArn": "arn:aws:rds:us-west-2:123456789012:subgrp:sample-subnet-group",
            "Subnets": [
                {
                    "SubnetStatus": "Active",
                    "SubnetIdentifier": "subnet-53ab3636",
                    "SubnetAvailabilityZone": {
                        "Name": "us-west-2d"
                    }
                },
                {
                    "SubnetStatus": "Active",
                    "SubnetIdentifier": "subnet-991cb8d0",
                    "SubnetAvailabilityZone": {
                        "Name": "us-west-2b"
                    }
                },
                {
                    "SubnetStatus": "Active",
                    "SubnetIdentifier": "subnet-29ab1025",
                    "SubnetAvailabilityZone": {
                        "Name": "us-west-2c"
                    }
                }
            ]
        }
    }


For more information, see `Creating an Amazon DocumentDB Subnet Group <https://docs.aws.amazon.com/documentdb/latest/developerguide/document-db-subnet-groups.html#document-db-subnet-group-create>`__ in the *Amazon DocumentDB Developer Guide*.

https://t.me/RX1948 - 2025