When passing RunInstancesRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
block_device_mappings: [
{
device_name: "String",
virtual_name: "String",
ebs: {
delete_on_termination: false,
iops: 1,
snapshot_id: "String",
volume_size: 1,
volume_type: "standard", kms_key_id: "String",
encrypted: false,
},
no_device: "String",
},
],
image_id: "ImageId",
instance_type: "t1.micro", ipv_6_address_count: 1,
ipv_6_addresses: [
{
ipv_6_address: "String",
},
],
kernel_id: "KernelId",
key_name: "KeyPairName",
max_count: 1, min_count: 1, monitoring: {
enabled: false, },
placement: {
availability_zone: "String",
affinity: "String",
group_name: "String",
partition_number: 1,
host_id: "String",
tenancy: "default", spread_domain: "String",
host_resource_group_arn: "String",
},
ramdisk_id: "RamdiskId",
security_group_ids: ["SecurityGroupId"],
security_groups: ["SecurityGroupName"],
subnet_id: "SubnetId",
user_data: "String",
additional_info: "String",
client_token: "String",
disable_api_termination: false,
dry_run: false,
ebs_optimized: false,
iam_instance_profile: {
arn: "String",
name: "String",
},
instance_initiated_shutdown_behavior: "stop", network_interfaces: [
{
associate_public_ip_address: false,
delete_on_termination: false,
description: "String",
device_index: 1,
groups: ["SecurityGroupId"],
ipv_6_address_count: 1,
ipv_6_addresses: [
{
ipv_6_address: "String",
},
],
network_interface_id: "String",
private_ip_address: "String",
private_ip_addresses: [
{
primary: false,
private_ip_address: "String",
},
],
secondary_private_ip_address_count: 1,
subnet_id: "String",
associate_carrier_ip_address: false,
interface_type: "String",
network_card_index: 1,
},
],
private_ip_address: "String",
elastic_gpu_specification: [
{
type: "String", },
],
elastic_inference_accelerators: [
{
type: "String", count: 1,
},
],
tag_specifications: [
{
resource_type: "client-vpn-endpoint", tags: [
{
key: "String",
value: "String",
},
],
},
],
launch_template: {
launch_template_id: "LaunchTemplateId",
launch_template_name: "String",
version: "String",
},
instance_market_options: {
market_type: "spot", spot_options: {
max_price: "String",
spot_instance_type: "one-time", block_duration_minutes: 1,
valid_until: Time.now,
instance_interruption_behavior: "hibernate", },
},
credit_specification: {
cpu_credits: "String", },
cpu_options: {
core_count: 1,
threads_per_core: 1,
},
capacity_reservation_specification: {
capacity_reservation_preference: "open", capacity_reservation_target: {
capacity_reservation_id: "CapacityReservationId",
capacity_reservation_resource_group_arn: "String",
},
},
hibernation_options: {
configured: false,
},
license_specifications: [
{
license_configuration_arn: "String",
},
],
metadata_options: {
http_tokens: "optional", http_put_response_hop_limit: 1,
http_endpoint: "disabled", },
enclave_options: {
enabled: false,
},
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4