Difference between revisions of "Aws ec2 create-subnet"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
* https://docs.aws.amazon.com/cli/latest/reference/ec2/create-subnet.html
 
* https://docs.aws.amazon.com/cli/latest/reference/ec2/create-subnet.html
  
 +
[[aws ec2]] create-subnet \
 +
    [[--vpc-id]] vpc-081ec835f3EXAMPLE \
 +
    [[--cidr-block]] 10.0.1.0/24
  
 +
== Synopsys ==
 +
<pre>
 +
create-subnet
 +
[--tag-specifications <value>]
 +
[--availability-zone <value>]
 +
[--availability-zone-id <value>]
 +
[--cidr-block <value>]
 +
[--ipv6-cidr-block <value>]
 +
[--outpost-arn <value>]
 +
--vpc-id <value>
 +
[--dry-run | --no-dry-run]
 +
[--ipv6-native | --no-ipv6-native]
 +
[--cli-input-json <value>]
 +
[--generate-cli-skeleton <value>]
 +
</pre>
 +
 +
== Related ==
 +
* <code>[[aws ec2 create-vpc]]</code>
 +
* [[Subnet]]: <code>[[aws ec2 describe-subnets]]</code>
 +
* <code>[[aws ec2 vpc]]</code>
 +
* <code>[[AWS::EC2::Subnet]]</code>
 +
* <code>[[MapPublicIpOnLaunch:]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{aws ec2 subnet}}
 +
* {{aws ec2 create}}
 
* {{aws ec2}}
 
* {{aws ec2}}
  
 
[[Category:AWS]]
 
[[Category:AWS]]

Latest revision as of 19:36, 26 May 2022

aws ec2 create-subnet \
    --vpc-id vpc-081ec835f3EXAMPLE \
    --cidr-block 10.0.1.0/24

Synopsys[edit]

 create-subnet
[--tag-specifications <value>]
[--availability-zone <value>]
[--availability-zone-id <value>]
[--cidr-block <value>]
[--ipv6-cidr-block <value>]
[--outpost-arn <value>]
--vpc-id <value>
[--dry-run | --no-dry-run]
[--ipv6-native | --no-ipv6-native]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Related[edit]

See also[edit]

Advertising: