paws.compute (version 0.1.0)

ec2_modify_hosts: Modify the auto-placement setting of a Dedicated Host

Description

Modify the auto-placement setting of a Dedicated Host. When auto-placement is enabled, any instances that you launch with a tenancy of host but without a specific host ID are placed onto any available Dedicated Host in your account that has auto-placement enabled. When auto-placement is disabled, you need to provide a host ID to have the instance launch onto a specific host. If no host ID is provided, the instance is launched onto a suitable host with auto-placement enabled.

Usage

ec2_modify_hosts(AutoPlacement, HostIds)

Arguments

AutoPlacement

[required] Specify whether to enable or disable auto-placement.

HostIds

[required] The IDs of the Dedicated Hosts to modify.

Request syntax

svc$modify_hosts(
  AutoPlacement = "on"|"off",
  HostIds = list(
    "string"
  )
)