# NOT RUN {
# This example creates a NAT gateway in subnet subnet-1a2b3c4d and
# associates an Elastic IP address with the allocation ID
# eipalloc-37fc1a52 with the NAT gateway.
# }
# NOT RUN {
svc$create_nat_gateway(
AllocationId = "eipalloc-37fc1a52",
SubnetId = "subnet-1a2b3c4d"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab