CfnVolumeProps

class aws_cdk.aws_ec2.CfnVolumeProps(*, availability_zone, auto_enable_io=None, encrypted=None, iops=None, kms_key_id=None, size=None, snapshot_id=None, tags=None, volume_type=None)

Bases: object

__init__(*, availability_zone, auto_enable_io=None, encrypted=None, iops=None, kms_key_id=None, size=None, snapshot_id=None, tags=None, volume_type=None)

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

Parameters
  • availability_zone (str) – AWS::EC2::Volume.AvailabilityZone.

  • auto_enable_io (Union[bool, None, IResolvable]) – AWS::EC2::Volume.AutoEnableIO.

  • encrypted (Union[bool, None, IResolvable]) – AWS::EC2::Volume.Encrypted.

  • iops (Union[int, float, None]) – AWS::EC2::Volume.Iops.

  • kms_key_id (Optional[str]) – AWS::EC2::Volume.KmsKeyId.

  • size (Union[int, float, None]) – AWS::EC2::Volume.Size.

  • snapshot_id (Optional[str]) – AWS::EC2::Volume.SnapshotId.

  • tags (Optional[List[CfnTag]]) – AWS::EC2::Volume.Tags.

  • volume_type (Optional[str]) – AWS::EC2::Volume.VolumeType.

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

Attributes

auto_enable_io

AWS::EC2::Volume.AutoEnableIO.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-autoenableio

Return type

Union[bool, None, IResolvable]

availability_zone

AWS::EC2::Volume.AvailabilityZone.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-availabilityzone

Return type

str

encrypted

AWS::EC2::Volume.Encrypted.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-encrypted

Return type

Union[bool, None, IResolvable]

iops

AWS::EC2::Volume.Iops.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-iops

Return type

Union[int, float, None]

kms_key_id

AWS::EC2::Volume.KmsKeyId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-kmskeyid

Return type

Optional[str]

size

AWS::EC2::Volume.Size.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-size

Return type

Union[int, float, None]

snapshot_id

AWS::EC2::Volume.SnapshotId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-snapshotid

Return type

Optional[str]

tags

AWS::EC2::Volume.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-tags

Return type

Optional[List[CfnTag]]

volume_type

AWS::EC2::Volume.VolumeType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volume.html#cfn-ec2-ebs-volume-volumetype

Return type

Optional[str]