Interface CfnVolumeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVolumeProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-16T11:43:24.624Z")
@Stability(Stable)
public interface CfnVolumeProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnVolume
.
Example:
// 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.*; CfnVolumeProps cfnVolumeProps = CfnVolumeProps.builder() .availabilityZone("availabilityZone") // the properties below are optional .encrypted(false) .iops(123) .kmsKeyId("kmsKeyId") .sizeInGb(123) .snapshotId("snapshotId") .tagSpecifications(List.of(TagSpecificationProperty.builder() .resourceType("resourceType") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build())) .throughput(123) .volumeType("volumeType") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVolumeProps
static final class
An implementation forCfnVolumeProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnVolumeProps.Builder
builder()
The Availability Zone in which to create the volume.default Object
Indicates whether the volume should be encrypted.default Number
getIops()
The number of I/O operations per second (IOPS).default String
The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption.default Number
The size of the volume, in GiBs.default String
The snapshot from which to create the volume.default Object
The tags passed to EBS volume.default Number
The throughput to provision for a volume, with a maximum of 1,000 MiB/s.default String
The volume type.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAvailabilityZone
The Availability Zone in which to create the volume.- See Also:
-
getEncrypted
Indicates whether the volume should be encrypted.- See Also:
-
getIops
The number of I/O operations per second (IOPS).- See Also:
-
getKmsKeyId
The identifier of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for Amazon EBS encryption.- See Also:
-
getSizeInGb
The size of the volume, in GiBs.- See Also:
-
getSnapshotId
The snapshot from which to create the volume.- See Also:
-
getTagSpecifications
The tags passed to EBS volume.- See Also:
-
getThroughput
The throughput to provision for a volume, with a maximum of 1,000 MiB/s.- See Also:
-
getVolumeType
The volume type.- See Also:
-
builder
- Returns:
- a
CfnVolumeProps.Builder
ofCfnVolumeProps
-