Class: Aws::SecurityHub::Types::AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails

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 AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails data as a hash:

{
  delete_on_termination: false,
  encrypted: false,
  iops: 1,
  snapshot_id: "NonEmptyString",
  volume_size: 1,
  volume_type: "NonEmptyString",
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delete_on_terminationBoolean

Whether to delete the volume when the instance is terminated.

Returns:

  • (Boolean)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1585

class AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails < Struct.new(
  :delete_on_termination,
  :encrypted,
  :iops,
  :snapshot_id,
  :volume_size,
  :volume_type)
  SENSITIVE = []
  include Aws::Structure
end

#encryptedBoolean

Whether to encrypt the volume.

Returns:

  • (Boolean)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1585

class AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails < Struct.new(
  :delete_on_termination,
  :encrypted,
  :iops,
  :snapshot_id,
  :volume_size,
  :volume_type)
  SENSITIVE = []
  include Aws::Structure
end

#iopsInteger

The number of input/output (I/O) operations per second (IOPS) to provision for the volume.

Only supported for gp3 or io1 volumes. Required for io1 volumes. Not used with standard, gp2, st1, or sc1 volumes.

Returns:

  • (Integer)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1585

class AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails < Struct.new(
  :delete_on_termination,
  :encrypted,
  :iops,
  :snapshot_id,
  :volume_size,
  :volume_type)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_idString

The snapshot ID of the volume to use.

You must specify either VolumeSize or SnapshotId.

Returns:

  • (String)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1585

class AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails < Struct.new(
  :delete_on_termination,
  :encrypted,
  :iops,
  :snapshot_id,
  :volume_size,
  :volume_type)
  SENSITIVE = []
  include Aws::Structure
end

#volume_sizeInteger

The volume size, in GiBs. The following are the supported volumes sizes for each volume type:

  • gp2 and gp3: 1-16,384

  • io1: 4-16,384

  • st1 and sc1: 125-16,384

  • standard: 1-1,024

You must specify either SnapshotId or VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.

Returns:

  • (Integer)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1585

class AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails < Struct.new(
  :delete_on_termination,
  :encrypted,
  :iops,
  :snapshot_id,
  :volume_size,
  :volume_type)
  SENSITIVE = []
  include Aws::Structure
end

#volume_typeString

The volume type.

Returns:

  • (String)


1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 1585

class AwsAutoScalingLaunchConfigurationBlockDeviceMappingsEbsDetails < Struct.new(
  :delete_on_termination,
  :encrypted,
  :iops,
  :snapshot_id,
  :volume_size,
  :volume_type)
  SENSITIVE = []
  include Aws::Structure
end