CfnBackupProps

class aws_cdk.aws_fsx.CfnBackupProps(*, file_system_id, tags=None)

Bases: object

Properties for defining a CfnBackup.

Parameters:
  • file_system_id (str) – The ID of the file system to back up.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags to apply to the backup at backup creation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-backup.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_fsx as fsx

cfn_backup_props = fsx.CfnBackupProps(
    file_system_id="fileSystemId",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

file_system_id

The ID of the file system to back up.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-backup.html#cfn-fsx-backup-filesystemid

tags

The tags to apply to the backup at backup creation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fsx-backup.html#cfn-fsx-backup-tags