CfnVolumeMixinProps

class aws_cdk.mixins_preview.aws_opsworks.mixins.CfnVolumeMixinProps(*, ec2_volume_id=None, mount_point=None, name=None, stack_id=None)

Bases: object

Properties for CfnVolumePropsMixin.

Parameters:
  • ec2_volume_id (Optional[str]) – The Amazon EC2 volume ID.

  • mount_point (Optional[str]) – The volume mount point. For example, “/mnt/disk1”.

  • name (Optional[str]) – The volume name. Volume names are a maximum of 128 characters.

  • stack_id (Optional[str]) – The stack ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_opsworks import mixins as opsworks_mixins

cfn_volume_mixin_props = opsworks_mixins.CfnVolumeMixinProps(
    ec2_volume_id="ec2VolumeId",
    mount_point="mountPoint",
    name="name",
    stack_id="stackId"
)

Attributes

ec2_volume_id

The Amazon EC2 volume ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html#cfn-opsworks-volume-ec2volumeid

mount_point

The volume mount point.

For example, “/mnt/disk1”.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html#cfn-opsworks-volume-mountpoint

name

The volume name.

Volume names are a maximum of 128 characters.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html#cfn-opsworks-volume-name

stack_id

The stack ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opsworks-volume.html#cfn-opsworks-volume-stackid