aws-cdk-lib.aws_opsworks.CfnLayer.VolumeConfigurationProperty

interface VolumeConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.OpsWorks.CfnLayer.VolumeConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsopsworks#CfnLayer_VolumeConfigurationProperty
Javasoftware.amazon.awscdk.services.opsworks.CfnLayer.VolumeConfigurationProperty
Pythonaws_cdk.aws_opsworks.CfnLayer.VolumeConfigurationProperty
TypeScript aws-cdk-lib » aws_opsworks » CfnLayer » VolumeConfigurationProperty

Describes an Amazon EBS volume configuration.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opsworks as opsworks } from 'aws-cdk-lib';
const volumeConfigurationProperty: opsworks.CfnLayer.VolumeConfigurationProperty = {
  encrypted: false,
  iops: 123,
  mountPoint: 'mountPoint',
  numberOfDisks: 123,
  raidLevel: 123,
  size: 123,
  volumeType: 'volumeType',
};

Properties

NameTypeDescription
encrypted?boolean | IResolvableSpecifies whether an Amazon EBS volume is encrypted.
iops?numberThe number of I/O operations per second (IOPS) to provision for the volume.
mountPoint?stringThe volume mount point.
numberOfDisks?numberThe number of disks in the volume.
raidLevel?numberThe volume RAID level .
size?numberThe volume size.
volumeType?stringThe volume type. For more information, see Amazon EBS Volume Types .

encrypted?

Type: boolean | IResolvable (optional)

Specifies whether an Amazon EBS volume is encrypted.

For more information, see Amazon EBS Encryption .


iops?

Type: number (optional)

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

For PIOPS volumes, the IOPS per disk.

If you specify io1 for the volume type, you must specify this property.


mountPoint?

Type: string (optional)

The volume mount point.

For example "/dev/sdh".


numberOfDisks?

Type: number (optional)

The number of disks in the volume.


raidLevel?

Type: number (optional)

The volume RAID level .


size?

Type: number (optional)

The volume size.


volumeType?

Type: string (optional)

The volume type. For more information, see Amazon EBS Volume Types .

  • standard - Magnetic. Magnetic volumes must have a minimum size of 1 GiB and a maximum size of 1024 GiB.
  • io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size of 4 GiB and a maximum size of 16384 GiB.
  • gp2 - General Purpose (SSD). General purpose volumes must have a minimum size of 1 GiB and a maximum size of 16384 GiB.
  • st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.
  • sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB and a maximum size of 16384 GiB.