@Stability(value=Stable)
public static interface CfnFramework.FrameworkControlProperty
extends software.amazon.jsii.JsiiSerializable
Each framework must contain at least one control.
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 controlScope;
FrameworkControlProperty frameworkControlProperty = FrameworkControlProperty.builder()
.controlName("controlName")
// the properties below are optional
.controlInputParameters(List.of(ControlInputParameterProperty.builder()
.parameterName("parameterName")
.parameterValue("parameterValue")
.build()))
.controlScope(controlScope)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFramework.FrameworkControlProperty.Builder
A builder for
CfnFramework.FrameworkControlProperty |
static class |
CfnFramework.FrameworkControlProperty.Jsii$Proxy
An implementation for
CfnFramework.FrameworkControlProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFramework.FrameworkControlProperty.Builder |
builder() |
default Object |
getControlInputParameters()
A list of `ParameterName` and `ParameterValue` pairs.
|
String |
getControlName()
The name of a control.
|
default Object |
getControlScope()
The scope of a control.
|
@Stability(value=Stable) @NotNull String getControlName()
This name is between 1 and 256 characters.
@Stability(value=Stable) @Nullable default Object getControlInputParameters()
@Stability(value=Stable) @Nullable default Object getControlScope()
The control scope defines what the control will evaluate. Three examples of control scopes are: a specific backup plan, all backup plans with a specific tag, or all backup plans. For more information, see ControlScope .
@Stability(value=Stable) static CfnFramework.FrameworkControlProperty.Builder builder()
Copyright © 2022. All rights reserved.