@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.858Z") @Stability(value=Stable) public interface CfnBackupSelectionProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBackupSelectionProps.Builder
A builder for
CfnBackupSelectionProps |
static class |
CfnBackupSelectionProps.Jsii$Proxy
An implementation for
CfnBackupSelectionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnBackupSelectionProps.Builder |
builder() |
String |
getBackupPlanId()
Uniquely identifies a backup plan.
|
Object |
getBackupSelection()
Specifies the body of a request to assign a set of resources to a backup plan.
|
@Stability(value=Stable) @NotNull String getBackupPlanId()
@Stability(value=Stable) @NotNull Object getBackupSelection()
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.
@Stability(value=Stable) static CfnBackupSelectionProps.Builder builder()
CfnBackupSelectionProps.Builder of CfnBackupSelectionPropsCopyright © 2022. All rights reserved.