Class: Aws::SecurityHub::Types::AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails

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

Overview

Note:

When making an API call, you may pass AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails data as a hash:

{
  device_name: "NonEmptyString",
  ebs: {
    delete_on_termination: false,
    encrypted: false,
    iops: 1,
    snapshot_id: "NonEmptyString",
    volume_size: 1,
    volume_type: "NonEmptyString",
  },
  no_device: false,
  virtual_name: "NonEmptyString",
}

A block device for the instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#device_nameString

The device name that is exposed to the EC2 instance. For example, /dev/sdh or xvdh.

Returns:

  • (String)


1516
1517
1518
1519
1520
1521
1522
1523
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1516

class AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails < Struct.new(
  :device_name,
  :ebs,
  :no_device,
  :virtual_name)
  SENSITIVE = []
  include Aws::Structure
end

#ebsTypes::AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails

Parameters that are used to automatically set up Amazon EBS volumes when an instance is launched.



1516
1517
1518
1519
1520
1521
1522
1523
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1516

class AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails < Struct.new(
  :device_name,
  :ebs,
  :no_device,
  :virtual_name)
  SENSITIVE = []
  include Aws::Structure
end

#no_deviceBoolean

Whether to suppress the device that is included in the block device mapping of the Amazon Machine Image (AMI).

If NoDevice is true, then you cannot specify Ebs.>

Returns:

  • (Boolean)


1516
1517
1518
1519
1520
1521
1522
1523
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1516

class AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails < Struct.new(
  :device_name,
  :ebs,
  :no_device,
  :virtual_name)
  SENSITIVE = []
  include Aws::Structure
end

#virtual_nameString

The name of the virtual device (for example, ephemeral0).

You can provide either VirtualName or Ebs, but not both.

Returns:

  • (String)


1516
1517
1518
1519
1520
1521
1522
1523
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1516

class AwsAutoScalingLaunchConfigurationBlockDeviceMappingsDetails < Struct.new(
  :device_name,
  :ebs,
  :no_device,
  :virtual_name)
  SENSITIVE = []
  include Aws::Structure
end