Class CfnSnapshotProps
Properties for defining a CfnSnapshot
.
Inheritance
System.Object
CfnSnapshotProps
Implements
Namespace: Amazon.CDK.AWS.FSx
Assembly: Amazon.CDK.AWS.FSx.dll
Syntax (csharp)
public class CfnSnapshotProps : Object, ICfnSnapshotProps
Syntax (vb)
Public Class CfnSnapshotProps
Inherits Object
Implements ICfnSnapshotProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-snapshot.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.FSx;
var cfnSnapshotProps = new CfnSnapshotProps {
Name = "name",
VolumeId = "volumeId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnSnapshotProps() |
Properties
Name | The name of the snapshot. |
Tags | An array of key-value pairs to apply to this resource. |
VolumeId | The ID of the volume that the snapshot is of. |
Constructors
CfnSnapshotProps()
public CfnSnapshotProps()
Properties
Name
The name of the snapshot.
public string Name { get; set; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag .
VolumeId
The ID of the volume that the snapshot is of.
public string VolumeId { get; set; }
Property Value
System.String