class IndexActionResourceType
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Backup.IndexActionResourceType |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbackup#IndexActionResourceType |
Java | software.amazon.awscdk.services.backup.IndexActionResourceType |
Python | aws_cdk.aws_backup.IndexActionResourceType |
TypeScript (source) | aws-cdk-lib » aws_backup » IndexActionResourceType |
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 also: https://docs.aws.amazon.com/aws-backup/latest/devguide/API_IndexAction.html
Example
declare const plan: backup.BackupPlan;
plan.addRule(new backup.BackupPlanRule({
indexActions: [{
resourceTypes: [backup.IndexActionResourceType.S3],
}],
}));
Initializer
new IndexActionResourceType(value: string)
Parameters
- value
string— the resource type string value, e.g.S3orEBS.
A custom resource type not yet supported as a static member of this class.
Properties
| Name | Type | Description |
|---|---|---|
| value | string | the resource type string value, e.g. S3 or EBS. |
| static EBS | Index | Amazon Elastic Block Store (Amazon EBS). |
| static S3 | Index | Amazon Simple Storage Service (Amazon S3). |
value
Type:
string
the resource type string value, e.g. S3 or EBS.
static EBS
Type:
Index
Amazon Elastic Block Store (Amazon EBS).
static S3
Type:
Index
Amazon Simple Storage Service (Amazon S3).
Methods
| Name | Description |
|---|---|
| to | Returns the string representation of this resource type. |
toString()
public toString(): string
Returns
string
Returns the string representation of this resource type.

.NET
Go
Java
Python
TypeScript (