CfnInstanceSnapshotMixinProps
- class aws_cdk.mixins_preview.aws_lightsail.mixins.CfnInstanceSnapshotMixinProps(*, instance_name=None, instance_snapshot_name=None, tags=None)
Bases:
objectProperties for CfnInstanceSnapshotPropsMixin.
- Parameters:
instance_name (
Optional[str]) – The name the user gave the instance (Amazon_Linux_2023-1).instance_snapshot_name (
Optional[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:
- 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_instance_snapshot_mixin_props = lightsail_mixins.CfnInstanceSnapshotMixinProps( instance_name="instanceName", instance_snapshot_name="instanceSnapshotName", tags=[CfnTag( key="key", value="value" )] )
Attributes
- instance_name
The name the user gave the instance (
Amazon_Linux_2023-1).
- instance_snapshot_name
The name of the snapshot.
- tags
The tag keys and optional values for the resource.
For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .