ec2: Amazon Elastic Compute Cloud

Description Usage Arguments Value Service syntax Operations Examples

View source: R/paws.R

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

1
ec2(config = list())

Arguments

config

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

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.

Service syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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_quote Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call
accept_transit_gateway_multicast_domain_associations Accepts a request to associate subnets with a transit gateway multicast domain
accept_transit_gateway_peering_attachment Accepts a transit gateway peering attachment request
accept_transit_gateway_vpc_attachment Accepts a request to attach a VPC to a transit gateway
accept_vpc_endpoint_connections Accepts one or more interface VPC endpoint connection requests to your VPC endpoint service
accept_vpc_peering_connection Accept a VPC peering connection request
advertise_byoip_cidr Advertises an IPv4 or IPv6 address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP)
allocate_address Allocates an Elastic IP address to your AWS account
allocate_hosts Allocates a Dedicated Host to your account
apply_security_groups_to_client_vpn_target_network Applies a security group to the association between the target network and the Client VPN endpoint
assign_ipv_6_addresses Assigns one or more IPv6 addresses to the specified network interface
assign_private_ip_addresses Assigns one or more secondary private IP addresses to the specified network interface
associate_address Associates 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_network Associates a target network with a Client VPN endpoint
associate_dhcp_options Associates 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_role Associates an AWS Identity and Access Management (IAM) role with an AWS Certificate Manager (ACM) certificate
associate_iam_instance_profile Associates an IAM instance profile with a running or stopped instance
associate_route_table Associates 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_block Associates a CIDR block with your subnet
associate_transit_gateway_multicast_domain Associates the specified subnets and transit gateway attachments with the specified transit gateway multicast domain
associate_transit_gateway_route_table Associates the specified attachment with the specified transit gateway route table
associate_vpc_cidr_block Associates a CIDR block with your VPC
attach_classic_link_vpc Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's security groups
attach_internet_gateway Attaches an internet gateway or a virtual private gateway to a VPC, enabling connectivity between the internet and the VPC
attach_network_interface Attaches a network interface to an instance
attach_volume Attaches an EBS volume to a running or stopped instance and exposes it to the instance with the specified device name
attach_vpn_gateway Attaches a virtual private gateway to a VPC
authorize_client_vpn_ingress Adds 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_ingress Adds the specified ingress rules to a security group
bundle_instance Bundles an Amazon instance store-backed Windows instance
cancel_bundle_task Cancels a bundling operation for an instance store-backed Windows instance
cancel_capacity_reservation Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity Reservation's state to cancelled
cancel_conversion_task Cancels an active conversion task
cancel_export_task Cancels an active export task
cancel_import_task Cancels an in-process import virtual machine or import snapshot task
cancel_reserved_instances_listing Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace
cancel_spot_fleet_requests Cancels the specified Spot Fleet requests
cancel_spot_instance_requests Cancels one or more Spot Instance requests
confirm_product_instance Determines whether a product code is associated with an instance
copy_fpga_image Copies the specified Amazon FPGA Image (AFI) to the current Region
copy_image Initiates the copy of an AMI from the specified source Region to the current Region
copy_snapshot Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3
create_capacity_reservation Creates a new Capacity Reservation with the specified attributes
create_carrier_gateway Creates a carrier gateway
create_client_vpn_endpoint Creates a Client VPN endpoint
create_client_vpn_route Adds a route to a network to a Client VPN endpoint
create_customer_gateway Provides information to AWS about your VPN customer gateway device
create_default_subnet Creates a default subnet with a size /20 IPv4 CIDR block in the specified Availability Zone in your default VPC
create_default_vpc Creates a default VPC with a size /16 IPv4 CIDR block and a default subnet in each Availability Zone
create_dhcp_options Creates 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_fleet Launches an EC2 Fleet
create_flow_logs Creates one or more flow logs to capture information about IP traffic for a specific network interface, subnet, or VPC
create_fpga_image Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP)
create_image Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped
create_instance_export_task Exports a running or stopped instance to an Amazon S3 bucket
create_internet_gateway Creates an internet gateway for use with a VPC
create_key_pair Creates a 2048-bit RSA key pair with the specified name
create_launch_template Creates a launch template
create_launch_template_version Creates a new version for a launch template
create_local_gateway_route Creates a static route for the specified local gateway route table
create_local_gateway_route_table_vpc_association Associates the specified VPC with the specified local gateway route table
create_managed_prefix_list Creates a managed prefix list
create_nat_gateway Creates a NAT gateway in the specified public subnet
create_network_acl Creates a network ACL in a VPC
create_network_acl_entry Creates an entry (a rule) in a network ACL with the specified rule number
create_network_insights_path Creates a path to analyze for reachability
create_network_interface Creates a network interface in the specified subnet
create_network_interface_permission Grants an AWS-authorized account permission to attach the specified network interface to an instance in their account
create_placement_group Creates a placement group in which to launch instances
create_reserved_instances_listing Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance Marketplace
create_route Creates a route in a route table within a VPC
create_route_table Creates a route table for the specified VPC
create_security_group Creates a security group
create_snapshot Creates a snapshot of an EBS volume and stores it in Amazon S3
create_snapshots Creates crash-consistent snapshots of multiple EBS volumes and stores the data in S3
create_spot_datafeed_subscription Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs
create_subnet Creates a subnet in a specified VPC
create_tags Adds or overwrites only the specified tags for the specified Amazon EC2 resource or resources
create_traffic_mirror_filter Creates a Traffic Mirror filter
create_traffic_mirror_filter_rule Creates a Traffic Mirror filter rule
create_traffic_mirror_session Creates a Traffic Mirror session
create_traffic_mirror_target Creates a target for your Traffic Mirror session
create_transit_gateway Creates a transit gateway
create_transit_gateway_connect Creates a Connect attachment from a specified transit gateway attachment
create_transit_gateway_connect_peer Creates a Connect peer for a specified transit gateway Connect attachment between a transit gateway and an appliance
create_transit_gateway_multicast_domain Creates a multicast domain using the specified transit gateway
create_transit_gateway_peering_attachment Requests a transit gateway peering attachment between the specified transit gateway (requester) and a peer transit gateway (accepter)
create_transit_gateway_prefix_list_reference Creates a reference (route) to a prefix list in a specified transit gateway route table
create_transit_gateway_route Creates a static route for the specified transit gateway route table
create_transit_gateway_route_table Creates a route table for the specified transit gateway
create_transit_gateway_vpc_attachment Attaches the specified VPC to the specified transit gateway
create_volume Creates an EBS volume that can be attached to an instance in the same Availability Zone
create_vpc Creates a VPC with the specified IPv4 CIDR block
create_vpc_endpoint Creates a VPC endpoint for a specified service
create_vpc_endpoint_connection_notification Creates a connection notification for a specified VPC endpoint or VPC endpoint service
create_vpc_endpoint_service_configuration Creates a VPC endpoint service configuration to which service consumers (AWS accounts, IAM users, and IAM roles) can connect
create_vpc_peering_connection Requests 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_connection Creates a VPN connection between an existing virtual private gateway or transit gateway and a customer gateway
create_vpn_connection_route Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway
create_vpn_gateway Creates a virtual private gateway
delete_carrier_gateway Deletes a carrier gateway
delete_client_vpn_endpoint Deletes the specified Client VPN endpoint
delete_client_vpn_route Deletes a route from a Client VPN endpoint
delete_customer_gateway Deletes the specified customer gateway
delete_dhcp_options Deletes the specified set of DHCP options
delete_egress_only_internet_gateway Deletes an egress-only internet gateway
delete_fleets Deletes the specified EC2 Fleet
delete_flow_logs Deletes one or more flow logs
delete_fpga_image Deletes the specified Amazon FPGA Image (AFI)
delete_internet_gateway Deletes the specified internet gateway
delete_key_pair Deletes the specified key pair, by removing the public key from Amazon EC2
delete_launch_template Deletes a launch template
delete_launch_template_versions Deletes one or more versions of a launch template
delete_local_gateway_route Deletes the specified route from the specified local gateway route table
delete_local_gateway_route_table_vpc_association Deletes the specified association between a VPC and local gateway route table
delete_managed_prefix_list Deletes the specified managed prefix list
delete_nat_gateway Deletes the specified NAT gateway
delete_network_acl Deletes the specified network ACL
delete_network_acl_entry Deletes the specified ingress or egress entry (rule) from the specified network ACL
delete_network_insights_analysis Deletes the specified network insights analysis
delete_network_insights_path Deletes the specified path
delete_network_interface Deletes the specified network interface
delete_network_interface_permission Deletes a permission for a network interface
delete_placement_group Deletes the specified placement group
delete_queued_reserved_instances Deletes the queued purchases for the specified Reserved Instances
delete_route Deletes the specified route from the specified route table
delete_route_table Deletes the specified route table
delete_security_group Deletes a security group
delete_snapshot Deletes the specified snapshot
delete_spot_datafeed_subscription Deletes the data feed for Spot Instances
delete_subnet Deletes the specified subnet
delete_tags Deletes the specified set of tags from the specified set of resources
delete_traffic_mirror_filter Deletes the specified Traffic Mirror filter
delete_traffic_mirror_filter_rule Deletes the specified Traffic Mirror rule
delete_traffic_mirror_session Deletes the specified Traffic Mirror session
delete_traffic_mirror_target Deletes the specified Traffic Mirror target
delete_transit_gateway Deletes the specified transit gateway
delete_transit_gateway_connect Deletes the specified Connect attachment
delete_transit_gateway_connect_peer Deletes the specified Connect peer
delete_transit_gateway_multicast_domain Deletes the specified transit gateway multicast domain
delete_transit_gateway_peering_attachment Deletes a transit gateway peering attachment
delete_transit_gateway_prefix_list_reference Deletes a reference (route) to a prefix list in a specified transit gateway route table
delete_transit_gateway_route Deletes the specified route from the specified transit gateway route table
delete_transit_gateway_route_table Deletes the specified transit gateway route table
delete_transit_gateway_vpc_attachment Deletes the specified VPC attachment
delete_volume Deletes the specified EBS volume
delete_vpc Deletes the specified VPC
delete_vpc_endpoint_connection_notifications Deletes one or more VPC endpoint connection notifications
delete_vpc_endpoints Deletes one or more specified VPC endpoints
delete_vpc_endpoint_service_configurations Deletes one or more VPC endpoint service configurations in your account
delete_vpc_peering_connection Deletes a VPC peering connection
delete_vpn_connection Deletes the specified VPN connection
delete_vpn_connection_route Deletes the specified static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway
delete_vpn_gateway Deletes the specified virtual private gateway
deprovision_byoip_cidr Releases 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_image Deregisters the specified AMI
deregister_instance_event_notification_attributes Deregisters 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_members Deregisters the specified members (network interfaces) from the transit gateway multicast group
deregister_transit_gateway_multicast_group_sources Deregisters the specified sources (network interfaces) from the transit gateway multicast group
describe_account_attributes Describes attributes of your AWS account
describe_addresses Describes the specified Elastic IP addresses or all of your Elastic IP addresses
describe_aggregate_id_format Describes the longer ID format settings for all resource types in a specific Region
describe_availability_zones Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to you
describe_bundle_tasks Describes the specified bundle tasks or all of your bundle tasks
describe_byoip_cidrs Describes the IP address ranges that were specified in calls to ProvisionByoipCidr
describe_capacity_reservations Describes one or more of your Capacity Reservations
describe_carrier_gateways Describes one or more of your carrier gateways
describe_classic_link_instances Describes one or more of your linked EC2-Classic instances
describe_client_vpn_authorization_rules Describes the authorization rules for a specified Client VPN endpoint
describe_client_vpn_connections Describes active client connections and connections that have been terminated within the last 60 minutes for the specified Client VPN endpoint
describe_client_vpn_endpoints Describes one or more Client VPN endpoints in the account
describe_client_vpn_routes Describes the routes for the specified Client VPN endpoint
describe_client_vpn_target_networks Describes the target networks associated with the specified Client VPN endpoint
describe_coip_pools Describes the specified customer-owned address pools or all of your customer-owned address pools
describe_conversion_tasks Describes the specified conversion tasks or all your conversion tasks
describe_customer_gateways Describes one or more of your VPN customer gateways
describe_dhcp_options Describes one or more of your DHCP options sets
describe_egress_only_internet_gateways Describes one or more of your egress-only internet gateways
describe_elastic_gpus Describes the Elastic Graphics accelerator associated with your instances
describe_export_image_tasks Describes the specified export image tasks or all of your export image tasks
describe_export_tasks Describes the specified export instance tasks or all of your export instance tasks
describe_fast_snapshot_restores Describes the state of fast snapshot restores for your snapshots
describe_fleet_history Describes the events for the specified EC2 Fleet during the specified time
describe_fleet_instances Describes the running instances for the specified EC2 Fleet
describe_fleets Describes the specified EC2 Fleets or all of your EC2 Fleets
describe_flow_logs Describes one or more flow logs
describe_fpga_image_attribute Describes the specified attribute of the specified Amazon FPGA Image (AFI)
describe_fpga_images Describes the Amazon FPGA Images (AFIs) available to you
describe_host_reservation_offerings Describes the Dedicated Host reservations that are available to purchase
describe_host_reservations Describes reservations that are associated with Dedicated Hosts in your account
describe_hosts Describes the specified Dedicated Hosts or all your Dedicated Hosts
describe_iam_instance_profile_associations Describes your IAM instance profile associations
describe_identity_id_format Describes the ID format settings for resources for the specified IAM user, IAM role, or root user
describe_id_format Describes 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_attribute Describes the specified attribute of the specified AMI
describe_images Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the images available to you
describe_import_image_tasks Displays details about an import virtual machine or import snapshot tasks that are already created
describe_import_snapshot_tasks Describes your import snapshot tasks
describe_instance_attribute Describes the specified attribute of the specified instance
describe_instance_credit_specifications Describes the credit option for CPU usage of the specified burstable performance instances
describe_instance_event_notification_attributes Describes the tag keys that are registered to appear in scheduled event notifications for resources in the current Region
describe_instances Describes the specified instances or all instances
describe_instance_status Describes the status of the specified instances or all of your instances
describe_instance_type_offerings Returns a list of all instance types offered
describe_instance_types Describes the details of the instance types that are offered in a location
describe_internet_gateways Describes one or more of your internet gateways
describe_ipv_6_pools Describes your IPv6 address pools
describe_key_pairs Describes the specified key pairs or all of your key pairs
describe_launch_templates Describes one or more launch templates
describe_launch_template_versions Describes one or more versions of a specified launch template
describe_local_gateway_route_tables Describes one or more local gateway route tables
describe_local_gateway_route_table_virtual_interface_group_associations Describes the associations between virtual interface groups and local gateway route tables
describe_local_gateway_route_table_vpc_associations Describes the specified associations between VPCs and local gateway route tables
describe_local_gateways Describes one or more local gateways
describe_local_gateway_virtual_interface_groups Describes the specified local gateway virtual interface groups
describe_local_gateway_virtual_interfaces Describes the specified local gateway virtual interfaces
describe_managed_prefix_lists Describes your managed prefix lists and any AWS-managed prefix lists
describe_moving_addresses Describes 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_gateways Describes one or more of your NAT gateways
describe_network_acls Describes one or more of your network ACLs
describe_network_insights_analyses Describes one or more of your network insights analyses
describe_network_insights_paths Describes one or more of your paths
describe_network_interface_attribute Describes a network interface attribute
describe_network_interface_permissions Describes the permissions for your network interfaces
describe_network_interfaces Describes one or more of your network interfaces
describe_placement_groups Describes the specified placement groups or all of your placement groups
describe_prefix_lists Describes 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_format Describes 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_pools Describes the specified IPv4 address pools
describe_regions Describes the Regions that are enabled for your account, or all Regions
describe_reserved_instances Describes one or more of the Reserved Instances that you purchased
describe_reserved_instances_listings Describes your account's Reserved Instance listings in the Reserved Instance Marketplace
describe_reserved_instances_modifications Describes the modifications made to your Reserved Instances
describe_reserved_instances_offerings Describes Reserved Instance offerings that are available for purchase
describe_route_tables Describes one or more of your route tables
describe_scheduled_instance_availability Finds available schedules that meet the specified criteria
describe_scheduled_instances Describes 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_groups Describes the specified security groups or all of your security groups
describe_snapshot_attribute Describes the specified attribute of the specified snapshot
describe_snapshots Describes the specified EBS snapshots available to you or all of the EBS snapshots available to you
describe_spot_datafeed_subscription Describes the data feed for Spot Instances
describe_spot_fleet_instances Describes the running instances for the specified Spot Fleet
describe_spot_fleet_request_history Describes the events for the specified Spot Fleet request during the specified time
describe_spot_fleet_requests Describes your Spot Fleet requests
describe_spot_instance_requests Describes the specified Spot Instance requests
describe_spot_price_history Describes the Spot price history
describe_stale_security_groups [VPC only] Describes the stale security group rules for security groups in a specified VPC
describe_subnets Describes one or more of your subnets
describe_tags Describes the specified tags for your EC2 resources
describe_traffic_mirror_filters Describes one or more Traffic Mirror filters
describe_traffic_mirror_sessions Describes one or more Traffic Mirror sessions
describe_traffic_mirror_targets Information about one or more Traffic Mirror targets
describe_transit_gateway_attachments Describes one or more attachments between resources and transit gateways
describe_transit_gateway_connect_peers Describes one or more Connect peers
describe_transit_gateway_connects Describes one or more Connect attachments
describe_transit_gateway_multicast_domains Describes one or more transit gateway multicast domains
describe_transit_gateway_peering_attachments Describes your transit gateway peering attachments
describe_transit_gateway_route_tables Describes one or more transit gateway route tables
describe_transit_gateways Describes one or more transit gateways
describe_transit_gateway_vpc_attachments Describes one or more VPC attachments
describe_volume_attribute Describes the specified attribute of the specified volume
describe_volumes Describes the specified EBS volumes or all of your EBS volumes
describe_volumes_modifications Describes the most recent volume modification request for the specified EBS volumes
describe_volume_status Describes the status of the specified volumes
describe_vpc_attribute Describes the specified attribute of the specified VPC
describe_vpc_classic_link Describes the ClassicLink status of one or more VPCs
describe_vpc_classic_link_dns_support Describes the ClassicLink DNS support status of one or more VPCs
describe_vpc_endpoint_connection_notifications Describes the connection notifications for VPC endpoints and VPC endpoint services
describe_vpc_endpoint_connections Describes the VPC endpoint connections to your VPC endpoint services, including any endpoints that are pending your acceptance
describe_vpc_endpoints Describes one or more of your VPC endpoints
describe_vpc_endpoint_service_configurations Describes the VPC endpoint service configurations in your account (your services)
describe_vpc_endpoint_service_permissions Describes the principals (service consumers) that are permitted to discover your VPC endpoint service
describe_vpc_endpoint_services Describes available services to which you can create a VPC endpoint
describe_vpc_peering_connections Describes one or more of your VPC peering connections
describe_vpcs Describes one or more of your VPCs
describe_vpn_connections Describes one or more of your VPN connections
describe_vpn_gateways Describes one or more of your virtual private gateways
detach_classic_link_vpc Unlinks (detaches) a linked EC2-Classic instance from a VPC
detach_internet_gateway Detaches an internet gateway from a VPC, disabling connectivity between the internet and the VPC
detach_network_interface Detaches a network interface from an instance
detach_volume Detaches an EBS volume from an instance
detach_vpn_gateway Detaches a virtual private gateway from a VPC
disable_ebs_encryption_by_default Disables EBS encryption by default for your account in the current Region
disable_fast_snapshot_restores Disables fast snapshot restores for the specified snapshots in the specified Availability Zones
disable_transit_gateway_route_table_propagation Disables the specified resource attachment from propagating routes to the specified propagation route table
disable_vgw_route_propagation Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC
disable_vpc_classic_link Disables ClassicLink for a VPC
disable_vpc_classic_link_dns_support Disables ClassicLink DNS support for a VPC
disassociate_address Disassociates an Elastic IP address from the instance or network interface it's associated with
disassociate_client_vpn_target_network Disassociates a target network from the specified Client VPN endpoint
disassociate_enclave_certificate_iam_role Disassociates an IAM role from an AWS Certificate Manager (ACM) certificate
disassociate_iam_instance_profile Disassociates an IAM instance profile from a running or stopped instance
disassociate_route_table Disassociates a subnet or gateway from a route table
disassociate_subnet_cidr_block Disassociates a CIDR block from a subnet
disassociate_transit_gateway_multicast_domain Disassociates the specified subnets from the transit gateway multicast domain
disassociate_transit_gateway_route_table Disassociates a resource attachment from a transit gateway route table
disassociate_vpc_cidr_block Disassociates a CIDR block from a VPC
enable_ebs_encryption_by_default Enables EBS encryption by default for your account in the current Region
enable_fast_snapshot_restores Enables fast snapshot restores for the specified snapshots in the specified Availability Zones
enable_transit_gateway_route_table_propagation Enables the specified attachment to propagate routes to the specified propagation route table
enable_vgw_route_propagation Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC
enable_volume_io Enables I/O operations for a volume that had I/O operations disabled because the data on the volume was potentially inconsistent
enable_vpc_classic_link Enables a VPC for ClassicLink
enable_vpc_classic_link_dns_support Enables a VPC to support DNS hostname resolution for ClassicLink
export_client_vpn_client_certificate_revocation_list Downloads the client certificate revocation list for the specified Client VPN endpoint
export_client_vpn_client_configuration Downloads the contents of the Client VPN endpoint configuration file for the specified Client VPN endpoint
export_image Exports an Amazon Machine Image (AMI) to a VM file
export_transit_gateway_routes Exports routes from the specified transit gateway route table to the specified S3 bucket
get_associated_enclave_certificate_iam_roles Returns the IAM roles that are associated with the specified AWS Certificate Manager (ACM) certificate
get_associated_ipv_6_pool_cidrs Gets information about the IPv6 CIDR block associations for a specified IPv6 address pool
get_capacity_reservation_usage Gets usage information about a Capacity Reservation
get_coip_pool_usage Describes the allocations from the specified customer-owned address pool
get_console_output Gets the console output for the specified instance
get_console_screenshot Retrieve a JPG-format screenshot of a running instance to help with troubleshooting
get_default_credit_specification Describes the default credit option for CPU usage of a burstable performance instance family
get_ebs_default_kms_key_id Describes the default customer master key (CMK) for EBS encryption by default for your account in this Region
get_ebs_encryption_by_default Describes whether EBS encryption by default is enabled for your account in the current Region
get_groups_for_capacity_reservation Lists the resource groups to which a Capacity Reservation has been added
get_host_reservation_purchase_preview Preview a reservation purchase with configurations that match those of your Dedicated Host
get_launch_template_data Retrieves the configuration data of the specified instance
get_managed_prefix_list_associations Gets information about the resources that are associated with the specified managed prefix list
get_managed_prefix_list_entries Gets information about the entries for a specified managed prefix list
get_password_data Retrieves the encrypted administrator password for a running Windows instance
get_reserved_instances_exchange_quote Returns a quote and exchange information for exchanging one or more specified Convertible Reserved Instances for a new Convertible Reserved Instance
get_transit_gateway_attachment_propagations Lists the route tables to which the specified resource attachment propagates routes
get_transit_gateway_multicast_domain_associations Gets information about the associations for the transit gateway multicast domain
get_transit_gateway_prefix_list_references Gets information about the prefix list references in a specified transit gateway route table
get_transit_gateway_route_table_associations Gets information about the associations for the specified transit gateway route table
get_transit_gateway_route_table_propagations Gets information about the route table propagations for the specified transit gateway route table
import_client_vpn_client_certificate_revocation_list Uploads a client certificate revocation list to the specified Client VPN endpoint
import_image Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI)
import_instance Creates an import instance task using metadata from the specified disk image
import_key_pair Imports the public key from an RSA key pair that you created with a third-party tool
import_snapshot Imports a disk into an EBS snapshot
import_volume Creates an import volume task using metadata from the specified disk image
modify_availability_zone_group Changes the opt-in status of the Local Zone and Wavelength Zone group for your account
modify_capacity_reservation Modifies a Capacity Reservation's capacity and the conditions under which it is to be released
modify_client_vpn_endpoint Modifies the specified Client VPN endpoint
modify_default_credit_specification Modifies the default credit option for CPU usage of burstable performance instances
modify_ebs_default_kms_key_id Changes the default customer master key (CMK) for EBS encryption by default for your account in this Region
modify_fleet Modifies the specified EC2 Fleet
modify_fpga_image_attribute Modifies the specified attribute of the specified Amazon FPGA Image (AFI)
modify_hosts Modify the auto-placement setting of a Dedicated Host
modify_identity_id_format Modifies 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_format Modifies the ID format for the specified resource on a per-Region basis
modify_image_attribute Modifies the specified attribute of the specified AMI
modify_instance_attribute Modifies the specified attribute of the specified instance
modify_instance_capacity_reservation_attributes Modifies the Capacity Reservation settings for a stopped instance
modify_instance_credit_specification Modifies the credit option for CPU usage on a running or stopped burstable performance instance
modify_instance_event_start_time Modifies the start time for a scheduled Amazon EC2 instance event
modify_instance_metadata_options Modify the instance metadata parameters on a running or stopped instance
modify_instance_placement Modifies the placement attributes for a specified instance
modify_launch_template Modifies a launch template
modify_managed_prefix_list Modifies the specified managed prefix list
modify_network_interface_attribute Modifies the specified network interface attribute
modify_reserved_instances Modifies the Availability Zone, instance count, instance type, or network platform (EC2-Classic or EC2-VPC) of your Reserved Instances
modify_snapshot_attribute Adds or removes permission settings for the specified snapshot
modify_spot_fleet_request Modifies the specified Spot Fleet request
modify_subnet_attribute Modifies a subnet attribute
modify_traffic_mirror_filter_network_services Allows or restricts mirroring network services
modify_traffic_mirror_filter_rule Modifies the specified Traffic Mirror rule
modify_traffic_mirror_session Modifies a Traffic Mirror session
modify_transit_gateway Modifies the specified transit gateway
modify_transit_gateway_prefix_list_reference Modifies a reference (route) to a prefix list in a specified transit gateway route table
modify_transit_gateway_vpc_attachment Modifies the specified VPC attachment
modify_volume You can modify several parameters of an existing EBS volume, including volume size, volume type, and IOPS capacity
modify_volume_attribute Modifies a volume attribute
modify_vpc_attribute Modifies the specified attribute of the specified VPC
modify_vpc_endpoint Modifies attributes of a specified VPC endpoint
modify_vpc_endpoint_connection_notification Modifies a connection notification for VPC endpoint or VPC endpoint service
modify_vpc_endpoint_service_configuration Modifies the attributes of your VPC endpoint service configuration
modify_vpc_endpoint_service_permissions Modifies the permissions for your VPC endpoint service
modify_vpc_peering_connection_options Modifies the VPC peering connection options on one side of a VPC peering connection
modify_vpc_tenancy Modifies the instance tenancy attribute of the specified VPC
modify_vpn_connection Modifies the customer gateway or the target gateway of an AWS Site-to-Site VPN connection
modify_vpn_connection_options Modifies the connection options for your Site-to-Site VPN connection
modify_vpn_tunnel_certificate Modifies the VPN tunnel endpoint certificate
modify_vpn_tunnel_options Modifies the options for a VPN tunnel in an AWS Site-to-Site VPN connection
monitor_instances Enables detailed monitoring for a running instance
move_address_to_vpc Moves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform
provision_byoip_cidr Provisions 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_reservation Purchase a reservation with configurations that match those of your Dedicated Host
purchase_reserved_instances_offering Purchases a Reserved Instance for use with your account
purchase_scheduled_instances Purchases the Scheduled Instances with the specified schedule
reboot_instances Requests a reboot of the specified instances
register_image Registers an AMI
register_instance_event_notification_attributes Registers a set of tag keys to include in scheduled event notifications for your resources
register_transit_gateway_multicast_group_members Registers members (network interfaces) with the transit gateway multicast group
register_transit_gateway_multicast_group_sources Registers sources (network interfaces) with the specified transit gateway multicast group
reject_transit_gateway_multicast_domain_associations Rejects a request to associate cross-account subnets with a transit gateway multicast domain
reject_transit_gateway_peering_attachment Rejects a transit gateway peering attachment request
reject_transit_gateway_vpc_attachment Rejects a request to attach a VPC to a transit gateway
reject_vpc_endpoint_connections Rejects one or more VPC endpoint connection requests to your VPC endpoint service
reject_vpc_peering_connection Rejects a VPC peering connection request
release_address Releases the specified Elastic IP address
release_hosts When you no longer want to use an On-Demand Dedicated Host it can be released
replace_iam_instance_profile_association Replaces an IAM instance profile for the specified running instance
replace_network_acl_association Changes which network ACL a subnet is associated with
replace_network_acl_entry Replaces an entry (rule) in a network ACL
replace_route Replaces an existing route within a route table in a VPC
replace_route_table_association Changes the route table associated with a given subnet, internet gateway, or virtual private gateway in a VPC
replace_transit_gateway_route Replaces the specified route in the specified transit gateway route table
report_instance_status Submits feedback about the status of an instance
request_spot_fleet Creates a Spot Fleet request
request_spot_instances Creates a Spot Instance request
reset_ebs_default_kms_key_id Resets 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_attribute Resets the specified attribute of the specified Amazon FPGA Image (AFI) to its default value
reset_image_attribute Resets an attribute of an AMI to its default value
reset_instance_attribute Resets an attribute of an instance to its default value
reset_network_interface_attribute Resets a network interface attribute
reset_snapshot_attribute Resets permission settings for the specified snapshot
restore_address_to_classic Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform
restore_managed_prefix_list_version Restores the entries from a previous version of a managed prefix list to a new version of the prefix list
revoke_client_vpn_ingress Removes 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_ingress Removes the specified ingress rules from a security group
run_instances Launches the specified number of instances using an AMI for which you have permissions
run_scheduled_instances Launches the specified Scheduled Instances
search_local_gateway_routes Searches for routes in the specified local gateway route table
search_transit_gateway_multicast_groups Searches one or more transit gateway multicast groups and returns the group membership information
search_transit_gateway_routes Searches for routes in the specified transit gateway route table
send_diagnostic_interrupt Sends 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_instances Starts an Amazon EBS-backed instance that you've previously stopped
start_network_insights_analysis Starts analyzing the specified path
start_vpc_endpoint_service_private_dns_verification Initiates the verification process to prove that the service provider owns the private DNS name domain for the endpoint service
stop_instances Stops an Amazon EBS-backed instance
terminate_client_vpn_connections Terminates active Client VPN endpoint connections
terminate_instances Shuts down the specified instances
unassign_ipv_6_addresses Unassigns one or more IPv6 addresses from a network interface
unassign_private_ip_addresses Unassigns one or more secondary private IP addresses from a network interface
unmonitor_instances Disables 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_ingress Updates the description of an ingress (inbound) security group rule
withdraw_byoip_cidr Stops advertising an address range that is provisioned as an address pool

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
svc <- ec2()
# This example allocates an Elastic IP address to use with an instance in
# a VPC.
svc$allocate_address(
  Domain = "vpc"
)

## End(Not run)

paws documentation built on Sept. 5, 2021, 5:19 p.m.

Related to ec2 in paws...