IndexActionsResourceTypeProperty Struct
Specifies index actions.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_backup as backup } from 'aws-cdk-lib';
const indexActionsResourceTypeProperty: backup.CfnBackupPlan.IndexActionsResourceTypeProperty = {
resourceTypes: ['resourceTypes'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_backup as backup
index_actions_resource_type_property = backup.CfnBackupPlan.IndexActionsResourceTypeProperty(
resource_types=["resourceTypes"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.backup.*;
IndexActionsResourceTypeProperty indexActionsResourceTypeProperty = IndexActionsResourceTypeProperty.builder()
.resourceTypes(List.of("resourceTypes"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Backup;
var indexActionsResourceTypeProperty = new IndexActionsResourceTypeProperty {
ResourceTypes = new [] { "resourceTypes" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
indexActionsResourceTypeProperty := &IndexActionsResourceTypeProperty{
ResourceTypes: []*string{
jsii.String("resourceTypes"),
},
}
Properties
resourceTypesoptionalstring[]resource_typesoptionaltyping.List[str]resourceTypesoptionalList<String>ResourceTypesoptionalstring[]ResourceTypesoptional*[]*string #0 or 1 index action will be accepted for each BackupRule.
Valid values:
EBSfor Amazon Elastic Block StoreS3for Amazon Simple Storage Service (Amazon S3)