Interface ICfnInstanceSnapshotProps
Properties for defining a CfnInstanceSnapshot
.
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnInstanceSnapshotProps
Syntax (vb)
Public Interface ICfnInstanceSnapshotProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lightsail;
var cfnInstanceSnapshotProps = new CfnInstanceSnapshotProps {
InstanceName = "instanceName",
InstanceSnapshotName = "instanceSnapshotName",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
InstanceName | The name the user gave the instance ( |
InstanceSnapshotName | The name of the snapshot. |
Tags | The tag keys and optional values for the resource. |
Properties
InstanceName
The name the user gave the instance ( Amazon_Linux_2023-1
).
string InstanceName { get; }
Property Value
Remarks
InstanceSnapshotName
The name of the snapshot.
string InstanceSnapshotName { get; }
Property Value
Remarks
Tags
The tag keys and optional values for the resource.
ICfnTag[]? Tags { get; }
Property Value
ICfnTag[]
Remarks
For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .