@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:53.266Z")
public interface CfnVolumeAttachmentProps
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.ec2.*; CfnVolumeAttachmentProps cfnVolumeAttachmentProps = CfnVolumeAttachmentProps.builder() .device("device") .instanceId("instanceId") .volumeId("volumeId") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnVolumeAttachmentProps.Builder
A builder for
CfnVolumeAttachmentProps |
static class |
CfnVolumeAttachmentProps.Jsii$Proxy
An implementation for
CfnVolumeAttachmentProps |
Modifier and Type | Method and Description |
---|---|
static CfnVolumeAttachmentProps.Builder |
builder() |
java.lang.String |
getDevice()
The device name (for example, `/dev/sdh` or `xvdh` ).
|
java.lang.String |
getInstanceId()
The ID of the instance to which the volume attaches.
|
java.lang.String |
getVolumeId()
The ID of the Amazon EBS volume.
|
java.lang.String getDevice()
java.lang.String getInstanceId()
This value can be a reference to an AWS::EC2::Instance
resource, or it can be the physical ID of an existing EC2 instance.
java.lang.String getVolumeId()
The volume and instance must be within the same Availability Zone. This value can be a reference to an AWS::EC2::Volume
resource, or it can be the volume ID of an existing Amazon EBS volume.
static CfnVolumeAttachmentProps.Builder builder()
CfnVolumeAttachmentProps.Builder
of CfnVolumeAttachmentProps