awscc.ec2_vpc¶
Filters¶
event
marked-for-op
reduce
tag-count
value
Actions¶
delete¶
Parent base class for filters and actions.
properties:
type:
enum:
- delete
required:
- type
Permissions - ec2:DeleteVpc, ec2:DescribeVpcs, ec2:DeleteTags
update¶
Parent base class for filters and actions.
definitions:
Tag:
additionalProperties: false
properties:
Key:
type: string
Value:
type: string
required:
- Value
- Key
type: object
properties:
EnableDnsHostnames:
description: Indicates whether the instances launched in the VPC get DNS hostnames.
If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.
Disabled by default for nondefault VPCs.
type: boolean
EnableDnsSupport:
description: Indicates whether the DNS resolution is supported for the VPC. If
enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP
address, or the reserved IP address at the base of the VPC network range "plus
two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves
public DNS hostnames to IP addresses is not enabled. Enabled by default.
type: boolean
InstanceTenancy:
description: 'The allowed tenancy of instances launched into the VPC.
"default": An instance launched into the VPC runs on shared hardware by default,
unless you explicitly specify a different tenancy during instance launch.
"dedicated": An instance launched into the VPC is a Dedicated Instance by default,
unless you explicitly specify a tenancy of host during instance launch. You
cannot specify a tenancy of default during instance launch.
Updating InstanceTenancy requires no replacement only if you are updating its
value from "dedicated" to "default". Updating InstanceTenancy from "default"
to "dedicated" requires replacement.'
type: string
Tags:
description: The tags for the VPC.
insertionOrder: false
items:
additionalProperties: false
properties:
Key:
type: string
Value:
type: string
required:
- Value
- Key
type: object
type: array
uniqueItems: false
type:
enum:
- update
Permissions - ec2:CreateTags, ec2:ModifyVpcAttribute, ec2:DescribeVpcs, ec2:DeleteTags, ec2:ModifyVpcTenancy, ec2:DescribeVpcAttribute