Supported services and resources#

Auto Scaling#

Service name: autoscaling

Resource

Resource type

Auto Scaling group (ASG)

autoScalingGroup

EC2#

Service name: ec2

Resource

Resource type

Customer gateway

customer-gateway

DHCP option set

dhcp-option

Direct Connect gateway association

direct-connect-gateway-association

Direct Connect connection

direct-connect-gateway-connection

Direct Connect gateway

direct-connect-gateway

Direct Connect LAG

direct-connect-lag

Direct Connect virtual interfaces

direct-connect-vif

Elastic IP address

elastic-ip

Elastic IP address allocation

elastic-ip-allocation

Dedicated host

host

Instance image

image

Instance

instance

Internet gateway

internet-gateway

Address pool

ipv4pool-ec2

Key pair

key-pair

Launch template

launch-template

Mirror filter

mirror-filter

Mirror filter rule

mirror-filter-rule

Mirror session

mirror-session

Mirror target

mirror-target

Network ACL

network-acl

Network interface

network-interface

Placement group

placement-group

Route table

route-table

Security group

security-group

Volume snapshot

snapshot

Subnet

subnet

Transit gateway

transit-gateway

Resource attachment to transit gateway

transit-gateway-attachment

Transit gateway route table

transit-gateway-route-table

VPC

vpc

VPN connection

vpn

Volume

volume

Volume version

volume-version

ElasticFileSystem#

Service name: efs

Resource

Resource type

Customer gateway

file-system

Route53#

Service name: route53

Resource

Resource type

DNS zone

hostedzone

Request creation#

ResourceARNList#

The parameter is required in the TagResources and UntagResources methods and optional in the GetResources method.

The parameter value is a list of strings in the arn:c2:<service-name>::<login>:<resource_type>/<resource_id> format. For supported values of <service-name> and <resource_type>, see the tables above.

Examples:

Resource name

ARN example

Instance

arn:c2:ec2::user@company:instance/i-XXXXXXXX

Subnet

arn:c2:ec2::user@company:subnet/subnet-XXXXXXXX

DNS zone

arn:c2:route53::user@company:hostedzone/z-XXXXXXXX

ResourceTypeFilters#

The parameter is optional in the GetResources method.

The parameter value is a list of strings in either the <service_name> or <service_name>:<resource_type> format. For supported values of <service-name> and <resource_type>, see the tables above.

Examples:

Resource name

ARN example

All EC2 resources

ec2

Instance

ec2:instance

Subnet

ec2:subnet

DNS zone

route53:hostedzone