CfnVolumeProps
- class aws_cdk.aws_opsworks.CfnVolumeProps(*, ec2_volume_id, stack_id, mount_point=None, name=None)
Bases:
object
Properties for defining a
CfnVolume
.- Parameters:
ec2_volume_id (
str
) – The Amazon EC2 volume ID.stack_id (
str
) – The stack 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.
- Link:
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. import aws_cdk.aws_opsworks as opsworks cfn_volume_props = opsworks.CfnVolumeProps( ec2_volume_id="ec2VolumeId", stack_id="stackId", # the properties below are optional mount_point="mountPoint", name="name" )
Attributes
- ec2_volume_id
The Amazon EC2 volume ID.
- mount_point
The volume mount point.
For example, “/mnt/disk1”.
- name
The volume name.
Volume names are a maximum of 128 characters.