| Server IP : 138.197.107.151 / Your IP : 216.73.217.7 Web Server : Apache/2.4.58 (Ubuntu) System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : wpbetasites_mrakzqskir ( 1022) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/bsd-crawler-parser/aws/dist/awscli/examples/vpc-lattice/ |
Upload File : |
**To create a resource gateway**
The following ``create-resource-gateway`` example creates a resource gateway for the specified subnet. ::
aws vpc-lattice create-resource-gateway \
--name my-resource-gateway \
--vpc-identifier vpc-0bf4c2739bc05a69 \
--subnet-ids subnet-08e8943905b63a683
Output::
{
"arn": "arn:aws:vpc-lattice:us-east-1:123456789012:resourcegateway/rgw-0bba03f3d56060135",
"id": "rgw-0bba03f3d56060135",
"ipAddressType": "IPV4",
"name": "my-resource-gateway",
"securityGroupIds": [
"sg-087ffd596c5fe962c"
],
"status": "ACTIVE",
"subnetIds": [
"subnet-08e8943905b63a683"
],
"vpcIdentifier": "vpc-0bf4c2739bc05a694"
}
For more information, see `Resource gateways in VPC Lattice <https://docs.aws.amazon.com/vpc-lattice/latest/ug/resource-gateway.html>`__ in the *Amazon VPC Lattice User Guide*.