Interface CfnInstanceSnapshotProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstanceSnapshotProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:41.620Z")
@Stability(Stable)
public interface CfnInstanceSnapshotProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnInstanceSnapshot.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lightsail.*;
CfnInstanceSnapshotProps cfnInstanceSnapshotProps = CfnInstanceSnapshotProps.builder()
.instanceName("instanceName")
.instanceSnapshotName("instanceSnapshotName")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInstanceSnapshotPropsstatic final classAn implementation forCfnInstanceSnapshotProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceName
The name the user gave the instance (Amazon_Linux_2023-1).- See Also:
-
getInstanceSnapshotName
The name of the snapshot.- See Also:
-
getTags
The tag keys and optional values for the resource.For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .
- See Also:
-
builder
- Returns:
- a
CfnInstanceSnapshotProps.BuilderofCfnInstanceSnapshotProps
-