Show / Hide Table of Contents

Class CfnDiskSnapshotProps

Properties for defining a CfnDiskSnapshot.

Inheritance
object
CfnDiskSnapshotProps
Implements
ICfnDiskSnapshotProps
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 CfnDiskSnapshotProps : ICfnDiskSnapshotProps
Syntax (vb)
Public Class CfnDiskSnapshotProps Implements ICfnDiskSnapshotProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-disksnapshot.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 cfnDiskSnapshotProps = new CfnDiskSnapshotProps {
                 DiskName = "diskName",
                 DiskSnapshotName = "diskSnapshotName",

                 // the properties below are optional
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnDiskSnapshotProps()

Properties for defining a CfnDiskSnapshot.

Properties

DiskName

The unique name of the disk.

DiskSnapshotName

The name of the disk snapshot ( my-disk-snapshot ).

Tags

The tag keys and optional values for the resource.

Constructors

CfnDiskSnapshotProps()

Properties for defining a CfnDiskSnapshot.

public CfnDiskSnapshotProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-disksnapshot.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 cfnDiskSnapshotProps = new CfnDiskSnapshotProps {
                 DiskName = "diskName",
                 DiskSnapshotName = "diskSnapshotName",

                 // the properties below are optional
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

DiskName

The unique name of the disk.

public string DiskName { get; set; }
Property Value

string

Remarks

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

DiskSnapshotName

The name of the disk snapshot ( my-disk-snapshot ).

public string DiskSnapshotName { get; set; }
Property Value

string

Remarks

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

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-disksnapshot.html#cfn-lightsail-disksnapshot-tags

Implements

ICfnDiskSnapshotProps
Back to top Generated by DocFX