AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi
aws-native.route53recoverycontrol.getSafetyRule
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi
Resource schema for AWS Route53 Recovery Control basic constructs and validation rules.
Using getSafetyRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSafetyRule(args: GetSafetyRuleArgs, opts?: InvokeOptions): Promise<GetSafetyRuleResult>
function getSafetyRuleOutput(args: GetSafetyRuleOutputArgs, opts?: InvokeOptions): Output<GetSafetyRuleResult>
def get_safety_rule(safety_rule_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSafetyRuleResult
def get_safety_rule_output(safety_rule_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSafetyRuleResult]
func LookupSafetyRule(ctx *Context, args *LookupSafetyRuleArgs, opts ...InvokeOption) (*LookupSafetyRuleResult, error)
func LookupSafetyRuleOutput(ctx *Context, args *LookupSafetyRuleOutputArgs, opts ...InvokeOption) LookupSafetyRuleResultOutput
> Note: This function is named LookupSafetyRule
in the Go SDK.
public static class GetSafetyRule
{
public static Task<GetSafetyRuleResult> InvokeAsync(GetSafetyRuleArgs args, InvokeOptions? opts = null)
public static Output<GetSafetyRuleResult> Invoke(GetSafetyRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSafetyRuleResult> getSafetyRule(GetSafetyRuleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:route53recoverycontrol:getSafetyRule
arguments:
# arguments dictionary
The following arguments are supported:
- Safety
Rule stringArn - The Amazon Resource Name (ARN) of the safety rule.
- Safety
Rule stringArn - The Amazon Resource Name (ARN) of the safety rule.
- safety
Rule StringArn - The Amazon Resource Name (ARN) of the safety rule.
- safety
Rule stringArn - The Amazon Resource Name (ARN) of the safety rule.
- safety_
rule_ strarn - The Amazon Resource Name (ARN) of the safety rule.
- safety
Rule StringArn - The Amazon Resource Name (ARN) of the safety rule.
getSafetyRule Result
The following output properties are available:
- Assertion
Rule Pulumi.Aws Native. Route53Recovery Control. Outputs. Safety Rule Assertion Rule - Gating
Rule Pulumi.Aws Native. Route53Recovery Control. Outputs. Safety Rule Gating Rule - Name string
- Safety
Rule stringArn - The Amazon Resource Name (ARN) of the safety rule.
- Status
Pulumi.
Aws Native. Route53Recovery Control. Safety Rule Status - The deployment status of the routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
- Assertion
Rule SafetyRule Assertion Rule - Gating
Rule SafetyRule Gating Rule - Name string
- Safety
Rule stringArn - The Amazon Resource Name (ARN) of the safety rule.
- Status
Safety
Rule Status - The deployment status of the routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
- assertion
Rule SafetyRule Assertion Rule - gating
Rule SafetyRule Gating Rule - name String
- safety
Rule StringArn - The Amazon Resource Name (ARN) of the safety rule.
- status
Safety
Rule Status - The deployment status of the routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
- assertion
Rule SafetyRule Assertion Rule - gating
Rule SafetyRule Gating Rule - name string
- safety
Rule stringArn - The Amazon Resource Name (ARN) of the safety rule.
- status
Safety
Rule Status - The deployment status of the routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
- assertion_
rule SafetyRule Assertion Rule - gating_
rule SafetyRule Gating Rule - name str
- safety_
rule_ strarn - The Amazon Resource Name (ARN) of the safety rule.
- status
Safety
Rule Status - The deployment status of the routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
- assertion
Rule Property Map - gating
Rule Property Map - name String
- safety
Rule StringArn - The Amazon Resource Name (ARN) of the safety rule.
- status "PENDING" | "DEPLOYED" | "PENDING_DELETION"
- The deployment status of the routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.
Supporting Types
SafetyRuleAssertionRule
- Asserted
Controls List<string> - The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three AWS Regions.
- Wait
Period intMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
- Asserted
Controls []string - The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three AWS Regions.
- Wait
Period intMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
- asserted
Controls List<String> - The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three AWS Regions.
- wait
Period IntegerMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
- asserted
Controls string[] - The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three AWS Regions.
- wait
Period numberMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
- asserted_
controls Sequence[str] - The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three AWS Regions.
- wait_
period_ intms - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
- asserted
Controls List<String> - The routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. For example, you might include three routing controls, one for each of three AWS Regions.
- wait
Period NumberMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
SafetyRuleGatingRule
- Gating
Controls List<string> - The gating controls for the gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
- Target
Controls List<string> - Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three AWS Regions. Now you specify AtLeast 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true. In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.
- Wait
Period intMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
- Gating
Controls []string - The gating controls for the gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
- Target
Controls []string - Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three AWS Regions. Now you specify AtLeast 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true. In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.
- Wait
Period intMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
- gating
Controls List<String> - The gating controls for the gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
- target
Controls List<String> - Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three AWS Regions. Now you specify AtLeast 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true. In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.
- wait
Period IntegerMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
- gating
Controls string[] - The gating controls for the gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
- target
Controls string[] - Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three AWS Regions. Now you specify AtLeast 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true. In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.
- wait
Period numberMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
- gating_
controls Sequence[str] - The gating controls for the gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
- target_
controls Sequence[str] - Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three AWS Regions. Now you specify AtLeast 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true. In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.
- wait_
period_ intms - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
- gating
Controls List<String> - The gating controls for the gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
- target
Controls List<String> - Routing controls that can only be set or unset if the specified RuleConfig evaluates to true for the specified GatingControls. For example, say you have three gating controls, one for each of three AWS Regions. Now you specify AtLeast 2 as your RuleConfig. With these settings, you can only change (set or unset) the routing controls that you have specified as TargetControls if that rule evaluates to true. In other words, your ability to change the routing controls that you have specified as TargetControls is gated by the rule that you set for the routing controls in GatingControls.
- wait
Period NumberMs - An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent "flapping" of state. The wait period is 5000 ms by default, but you can choose a custom value.
SafetyRuleStatus
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi