Class: Aws::SecurityHub::Types::AwsEc2LaunchTemplateDataDetails

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-securityhub/types.rb

Overview

The information to include in an Amazon Elastic Compute Cloud (Amazon EC2) launch template.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#block_device_mapping_setArray<Types::AwsEc2LaunchTemplateDataBlockDeviceMappingSetDetails>

Information about a block device mapping for an Amazon EC2 launch template.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#capacity_reservation_specificationTypes::AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails

Specifies an instance’s Capacity Reservation targeting option. You can specify only one option at a time.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#cpu_optionsTypes::AwsEc2LaunchTemplateDataCpuOptionsDetails

Specifies the CPU options for an instance. For more information, see

Optimize CPU options][1

in the *Amazon Elastic Compute Cloud User

Guide*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-optimize-cpu.html



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#credit_specificationTypes::AwsEc2LaunchTemplateDataCreditSpecificationDetails

Specifies the credit option for CPU usage of a T2, T3, or T3a instance.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#disable_api_stopBoolean

Indicates whether to enable the instance for stop protection. For more information, see [Enable stop protection] in the *Amazon EC2 User Guide*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection

Returns:

  • (Boolean)


7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#disable_api_terminationBoolean

If you set this parameter to ‘true`, you can’t terminate the instance using the Amazon EC2 console, CLI, or API. If set to ‘true`, you can.

Returns:

  • (Boolean)


7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#ebs_optimizedBoolean

Indicates whether the instance is optimized for Amazon EBS I/O.

Returns:

  • (Boolean)


7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#elastic_gpu_specification_setArray<Types::AwsEc2LaunchTemplateDataElasticGpuSpecificationSetDetails>

Provides details about Elastic Graphics accelerators to associate with the instance.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#elastic_inference_accelerator_setArray<Types::AwsEc2LaunchTemplateDataElasticInferenceAcceleratorSetDetails>

The Amazon Elastic Inference accelerator for the instance.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#enclave_optionsTypes::AwsEc2LaunchTemplateDataEnclaveOptionsDetails

Indicates whether the Amazon EC2 instance is enabled for Amazon Web Services Nitro Enclaves.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#hibernation_optionsTypes::AwsEc2LaunchTemplateDataHibernationOptionsDetails

Specifies whether your Amazon EC2 instance is configured for hibernation.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#iam_instance_profileTypes::AwsEc2LaunchTemplateDataIamInstanceProfileDetails

The name or Amazon Resource Name (ARN) of an IAM instance profile.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#image_idString

The ID of the Amazon Machine Image (AMI).

Returns:

  • (String)


7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#instance_initiated_shutdown_behaviorString

Provides the options for specifying the instance initiated shutdown behavior.

Returns:

  • (String)


7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#instance_market_optionsTypes::AwsEc2LaunchTemplateDataInstanceMarketOptionsDetails

Specifies the market (purchasing) option for an instance.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#instance_requirementsTypes::AwsEc2LaunchTemplateDataInstanceRequirementsDetails

The attributes for the instance types. When you specify instance attributes, Amazon EC2 will identify instance types with these attributes. If you specify ‘InstanceRequirements`, you can’t specify ‘InstanceType`.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

The instance type. For more information, see [Instance types] in the *Amazon EC2 User Guide*. If you specify ‘InstanceType`, you can’t specify ‘InstanceRequirements`.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html

Returns:

  • (String)


7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#kernel_idString

The ID of the kernel.

Returns:

  • (String)


7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#key_nameString

The name of the key pair that allows users to connect to the instance.

Returns:

  • (String)


7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#license_setArray<Types::AwsEc2LaunchTemplateDataLicenseSetDetails>

Specifies a license configuration for an instance.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#maintenance_optionsTypes::AwsEc2LaunchTemplateDataMaintenanceOptionsDetails

The maintenance options of your instance.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#metadata_optionsTypes::AwsEc2LaunchTemplateDataMetadataOptionsDetails

The metadata options for the instance. For more information, see

Instance metadata and user data][1

in the *Amazon EC2 User Guide*.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#monitoringTypes::AwsEc2LaunchTemplateDataMonitoringDetails

The monitoring for the instance.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#network_interface_setArray<Types::AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails>

Specifies the parameters for a network interface that is attached to the instance.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#placementTypes::AwsEc2LaunchTemplateDataPlacementDetails

Specifies the placement of an instance.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#private_dns_name_optionsTypes::AwsEc2LaunchTemplateDataPrivateDnsNameOptionsDetails

The options for the instance hostname.



7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#ram_disk_idString

The ID of the RAM disk.

Returns:

  • (String)


7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#security_group_id_setArray<String>

One or more security group IDs.

Returns:

  • (Array<String>)


7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#security_group_setArray<String>

One or more security group names. For a nondefault VPC, you must use security group IDs instead. You cannot specify both a security group ID and security name in the same request.

Returns:

  • (Array<String>)


7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end

#user_dataString

The user data to make available to the instance.

Returns:

  • (String)


7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
# File 'lib/aws-sdk-securityhub/types.rb', line 7231

class AwsEc2LaunchTemplateDataDetails < Struct.new(
  :block_device_mapping_set,
  :capacity_reservation_specification,
  :cpu_options,
  :credit_specification,
  :disable_api_stop,
  :disable_api_termination,
  :ebs_optimized,
  :elastic_gpu_specification_set,
  :elastic_inference_accelerator_set,
  :enclave_options,
  :hibernation_options,
  :iam_instance_profile,
  :image_id,
  :instance_initiated_shutdown_behavior,
  :instance_market_options,
  :instance_requirements,
  :instance_type,
  :kernel_id,
  :key_name,
  :license_set,
  :maintenance_options,
  :metadata_options,
  :monitoring,
  :network_interface_set,
  :placement,
  :private_dns_name_options,
  :ram_disk_id,
  :security_group_id_set,
  :security_group_set,
  :user_data)
  SENSITIVE = []
  include Aws::Structure
end