Learn R Programming

paws (version 0.1.12)

ec2: Amazon Elastic Compute Cloud

Description

Amazon Elastic Compute Cloud (Amazon EC2) provides secure and resizable computing capacity in the AWS cloud. Using Amazon EC2 eliminates the need to invest in hardware up front, so you can develop and deploy applications faster.

To learn more, see the following resources:

Usage

ec2(config = list())

Value

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Arguments

config

Optional configuration of credentials, endpoint, and/or region.

Service syntax

svc <- ec2(
  config = list(
    credentials = list(
      creds = list(
        access_key_id = "string",
        secret_access_key = "string",
        session_token = "string"
      ),
      profile = "string"
    ),
    endpoint = "string",
    region = "string"
  )
)

Operations

accept_reserved_instances_exchange_quoteAccepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call
accept_transit_gateway_multicast_domain_associationsAccepts a request to associate subnets with a transit gateway multicast domain
accept_transit_gateway_peering_attachmentAccepts a transit gateway peering attachment request
accept_transit_gateway_vpc_attachmentAccepts a request to attach a VPC to a transit gateway
accept_vpc_endpoint_connectionsAccepts one or more interface VPC endpoint connection requests to your VPC endpoint service
accept_vpc_peering_connectionAccept a VPC peering connection request
advertise_byoip_cidrAdvertises an IPv4 or IPv6 address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP)
allocate_addressAllocates an Elastic IP address to your AWS account
allocate_hostsAllocates a Dedicated Host to your account
apply_security_groups_to_client_vpn_target_networkApplies a security group to the association between the target network and the Client VPN endpoint
assign_ipv_6_addressesAssigns one or more IPv6 addresses to the specified network interface
assign_private_ip_addressesAssigns one or more secondary private IP addresses to the specified network interface
associate_addressAssociates an Elastic IP address, or carrier IP address (for instances that are in subnets in Wavelength Zones) with an instance or a network interface
associate_client_vpn_target_networkAssociates a target network with a Client VPN endpoint
associate_dhcp_optionsAssociates a set of DHCP options (that you've previously created) with the specified VPC, or associates no DHCP options with the VPC
associate_enclave_certificate_iam_roleAssociates an AWS Identity and Access Management (IAM) role with an AWS Certificate Manager (ACM) certificate
associate_iam_instance_profileAssociates an IAM instance profile with a running or stopped instance
associate_route_tableAssociates a subnet in your VPC or an internet gateway or virtual private gateway attached to your VPC with a route table in your VPC
associate_subnet_cidr_blockAssociates a CIDR block with your subnet
associate_transit_gateway_multicast_domainAssociates the specified subnets and transit gateway attachments with the specified transit gateway multicast domain
associate_transit_gateway_route_tableAssociates the specified attachment with the specified transit gateway route table
associate_vpc_cidr_blockAssociates a CIDR block with your VPC
attach_classic_link_vpcLinks an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's security groups
attach_internet_gatewayAttaches an internet gateway or a virtual private gateway to a VPC, enabling connectivity between the internet and the VPC
attach_network_interfaceAttaches a network interface to an instance
attach_volumeAttaches an EBS volume to a running or stopped instance and exposes it to the instance with the specified device name
attach_vpn_gatewayAttaches a virtual private gateway to a VPC
authorize_client_vpn_ingressAdds an ingress authorization rule to a Client VPN endpoint
authorize_security_group_egress[VPC only] Adds the specified egress rules to a security group for use with a VPC
authorize_security_group_ingressAdds the specified ingress rules to a security group
bundle_instanceBundles an Amazon instance store-backed Windows instance
cancel_bundle_taskCancels a bundling operation for an instance store-backed Windows instance
cancel_capacity_reservationCancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity Reservation's state to cancelled
cancel_conversion_taskCancels an active conversion task
cancel_export_taskCancels an active export task
cancel_import_taskCancels an in-process import virtual machine or import snapshot task
cancel_reserved_instances_listingCancels the specified Reserved Instance listing in the Reserved Instance Marketplace
cancel_spot_fleet_requestsCancels the specified Spot Fleet requests
cancel_spot_instance_requestsCancels one or more Spot Instance requests
confirm_product_instanceDetermines whether a product code is associated with an instance
copy_fpga_imageCopies the specified Amazon FPGA Image (AFI) to the current Region
copy_imageInitiates the copy of an AMI from the specified source Region to the current Region
copy_snapshotCopies a point-in-time snapshot of an EBS volume and stores it in Amazon S3
create_capacity_reservationCreates a new Capacity Reservation with the specified attributes
create_carrier_gatewayCreates a carrier gateway
create_client_vpn_endpointCreates a Client VPN endpoint
create_client_vpn_routeAdds a route to a network to a Client VPN endpoint
create_customer_gatewayProvides information to AWS about your VPN customer gateway device
create_default_subnetCreates a default subnet with a size /20 IPv4 CIDR block in the specified Availability Zone in your default VPC
create_default_vpcCreates a default VPC with a size /16 IPv4 CIDR block and a default subnet in each Availability Zone
create_dhcp_optionsCreates a set of DHCP options for your VPC
create_egress_only_internet_gateway[IPv6 only] Creates an egress-only internet gateway for your VPC
create_fleetLaunches an EC2 Fleet
create_flow_logsCreates one or more flow logs to capture information about IP traffic for a specific network interface, subnet, or VPC
create_fpga_imageCreates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP)
create_imageCreates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped
create_instance_export_taskExports a running or stopped instance to an Amazon S3 bucket
create_internet_gatewayCreates an internet gateway for use with a VPC
create_key_pairCreates a 2048-bit RSA key pair with the specified name
create_launch_templateCreates a launch template
create_launch_template_versionCreates a new version for a launch template
create_local_gateway_routeCreates a static route for the specified local gateway route table
create_local_gateway_route_table_vpc_associationAssociates the specified VPC with the specified local gateway route table
create_managed_prefix_listCreates a managed prefix list
create_nat_gatewayCreates a NAT gateway in the specified public subnet
create_network_aclCreates a network ACL in a VPC
create_network_acl_entryCreates an entry (a rule) in a network ACL with the specified rule number
create_network_insights_pathCreates a path to analyze for reachability
create_network_interfaceCreates a network interface in the specified subnet
create_network_interface_permissionGrants an AWS-authorized account permission to attach the specified network interface to an instance in their account
create_placement_groupCreates a placement group in which to launch instances
create_reserved_instances_listingCreates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance Marketplace
create_routeCreates a route in a route table within a VPC
create_route_tableCreates a route table for the specified VPC
create_security_groupCreates a security group
create_snapshotCreates a snapshot of an EBS volume and stores it in Amazon S3
create_snapshotsCreates crash-consistent snapshots of multiple EBS volumes and stores the data in S3
create_spot_datafeed_subscriptionCreates a data feed for Spot Instances, enabling you to view Spot Instance usage logs
create_subnetCreates a subnet in a specified VPC
create_tagsAdds or overwrites only the specified tags for the specified Amazon EC2 resource or resources
create_traffic_mirror_filterCreates a Traffic Mirror filter
create_traffic_mirror_filter_ruleCreates a Traffic Mirror filter rule
create_traffic_mirror_sessionCreates a Traffic Mirror session
create_traffic_mirror_targetCreates a target for your Traffic Mirror session
create_transit_gatewayCreates a transit gateway
create_transit_gateway_connectCreates a Connect attachment from a specified transit gateway attachment
create_transit_gateway_connect_peerCreates a Connect peer for a specified transit gateway Connect attachment between a transit gateway and an appliance
create_transit_gateway_multicast_domainCreates a multicast domain using the specified transit gateway
create_transit_gateway_peering_attachmentRequests a transit gateway peering attachment between the specified transit gateway (requester) and a peer transit gateway (accepter)
create_transit_gateway_prefix_list_referenceCreates a reference (route) to a prefix list in a specified transit gateway route table
create_transit_gateway_routeCreates a static route for the specified transit gateway route table
create_transit_gateway_route_tableCreates a route table for the specified transit gateway
create_transit_gateway_vpc_attachmentAttaches the specified VPC to the specified transit gateway
create_volumeCreates an EBS volume that can be attached to an instance in the same Availability Zone
create_vpcCreates a VPC with the specified IPv4 CIDR block
create_vpc_endpointCreates a VPC endpoint for a specified service
create_vpc_endpoint_connection_notificationCreates a connection notification for a specified VPC endpoint or VPC endpoint service
create_vpc_endpoint_service_configurationCreates a VPC endpoint service configuration to which service consumers (AWS accounts, IAM users, and IAM roles) can connect
create_vpc_peering_connectionRequests a VPC peering connection between two VPCs: a requester VPC that you own and an accepter VPC with which to create the connection
create_vpn_connectionCreates a VPN connection between an existing virtual private gateway or transit gateway and a customer gateway
create_vpn_connection_routeCreates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway
create_vpn_gatewayCreates a virtual private gateway
delete_carrier_gatewayDeletes a carrier gateway
delete_client_vpn_endpointDeletes the specified Client VPN endpoint
delete_client_vpn_routeDeletes a route from a Client VPN endpoint
delete_customer_gatewayDeletes the specified customer gateway
delete_dhcp_optionsDeletes the specified set of DHCP options
delete_egress_only_internet_gatewayDeletes an egress-only internet gateway
delete_fleetsDeletes the specified EC2 Fleet
delete_flow_logsDeletes one or more flow logs
delete_fpga_imageDeletes the specified Amazon FPGA Image (AFI)
delete_internet_gatewayDeletes the specified internet gateway
delete_key_pairDeletes the specified key pair, by removing the public key from Amazon EC2
delete_launch_templateDeletes a launch template
delete_launch_template_versionsDeletes one or more versions of a launch template
delete_local_gateway_routeDeletes the specified route from the specified local gateway route table
delete_local_gateway_route_table_vpc_associationDeletes the specified association between a VPC and local gateway route table
delete_managed_prefix_listDeletes the specified managed prefix list
delete_nat_gatewayDeletes the specified NAT gateway
delete_network_aclDeletes the specified network ACL
delete_network_acl_entryDeletes the specified ingress or egress entry (rule) from the specified network ACL
delete_network_insights_analysisDeletes the specified network insights analysis
delete_network_insights_pathDeletes the specified path
delete_network_interfaceDeletes the specified network interface
delete_network_interface_permissionDeletes a permission for a network interface
delete_placement_groupDeletes the specified placement group
delete_queued_reserved_instancesDeletes the queued purchases for the specified Reserved Instances
delete_routeDeletes the specified route from the specified route table
delete_route_tableDeletes the specified route table
delete_security_groupDeletes a security group
delete_snapshotDeletes the specified snapshot
delete_spot_datafeed_subscriptionDeletes the data feed for Spot Instances
delete_subnetDeletes the specified subnet
delete_tagsDeletes the specified set of tags from the specified set of resources
delete_traffic_mirror_filterDeletes the specified Traffic Mirror filter
delete_traffic_mirror_filter_ruleDeletes the specified Traffic Mirror rule
delete_traffic_mirror_sessionDeletes the specified Traffic Mirror session
delete_traffic_mirror_targetDeletes the specified Traffic Mirror target
delete_transit_gatewayDeletes the specified transit gateway
delete_transit_gateway_connectDeletes the specified Connect attachment
delete_transit_gateway_connect_peerDeletes the specified Connect peer
delete_transit_gateway_multicast_domainDeletes the specified transit gateway multicast domain
delete_transit_gateway_peering_attachmentDeletes a transit gateway peering attachment
delete_transit_gateway_prefix_list_referenceDeletes a reference (route) to a prefix list in a specified transit gateway route table
delete_transit_gateway_routeDeletes the specified route from the specified transit gateway route table
delete_transit_gateway_route_tableDeletes the specified transit gateway route table
delete_transit_gateway_vpc_attachmentDeletes the specified VPC attachment
delete_volumeDeletes the specified EBS volume
delete_vpcDeletes the specified VPC
delete_vpc_endpoint_connection_notificationsDeletes one or more VPC endpoint connection notifications
delete_vpc_endpointsDeletes one or more specified VPC endpoints
delete_vpc_endpoint_service_configurationsDeletes one or more VPC endpoint service configurations in your account
delete_vpc_peering_connectionDeletes a VPC peering connection
delete_vpn_connectionDeletes the specified VPN connection
delete_vpn_connection_routeDeletes the specified static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway
delete_vpn_gatewayDeletes the specified virtual private gateway
deprovision_byoip_cidrReleases the specified address range that you provisioned for use with your AWS resources through bring your own IP addresses (BYOIP) and deletes the corresponding address pool
deregister_imageDeregisters the specified AMI
deregister_instance_event_notification_attributesDeregisters tag keys to prevent tags that have the specified tag keys from being included in scheduled event notifications for resources in the Region
deregister_transit_gateway_multicast_group_membersDeregisters the specified members (network interfaces) from the transit gateway multicast group
deregister_transit_gateway_multicast_group_sourcesDeregisters the specified sources (network interfaces) from the transit gateway multicast group
describe_account_attributesDescribes attributes of your AWS account
describe_addressesDescribes the specified Elastic IP addresses or all of your Elastic IP addresses
describe_aggregate_id_formatDescribes the longer ID format settings for all resource types in a specific Region
describe_availability_zonesDescribes the Availability Zones, Local Zones, and Wavelength Zones that are available to you
describe_bundle_tasksDescribes the specified bundle tasks or all of your bundle tasks
describe_byoip_cidrsDescribes the IP address ranges that were specified in calls to ProvisionByoipCidr
describe_capacity_reservationsDescribes one or more of your Capacity Reservations
describe_carrier_gatewaysDescribes one or more of your carrier gateways
describe_classic_link_instancesDescribes one or more of your linked EC2-Classic instances
describe_client_vpn_authorization_rulesDescribes the authorization rules for a specified Client VPN endpoint
describe_client_vpn_connectionsDescribes active client connections and connections that have been terminated within the last 60 minutes for the specified Client VPN endpoint
describe_client_vpn_endpointsDescribes one or more Client VPN endpoints in the account
describe_client_vpn_routesDescribes the routes for the specified Client VPN endpoint
describe_client_vpn_target_networksDescribes the target networks associated with the specified Client VPN endpoint
describe_coip_poolsDescribes the specified customer-owned address pools or all of your customer-owned address pools
describe_conversion_tasksDescribes the specified conversion tasks or all your conversion tasks
describe_customer_gatewaysDescribes one or more of your VPN customer gateways
describe_dhcp_optionsDescribes one or more of your DHCP options sets
describe_egress_only_internet_gatewaysDescribes one or more of your egress-only internet gateways
describe_elastic_gpusDescribes the Elastic Graphics accelerator associated with your instances
describe_export_image_tasksDescribes the specified export image tasks or all of your export image tasks
describe_export_tasksDescribes the specified export instance tasks or all of your export instance tasks
describe_fast_snapshot_restoresDescribes the state of fast snapshot restores for your snapshots
describe_fleet_historyDescribes the events for the specified EC2 Fleet during the specified time
describe_fleet_instancesDescribes the running instances for the specified EC2 Fleet
describe_fleetsDescribes the specified EC2 Fleets or all of your EC2 Fleets
describe_flow_logsDescribes one or more flow logs
describe_fpga_image_attributeDescribes the specified attribute of the specified Amazon FPGA Image (AFI)
describe_fpga_imagesDescribes the Amazon FPGA Images (AFIs) available to you
describe_host_reservation_offeringsDescribes the Dedicated Host reservations that are available to purchase
describe_host_reservationsDescribes reservations that are associated with Dedicated Hosts in your account
describe_hostsDescribes the specified Dedicated Hosts or all your Dedicated Hosts
describe_iam_instance_profile_associationsDescribes your IAM instance profile associations
describe_identity_id_formatDescribes the ID format settings for resources for the specified IAM user, IAM role, or root user
describe_id_formatDescribes the ID format settings for your resources on a per-Region basis, for example, to view which resource types are enabled for longer IDs
describe_image_attributeDescribes the specified attribute of the specified AMI
describe_imagesDescribes the specified images (AMIs, AKIs, and ARIs) available to you or all of the images available to you
describe_import_image_tasksDisplays details about an import virtual machine or import snapshot tasks that are already created
describe_import_snapshot_tasksDescribes your import snapshot tasks
describe_instance_attributeDescribes the specified attribute of the specified instance
describe_instance_credit_specificationsDescribes the credit option for CPU usage of the specified burstable performance instances
describe_instance_event_notification_attributesDescribes the tag keys that are registered to appear in scheduled event notifications for resources in the current Region
describe_instancesDescribes the specified instances or all instances
describe_instance_statusDescribes the status of the specified instances or all of your instances
describe_instance_type_offeringsReturns a list of all instance types offered
describe_instance_typesDescribes the details of the instance types that are offered in a location
describe_internet_gatewaysDescribes one or more of your internet gateways
describe_ipv_6_poolsDescribes your IPv6 address pools
describe_key_pairsDescribes the specified key pairs or all of your key pairs
describe_launch_templatesDescribes one or more launch templates
describe_launch_template_versionsDescribes one or more versions of a specified launch template
describe_local_gateway_route_tablesDescribes one or more local gateway route tables
describe_local_gateway_route_table_virtual_interface_group_associationsDescribes the associations between virtual interface groups and local gateway route tables
describe_local_gateway_route_table_vpc_associationsDescribes the specified associations between VPCs and local gateway route tables
describe_local_gatewaysDescribes one or more local gateways
describe_local_gateway_virtual_interface_groupsDescribes the specified local gateway virtual interface groups
describe_local_gateway_virtual_interfacesDescribes the specified local gateway virtual interfaces
describe_managed_prefix_listsDescribes your managed prefix lists and any AWS-managed prefix lists
describe_moving_addressesDescribes your Elastic IP addresses that are being moved to the EC2-VPC platform, or that are being restored to the EC2-Classic platform
describe_nat_gatewaysDescribes one or more of your NAT gateways
describe_network_aclsDescribes one or more of your network ACLs
describe_network_insights_analysesDescribes one or more of your network insights analyses
describe_network_insights_pathsDescribes one or more of your paths
describe_network_interface_attributeDescribes a network interface attribute
describe_network_interface_permissionsDescribes the permissions for your network interfaces
describe_network_interfacesDescribes one or more of your network interfaces
describe_placement_groupsDescribes the specified placement groups or all of your placement groups
describe_prefix_listsDescribes available AWS services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service
describe_principal_id_formatDescribes the ID format settings for the root user and all IAM roles and IAM users that have explicitly specified a longer ID (17-character ID) preference
describe_public_ipv_4_poolsDescribes the specified IPv4 address pools
describe_regionsDescribes the Regions that are enabled for your account, or all Regions
describe_reserved_instancesDescribes one or more of the Reserved Instances that you purchased
describe_reserved_instances_listingsDescribes your account's Reserved Instance listings in the Reserved Instance Marketplace
describe_reserved_instances_modificationsDescribes the modifications made to your Reserved Instances
describe_reserved_instances_offeringsDescribes Reserved Instance offerings that are available for purchase
describe_route_tablesDescribes one or more of your route tables
describe_scheduled_instance_availabilityFinds available schedules that meet the specified criteria
describe_scheduled_instancesDescribes the specified Scheduled Instances or all your Scheduled Instances
describe_security_group_references[VPC only] Describes the VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request
describe_security_groupsDescribes the specified security groups or all of your security groups
describe_snapshot_attributeDescribes the specified attribute of the specified snapshot
describe_snapshotsDescribes the specified EBS snapshots available to you or all of the EBS snapshots available to you
describe_spot_datafeed_subscriptionDescribes the data feed for Spot Instances
describe_spot_fleet_instancesDescribes the running instances for the specified Spot Fleet
describe_spot_fleet_request_historyDescribes the events for the specified Spot Fleet request during the specified time
describe_spot_fleet_requestsDescribes your Spot Fleet requests
describe_spot_instance_requestsDescribes the specified Spot Instance requests
describe_spot_price_historyDescribes the Spot price history
describe_stale_security_groups[VPC only] Describes the stale security group rules for security groups in a specified VPC
describe_subnetsDescribes one or more of your subnets
describe_tagsDescribes the specified tags for your EC2 resources
describe_traffic_mirror_filtersDescribes one or more Traffic Mirror filters
describe_traffic_mirror_sessionsDescribes one or more Traffic Mirror sessions
describe_traffic_mirror_targetsInformation about one or more Traffic Mirror targets
describe_transit_gateway_attachmentsDescribes one or more attachments between resources and transit gateways
describe_transit_gateway_connect_peersDescribes one or more Connect peers
describe_transit_gateway_connectsDescribes one or more Connect attachments
describe_transit_gateway_multicast_domainsDescribes one or more transit gateway multicast domains
describe_transit_gateway_peering_attachmentsDescribes your transit gateway peering attachments
describe_transit_gateway_route_tablesDescribes one or more transit gateway route tables
describe_transit_gatewaysDescribes one or more transit gateways
describe_transit_gateway_vpc_attachmentsDescribes one or more VPC attachments
describe_volume_attributeDescribes the specified attribute of the specified volume
describe_volumesDescribes the specified EBS volumes or all of your EBS volumes
describe_volumes_modificationsDescribes the most recent volume modification request for the specified EBS volumes
describe_volume_statusDescribes the status of the specified volumes
describe_vpc_attributeDescribes the specified attribute of the specified VPC
describe_vpc_classic_linkDescribes the ClassicLink status of one or more VPCs
describe_vpc_classic_link_dns_supportDescribes the ClassicLink DNS support status of one or more VPCs
describe_vpc_endpoint_connection_notificationsDescribes the connection notifications for VPC endpoints and VPC endpoint services
describe_vpc_endpoint_connectionsDescribes the VPC endpoint connections to your VPC endpoint services, including any endpoints that are pending your acceptance
describe_vpc_endpointsDescribes one or more of your VPC endpoints
describe_vpc_endpoint_service_configurationsDescribes the VPC endpoint service configurations in your account (your services)
describe_vpc_endpoint_service_permissionsDescribes the principals (service consumers) that are permitted to discover your VPC endpoint service
describe_vpc_endpoint_servicesDescribes available services to which you can create a VPC endpoint
describe_vpc_peering_connectionsDescribes one or more of your VPC peering connections
describe_vpcsDescribes one or more of your VPCs
describe_vpn_connectionsDescribes one or more of your VPN connections
describe_vpn_gatewaysDescribes one or more of your virtual private gateways
detach_classic_link_vpcUnlinks (detaches) a linked EC2-Classic instance from a VPC
detach_internet_gatewayDetaches an internet gateway from a VPC, disabling connectivity between the internet and the VPC
detach_network_interfaceDetaches a network interface from an instance
detach_volumeDetaches an EBS volume from an instance
detach_vpn_gatewayDetaches a virtual private gateway from a VPC
disable_ebs_encryption_by_defaultDisables EBS encryption by default for your account in the current Region
disable_fast_snapshot_restoresDisables fast snapshot restores for the specified snapshots in the specified Availability Zones
disable_transit_gateway_route_table_propagationDisables the specified resource attachment from propagating routes to the specified propagation route table
disable_vgw_route_propagationDisables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC
disable_vpc_classic_linkDisables ClassicLink for a VPC
disable_vpc_classic_link_dns_supportDisables ClassicLink DNS support for a VPC
disassociate_addressDisassociates an Elastic IP address from the instance or network interface it's associated with
disassociate_client_vpn_target_networkDisassociates a target network from the specified Client VPN endpoint
disassociate_enclave_certificate_iam_roleDisassociates an IAM role from an AWS Certificate Manager (ACM) certificate
disassociate_iam_instance_profileDisassociates an IAM instance profile from a running or stopped instance
disassociate_route_tableDisassociates a subnet or gateway from a route table
disassociate_subnet_cidr_blockDisassociates a CIDR block from a subnet
disassociate_transit_gateway_multicast_domainDisassociates the specified subnets from the transit gateway multicast domain
disassociate_transit_gateway_route_tableDisassociates a resource attachment from a transit gateway route table
disassociate_vpc_cidr_blockDisassociates a CIDR block from a VPC
enable_ebs_encryption_by_defaultEnables EBS encryption by default for your account in the current Region
enable_fast_snapshot_restoresEnables fast snapshot restores for the specified snapshots in the specified Availability Zones
enable_transit_gateway_route_table_propagationEnables the specified attachment to propagate routes to the specified propagation route table
enable_vgw_route_propagationEnables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC
enable_volume_ioEnables I/O operations for a volume that had I/O operations disabled because the data on the volume was potentially inconsistent
enable_vpc_classic_linkEnables a VPC for ClassicLink
enable_vpc_classic_link_dns_supportEnables a VPC to support DNS hostname resolution for ClassicLink
export_client_vpn_client_certificate_revocation_listDownloads the client certificate revocation list for the specified Client VPN endpoint
export_client_vpn_client_configurationDownloads the contents of the Client VPN endpoint configuration file for the specified Client VPN endpoint
export_imageExports an Amazon Machine Image (AMI) to a VM file
export_transit_gateway_routesExports routes from the specified transit gateway route table to the specified S3 bucket
get_associated_enclave_certificate_iam_rolesReturns the IAM roles that are associated with the specified AWS Certificate Manager (ACM) certificate
get_associated_ipv_6_pool_cidrsGets information about the IPv6 CIDR block associations for a specified IPv6 address pool
get_capacity_reservation_usageGets usage information about a Capacity Reservation
get_coip_pool_usageDescribes the allocations from the specified customer-owned address pool
get_console_outputGets the console output for the specified instance
get_console_screenshotRetrieve a JPG-format screenshot of a running instance to help with troubleshooting
get_default_credit_specificationDescribes the default credit option for CPU usage of a burstable performance instance family
get_ebs_default_kms_key_idDescribes the default customer master key (CMK) for EBS encryption by default for your account in this Region
get_ebs_encryption_by_defaultDescribes whether EBS encryption by default is enabled for your account in the current Region
get_groups_for_capacity_reservationLists the resource groups to which a Capacity Reservation has been added
get_host_reservation_purchase_previewPreview a reservation purchase with configurations that match those of your Dedicated Host
get_launch_template_dataRetrieves the configuration data of the specified instance
get_managed_prefix_list_associationsGets information about the resources that are associated with the specified managed prefix list
get_managed_prefix_list_entriesGets information about the entries for a specified managed prefix list
get_password_dataRetrieves the encrypted administrator password for a running Windows instance
get_reserved_instances_exchange_quoteReturns a quote and exchange information for exchanging one or more specified Convertible Reserved Instances for a new Convertible Reserved Instance
get_transit_gateway_attachment_propagationsLists the route tables to which the specified resource attachment propagates routes
get_transit_gateway_multicast_domain_associationsGets information about the associations for the transit gateway multicast domain
get_transit_gateway_prefix_list_referencesGets information about the prefix list references in a specified transit gateway route table
get_transit_gateway_route_table_associationsGets information about the associations for the specified transit gateway route table
get_transit_gateway_route_table_propagationsGets information about the route table propagations for the specified transit gateway route table
import_client_vpn_client_certificate_revocation_listUploads a client certificate revocation list to the specified Client VPN endpoint
import_imageImport single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI)
import_instanceCreates an import instance task using metadata from the specified disk image
import_key_pairImports the public key from an RSA key pair that you created with a third-party tool
import_snapshotImports a disk into an EBS snapshot
import_volumeCreates an import volume task using metadata from the specified disk image
modify_availability_zone_groupChanges the opt-in status of the Local Zone and Wavelength Zone group for your account
modify_capacity_reservationModifies a Capacity Reservation's capacity and the conditions under which it is to be released
modify_client_vpn_endpointModifies the specified Client VPN endpoint
modify_default_credit_specificationModifies the default credit option for CPU usage of burstable performance instances
modify_ebs_default_kms_key_idChanges the default customer master key (CMK) for EBS encryption by default for your account in this Region
modify_fleetModifies the specified EC2 Fleet
modify_fpga_image_attributeModifies the specified attribute of the specified Amazon FPGA Image (AFI)
modify_hostsModify the auto-placement setting of a Dedicated Host
modify_identity_id_formatModifies the ID format of a resource for a specified IAM user, IAM role, or the root user for an account; or all IAM users, IAM roles, and the root user for an account
modify_id_formatModifies the ID format for the specified resource on a per-Region basis
modify_image_attributeModifies the specified attribute of the specified AMI
modify_instance_attributeModifies the specified attribute of the specified instance
modify_instance_capacity_reservation_attributesModifies the Capacity Reservation settings for a stopped instance
modify_instance_credit_specificationModifies the credit option for CPU usage on a running or stopped burstable performance instance
modify_instance_event_start_timeModifies the start time for a scheduled Amazon EC2 instance event
modify_instance_metadata_optionsModify the instance metadata parameters on a running or stopped instance
modify_instance_placementModifies the placement attributes for a specified instance
modify_launch_templateModifies a launch template
modify_managed_prefix_listModifies the specified managed prefix list
modify_network_interface_attributeModifies the specified network interface attribute
modify_reserved_instancesModifies the Availability Zone, instance count, instance type, or network platform (EC2-Classic or EC2-VPC) of your Reserved Instances
modify_snapshot_attributeAdds or removes permission settings for the specified snapshot
modify_spot_fleet_requestModifies the specified Spot Fleet request
modify_subnet_attributeModifies a subnet attribute
modify_traffic_mirror_filter_network_servicesAllows or restricts mirroring network services
modify_traffic_mirror_filter_ruleModifies the specified Traffic Mirror rule
modify_traffic_mirror_sessionModifies a Traffic Mirror session
modify_transit_gatewayModifies the specified transit gateway
modify_transit_gateway_prefix_list_referenceModifies a reference (route) to a prefix list in a specified transit gateway route table
modify_transit_gateway_vpc_attachmentModifies the specified VPC attachment
modify_volumeYou can modify several parameters of an existing EBS volume, including volume size, volume type, and IOPS capacity
modify_volume_attributeModifies a volume attribute
modify_vpc_attributeModifies the specified attribute of the specified VPC
modify_vpc_endpointModifies attributes of a specified VPC endpoint
modify_vpc_endpoint_connection_notificationModifies a connection notification for VPC endpoint or VPC endpoint service
modify_vpc_endpoint_service_configurationModifies the attributes of your VPC endpoint service configuration
modify_vpc_endpoint_service_permissionsModifies the permissions for your VPC endpoint service
modify_vpc_peering_connection_optionsModifies the VPC peering connection options on one side of a VPC peering connection
modify_vpc_tenancyModifies the instance tenancy attribute of the specified VPC
modify_vpn_connectionModifies the customer gateway or the target gateway of an AWS Site-to-Site VPN connection
modify_vpn_connection_optionsModifies the connection options for your Site-to-Site VPN connection
modify_vpn_tunnel_certificateModifies the VPN tunnel endpoint certificate
modify_vpn_tunnel_optionsModifies the options for a VPN tunnel in an AWS Site-to-Site VPN connection
monitor_instancesEnables detailed monitoring for a running instance
move_address_to_vpcMoves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform
provision_byoip_cidrProvisions an IPv4 or IPv6 address range for use with your AWS resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool
purchase_host_reservationPurchase a reservation with configurations that match those of your Dedicated Host
purchase_reserved_instances_offeringPurchases a Reserved Instance for use with your account
purchase_scheduled_instancesPurchases the Scheduled Instances with the specified schedule
reboot_instancesRequests a reboot of the specified instances
register_imageRegisters an AMI
register_instance_event_notification_attributesRegisters a set of tag keys to include in scheduled event notifications for your resources
register_transit_gateway_multicast_group_membersRegisters members (network interfaces) with the transit gateway multicast group
register_transit_gateway_multicast_group_sourcesRegisters sources (network interfaces) with the specified transit gateway multicast group
reject_transit_gateway_multicast_domain_associationsRejects a request to associate cross-account subnets with a transit gateway multicast domain
reject_transit_gateway_peering_attachmentRejects a transit gateway peering attachment request
reject_transit_gateway_vpc_attachmentRejects a request to attach a VPC to a transit gateway
reject_vpc_endpoint_connectionsRejects one or more VPC endpoint connection requests to your VPC endpoint service
reject_vpc_peering_connectionRejects a VPC peering connection request
release_addressReleases the specified Elastic IP address
release_hostsWhen you no longer want to use an On-Demand Dedicated Host it can be released
replace_iam_instance_profile_associationReplaces an IAM instance profile for the specified running instance
replace_network_acl_associationChanges which network ACL a subnet is associated with
replace_network_acl_entryReplaces an entry (rule) in a network ACL
replace_routeReplaces an existing route within a route table in a VPC
replace_route_table_associationChanges the route table associated with a given subnet, internet gateway, or virtual private gateway in a VPC
replace_transit_gateway_routeReplaces the specified route in the specified transit gateway route table
report_instance_statusSubmits feedback about the status of an instance
request_spot_fleetCreates a Spot Fleet request
request_spot_instancesCreates a Spot Instance request
reset_ebs_default_kms_key_idResets the default customer master key (CMK) for EBS encryption for your account in this Region to the AWS managed CMK for EBS
reset_fpga_image_attributeResets the specified attribute of the specified Amazon FPGA Image (AFI) to its default value
reset_image_attributeResets an attribute of an AMI to its default value
reset_instance_attributeResets an attribute of an instance to its default value
reset_network_interface_attributeResets a network interface attribute
reset_snapshot_attributeResets permission settings for the specified snapshot
restore_address_to_classicRestores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform
restore_managed_prefix_list_versionRestores the entries from a previous version of a managed prefix list to a new version of the prefix list
revoke_client_vpn_ingressRemoves an ingress authorization rule from a Client VPN endpoint
revoke_security_group_egress[VPC only] Removes the specified egress rules from a security group for EC2-VPC
revoke_security_group_ingressRemoves the specified ingress rules from a security group
run_instancesLaunches the specified number of instances using an AMI for which you have permissions
run_scheduled_instancesLaunches the specified Scheduled Instances
search_local_gateway_routesSearches for routes in the specified local gateway route table
search_transit_gateway_multicast_groupsSearches one or more transit gateway multicast groups and returns the group membership information
search_transit_gateway_routesSearches for routes in the specified transit gateway route table
send_diagnostic_interruptSends a diagnostic interrupt to the specified Amazon EC2 instance to trigger a kernel panic (on Linux instances), or a blue screen/stop error (on Windows instances)
start_instancesStarts an Amazon EBS-backed instance that you've previously stopped
start_network_insights_analysisStarts analyzing the specified path
start_vpc_endpoint_service_private_dns_verificationInitiates the verification process to prove that the service provider owns the private DNS name domain for the endpoint service
stop_instancesStops an Amazon EBS-backed instance
terminate_client_vpn_connectionsTerminates active Client VPN endpoint connections
terminate_instancesShuts down the specified instances
unassign_ipv_6_addressesUnassigns one or more IPv6 addresses from a network interface
unassign_private_ip_addressesUnassigns one or more secondary private IP addresses from a network interface
unmonitor_instancesDisables detailed monitoring for a running instance
update_security_group_rule_descriptions_egress[VPC only] Updates the description of an egress (outbound) security group rule
update_security_group_rule_descriptions_ingressUpdates the description of an ingress (inbound) security group rule
withdraw_byoip_cidrStops advertising an address range that is provisioned as an address pool

Examples

Run this code
if (FALSE) {
svc <- ec2()
# This example allocates an Elastic IP address to use with an instance in
# a VPC.
svc$allocate_address(
  Domain = "vpc"
)
}

Run the code above in your browser using DataLab