"description":"This example allocates an Elastic IP address to use with an instance in a VPC.",
"id":"ec2-allocate-address-1",
"title":"To allocate an Elastic IP address for EC2-VPC"
},
{
"output":{
"Domain":"standard",
"PublicIp":"198.51.100.0"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example allocates an Elastic IP address to use with an instance in EC2-Classic.",
"id":"ec2-allocate-address-2",
"title":"To allocate an Elastic IP address for EC2-Classic"
}
],
"AssignPrivateIpAddresses":[
{
"input":{
"NetworkInterfaceId":"eni-e5aa89a3",
"PrivateIpAddresses":[
"10.0.0.82"
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example assigns the specified secondary private IP address to the specified network interface.",
"id":"ec2-assign-private-ip-addresses-1",
"title":"To assign a specific secondary private IP address to an interface"
},
{
"input":{
"NetworkInterfaceId":"eni-e5aa89a3",
"SecondaryPrivateIpAddressCount":2
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example assigns two secondary private IP addresses to the specified network interface. Amazon EC2 automatically assigns these IP addresses from the available IP addresses in the CIDR block range of the subnet the network interface is associated with.",
"id":"ec2-assign-private-ip-addresses-2",
"title":"To assign secondary private IP addresses that Amazon EC2 selects to an interface"
}
],
"AssociateAddress":[
{
"input":{
"AllocationId":"eipalloc-64d5890a",
"InstanceId":"i-0b263919b6498b123"
},
"output":{
"AssociationId":"eipassoc-2bebb745"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example associates the specified Elastic IP address with the specified instance in a VPC.",
"id":"ec2-associate-address-1",
"title":"To associate an Elastic IP address in EC2-VPC"
},
{
"input":{
"AllocationId":"eipalloc-64d5890a",
"NetworkInterfaceId":"eni-1a2b3c4d"
},
"output":{
"AssociationId":"eipassoc-2bebb745"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example associates the specified Elastic IP address with the specified network interface.",
"id":"ec2-associate-address-2",
"title":"To associate an Elastic IP address with a network interface"
},
{
"input":{
"InstanceId":"i-07ffe74c7330ebf53",
"PublicIp":"198.51.100.0"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example associates an Elastic IP address with an instance in EC2-Classic.",
"id":"ec2-associate-address-3",
"title":"To associate an Elastic IP address in EC2-Classic"
}
],
"AssociateDhcpOptions":[
{
"input":{
"DhcpOptionsId":"dopt-d9070ebb",
"VpcId":"vpc-a01106c2"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example associates the specified DHCP options set with the specified VPC.",
"id":"ec2-associate-dhcp-options-1",
"title":"To associate a DHCP options set with a VPC"
},
{
"input":{
"DhcpOptionsId":"default",
"VpcId":"vpc-a01106c2"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example associates the default DHCP options set with the specified VPC.",
"id":"ec2-associate-dhcp-options-2",
"title":"To associate the default DHCP options set with a VPC"
"title":"To add a rule that allows inbound SSH traffic from an IPv4 address range"
},
{
"input":{
"GroupId":"sg-111aaa22",
"IpPermissions":[
{
"FromPort":80,
"IpProtocol":"tcp",
"ToPort":80,
"UserIdGroupPairs":[
{
"Description":"HTTP access from other instances",
"GroupId":"sg-1a2b3c4d"
}
]
}
]
},
"output":{
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example enables inbound traffic on TCP port 80 from the specified security group. The group must be in the same VPC or a peer VPC. Incoming traffic is allowed based on the private IP addresses of instances that are associated with the specified security group.",
"title":"To add a rule that allows inbound HTTP traffic from another security group"
},
{
"input":{
"GroupId":"sg-123abc12 ",
"IpPermissions":[
{
"FromPort":3389,
"IpProtocol":"tcp",
"Ipv6Ranges":[
{
"CidrIpv6":"2001:db8:1234:1a00::/64",
"Description":"RDP access from the NY office"
}
],
"ToPort":3389
}
]
},
"output":{
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example adds an inbound rule that allows RDP traffic from the specified IPv6 address range. The rule includes a description to help you identify it later.",
"description":"This example copies a snapshot with the snapshot ID of ``snap-066877671789bd71b`` from the ``us-west-2`` region to the ``us-east-1`` region and adds a short description to identify the snapshot.",
"id":"to-copy-a-snapshot-1472502259774",
"title":"To copy a snapshot"
}
],
"CreateCustomerGateway":[
{
"input":{
"BgpAsn":65534,
"PublicIp":"12.1.2.3",
"Type":"ipsec.1"
},
"output":{
"CustomerGateway":{
"BgpAsn":"65534",
"CustomerGatewayId":"cgw-0e11f167",
"IpAddress":"12.1.2.3",
"State":"available",
"Type":"ipsec.1"
}
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates a customer gateway with the specified IP address for its outside interface.",
"id":"ec2-create-customer-gateway-1",
"title":"To create a customer gateway"
}
],
"CreateDhcpOptions":[
{
"input":{
"DhcpConfigurations":[
{
"Key":"domain-name-servers",
"Values":[
"10.2.5.1",
"10.2.5.2"
]
}
]
},
"output":{
"DhcpOptions":{
"DhcpConfigurations":[
{
"Key":"domain-name-servers",
"Values":[
{
"Value":"10.2.5.2"
},
{
"Value":"10.2.5.1"
}
]
}
],
"DhcpOptionsId":"dopt-d9070ebb"
}
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates a DHCP options set.",
"description":"This example creates an AMI from the specified instance and adds an EBS volume with the device name /dev/sdh and an instance store volume with the device name /dev/sdc.",
"description":"This example creates a launch template that specifies the subnet in which to launch the instance, assigns a public IP address and an IPv6 address to the instance, and creates a tag for the instance.",
"id":"to-create-a-launch-template-1529023655488",
"title":"To create a launch template"
}
],
"CreateLaunchTemplateVersion":[
{
"input":{
"LaunchTemplateData":{
"ImageId":"ami-c998b6b2"
},
"LaunchTemplateId":"lt-0abcd290751193123",
"SourceVersion":"1",
"VersionDescription":"WebVersion2"
},
"output":{
"LaunchTemplateVersion":{
"CreateTime":"2017-12-01T13:35:46.000Z",
"CreatedBy":"arn:aws:iam::123456789012:root",
"DefaultVersion":false,
"LaunchTemplateData":{
"ImageId":"ami-c998b6b2",
"InstanceType":"t2.micro",
"NetworkInterfaces":[
{
"AssociatePublicIpAddress":true,
"DeviceIndex":0,
"Ipv6Addresses":[
{
"Ipv6Address":"2001:db8:1234:1a00::123"
}
],
"SubnetId":"subnet-7b16de0c"
}
]
},
"LaunchTemplateId":"lt-0abcd290751193123",
"LaunchTemplateName":"my-template",
"VersionDescription":"WebVersion2",
"VersionNumber":2
}
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates a new launch template version based on version 1 of the specified launch template and specifies a different AMI ID.",
"description":"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.",
"id":"ec2-create-nat-gateway-1",
"title":"To create a NAT gateway"
}
],
"CreateNetworkAcl":[
{
"input":{
"VpcId":"vpc-a01106c2"
},
"output":{
"NetworkAcl":{
"Associations":[
],
"Entries":[
{
"CidrBlock":"0.0.0.0/0",
"Egress":true,
"Protocol":"-1",
"RuleAction":"deny",
"RuleNumber":32767
},
{
"CidrBlock":"0.0.0.0/0",
"Egress":false,
"Protocol":"-1",
"RuleAction":"deny",
"RuleNumber":32767
}
],
"IsDefault":false,
"NetworkAclId":"acl-5fb85d36",
"Tags":[
],
"VpcId":"vpc-a01106c2"
}
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates a network ACL for the specified VPC.",
"id":"ec2-create-network-acl-1",
"title":"To create a network ACL"
}
],
"CreateNetworkAclEntry":[
{
"input":{
"CidrBlock":"0.0.0.0/0",
"Egress":false,
"NetworkAclId":"acl-5fb85d36",
"PortRange":{
"From":53,
"To":53
},
"Protocol":"udp",
"RuleAction":"allow",
"RuleNumber":100
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates an entry for the specified network ACL. The rule allows ingress traffic from anywhere (0.0.0.0/0) on UDP port 53 (DNS) into any associated subnet.",
"id":"ec2-create-network-acl-entry-1",
"title":"To create a network ACL entry"
}
],
"CreateNetworkInterface":[
{
"input":{
"Description":"my network interface",
"Groups":[
"sg-903004f8"
],
"PrivateIpAddress":"10.0.2.17",
"SubnetId":"subnet-9d4a7b6c"
},
"output":{
"NetworkInterface":{
"AvailabilityZone":"us-east-1d",
"Description":"my network interface",
"Groups":[
{
"GroupId":"sg-903004f8",
"GroupName":"default"
}
],
"MacAddress":"02:1a:80:41:52:9c",
"NetworkInterfaceId":"eni-e5aa89a3",
"OwnerId":"123456789012",
"PrivateIpAddress":"10.0.2.17",
"PrivateIpAddresses":[
{
"Primary":true,
"PrivateIpAddress":"10.0.2.17"
}
],
"RequesterManaged":false,
"SourceDestCheck":true,
"Status":"pending",
"SubnetId":"subnet-9d4a7b6c",
"TagSet":[
],
"VpcId":"vpc-a01106c2"
}
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates a network interface for the specified subnet.",
"id":"ec2-create-network-interface-1",
"title":"To create a network interface"
}
],
"CreatePlacementGroup":[
{
"input":{
"GroupName":"my-cluster",
"Strategy":"cluster"
},
"output":{
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates a placement group with the specified name.",
"id":"to-create-a-placement-group-1472712245768",
"title":"To create a placement group"
}
],
"CreateRoute":[
{
"input":{
"DestinationCidrBlock":"0.0.0.0/0",
"GatewayId":"igw-c0a643a9",
"RouteTableId":"rtb-22574640"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates a route for the specified route table. The route matches all traffic (0.0.0.0/0) and routes it to the specified Internet gateway.",
"id":"ec2-create-route-1",
"title":"To create a route"
}
],
"CreateRouteTable":[
{
"input":{
"VpcId":"vpc-a01106c2"
},
"output":{
"RouteTable":{
"Associations":[
],
"PropagatingVgws":[
],
"RouteTableId":"rtb-22574640",
"Routes":[
{
"DestinationCidrBlock":"10.0.0.0/16",
"GatewayId":"local",
"State":"active"
}
],
"Tags":[
],
"VpcId":"vpc-a01106c2"
}
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates a route table for the specified VPC.",
"description":"This example creates a snapshot of the volume with a volume ID of ``vol-1234567890abcdef0`` and a short description to identify the snapshot.",
"id":"to-create-a-snapshot-1472502529790",
"title":"To create a snapshot"
}
],
"CreateSpotDatafeedSubscription":[
{
"input":{
"Bucket":"my-s3-bucket",
"Prefix":"spotdata"
},
"output":{
"SpotDatafeedSubscription":{
"Bucket":"my-s3-bucket",
"OwnerId":"123456789012",
"Prefix":"spotdata",
"State":"Active"
}
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates a Spot Instance data feed for your AWS account.",
"id":"ec2-create-spot-datafeed-subscription-1",
"title":"To create a Spot Instance datafeed"
}
],
"CreateSubnet":[
{
"input":{
"CidrBlock":"10.0.1.0/24",
"VpcId":"vpc-a01106c2"
},
"output":{
"Subnet":{
"AvailabilityZone":"us-west-2c",
"AvailableIpAddressCount":251,
"CidrBlock":"10.0.1.0/24",
"State":"pending",
"SubnetId":"subnet-9d4a7b6c",
"VpcId":"vpc-a01106c2"
}
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates a subnet in the specified VPC with the specified CIDR block. We recommend that you let us select an Availability Zone for you.",
"id":"ec2-create-subnet-1",
"title":"To create a subnet"
}
],
"CreateTags":[
{
"input":{
"Resources":[
"ami-78a54011"
],
"Tags":[
{
"Key":"Stack",
"Value":"production"
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example adds the tag Stack=production to the specified image, or overwrites an existing tag for the AMI where the tag key is Stack.",
"id":"ec2-create-tags-1",
"title":"To add a tag to a resource"
}
],
"CreateVolume":[
{
"input":{
"AvailabilityZone":"us-east-1a",
"Size":80,
"VolumeType":"gp2"
},
"output":{
"AvailabilityZone":"us-east-1a",
"CreateTime":"2016-08-29T18:52:32.724Z",
"Encrypted":false,
"Iops":240,
"Size":80,
"SnapshotId":"",
"State":"creating",
"VolumeId":"vol-6b60b7c7",
"VolumeType":"gp2"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates an 80 GiB General Purpose (SSD) volume in the Availability Zone ``us-east-1a``.",
"id":"to-create-a-new-volume-1472496724296",
"title":"To create a new volume"
},
{
"input":{
"AvailabilityZone":"us-east-1a",
"Iops":1000,
"SnapshotId":"snap-066877671789bd71b",
"VolumeType":"io1"
},
"output":{
"Attachments":[
],
"AvailabilityZone":"us-east-1a",
"CreateTime":"2016-08-29T18:52:32.724Z",
"Iops":1000,
"Size":500,
"SnapshotId":"snap-066877671789bd71b",
"State":"creating",
"Tags":[
],
"VolumeId":"vol-1234567890abcdef0",
"VolumeType":"io1"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example creates a new Provisioned IOPS (SSD) volume with 1000 provisioned IOPS from a snapshot in the Availability Zone ``us-east-1a``.",
"description":"This example deletes a snapshot with the snapshot ID of ``snap-1234567890abcdef0``. If the command succeeds, no output is returned.",
"id":"to-delete-a-snapshot-1472503042567",
"title":"To delete a snapshot"
}
],
"DeleteSpotDatafeedSubscription":[
{
"comments":{
"input":{
},
"output":{
}
},
"description":"This example deletes a Spot data feed subscription for the account.",
"id":"ec2-delete-spot-datafeed-subscription-1",
"title":"To cancel a Spot Instance data feed subscription"
}
],
"DeleteSubnet":[
{
"input":{
"SubnetId":"subnet-9d4a7b6c"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example deletes the specified subnet.",
"id":"ec2-delete-subnet-1",
"title":"To delete a subnet"
}
],
"DeleteTags":[
{
"input":{
"Resources":[
"ami-78a54011"
],
"Tags":[
{
"Key":"Stack",
"Value":"test"
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example deletes the tag Stack=test from the specified image.",
"id":"ec2-delete-tags-1",
"title":"To delete a tag from a resource"
}
],
"DeleteVolume":[
{
"input":{
"VolumeId":"vol-049df61146c4d7901"
},
"output":{
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example deletes an available volume with the volume ID of ``vol-049df61146c4d7901``. If the command succeeds, no output is returned.",
"id":"to-delete-a-volume-1472503111160",
"title":"To delete a volume"
}
],
"DeleteVpc":[
{
"input":{
"VpcId":"vpc-a01106c2"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example deletes the specified VPC.",
"id":"ec2-delete-vpc-1",
"title":"To delete a VPC"
}
],
"DescribeAccountAttributes":[
{
"input":{
"AttributeNames":[
"supported-platforms"
]
},
"output":{
"AccountAttributes":[
{
"AttributeName":"supported-platforms",
"AttributeValues":[
{
"AttributeValue":"EC2"
},
{
"AttributeValue":"VPC"
}
]
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes the supported-platforms attribute for your AWS account.",
"id":"ec2-describe-account-attributes-1",
"title":"To describe a single attribute for your AWS account"
"description":"This example describes the attributes for your AWS account.",
"id":"ec2-describe-account-attributes-2",
"title":"To describe all attributes for your AWS account"
}
],
"DescribeAddresses":[
{
"output":{
"Addresses":[
{
"Domain":"standard",
"InstanceId":"i-1234567890abcdef0",
"PublicIp":"198.51.100.0"
},
{
"AllocationId":"eipalloc-12345678",
"AssociationId":"eipassoc-12345678",
"Domain":"vpc",
"InstanceId":"i-1234567890abcdef0",
"NetworkInterfaceId":"eni-12345678",
"NetworkInterfaceOwnerId":"123456789012",
"PrivateIpAddress":"10.0.1.241",
"PublicIp":"203.0.113.0"
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes your Elastic IP addresses.",
"id":"ec2-describe-addresses-1",
"title":"To describe your Elastic IP addresses"
},
{
"input":{
"Filters":[
{
"Name":"domain",
"Values":[
"vpc"
]
}
]
},
"output":{
"Addresses":[
{
"AllocationId":"eipalloc-12345678",
"AssociationId":"eipassoc-12345678",
"Domain":"vpc",
"InstanceId":"i-1234567890abcdef0",
"NetworkInterfaceId":"eni-12345678",
"NetworkInterfaceOwnerId":"123456789012",
"PrivateIpAddress":"10.0.1.241",
"PublicIp":"203.0.113.0"
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes your Elastic IP addresses for use with instances in a VPC.",
"id":"ec2-describe-addresses-2",
"title":"To describe your Elastic IP addresses for EC2-VPC"
},
{
"input":{
"Filters":[
{
"Name":"domain",
"Values":[
"standard"
]
}
]
},
"output":{
"Addresses":[
{
"Domain":"standard",
"InstanceId":"i-1234567890abcdef0",
"PublicIp":"198.51.100.0"
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes your Elastic IP addresses for use with instances in EC2-Classic.",
"id":"ec2-describe-addresses-3",
"title":"To describe your Elastic IP addresses for EC2-Classic"
}
],
"DescribeAvailabilityZones":[
{
"output":{
"AvailabilityZones":[
{
"Messages":[
],
"RegionName":"us-east-1",
"State":"available",
"ZoneName":"us-east-1b"
},
{
"Messages":[
],
"RegionName":"us-east-1",
"State":"available",
"ZoneName":"us-east-1c"
},
{
"Messages":[
],
"RegionName":"us-east-1",
"State":"available",
"ZoneName":"us-east-1d"
},
{
"Messages":[
],
"RegionName":"us-east-1",
"State":"available",
"ZoneName":"us-east-1e"
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes the Availability Zones that are available to you. The response includes Availability Zones only for the current region.",
"id":"ec2-describe-availability-zones-1",
"title":"To describe your Availability Zones"
}
],
"DescribeCustomerGateways":[
{
"input":{
"CustomerGatewayIds":[
"cgw-0e11f167"
]
},
"output":{
"CustomerGateways":[
{
"BgpAsn":"65534",
"CustomerGatewayId":"cgw-0e11f167",
"IpAddress":"12.1.2.3",
"State":"available",
"Type":"ipsec.1"
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes the specified customer gateway.",
"id":"ec2-describe-customer-gateways-1",
"title":"To describe a customer gateway"
}
],
"DescribeDhcpOptions":[
{
"input":{
"DhcpOptionsIds":[
"dopt-d9070ebb"
]
},
"output":{
"DhcpOptions":[
{
"DhcpConfigurations":[
{
"Key":"domain-name-servers",
"Values":[
{
"Value":"10.2.5.2"
},
{
"Value":"10.2.5.1"
}
]
}
],
"DhcpOptionsId":"dopt-d9070ebb"
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes the specified DHCP options set.",
"description":"This example describes all the regions that are available to you.",
"id":"ec2-describe-regions-1",
"title":"To describe your regions"
}
],
"DescribeRouteTables":[
{
"input":{
"RouteTableIds":[
"rtb-1f382e7d"
]
},
"output":{
"RouteTables":[
{
"Associations":[
{
"Main":true,
"RouteTableAssociationId":"rtbassoc-d8ccddba",
"RouteTableId":"rtb-1f382e7d"
}
],
"PropagatingVgws":[
],
"RouteTableId":"rtb-1f382e7d",
"Routes":[
{
"DestinationCidrBlock":"10.0.0.0/16",
"GatewayId":"local",
"State":"active"
}
],
"Tags":[
],
"VpcId":"vpc-a01106c2"
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes the specified route table.",
"id":"ec2-describe-route-tables-1",
"title":"To describe a route table"
}
],
"DescribeScheduledInstanceAvailability":[
{
"input":{
"FirstSlotStartTimeRange":{
"EarliestTime":"2016-01-31T00:00:00Z",
"LatestTime":"2016-01-31T04:00:00Z"
},
"Recurrence":{
"Frequency":"Weekly",
"Interval":1,
"OccurrenceDays":[
1
]
}
},
"output":{
"ScheduledInstanceAvailabilitySet":[
{
"AvailabilityZone":"us-west-2b",
"AvailableInstanceCount":20,
"FirstSlotStartTime":"2016-01-31T00:00:00Z",
"HourlyPrice":"0.095",
"InstanceType":"c4.large",
"MaxTermDurationInDays":366,
"MinTermDurationInDays":366,
"NetworkPlatform":"EC2-VPC",
"Platform":"Linux/UNIX",
"PurchaseToken":"eyJ2IjoiMSIsInMiOjEsImMiOi...",
"Recurrence":{
"Frequency":"Weekly",
"Interval":1,
"OccurrenceDaySet":[
1
],
"OccurrenceRelativeToEnd":false
},
"SlotDurationInHours":23,
"TotalScheduledInstanceHours":1219
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes a schedule that occurs every week on Sunday, starting on the specified date. Note that the output contains a single schedule as an example.",
"title":"To describe the status of impaired volumes"
}
],
"DescribeVolumes":[
{
"input":{
},
"output":{
"NextToken":"",
"Volumes":[
{
"Attachments":[
{
"AttachTime":"2013-12-18T22:35:00.000Z",
"DeleteOnTermination":true,
"Device":"/dev/sda1",
"InstanceId":"i-1234567890abcdef0",
"State":"attached",
"VolumeId":"vol-049df61146c4d7901"
}
],
"AvailabilityZone":"us-east-1a",
"CreateTime":"2013-12-18T22:35:00.084Z",
"Size":8,
"SnapshotId":"snap-1234567890abcdef0",
"State":"in-use",
"VolumeId":"vol-049df61146c4d7901",
"VolumeType":"standard"
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes all of your volumes in the default region.",
"id":"to-describe-all-volumes-1472506358883",
"title":"To describe all volumes"
},
{
"input":{
"Filters":[
{
"Name":"attachment.instance-id",
"Values":[
"i-1234567890abcdef0"
]
},
{
"Name":"attachment.delete-on-termination",
"Values":[
"true"
]
}
]
},
"output":{
"Volumes":[
{
"Attachments":[
{
"AttachTime":"2013-12-18T22:35:00.000Z",
"DeleteOnTermination":true,
"Device":"/dev/sda1",
"InstanceId":"i-1234567890abcdef0",
"State":"attached",
"VolumeId":"vol-049df61146c4d7901"
}
],
"AvailabilityZone":"us-east-1a",
"CreateTime":"2013-12-18T22:35:00.084Z",
"Size":8,
"SnapshotId":"snap-1234567890abcdef0",
"State":"in-use",
"VolumeId":"vol-049df61146c4d7901",
"VolumeType":"standard"
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes all volumes that are both attached to the instance with the ID i-1234567890abcdef0 and set to delete when the instance terminates.",
"title":"To describe volumes that are attached to a specific instance"
}
],
"DescribeVpcAttribute":[
{
"input":{
"Attribute":"enableDnsSupport",
"VpcId":"vpc-a01106c2"
},
"output":{
"EnableDnsSupport":{
"Value":true
},
"VpcId":"vpc-a01106c2"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes the enableDnsSupport attribute. This attribute indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not.",
"id":"ec2-describe-vpc-attribute-1",
"title":"To describe the enableDnsSupport attribute"
},
{
"input":{
"Attribute":"enableDnsHostnames",
"VpcId":"vpc-a01106c2"
},
"output":{
"EnableDnsHostnames":{
"Value":true
},
"VpcId":"vpc-a01106c2"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes the enableDnsHostnames attribute. This attribute indicates whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not.",
"id":"ec2-describe-vpc-attribute-2",
"title":"To describe the enableDnsHostnames attribute"
}
],
"DescribeVpcs":[
{
"input":{
"VpcIds":[
"vpc-a01106c2"
]
},
"output":{
"Vpcs":[
{
"CidrBlock":"10.0.0.0/16",
"DhcpOptionsId":"dopt-7a8b9c2d",
"InstanceTenancy":"default",
"IsDefault":false,
"State":"available",
"Tags":[
{
"Key":"Name",
"Value":"MyVPC"
}
],
"VpcId":"vpc-a01106c2"
}
]
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example describes the specified VPC.",
"id":"ec2-describe-vpcs-1",
"title":"To describe a VPC"
}
],
"DetachInternetGateway":[
{
"input":{
"InternetGatewayId":"igw-c0a643a9",
"VpcId":"vpc-a01106c2"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example detaches the specified Internet gateway from the specified VPC.",
"id":"ec2-detach-internet-gateway-1",
"title":"To detach an Internet gateway from a VPC"
}
],
"DetachNetworkInterface":[
{
"input":{
"AttachmentId":"eni-attach-66c4350a"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example detaches the specified network interface from its attached instance.",
"id":"ec2-detach-network-interface-1",
"title":"To detach a network interface from an instance"
}
],
"DetachVolume":[
{
"input":{
"VolumeId":"vol-1234567890abcdef0"
},
"output":{
"AttachTime":"2014-02-27T19:23:06.000Z",
"Device":"/dev/sdb",
"InstanceId":"i-1234567890abcdef0",
"State":"detaching",
"VolumeId":"vol-049df61146c4d7901"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example detaches the volume (``vol-049df61146c4d7901``) from the instance it is attached to.",
"description":"This example modifies the attachment attribute of the specified network interface.",
"id":"ec2-modify-network-interface-attribute-1",
"title":"To modify the attachment attribute of a network interface"
},
{
"input":{
"Description":{
"Value":"My description"
},
"NetworkInterfaceId":"eni-686ea200"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example modifies the description attribute of the specified network interface.",
"id":"ec2-modify-network-interface-attribute-2",
"title":"To modify the description attribute of a network interface"
},
{
"input":{
"Groups":[
"sg-903004f8",
"sg-1a2b3c4d"
],
"NetworkInterfaceId":"eni-686ea200"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example command modifies the groupSet attribute of the specified network interface.",
"id":"ec2-modify-network-interface-attribute-3",
"title":"To modify the groupSet attribute of a network interface"
},
{
"input":{
"NetworkInterfaceId":"eni-686ea200",
"SourceDestCheck":{
"Value":false
}
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example command modifies the sourceDestCheck attribute of the specified network interface.",
"id":"ec2-modify-network-interface-attribute-4",
"title":"To modify the sourceDestCheck attribute of a network interface"
}
],
"ModifySnapshotAttribute":[
{
"input":{
"Attribute":"createVolumePermission",
"OperationType":"remove",
"SnapshotId":"snap-1234567890abcdef0",
"UserIds":[
"123456789012"
]
},
"output":{
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example modifies snapshot ``snap-1234567890abcdef0`` to remove the create volume permission for a user with the account ID ``123456789012``. If the command succeeds, no output is returned.",
"description":"This example decreases the target capacity of the specified Spot fleet request without terminating any Spot Instances as a result.",
"id":"ec2-modify-spot-fleet-request-2",
"title":"To decrease the target capacity of a Spot fleet request"
}
],
"ModifySubnetAttribute":[
{
"input":{
"MapPublicIpOnLaunch":{
"Value":true
},
"SubnetId":"subnet-1a2b3c4d"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example modifies the specified subnet so that all instances launched into this subnet are assigned a public IP address.",
"id":"ec2-modify-subnet-attribute-1",
"title":"To change a subnet's public IP addressing behavior"
}
],
"ModifyVolumeAttribute":[
{
"input":{
"AutoEnableIO":{
"Value":true
},
"DryRun":true,
"VolumeId":"vol-1234567890abcdef0"
},
"output":{
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example sets the ``autoEnableIo`` attribute of the volume with the ID ``vol-1234567890abcdef0`` to ``true``. If the command succeeds, no output is returned.",
"description":"This example modifies the enableDnsSupport attribute. This attribute indicates whether DNS resolution is enabled for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for instances in the VPC to their corresponding IP addresses; otherwise, it does not.",
"id":"ec2-modify-vpc-attribute-1",
"title":"To modify the enableDnsSupport attribute"
},
{
"input":{
"EnableDnsHostnames":{
"Value":false
},
"VpcId":"vpc-a01106c2"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example modifies the enableDnsHostnames attribute. This attribute indicates whether instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not.",
"id":"ec2-modify-vpc-attribute-2",
"title":"To modify the enableDnsHostnames attribute"
}
],
"MoveAddressToVpc":[
{
"input":{
"PublicIp":"54.123.4.56"
},
"output":{
"Status":"MoveInProgress"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example moves the specified Elastic IP address to the EC2-VPC platform.",
"description":"This example releases an Elastic IP address for use with instances in a VPC.",
"id":"ec2-release-address-1",
"title":"To release an Elastic IP address for EC2-VPC"
},
{
"input":{
"PublicIp":"198.51.100.0"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example releases an Elastic IP address for use with instances in EC2-Classic.",
"id":"ec2-release-address-2",
"title":"To release an Elastic IP addresses for EC2-Classic"
}
],
"ReplaceNetworkAclAssociation":[
{
"input":{
"AssociationId":"aclassoc-e5b95c8c",
"NetworkAclId":"acl-5fb85d36"
},
"output":{
"NewAssociationId":"aclassoc-3999875b"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example associates the specified network ACL with the subnet for the specified network ACL association.",
"id":"ec2-replace-network-acl-association-1",
"title":"To replace the network ACL associated with a subnet"
}
],
"ReplaceNetworkAclEntry":[
{
"input":{
"CidrBlock":"203.0.113.12/24",
"Egress":false,
"NetworkAclId":"acl-5fb85d36",
"PortRange":{
"From":53,
"To":53
},
"Protocol":"udp",
"RuleAction":"allow",
"RuleNumber":100
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example replaces an entry for the specified network ACL. The new rule 100 allows ingress traffic from 203.0.113.12/24 on UDP port 53 (DNS) into any associated subnet.",
"id":"ec2-replace-network-acl-entry-1",
"title":"To replace a network ACL entry"
}
],
"ReplaceRoute":[
{
"input":{
"DestinationCidrBlock":"10.0.0.0/16",
"GatewayId":"vgw-9a4cacf3",
"RouteTableId":"rtb-22574640"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example replaces the specified route in the specified table table. The new route matches the specified CIDR and sends the traffic to the specified virtual private gateway.",
"id":"ec2-replace-route-1",
"title":"To replace a route"
}
],
"ReplaceRouteTableAssociation":[
{
"input":{
"AssociationId":"rtbassoc-781d0d1a",
"RouteTableId":"rtb-22574640"
},
"output":{
"NewAssociationId":"rtbassoc-3a1f0f58"
},
"comments":{
"input":{
},
"output":{
}
},
"description":"This example associates the specified route table with the subnet for the specified route table association.",
"id":"ec2-replace-route-table-association-1",
"title":"To replace the route table associated with a subnet"
"description":"This example creates a Spot fleet request with two launch specifications that differ only by subnet. The Spot fleet launches the instances in the specified subnet with the lowest price. If the instances are launched in a default VPC, they receive a public IP address by default. If the instances are launched in a nondefault VPC, they do not receive a public IP address by default. Note that you can't specify different subnets from the same Availability Zone in a Spot fleet request.",
"id":"ec2-request-spot-fleet-1",
"title":"To request a Spot fleet in the subnet with the lowest price"
"description":"This example creates a Spot fleet request with two launch specifications that differ only by Availability Zone. The Spot fleet launches the instances in the specified Availability Zone with the lowest price. If your account supports EC2-VPC only, Amazon EC2 launches the Spot instances in the default subnet of the Availability Zone. If your account supports EC2-Classic, Amazon EC2 launches the instances in EC2-Classic in the Availability Zone.",
"id":"ec2-request-spot-fleet-2",
"title":"To request a Spot fleet in the Availability Zone with the lowest price"
"description":"This example assigns public addresses to instances launched in a nondefault VPC. Note that when you specify a network interface, you must include the subnet ID and security group ID using the network interface.",
"id":"ec2-request-spot-fleet-3",
"title":"To launch Spot instances in a subnet and assign them public IP addresses"
"description":"This example creates a Spot fleet request that launches 30 instances using the diversified allocation strategy. The launch specifications differ by instance type. The Spot fleet distributes the instances across the launch specifications such that there are 10 instances of each type.",
"id":"ec2-request-spot-fleet-4",
"title":"To request a Spot fleet using the diversified allocation strategy"
"description":"This example creates a one-time Spot Instance request for five instances in the specified Availability Zone. If your account supports EC2-VPC only, Amazon EC2 launches the instances in the default subnet of the specified Availability Zone. If your account supports EC2-Classic, Amazon EC2 launches the instances in EC2-Classic in the specified Availability Zone.",
"id":"ec2-request-spot-instances-1",
"title":"To create a one-time Spot Instance request"
"description":"This example command creates a one-time Spot Instance request for five instances in the specified subnet. Amazon EC2 launches the instances in the specified subnet. If the VPC is a nondefault VPC, the instances do not receive a public IP address by default.",
"id":"ec2-request-spot-instances-2",
"title":"To create a one-time Spot Instance request"
"description":"This example resets the create volume permissions for snapshot ``snap-1234567890abcdef0``. If the command succeeds, no output is returned.",