VPC

The format for VPC declaration is: AWS::EC2::VPC

{"Type" : "AWS::EC2::VPC",   "Properties" : {      "CidrBlock" : String,      "EnableDnsSupport" : Boolean,      "EnableDnsHostnames" : Boolean,      "InstanceTenancy" : String,      "Tags" : [ Resource Tag, ... ]   }} 

Sr. No

Property

Required

Type

Available values

Default value

1

CIDRBlock

Yes

String

Example: 192.168.0.0/16

N/A

2

EnableDnsSupport

No

Boolean

True/False

TRUE

3

EnableDnsHostnames

No

Boolean

True/False

TRUE

4

InstanceTenancy 

No

String

"default" / "dedicated"

default

5

Tags

No

String

Key: String Value: String

NA

Example:

{  "AWSTemplateFormatVersion" : "2010-09-09",  "Resources" : {     "VPCTesting" : { "Type" : "AWS::EC2::VPC", ...

Get AWS Networking Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.