Interface CfnInstanceSnapshotProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstanceSnapshotProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-16T11:43:17.210Z")
@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 class
A builder forCfnInstanceSnapshotProps
static final class
An 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.Builder
ofCfnInstanceSnapshotProps
-