interface CfnVolumeMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.WorkspacesInstances.Mixins.CfnVolumeMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsworkspacesinstances/mixins#CfnVolumeMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.workspacesinstances.mixins.CfnVolumeMixinProps |
Python | aws_cdk.mixins_preview.aws_workspacesinstances.mixins.CfnVolumeMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_workspacesinstances » mixins » CfnVolumeMixinProps |
Properties for CfnVolumePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as workspacesinstances_mixins } from '@aws-cdk/mixins-preview/aws-workspacesinstances';
const cfnVolumeMixinProps: workspacesinstances_mixins.CfnVolumeMixinProps = {
availabilityZone: 'availabilityZone',
encrypted: false,
iops: 123,
kmsKeyId: 'kmsKeyId',
sizeInGb: 123,
snapshotId: 'snapshotId',
tagSpecifications: [{
resourceType: 'resourceType',
tags: [{
key: 'key',
value: 'value',
}],
}],
throughput: 123,
volumeType: 'volumeType',
};
Properties
| Name | Type | Description |
|---|---|---|
| availability | string | The Availability Zone in which to create the volume. |
| encrypted? | boolean | IResolvable | Indicates whether the volume should be encrypted. |
| iops? | number | The number of I/O operations per second (IOPS). |
| kms | string | The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption. |
| size | number | The size of the volume, in GiBs. |
| snapshot | string | The snapshot from which to create the volume. |
| tag | IResolvable | (IResolvable | Tag)[] | The tags passed to EBS volume. |
| throughput? | number | The throughput to provision for a volume, with a maximum of 1,000 MiB/s. |
| volume | string | The volume type. |
availabilityZone?
Type:
string
(optional)
The Availability Zone in which to create the volume.
encrypted?
Type:
boolean | IResolvable
(optional)
Indicates whether the volume should be encrypted.
iops?
Type:
number
(optional)
The number of I/O operations per second (IOPS).
kmsKeyId?
Type:
string
(optional)
The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption.
sizeInGb?
Type:
number
(optional)
The size of the volume, in GiBs.
snapshotId?
Type:
string
(optional)
The snapshot from which to create the volume.
tagSpecifications?
Type:
IResolvable | (IResolvable | Tag)[]
(optional)
The tags passed to EBS volume.
throughput?
Type:
number
(optional)
The throughput to provision for a volume, with a maximum of 1,000 MiB/s.
volumeType?
Type:
string
(optional)
The volume type.

.NET
Go
Java
Python
TypeScript