CfnDiskSnapshotMixinProps
- class aws_cdk.mixins_preview.aws_lightsail.mixins.CfnDiskSnapshotMixinProps(*, disk_name=None, disk_snapshot_name=None, tags=None)
Bases:
objectProperties for CfnDiskSnapshotPropsMixin.
- Parameters:
disk_name (
Optional[str]) – The unique name of the disk.disk_snapshot_name (
Optional[str]) – The name of the disk snapshot (my-disk-snapshot).tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .
- See:
- 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_lightsail import mixins as lightsail_mixins cfn_disk_snapshot_mixin_props = lightsail_mixins.CfnDiskSnapshotMixinProps( disk_name="diskName", disk_snapshot_name="diskSnapshotName", tags=[CfnTag( key="key", value="value" )] )
Attributes
- disk_name
The unique name of the disk.
- disk_snapshot_name
The name of the disk snapshot (
my-disk-snapshot).
- tags
The tag keys and optional values for the resource.
For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .