Package org.cdk8s.plus25
Interface AwsElasticBlockStoreVolumeOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AwsElasticBlockStoreVolumeOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.151Z") @Stability(Stable) public interface AwsElasticBlockStoreVolumeOptions extends software.amazon.jsii.JsiiSerializable
Options ofVolume.fromAwsElasticBlockStore.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAwsElasticBlockStoreVolumeOptions.BuilderA builder forAwsElasticBlockStoreVolumeOptionsstatic classAwsElasticBlockStoreVolumeOptions.Jsii$ProxyAn implementation forAwsElasticBlockStoreVolumeOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static AwsElasticBlockStoreVolumeOptions.Builderbuilder()default StringgetFsType()Filesystem type of the volume that you want to mount.default StringgetName()The volume name.default NumbergetPartition()The partition in the volume that you want to mount.default BooleangetReadOnly()Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
-
-
-
Method Detail
-
getFsType
@Stability(Stable) @Nullable default String getFsType()
Filesystem type of the volume that you want to mount.Tip: Ensure that the filesystem type is supported by the host operating system.
Default: 'ext4'
-
getName
@Stability(Stable) @Nullable default String getName()
The volume name.Default: - auto-generated
-
getPartition
@Stability(Stable) @Nullable default Number getPartition()
The partition in the volume that you want to mount.If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).
Default: - No partition.
-
getReadOnly
@Stability(Stable) @Nullable default Boolean getReadOnly()
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".Default: false
-
builder
@Stability(Stable) static AwsElasticBlockStoreVolumeOptions.Builder builder()
-
-