@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.996Z") @Stability(value=Stable) public interface CfnSafetyRuleProps 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.route53recoverycontrol.*;
CfnSafetyRuleProps cfnSafetyRuleProps = CfnSafetyRuleProps.builder()
.controlPanelArn("controlPanelArn")
.name("name")
.ruleConfig(RuleConfigProperty.builder()
.inverted(false)
.threshold(123)
.type("type")
.build())
// the properties below are optional
.assertionRule(AssertionRuleProperty.builder()
.assertedControls(List.of("assertedControls"))
.waitPeriodMs(123)
.build())
.gatingRule(GatingRuleProperty.builder()
.gatingControls(List.of("gatingControls"))
.targetControls(List.of("targetControls"))
.waitPeriodMs(123)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSafetyRuleProps.Builder
A builder for
CfnSafetyRuleProps |
static class |
CfnSafetyRuleProps.Jsii$Proxy
An implementation for
CfnSafetyRuleProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnSafetyRuleProps.Builder |
builder() |
default Object |
getAssertionRule()
`AWS::Route53RecoveryControl::SafetyRule.AssertionRule`.
|
String |
getControlPanelArn()
`AWS::Route53RecoveryControl::SafetyRule.ControlPanelArn`.
|
default Object |
getGatingRule()
`AWS::Route53RecoveryControl::SafetyRule.GatingRule`.
|
String |
getName()
`AWS::Route53RecoveryControl::SafetyRule.Name`.
|
Object |
getRuleConfig()
`AWS::Route53RecoveryControl::SafetyRule.RuleConfig`.
|
default List<CfnTag> |
getTags()
`AWS::Route53RecoveryControl::SafetyRule.Tags`.
|
@Stability(value=Stable) @Nullable default Object getAssertionRule()
@Stability(value=Stable) @NotNull String getControlPanelArn()
@Stability(value=Stable) @Nullable default Object getGatingRule()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull Object getRuleConfig()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnSafetyRuleProps.Builder builder()
CfnSafetyRuleProps.Builder of CfnSafetyRulePropsCopyright © 2021. All rights reserved.