aws-cdk-lib.aws_fsx.CfnSnapshotProps

interface CfnSnapshotProps

LanguageType name
.NETAmazon.CDK.AWS.FSx.CfnSnapshotProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsfsx#CfnSnapshotProps
Javasoftware.amazon.awscdk.services.fsx.CfnSnapshotProps
Pythonaws_cdk.aws_fsx.CfnSnapshotProps
TypeScript aws-cdk-lib » 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 { aws_fsx as fsx } from 'aws-cdk-lib';
const cfnSnapshotProps: fsx.CfnSnapshotProps = {
  name: 'name',
  volumeId: 'volumeId',

  // the properties below are optional
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
namestringThe name of the snapshot.
volumeIdstringThe ID of the volume that the snapshot is of.
tags?CfnTag[]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: CfnTag[] (optional)

An array of key-value pairs to apply to this resource.

For more information, see Tag .