@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.162Z") @Stability(value=Stable) public interface CfnVolumeProps extends software.amazon.jsii.JsiiSerializable
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.opsworks.*;
CfnVolumeProps cfnVolumeProps = CfnVolumeProps.builder()
.ec2VolumeId("ec2VolumeId")
.stackId("stackId")
// the properties below are optional
.mountPoint("mountPoint")
.name("name")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVolumeProps.Builder
A builder for
CfnVolumeProps |
static class |
CfnVolumeProps.Jsii$Proxy
An implementation for
CfnVolumeProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnVolumeProps.Builder |
builder() |
String |
getEc2VolumeId()
The Amazon EC2 volume ID.
|
default String |
getMountPoint()
The volume mount point.
|
default String |
getName()
The volume name.
|
String |
getStackId()
The stack ID.
|
@Stability(value=Stable) @NotNull String getEc2VolumeId()
@Stability(value=Stable) @NotNull String getStackId()
@Stability(value=Stable) @Nullable default String getMountPoint()
For example, "/mnt/disk1".
@Stability(value=Stable) @Nullable default String getName()
Volume names are a maximum of 128 characters.
@Stability(value=Stable) static CfnVolumeProps.Builder builder()
CfnVolumeProps.Builder of CfnVolumePropsCopyright © 2022. All rights reserved.