IndexActionResourceType

class aws_cdk.aws_backup.IndexActionResourceType(value)

Bases: object

The resource type to index.

This is implemented as an enum-like class so that resource types the AWS Backup service adds in the future can be used before they are added to the CDK, e.g. new IndexActionResourceType('EFS').

See:

https://docs.aws.amazon.com/aws-backup/latest/devguide/API_IndexAction.html

ExampleMetadata:

infused

Example:

# plan: backup.BackupPlan

plan.add_rule(backup.BackupPlanRule(
    index_actions=[backup.BackupPlanIndexActionProps(
        resource_types=[backup.IndexActionResourceType.S3]
    )]
))

A custom resource type not yet supported as a static member of this class.

Parameters:

value (str) – the resource type string value, e.g. S3 or EBS.

Methods

to_string()

Returns the string representation of this resource type.

Return type:

str

Attributes

EBS = <aws_cdk.aws_backup.IndexActionResourceType object>
S3 = <aws_cdk.aws_backup.IndexActionResourceType object>
value

the resource type string value, e.g. S3 or EBS.