CfnVolumeProps

class aws_cdk.aws_opsworks.CfnVolumeProps(*, ec2_volume_id, mount_point=None, name=None, stack_id)

Bases: object

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

Parameters
  • ec2_volume_id (str) – AWS::OpsWorks::Volume.Ec2VolumeId.

  • mount_point (Optional[str]) – AWS::OpsWorks::Volume.MountPoint.

  • name (Optional[str]) – AWS::OpsWorks::Volume.Name.

  • stack_id (str) – AWS::OpsWorks::Volume.StackId.

Link

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

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

AWS::OpsWorks::Volume.Ec2VolumeId.

Link

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

Return type

str

mount_point

AWS::OpsWorks::Volume.MountPoint.

Link

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

Return type

Optional[str]

name

AWS::OpsWorks::Volume.Name.

Link

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

Return type

Optional[str]

stack_id

AWS::OpsWorks::Volume.StackId.

Link

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

Return type

str