CfnInstanceSnapshotProps Struct
Properties for defining a CfnInstanceSnapshot.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const cfnInstanceSnapshotProps: lightsail.CfnInstanceSnapshotProps = {
instanceName: 'instanceName',
instanceSnapshotName: 'instanceSnapshotName',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
The name the user gave the instance ( `Amazon_Linux_2023-1` ).
instanceSnapshotNamestringinstance_snapshot_namestrinstanceSnapshotNameStringInstanceSnapshotNamestringInstanceSnapshotName*stringrequired#The name of the snapshot.