ROUTE53-RECOVERY-CLUSTER

GetRoutingControlState

valid {
    input.Body.RoutingControlArn == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

ListRoutingControls

valid {
    input.Body.ControlPanelArn == STRING
    input.Body.NextToken == STRING
    input.Body.MaxResults == INTEGER
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateRoutingControlState

enum_RoutingControlState := [ "On", "Off" ]

valid {
    input.Body.RoutingControlArn == STRING
    input.Body.RoutingControlState == enum_RoutingControlState[_]
    input.Body.SafetyRulesToOverride[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}

UpdateRoutingControlStates

enum_RoutingControlState := [ "On", "Off" ]

valid {
    input.Body.UpdateRoutingControlStateEntries[_].RoutingControlArn == STRING
    input.Body.UpdateRoutingControlStateEntries[_].RoutingControlState == enum_RoutingControlState[_]
    input.Body.SafetyRulesToOverride[_] == STRING
    input.ProviderMetadata.Account == STRING
    input.ProviderMetadata.AccessKeyId == STRING
    input.ProviderMetadata.Region == STRING
}