CfnDiskSnapshotProps
- class aws_cdk.aws_lightsail.CfnDiskSnapshotProps(*, disk_name, disk_snapshot_name, tags=None)
Bases:
objectProperties for defining a
CfnDiskSnapshot.- Parameters:
disk_name (
str) – The unique name of the disk.disk_snapshot_name (
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 import aws_lightsail as lightsail cfn_disk_snapshot_props = lightsail.CfnDiskSnapshotProps( disk_name="diskName", disk_snapshot_name="diskSnapshotName", # the properties below are optional 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 .