Download data/lib/python3.10/site-packages/awscli/examples/ec2/create-transit-gateway.rst from ZTWHHH/envs_1: direct link, hf CLI and curl.
- Browser
- Download file 1.45 kB
-
https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/ec2/create-transit-gateway.rst
- Command line
-
hf download hf://datasets/ZTWHHH/envs_1/data/lib/python3.10/site-packages/awscli/examples/ec2/create-transit-gateway.rst
-
curl -L -o create-transit-gateway.rst https://huggingface.co/datasets/ZTWHHH/envs_1/resolve/main/data/lib/python3.10/site-packages/awscli/examples/ec2/create-transit-gateway.rst
1.45 kB
| **To create a transit gateway** | |
| The following ``create-transit-gateway`` example creates a transit gateway. :: | |
| aws ec2 create-transit-gateway \ | |
| --description MyTGW \ | |
| --options AmazonSideAsn=64516,AutoAcceptSharedAttachments=enable,DefaultRouteTableAssociation=enable,DefaultRouteTablePropagation=enable,VpnEcmpSupport=enable,DnsSupport=enable | |
| Output:: | |
| { | |
| "TransitGateway": { | |
| "TransitGatewayId": "tgw-0262a0e521EXAMPLE", | |
| "TransitGatewayArn": "arn:aws:ec2:us-east-2:111122223333:transit-gateway/tgw-0262a0e521EXAMPLE", | |
| "State": "pending", | |
| "OwnerId": "111122223333", | |
| "Description": "MyTGW", | |
| "CreationTime": "2019-07-10T14:02:12.000Z", | |
| "Options": { | |
| "AmazonSideAsn": 64516, | |
| "AutoAcceptSharedAttachments": "enable", | |
| "DefaultRouteTableAssociation": "enable", | |
| "AssociationDefaultRouteTableId": "tgw-rtb-018774adf3EXAMPLE", | |
| "DefaultRouteTablePropagation": "enable", | |
| "PropagationDefaultRouteTableId": "tgw-rtb-018774adf3EXAMPLE", | |
| "VpnEcmpSupport": "enable", | |
| "DnsSupport": "enable" | |
| } | |
| } | |
| } | |
| For more information, see `Create a transit gateway <https://docs.aws.amazon.com/vpc/latest/tgw/tgw-transit-gateways.html#create-tgw>`__ in the *Transit Gateways Guide*. |