@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)",
date="2022-07-01T09:58:43.968Z")
public interface CfnBackupSelectionProps
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() |
java.lang.String |
getBackupPlanId()
Uniquely identifies a backup plan.
|
java.lang.Object |
getBackupSelection()
Specifies the body of a request to assign a set of resources to a backup plan.
|
java.lang.String getBackupPlanId()
java.lang.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.
static CfnBackupSelectionProps.Builder builder()
CfnBackupSelectionProps.Builder
of CfnBackupSelectionProps