EbsBlockDeviceProperty Struct
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesinstances as workspacesinstances } from 'aws-cdk-lib';
const ebsBlockDeviceProperty: workspacesinstances.CfnWorkspaceInstance.EbsBlockDeviceProperty = {
encrypted: false,
iops: 123,
kmsKeyId: 'kmsKeyId',
throughput: 123,
volumeSize: 123,
volumeType: 'volumeType',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_workspacesinstances as workspacesinstances
ebs_block_device_property = workspacesinstances.CfnWorkspaceInstance.EbsBlockDeviceProperty(
encrypted=False,
iops=123,
kms_key_id="kmsKeyId",
throughput=123,
volume_size=123,
volume_type="volumeType"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.workspacesinstances.*;
EbsBlockDeviceProperty ebsBlockDeviceProperty = EbsBlockDeviceProperty.builder()
.encrypted(false)
.iops(123)
.kmsKeyId("kmsKeyId")
.throughput(123)
.volumeSize(123)
.volumeType("volumeType")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WorkspacesInstances;
var ebsBlockDeviceProperty = new EbsBlockDeviceProperty {
Encrypted = false,
Iops = 123,
KmsKeyId = "kmsKeyId",
Throughput = 123,
VolumeSize = 123,
VolumeType = "volumeType"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
ebsBlockDeviceProperty := &EbsBlockDeviceProperty{
Encrypted: jsii.Boolean(false),
Iops: jsii.Number(123),
KmsKeyId: jsii.String("kmsKeyId"),
Throughput: jsii.Number(123),
VolumeSize: jsii.Number(123),
VolumeType: jsii.String("volumeType"),
}
Properties
encryptedoptionalboolean | IResolvableencryptedoptionaltyping.Union[bool, IResolvable]encryptedoptionalBooleanEncryptedoptionalboolEncryptedoptionalinterface{} #kmsKeyIdoptionalstringkms_key_idoptionalstrkmsKeyIdoptionalStringKmsKeyIdoptionalstringKmsKeyIdoptional*string #throughputoptionalnumberthroughputoptionalint | floatthroughputoptionalNumberThroughputoptionaldoubleThroughputoptional*float64 #volumeSizeoptionalnumbervolume_sizeoptionalint | floatvolumeSizeoptionalNumberVolumeSizeoptionaldoubleVolumeSizeoptional*float64 #volumeTypeoptionalstringvolume_typeoptionalstrvolumeTypeoptionalStringVolumeTypeoptionalstringVolumeTypeoptional*string #