Show / Hide Table of Contents

Class CfnInstanceSnapshotProps

Properties for defining a CfnInstanceSnapshot.

Inheritance
object
CfnInstanceSnapshotProps
Implements
ICfnInstanceSnapshotProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstanceSnapshotProps : ICfnInstanceSnapshotProps
Syntax (vb)
Public Class CfnInstanceSnapshotProps Implements ICfnInstanceSnapshotProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.html

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

Constructors

CfnInstanceSnapshotProps()

Properties for defining a CfnInstanceSnapshot.

Properties

InstanceName

The name the user gave the instance ( Amazon_Linux_2023-1 ).

InstanceSnapshotName

The name of the snapshot.

Tags

The tag keys and optional values for the resource.

Constructors

CfnInstanceSnapshotProps()

Properties for defining a CfnInstanceSnapshot.

public CfnInstanceSnapshotProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.html

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"
                 } }
             };

Properties

InstanceName

The name the user gave the instance ( Amazon_Linux_2023-1 ).

public string InstanceName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.html#cfn-lightsail-instancesnapshot-instancename

InstanceSnapshotName

The name of the snapshot.

public string InstanceSnapshotName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.html#cfn-lightsail-instancesnapshot-instancesnapshotname

Tags

The tag keys and optional values for the resource.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-instancesnapshot.html#cfn-lightsail-instancesnapshot-tags

Implements

ICfnInstanceSnapshotProps
Back to top Generated by DocFX