Interface CfnBackupSelectionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBackupSelectionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.646Z")
@Stability(Stable)
public interface CfnBackupSelectionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnBackupSelection
.
Example:
// 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.*; Object conditions; CfnBackupSelectionProps cfnBackupSelectionProps = CfnBackupSelectionProps.builder() .backupPlanId("backupPlanId") .backupSelection(BackupSelectionResourceTypeProperty.builder() .iamRoleArn("iamRoleArn") .selectionName("selectionName") // the properties below are optional .conditions(conditions) .listOfTags(List.of(ConditionResourceTypeProperty.builder() .conditionKey("conditionKey") .conditionType("conditionType") .conditionValue("conditionValue") .build())) .notResources(List.of("notResources")) .resources(List.of("resources")) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBackupSelectionProps
static final class
An implementation forCfnBackupSelectionProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Uniquely identifies a backup plan.Specifies the body of a request to assign a set of resources to a backup plan.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBackupPlanId
Uniquely identifies a backup plan. -
getBackupSelection
Specifies the body of a request to assign a set of resources to a backup plan.It includes an array of resources, an optional array of patterns to exclude resources, an optional role to provide access to the AWS service the resource belongs to, and an optional array of tags used to identify a set of resources.
-
builder
- Returns:
- a
CfnBackupSelectionProps.Builder
ofCfnBackupSelectionProps
-