CfnVolumeAttachmentProps

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

Bases: object

__init__(*, device, instance_id, volume_id)

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 :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html

Attributes

device

AWS::EC2::VolumeAttachment.Device.

see :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 :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 :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html#cfn-ec2-ebs-volumeattachment-volumeid

Return type

str