aws-cdk-lib.aws_fsx.CfnSnapshotProps
interface CfnSnapshotProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.FSx.CfnSnapshotProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsfsx#CfnSnapshotProps |
![]() | software.amazon.awscdk.services.fsx.CfnSnapshotProps |
![]() | aws_cdk.aws_fsx.CfnSnapshotProps |
![]() | 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
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 .