CfnInstanceSnapshotProps

class aws_cdk.aws_lightsail.CfnInstanceSnapshotProps(*, instance_name, instance_snapshot_name, tags=None)

Bases: object

Properties for defining a CfnInstanceSnapshot.

Parameters:
  • instance_name (str) – The name the user gave the instance ( Amazon_Linux_2023-1 ).

  • instance_snapshot_name (str) – The name of the 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.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 import aws_lightsail as lightsail

cfn_instance_snapshot_props = lightsail.CfnInstanceSnapshotProps(
    instance_name="instanceName",
    instance_snapshot_name="instanceSnapshotName",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

instance_name

The name the user gave the instance ( Amazon_Linux_2023-1 ).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.html#cfn-lightsail-instancesnapshot-instancename

instance_snapshot_name

The name of the snapshot.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.html#cfn-lightsail-instancesnapshot-instancesnapshotname

tags

The tag keys and optional values for the resource.

For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.html#cfn-lightsail-instancesnapshot-tags