SafetyRuleState constructor
- Input<
String?> ? arn, - Input<
List< ? assertedControls,String> ?> - Input<
String?> ? controlPanelArn, - Input<
List< ? gatingControls,String> ?> - Input<
String?> ? name, - Input<
SafetyRuleRuleConfig?> ? ruleConfig, - Input<
String?> ? status, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?> - Input<
List< ? targetControls,String> ?> - Input<
int?> ? waitPeriodMs,
Creates a new SafetyRuleState.
arn ARN of the safety rule.
assertedControls Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed.
controlPanelArn ARN of the control panel in which this safety rule will reside.
gatingControls Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
name Name describing the safety rule.
ruleConfig Configuration block for safety rule criteria. See below.
status Status of the safety rule. PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.
tags A map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
targetControls Routing controls that can only be set or unset if the specified ruleConfig evaluates to true for the specified gatingControls.
waitPeriodMs Evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.
Implementation
const SafetyRuleState({
this.arn,
this.assertedControls,
this.controlPanelArn,
this.gatingControls,
this.name,
this.ruleConfig,
this.status,
this.tags,
this.tagsAll,
this.targetControls,
this.waitPeriodMs,
});