interface CfnSnapshotProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.FSx.CfnSnapshotProps |
Java | software.amazon.awscdk.services.fsx.CfnSnapshotProps |
Python | aws_cdk.aws_fsx.CfnSnapshotProps |
TypeScript | @aws-cdk/aws-fsx » CfnSnapshotProps |
Properties for defining a CfnSnapshot.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as fsx from '@aws-cdk/aws-fsx';
const cfnSnapshotProps: fsx.CfnSnapshotProps = {
name: 'name',
volumeId: 'volumeId',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the snapshot. |
| volume | string | The ID of the volume that the snapshot is of. |
| tags? | Cfn[] | An array of key-value pairs to apply to this resource. |
name
Type:
string
The name of the snapshot.
volumeId
Type:
string
The ID of the volume that the snapshot is of.
tags?
Type:
Cfn[]
(optional)
An array of key-value pairs to apply to this resource.
For more information, see Tag .

.NET
Java
Python
TypeScript