CfnVolumeAttachmentProps

class aws_cdk.aws_ec2.CfnVolumeAttachmentProps(*, device, instance_id, volume_id)

Bases: object

Properties for defining a AWS::EC2::VolumeAttachment.

Parameters
  • device (str) – AWS::EC2::VolumeAttachment.Device.

  • instance_id (str) – AWS::EC2::VolumeAttachment.InstanceId.

  • volume_id (str) – AWS::EC2::VolumeAttachment.VolumeId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html

Attributes

device

AWS::EC2::VolumeAttachment.Device.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html#cfn-ec2-ebs-volumeattachment-device

Return type

str

instance_id

AWS::EC2::VolumeAttachment.InstanceId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html#cfn-ec2-ebs-volumeattachment-instanceid

Return type

str

volume_id

AWS::EC2::VolumeAttachment.VolumeId.

See

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html#cfn-ec2-ebs-volumeattachment-volumeid

Return type

str