View source: R/autoscaling_service.R
autoscaling | R Documentation |
Amazon EC2 Auto Scaling
Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances based on user-defined scaling policies, scheduled actions, and health checks.
For more information, see the Amazon EC2 Auto Scaling User Guide and the Amazon EC2 Auto Scaling API Reference.
autoscaling(config = list())
config |
Optional configuration of credentials, endpoint, and/or region.
|
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.
svc <- autoscaling( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string", anonymous = "logical" ), endpoint = "string", region = "string", close_connection = "logical", timeout = "numeric", s3_force_path_style = "logical" ) )
attach_instances | Attaches one or more EC2 instances to the specified Auto Scaling group |
attach_load_balancers | To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the AttachLoadBalancerTargetGroups API operation instead |
attach_load_balancer_target_groups | Attaches one or more target groups to the specified Auto Scaling group |
batch_delete_scheduled_action | Deletes one or more scheduled actions for the specified Auto Scaling group |
batch_put_scheduled_update_group_action | Creates or updates one or more scheduled scaling actions for an Auto Scaling group |
cancel_instance_refresh | Cancels an instance refresh operation in progress |
complete_lifecycle_action | Completes the lifecycle action for the specified token or instance with the specified result |
create_auto_scaling_group | We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2 |
create_launch_configuration | Creates a launch configuration |
create_or_update_tags | Creates or updates tags for the specified Auto Scaling group |
delete_auto_scaling_group | Deletes the specified Auto Scaling group |
delete_launch_configuration | Deletes the specified launch configuration |
delete_lifecycle_hook | Deletes the specified lifecycle hook |
delete_notification_configuration | Deletes the specified notification |
delete_policy | Deletes the specified scaling policy |
delete_scheduled_action | Deletes the specified scheduled action |
delete_tags | Deletes the specified tags |
delete_warm_pool | Deletes the warm pool for the specified Auto Scaling group |
describe_account_limits | Describes the current Amazon EC2 Auto Scaling resource quotas for your account |
describe_adjustment_types | Describes the available adjustment types for step scaling and simple scaling policies |
describe_auto_scaling_groups | Gets information about the Auto Scaling groups in the account and Region |
describe_auto_scaling_instances | Gets information about the Auto Scaling instances in the account and Region |
describe_auto_scaling_notification_types | Describes the notification types that are supported by Amazon EC2 Auto Scaling |
describe_instance_refreshes | Gets information about the instance refreshes for the specified Auto Scaling group |
describe_launch_configurations | Gets information about the launch configurations in the account and Region |
describe_lifecycle_hooks | Gets information about the lifecycle hooks for the specified Auto Scaling group |
describe_lifecycle_hook_types | Describes the available types of lifecycle hooks |
describe_load_balancers | Gets information about the load balancers for the specified Auto Scaling group |
describe_load_balancer_target_groups | Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group |
describe_metric_collection_types | Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling |
describe_notification_configurations | Gets information about the Amazon SNS notifications that are configured for one or more Auto Scaling groups |
describe_policies | Gets information about the scaling policies in the account and Region |
describe_scaling_activities | Gets information about the scaling activities in the account and Region |
describe_scaling_process_types | Describes the scaling process types for use with the ResumeProcesses and SuspendProcesses APIs |
describe_scheduled_actions | Gets information about the scheduled actions that haven't run or that have not reached their end time |
describe_tags | Describes the specified tags |
describe_termination_policy_types | Describes the termination policies supported by Amazon EC2 Auto Scaling |
describe_warm_pool | Gets information about a warm pool and its instances |
detach_instances | Removes one or more instances from the specified Auto Scaling group |
detach_load_balancers | Detaches one or more Classic Load Balancers from the specified Auto Scaling group |
detach_load_balancer_target_groups | Detaches one or more target groups from the specified Auto Scaling group |
disable_metrics_collection | Disables group metrics collection for the specified Auto Scaling group |
enable_metrics_collection | Enables group metrics collection for the specified Auto Scaling group |
enter_standby | Moves the specified instances into the standby state |
execute_policy | Executes the specified policy |
exit_standby | Moves the specified instances out of the standby state |
get_predictive_scaling_forecast | Retrieves the forecast data for a predictive scaling policy |
put_lifecycle_hook | Creates or updates a lifecycle hook for the specified Auto Scaling group |
put_notification_configuration | Configures an Auto Scaling group to send notifications when specified events take place |
put_scaling_policy | Creates or updates a scaling policy for an Auto Scaling group |
put_scheduled_update_group_action | Creates or updates a scheduled scaling action for an Auto Scaling group |
put_warm_pool | Creates or updates a warm pool for the specified Auto Scaling group |
record_lifecycle_action_heartbeat | Records a heartbeat for the lifecycle action associated with the specified token or instance |
resume_processes | Resumes the specified suspended auto scaling processes, or all suspended process, for the specified Auto Scaling group |
set_desired_capacity | Sets the size of the specified Auto Scaling group |
set_instance_health | Sets the health status of the specified instance |
set_instance_protection | Updates the instance protection settings of the specified instances |
start_instance_refresh | Starts a new instance refresh operation |
suspend_processes | Suspends the specified auto scaling processes, or all processes, for the specified Auto Scaling group |
terminate_instance_in_auto_scaling_group | Terminates the specified instance and optionally adjusts the desired group size |
update_auto_scaling_group | We strongly recommend that all Auto Scaling groups use launch templates to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2 |
## Not run: svc <- autoscaling() # This example attaches the specified instance to the specified Auto # Scaling group. svc$attach_instances( AutoScalingGroupName = "my-auto-scaling-group", InstanceIds = list( "i-93633f9b" ) ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.