interface CfnVolumeAttachmentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnVolumeAttachmentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnVolumeAttachmentMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnVolumeAttachmentMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnVolumeAttachmentMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnVolumeAttachmentMixinProps |
Properties for CfnVolumeAttachmentPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-volumeattachment.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
const cfnVolumeAttachmentMixinProps: ec2_mixins.CfnVolumeAttachmentMixinProps = {
device: 'device',
instanceId: 'instanceId',
volumeId: 'volumeId',
};
Properties
| Name | Type | Description |
|---|---|---|
| device? | string | The device name (for example, /dev/sdh or xvdh ). |
| instance | string | The ID of the instance to which the volume attaches. |
| volume | string | The ID of the Amazon EBS volume. |
device?
Type:
string
(optional)
The device name (for example, /dev/sdh or xvdh ).
instanceId?
Type:
string
(optional)
The ID of the instance to which the volume attaches.
This value can be a reference to an AWS::EC2::Instance resource, or it can be the physical ID of an existing EC2 instance.
volumeId?
Type:
string
(optional)
The ID of the Amazon EBS volume.
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.

.NET
Go
Java
Python
TypeScript