Documentation ¶
Index ¶
- type Cluster
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterClusterEndpoint
- type ClusterClusterEndpointArgs
- type ClusterClusterEndpointArray
- func (ClusterClusterEndpointArray) ElementType() reflect.Type
- func (i ClusterClusterEndpointArray) ToClusterClusterEndpointArrayOutput() ClusterClusterEndpointArrayOutput
- func (i ClusterClusterEndpointArray) ToClusterClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterClusterEndpointArrayOutput
- type ClusterClusterEndpointArrayInput
- type ClusterClusterEndpointArrayOutput
- func (ClusterClusterEndpointArrayOutput) ElementType() reflect.Type
- func (o ClusterClusterEndpointArrayOutput) Index(i pulumi.IntInput) ClusterClusterEndpointOutput
- func (o ClusterClusterEndpointArrayOutput) ToClusterClusterEndpointArrayOutput() ClusterClusterEndpointArrayOutput
- func (o ClusterClusterEndpointArrayOutput) ToClusterClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterClusterEndpointArrayOutput
- type ClusterClusterEndpointInput
- type ClusterClusterEndpointOutput
- func (ClusterClusterEndpointOutput) ElementType() reflect.Type
- func (o ClusterClusterEndpointOutput) Endpoint() pulumi.StringPtrOutput
- func (o ClusterClusterEndpointOutput) Region() pulumi.StringPtrOutput
- func (o ClusterClusterEndpointOutput) ToClusterClusterEndpointOutput() ClusterClusterEndpointOutput
- func (o ClusterClusterEndpointOutput) ToClusterClusterEndpointOutputWithContext(ctx context.Context) ClusterClusterEndpointOutput
- type ClusterInput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterOutput
- func (o ClusterOutput) Arn() pulumi.StringOutput
- func (o ClusterOutput) ClusterEndpoints() ClusterClusterEndpointArrayOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) Name() pulumi.StringOutput
- func (o ClusterOutput) Status() pulumi.StringOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- type ClusterState
- type ControlPanel
- type ControlPanelArgs
- type ControlPanelArray
- type ControlPanelArrayInput
- type ControlPanelArrayOutput
- func (ControlPanelArrayOutput) ElementType() reflect.Type
- func (o ControlPanelArrayOutput) Index(i pulumi.IntInput) ControlPanelOutput
- func (o ControlPanelArrayOutput) ToControlPanelArrayOutput() ControlPanelArrayOutput
- func (o ControlPanelArrayOutput) ToControlPanelArrayOutputWithContext(ctx context.Context) ControlPanelArrayOutput
- type ControlPanelInput
- type ControlPanelMap
- type ControlPanelMapInput
- type ControlPanelMapOutput
- func (ControlPanelMapOutput) ElementType() reflect.Type
- func (o ControlPanelMapOutput) MapIndex(k pulumi.StringInput) ControlPanelOutput
- func (o ControlPanelMapOutput) ToControlPanelMapOutput() ControlPanelMapOutput
- func (o ControlPanelMapOutput) ToControlPanelMapOutputWithContext(ctx context.Context) ControlPanelMapOutput
- type ControlPanelOutput
- func (o ControlPanelOutput) Arn() pulumi.StringOutput
- func (o ControlPanelOutput) ClusterArn() pulumi.StringOutput
- func (o ControlPanelOutput) DefaultControlPanel() pulumi.BoolOutput
- func (ControlPanelOutput) ElementType() reflect.Type
- func (o ControlPanelOutput) Name() pulumi.StringOutput
- func (o ControlPanelOutput) RoutingControlCount() pulumi.IntOutput
- func (o ControlPanelOutput) Status() pulumi.StringOutput
- func (o ControlPanelOutput) ToControlPanelOutput() ControlPanelOutput
- func (o ControlPanelOutput) ToControlPanelOutputWithContext(ctx context.Context) ControlPanelOutput
- type ControlPanelState
- type RoutingControl
- type RoutingControlArgs
- type RoutingControlArray
- type RoutingControlArrayInput
- type RoutingControlArrayOutput
- func (RoutingControlArrayOutput) ElementType() reflect.Type
- func (o RoutingControlArrayOutput) Index(i pulumi.IntInput) RoutingControlOutput
- func (o RoutingControlArrayOutput) ToRoutingControlArrayOutput() RoutingControlArrayOutput
- func (o RoutingControlArrayOutput) ToRoutingControlArrayOutputWithContext(ctx context.Context) RoutingControlArrayOutput
- type RoutingControlInput
- type RoutingControlMap
- type RoutingControlMapInput
- type RoutingControlMapOutput
- func (RoutingControlMapOutput) ElementType() reflect.Type
- func (o RoutingControlMapOutput) MapIndex(k pulumi.StringInput) RoutingControlOutput
- func (o RoutingControlMapOutput) ToRoutingControlMapOutput() RoutingControlMapOutput
- func (o RoutingControlMapOutput) ToRoutingControlMapOutputWithContext(ctx context.Context) RoutingControlMapOutput
- type RoutingControlOutput
- func (o RoutingControlOutput) Arn() pulumi.StringOutput
- func (o RoutingControlOutput) ClusterArn() pulumi.StringOutput
- func (o RoutingControlOutput) ControlPanelArn() pulumi.StringOutput
- func (RoutingControlOutput) ElementType() reflect.Type
- func (o RoutingControlOutput) Name() pulumi.StringOutput
- func (o RoutingControlOutput) Status() pulumi.StringOutput
- func (o RoutingControlOutput) ToRoutingControlOutput() RoutingControlOutput
- func (o RoutingControlOutput) ToRoutingControlOutputWithContext(ctx context.Context) RoutingControlOutput
- type RoutingControlState
- type SafetyRule
- type SafetyRuleArgs
- type SafetyRuleArray
- type SafetyRuleArrayInput
- type SafetyRuleArrayOutput
- func (SafetyRuleArrayOutput) ElementType() reflect.Type
- func (o SafetyRuleArrayOutput) Index(i pulumi.IntInput) SafetyRuleOutput
- func (o SafetyRuleArrayOutput) ToSafetyRuleArrayOutput() SafetyRuleArrayOutput
- func (o SafetyRuleArrayOutput) ToSafetyRuleArrayOutputWithContext(ctx context.Context) SafetyRuleArrayOutput
- type SafetyRuleInput
- type SafetyRuleMap
- type SafetyRuleMapInput
- type SafetyRuleMapOutput
- func (SafetyRuleMapOutput) ElementType() reflect.Type
- func (o SafetyRuleMapOutput) MapIndex(k pulumi.StringInput) SafetyRuleOutput
- func (o SafetyRuleMapOutput) ToSafetyRuleMapOutput() SafetyRuleMapOutput
- func (o SafetyRuleMapOutput) ToSafetyRuleMapOutputWithContext(ctx context.Context) SafetyRuleMapOutput
- type SafetyRuleOutput
- func (o SafetyRuleOutput) Arn() pulumi.StringOutput
- func (o SafetyRuleOutput) AssertedControls() pulumi.StringArrayOutput
- func (o SafetyRuleOutput) ControlPanelArn() pulumi.StringOutput
- func (SafetyRuleOutput) ElementType() reflect.Type
- func (o SafetyRuleOutput) GatingControls() pulumi.StringArrayOutput
- func (o SafetyRuleOutput) Name() pulumi.StringOutput
- func (o SafetyRuleOutput) RuleConfig() SafetyRuleRuleConfigOutput
- func (o SafetyRuleOutput) Status() pulumi.StringOutput
- func (o SafetyRuleOutput) TargetControls() pulumi.StringArrayOutput
- func (o SafetyRuleOutput) ToSafetyRuleOutput() SafetyRuleOutput
- func (o SafetyRuleOutput) ToSafetyRuleOutputWithContext(ctx context.Context) SafetyRuleOutput
- func (o SafetyRuleOutput) WaitPeriodMs() pulumi.IntOutput
- type SafetyRuleRuleConfig
- type SafetyRuleRuleConfigArgs
- func (SafetyRuleRuleConfigArgs) ElementType() reflect.Type
- func (i SafetyRuleRuleConfigArgs) ToSafetyRuleRuleConfigOutput() SafetyRuleRuleConfigOutput
- func (i SafetyRuleRuleConfigArgs) ToSafetyRuleRuleConfigOutputWithContext(ctx context.Context) SafetyRuleRuleConfigOutput
- func (i SafetyRuleRuleConfigArgs) ToSafetyRuleRuleConfigPtrOutput() SafetyRuleRuleConfigPtrOutput
- func (i SafetyRuleRuleConfigArgs) ToSafetyRuleRuleConfigPtrOutputWithContext(ctx context.Context) SafetyRuleRuleConfigPtrOutput
- type SafetyRuleRuleConfigInput
- type SafetyRuleRuleConfigOutput
- func (SafetyRuleRuleConfigOutput) ElementType() reflect.Type
- func (o SafetyRuleRuleConfigOutput) Inverted() pulumi.BoolOutput
- func (o SafetyRuleRuleConfigOutput) Threshold() pulumi.IntOutput
- func (o SafetyRuleRuleConfigOutput) ToSafetyRuleRuleConfigOutput() SafetyRuleRuleConfigOutput
- func (o SafetyRuleRuleConfigOutput) ToSafetyRuleRuleConfigOutputWithContext(ctx context.Context) SafetyRuleRuleConfigOutput
- func (o SafetyRuleRuleConfigOutput) ToSafetyRuleRuleConfigPtrOutput() SafetyRuleRuleConfigPtrOutput
- func (o SafetyRuleRuleConfigOutput) ToSafetyRuleRuleConfigPtrOutputWithContext(ctx context.Context) SafetyRuleRuleConfigPtrOutput
- func (o SafetyRuleRuleConfigOutput) Type() pulumi.StringOutput
- type SafetyRuleRuleConfigPtrInput
- type SafetyRuleRuleConfigPtrOutput
- func (o SafetyRuleRuleConfigPtrOutput) Elem() SafetyRuleRuleConfigOutput
- func (SafetyRuleRuleConfigPtrOutput) ElementType() reflect.Type
- func (o SafetyRuleRuleConfigPtrOutput) Inverted() pulumi.BoolPtrOutput
- func (o SafetyRuleRuleConfigPtrOutput) Threshold() pulumi.IntPtrOutput
- func (o SafetyRuleRuleConfigPtrOutput) ToSafetyRuleRuleConfigPtrOutput() SafetyRuleRuleConfigPtrOutput
- func (o SafetyRuleRuleConfigPtrOutput) ToSafetyRuleRuleConfigPtrOutputWithContext(ctx context.Context) SafetyRuleRuleConfigPtrOutput
- func (o SafetyRuleRuleConfigPtrOutput) Type() pulumi.StringPtrOutput
- type SafetyRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { pulumi.CustomResourceState // ARN of the cluster Arn pulumi.StringOutput `pulumi:"arn"` // List of 5 endpoints in 5 regions that can be used to talk to the cluster. See below. ClusterEndpoints ClusterClusterEndpointArrayOutput `pulumi:"clusterEndpoints"` // Unique name describing the cluster. Name pulumi.StringOutput `pulumi:"name"` // Status of cluster. `PENDING` when it is being created, `PENDING_DELETION` when it is being deleted and `DEPLOYED` otherwise. Status pulumi.StringOutput `pulumi:"status"` }
Provides an AWS Route 53 Recovery Control Config Cluster.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53recoverycontrol" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := route53recoverycontrol.NewCluster(ctx, "example", nil) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_route53recoverycontrolconfig_cluster.mycluster id = "arn:aws:route53-recovery-control::313517334327:cluster/f9ae13be-a11e-4ec7-8522-94a70468e6ea" } Using `pulumi import`, import Route53 Recovery Control Config cluster using the cluster ARN. For exampleconsole % pulumi import aws_route53recoverycontrolconfig_cluster.mycluster arn:aws:route53-recovery-control::313517334327:cluster/f9ae13be-a11e-4ec7-8522-94a70468e6ea
func GetCluster ¶
func GetCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)
GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCluster ¶
func NewCluster(ctx *pulumi.Context, name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)
NewCluster registers a new resource with the given unique name, arguments, and options.
func (*Cluster) ElementType ¶
func (*Cluster) ToClusterOutput ¶
func (i *Cluster) ToClusterOutput() ClusterOutput
func (*Cluster) ToClusterOutputWithContext ¶
func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ClusterArgs ¶
type ClusterArgs struct { // Unique name describing the cluster. Name pulumi.StringPtrInput }
The set of arguments for constructing a Cluster resource.
func (ClusterArgs) ElementType ¶
func (ClusterArgs) ElementType() reflect.Type
type ClusterArray ¶
type ClusterArray []ClusterInput
func (ClusterArray) ElementType ¶
func (ClusterArray) ElementType() reflect.Type
func (ClusterArray) ToClusterArrayOutput ¶
func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArray) ToClusterArrayOutputWithContext ¶
func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterArrayInput ¶
type ClusterArrayInput interface { pulumi.Input ToClusterArrayOutput() ClusterArrayOutput ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput }
ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:
ClusterArray{ ClusterArgs{...} }
type ClusterArrayOutput ¶
type ClusterArrayOutput struct{ *pulumi.OutputState }
func (ClusterArrayOutput) ElementType ¶
func (ClusterArrayOutput) ElementType() reflect.Type
func (ClusterArrayOutput) Index ¶
func (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
func (ClusterArrayOutput) ToClusterArrayOutput ¶
func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArrayOutput) ToClusterArrayOutputWithContext ¶
func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterClusterEndpoint ¶
type ClusterClusterEndpointArgs ¶
type ClusterClusterEndpointArgs struct { // Cluster endpoint. Endpoint pulumi.StringPtrInput `pulumi:"endpoint"` // Region of the endpoint. Region pulumi.StringPtrInput `pulumi:"region"` }
func (ClusterClusterEndpointArgs) ElementType ¶
func (ClusterClusterEndpointArgs) ElementType() reflect.Type
func (ClusterClusterEndpointArgs) ToClusterClusterEndpointOutput ¶
func (i ClusterClusterEndpointArgs) ToClusterClusterEndpointOutput() ClusterClusterEndpointOutput
func (ClusterClusterEndpointArgs) ToClusterClusterEndpointOutputWithContext ¶
func (i ClusterClusterEndpointArgs) ToClusterClusterEndpointOutputWithContext(ctx context.Context) ClusterClusterEndpointOutput
type ClusterClusterEndpointArray ¶
type ClusterClusterEndpointArray []ClusterClusterEndpointInput
func (ClusterClusterEndpointArray) ElementType ¶
func (ClusterClusterEndpointArray) ElementType() reflect.Type
func (ClusterClusterEndpointArray) ToClusterClusterEndpointArrayOutput ¶
func (i ClusterClusterEndpointArray) ToClusterClusterEndpointArrayOutput() ClusterClusterEndpointArrayOutput
func (ClusterClusterEndpointArray) ToClusterClusterEndpointArrayOutputWithContext ¶
func (i ClusterClusterEndpointArray) ToClusterClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterClusterEndpointArrayOutput
type ClusterClusterEndpointArrayInput ¶
type ClusterClusterEndpointArrayInput interface { pulumi.Input ToClusterClusterEndpointArrayOutput() ClusterClusterEndpointArrayOutput ToClusterClusterEndpointArrayOutputWithContext(context.Context) ClusterClusterEndpointArrayOutput }
ClusterClusterEndpointArrayInput is an input type that accepts ClusterClusterEndpointArray and ClusterClusterEndpointArrayOutput values. You can construct a concrete instance of `ClusterClusterEndpointArrayInput` via:
ClusterClusterEndpointArray{ ClusterClusterEndpointArgs{...} }
type ClusterClusterEndpointArrayOutput ¶
type ClusterClusterEndpointArrayOutput struct{ *pulumi.OutputState }
func (ClusterClusterEndpointArrayOutput) ElementType ¶
func (ClusterClusterEndpointArrayOutput) ElementType() reflect.Type
func (ClusterClusterEndpointArrayOutput) Index ¶
func (o ClusterClusterEndpointArrayOutput) Index(i pulumi.IntInput) ClusterClusterEndpointOutput
func (ClusterClusterEndpointArrayOutput) ToClusterClusterEndpointArrayOutput ¶
func (o ClusterClusterEndpointArrayOutput) ToClusterClusterEndpointArrayOutput() ClusterClusterEndpointArrayOutput
func (ClusterClusterEndpointArrayOutput) ToClusterClusterEndpointArrayOutputWithContext ¶
func (o ClusterClusterEndpointArrayOutput) ToClusterClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterClusterEndpointArrayOutput
type ClusterClusterEndpointInput ¶
type ClusterClusterEndpointInput interface { pulumi.Input ToClusterClusterEndpointOutput() ClusterClusterEndpointOutput ToClusterClusterEndpointOutputWithContext(context.Context) ClusterClusterEndpointOutput }
ClusterClusterEndpointInput is an input type that accepts ClusterClusterEndpointArgs and ClusterClusterEndpointOutput values. You can construct a concrete instance of `ClusterClusterEndpointInput` via:
ClusterClusterEndpointArgs{...}
type ClusterClusterEndpointOutput ¶
type ClusterClusterEndpointOutput struct{ *pulumi.OutputState }
func (ClusterClusterEndpointOutput) ElementType ¶
func (ClusterClusterEndpointOutput) ElementType() reflect.Type
func (ClusterClusterEndpointOutput) Endpoint ¶
func (o ClusterClusterEndpointOutput) Endpoint() pulumi.StringPtrOutput
Cluster endpoint.
func (ClusterClusterEndpointOutput) Region ¶
func (o ClusterClusterEndpointOutput) Region() pulumi.StringPtrOutput
Region of the endpoint.
func (ClusterClusterEndpointOutput) ToClusterClusterEndpointOutput ¶
func (o ClusterClusterEndpointOutput) ToClusterClusterEndpointOutput() ClusterClusterEndpointOutput
func (ClusterClusterEndpointOutput) ToClusterClusterEndpointOutputWithContext ¶
func (o ClusterClusterEndpointOutput) ToClusterClusterEndpointOutputWithContext(ctx context.Context) ClusterClusterEndpointOutput
type ClusterInput ¶
type ClusterInput interface { pulumi.Input ToClusterOutput() ClusterOutput ToClusterOutputWithContext(ctx context.Context) ClusterOutput }
type ClusterMap ¶
type ClusterMap map[string]ClusterInput
func (ClusterMap) ElementType ¶
func (ClusterMap) ElementType() reflect.Type
func (ClusterMap) ToClusterMapOutput ¶
func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput
func (ClusterMap) ToClusterMapOutputWithContext ¶
func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterMapInput ¶
type ClusterMapInput interface { pulumi.Input ToClusterMapOutput() ClusterMapOutput ToClusterMapOutputWithContext(context.Context) ClusterMapOutput }
ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:
ClusterMap{ "key": ClusterArgs{...} }
type ClusterMapOutput ¶
type ClusterMapOutput struct{ *pulumi.OutputState }
func (ClusterMapOutput) ElementType ¶
func (ClusterMapOutput) ElementType() reflect.Type
func (ClusterMapOutput) MapIndex ¶
func (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
func (ClusterMapOutput) ToClusterMapOutput ¶
func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput
func (ClusterMapOutput) ToClusterMapOutputWithContext ¶
func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterOutput ¶
type ClusterOutput struct{ *pulumi.OutputState }
func (ClusterOutput) ClusterEndpoints ¶
func (o ClusterOutput) ClusterEndpoints() ClusterClusterEndpointArrayOutput
List of 5 endpoints in 5 regions that can be used to talk to the cluster. See below.
func (ClusterOutput) ElementType ¶
func (ClusterOutput) ElementType() reflect.Type
func (ClusterOutput) Name ¶
func (o ClusterOutput) Name() pulumi.StringOutput
Unique name describing the cluster.
func (ClusterOutput) Status ¶
func (o ClusterOutput) Status() pulumi.StringOutput
Status of cluster. `PENDING` when it is being created, `PENDING_DELETION` when it is being deleted and `DEPLOYED` otherwise.
func (ClusterOutput) ToClusterOutput ¶
func (o ClusterOutput) ToClusterOutput() ClusterOutput
func (ClusterOutput) ToClusterOutputWithContext ¶
func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ClusterState ¶
type ClusterState struct { // ARN of the cluster Arn pulumi.StringPtrInput // List of 5 endpoints in 5 regions that can be used to talk to the cluster. See below. ClusterEndpoints ClusterClusterEndpointArrayInput // Unique name describing the cluster. Name pulumi.StringPtrInput // Status of cluster. `PENDING` when it is being created, `PENDING_DELETION` when it is being deleted and `DEPLOYED` otherwise. Status pulumi.StringPtrInput }
func (ClusterState) ElementType ¶
func (ClusterState) ElementType() reflect.Type
type ControlPanel ¶
type ControlPanel struct { pulumi.CustomResourceState // ARN of the control panel. Arn pulumi.StringOutput `pulumi:"arn"` // ARN of the cluster in which this control panel will reside. ClusterArn pulumi.StringOutput `pulumi:"clusterArn"` // Whether a control panel is default. DefaultControlPanel pulumi.BoolOutput `pulumi:"defaultControlPanel"` // Name describing the control panel. Name pulumi.StringOutput `pulumi:"name"` // Number routing controls in a control panel. RoutingControlCount pulumi.IntOutput `pulumi:"routingControlCount"` // Status of control panel: `PENDING` when it is being created/updated, `PENDING_DELETION` when it is being deleted, and `DEPLOYED` otherwise. Status pulumi.StringOutput `pulumi:"status"` }
Provides an AWS Route 53 Recovery Control Config Control Panel.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53recoverycontrol" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := route53recoverycontrol.NewControlPanel(ctx, "example", &route53recoverycontrol.ControlPanelArgs{ ClusterArn: pulumi.String("arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393"), }) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_route53recoverycontrolconfig_control_panel.mypanel id = "arn:aws:route53-recovery-control::313517334327:controlpanel/1bfba17df8684f5dab0467b71424f7e8" } Using `pulumi import`, import Route53 Recovery Control Config Control Panel using the control panel arn. For exampleconsole % pulumi import aws_route53recoverycontrolconfig_control_panel.mypanel arn:aws:route53-recovery-control::313517334327:controlpanel/1bfba17df8684f5dab0467b71424f7e8
func GetControlPanel ¶
func GetControlPanel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ControlPanelState, opts ...pulumi.ResourceOption) (*ControlPanel, error)
GetControlPanel gets an existing ControlPanel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewControlPanel ¶
func NewControlPanel(ctx *pulumi.Context, name string, args *ControlPanelArgs, opts ...pulumi.ResourceOption) (*ControlPanel, error)
NewControlPanel registers a new resource with the given unique name, arguments, and options.
func (*ControlPanel) ElementType ¶
func (*ControlPanel) ElementType() reflect.Type
func (*ControlPanel) ToControlPanelOutput ¶
func (i *ControlPanel) ToControlPanelOutput() ControlPanelOutput
func (*ControlPanel) ToControlPanelOutputWithContext ¶
func (i *ControlPanel) ToControlPanelOutputWithContext(ctx context.Context) ControlPanelOutput
type ControlPanelArgs ¶
type ControlPanelArgs struct { // ARN of the cluster in which this control panel will reside. ClusterArn pulumi.StringInput // Name describing the control panel. Name pulumi.StringPtrInput }
The set of arguments for constructing a ControlPanel resource.
func (ControlPanelArgs) ElementType ¶
func (ControlPanelArgs) ElementType() reflect.Type
type ControlPanelArray ¶
type ControlPanelArray []ControlPanelInput
func (ControlPanelArray) ElementType ¶
func (ControlPanelArray) ElementType() reflect.Type
func (ControlPanelArray) ToControlPanelArrayOutput ¶
func (i ControlPanelArray) ToControlPanelArrayOutput() ControlPanelArrayOutput
func (ControlPanelArray) ToControlPanelArrayOutputWithContext ¶
func (i ControlPanelArray) ToControlPanelArrayOutputWithContext(ctx context.Context) ControlPanelArrayOutput
type ControlPanelArrayInput ¶
type ControlPanelArrayInput interface { pulumi.Input ToControlPanelArrayOutput() ControlPanelArrayOutput ToControlPanelArrayOutputWithContext(context.Context) ControlPanelArrayOutput }
ControlPanelArrayInput is an input type that accepts ControlPanelArray and ControlPanelArrayOutput values. You can construct a concrete instance of `ControlPanelArrayInput` via:
ControlPanelArray{ ControlPanelArgs{...} }
type ControlPanelArrayOutput ¶
type ControlPanelArrayOutput struct{ *pulumi.OutputState }
func (ControlPanelArrayOutput) ElementType ¶
func (ControlPanelArrayOutput) ElementType() reflect.Type
func (ControlPanelArrayOutput) Index ¶
func (o ControlPanelArrayOutput) Index(i pulumi.IntInput) ControlPanelOutput
func (ControlPanelArrayOutput) ToControlPanelArrayOutput ¶
func (o ControlPanelArrayOutput) ToControlPanelArrayOutput() ControlPanelArrayOutput
func (ControlPanelArrayOutput) ToControlPanelArrayOutputWithContext ¶
func (o ControlPanelArrayOutput) ToControlPanelArrayOutputWithContext(ctx context.Context) ControlPanelArrayOutput
type ControlPanelInput ¶
type ControlPanelInput interface { pulumi.Input ToControlPanelOutput() ControlPanelOutput ToControlPanelOutputWithContext(ctx context.Context) ControlPanelOutput }
type ControlPanelMap ¶
type ControlPanelMap map[string]ControlPanelInput
func (ControlPanelMap) ElementType ¶
func (ControlPanelMap) ElementType() reflect.Type
func (ControlPanelMap) ToControlPanelMapOutput ¶
func (i ControlPanelMap) ToControlPanelMapOutput() ControlPanelMapOutput
func (ControlPanelMap) ToControlPanelMapOutputWithContext ¶
func (i ControlPanelMap) ToControlPanelMapOutputWithContext(ctx context.Context) ControlPanelMapOutput
type ControlPanelMapInput ¶
type ControlPanelMapInput interface { pulumi.Input ToControlPanelMapOutput() ControlPanelMapOutput ToControlPanelMapOutputWithContext(context.Context) ControlPanelMapOutput }
ControlPanelMapInput is an input type that accepts ControlPanelMap and ControlPanelMapOutput values. You can construct a concrete instance of `ControlPanelMapInput` via:
ControlPanelMap{ "key": ControlPanelArgs{...} }
type ControlPanelMapOutput ¶
type ControlPanelMapOutput struct{ *pulumi.OutputState }
func (ControlPanelMapOutput) ElementType ¶
func (ControlPanelMapOutput) ElementType() reflect.Type
func (ControlPanelMapOutput) MapIndex ¶
func (o ControlPanelMapOutput) MapIndex(k pulumi.StringInput) ControlPanelOutput
func (ControlPanelMapOutput) ToControlPanelMapOutput ¶
func (o ControlPanelMapOutput) ToControlPanelMapOutput() ControlPanelMapOutput
func (ControlPanelMapOutput) ToControlPanelMapOutputWithContext ¶
func (o ControlPanelMapOutput) ToControlPanelMapOutputWithContext(ctx context.Context) ControlPanelMapOutput
type ControlPanelOutput ¶
type ControlPanelOutput struct{ *pulumi.OutputState }
func (ControlPanelOutput) Arn ¶
func (o ControlPanelOutput) Arn() pulumi.StringOutput
ARN of the control panel.
func (ControlPanelOutput) ClusterArn ¶
func (o ControlPanelOutput) ClusterArn() pulumi.StringOutput
ARN of the cluster in which this control panel will reside.
func (ControlPanelOutput) DefaultControlPanel ¶
func (o ControlPanelOutput) DefaultControlPanel() pulumi.BoolOutput
Whether a control panel is default.
func (ControlPanelOutput) ElementType ¶
func (ControlPanelOutput) ElementType() reflect.Type
func (ControlPanelOutput) Name ¶
func (o ControlPanelOutput) Name() pulumi.StringOutput
Name describing the control panel.
func (ControlPanelOutput) RoutingControlCount ¶
func (o ControlPanelOutput) RoutingControlCount() pulumi.IntOutput
Number routing controls in a control panel.
func (ControlPanelOutput) Status ¶
func (o ControlPanelOutput) Status() pulumi.StringOutput
Status of control panel: `PENDING` when it is being created/updated, `PENDING_DELETION` when it is being deleted, and `DEPLOYED` otherwise.
func (ControlPanelOutput) ToControlPanelOutput ¶
func (o ControlPanelOutput) ToControlPanelOutput() ControlPanelOutput
func (ControlPanelOutput) ToControlPanelOutputWithContext ¶
func (o ControlPanelOutput) ToControlPanelOutputWithContext(ctx context.Context) ControlPanelOutput
type ControlPanelState ¶
type ControlPanelState struct { // ARN of the control panel. Arn pulumi.StringPtrInput // ARN of the cluster in which this control panel will reside. ClusterArn pulumi.StringPtrInput // Whether a control panel is default. DefaultControlPanel pulumi.BoolPtrInput // Name describing the control panel. Name pulumi.StringPtrInput // Number routing controls in a control panel. RoutingControlCount pulumi.IntPtrInput // Status of control panel: `PENDING` when it is being created/updated, `PENDING_DELETION` when it is being deleted, and `DEPLOYED` otherwise. Status pulumi.StringPtrInput }
func (ControlPanelState) ElementType ¶
func (ControlPanelState) ElementType() reflect.Type
type RoutingControl ¶
type RoutingControl struct { pulumi.CustomResourceState // ARN of the routing control. Arn pulumi.StringOutput `pulumi:"arn"` // ARN of the cluster in which this routing control will reside. ClusterArn pulumi.StringOutput `pulumi:"clusterArn"` // ARN of the control panel in which this routing control will reside. ControlPanelArn pulumi.StringOutput `pulumi:"controlPanelArn"` // The name describing the routing control. // // The following arguments are optional: Name pulumi.StringOutput `pulumi:"name"` // Status of routing control. `PENDING` when it is being created/updated, `PENDING_DELETION` when it is being deleted, and `DEPLOYED` otherwise. Status pulumi.StringOutput `pulumi:"status"` }
Provides an AWS Route 53 Recovery Control Config Routing Control.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53recoverycontrol" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := route53recoverycontrol.NewRoutingControl(ctx, "example", &route53recoverycontrol.RoutingControlArgs{ ClusterArn: pulumi.String("arn:aws:route53-recovery-control::881188118811:cluster/8d47920e-d789-437d-803a-2dcc4b204393"), }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53recoverycontrol" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := route53recoverycontrol.NewRoutingControl(ctx, "example", &route53recoverycontrol.RoutingControlArgs{ ClusterArn: pulumi.String("arn:aws:route53-recovery-control::881188118811:cluster/8d47920e-d789-437d-803a-2dcc4b204393"), ControlPanelArn: pulumi.String("arn:aws:route53-recovery-control::428113431245:controlpanel/abd5fbfc052d4844a082dbf400f61da8"), }) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_route53recoverycontrolconfig_routing_control.mycontrol id = "arn:aws:route53-recovery-control::313517334327:controlpanel/abd5fbfc052d4844a082dbf400f61da8/routingcontrol/d5d90e587870494b" } Using `pulumi import`, import Route53 Recovery Control Config Routing Control using the routing control arn. For exampleconsole % pulumi import aws_route53recoverycontrolconfig_routing_control.mycontrol arn:aws:route53-recovery-control::313517334327:controlpanel/abd5fbfc052d4844a082dbf400f61da8/routingcontrol/d5d90e587870494b
func GetRoutingControl ¶
func GetRoutingControl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RoutingControlState, opts ...pulumi.ResourceOption) (*RoutingControl, error)
GetRoutingControl gets an existing RoutingControl resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRoutingControl ¶
func NewRoutingControl(ctx *pulumi.Context, name string, args *RoutingControlArgs, opts ...pulumi.ResourceOption) (*RoutingControl, error)
NewRoutingControl registers a new resource with the given unique name, arguments, and options.
func (*RoutingControl) ElementType ¶
func (*RoutingControl) ElementType() reflect.Type
func (*RoutingControl) ToRoutingControlOutput ¶
func (i *RoutingControl) ToRoutingControlOutput() RoutingControlOutput
func (*RoutingControl) ToRoutingControlOutputWithContext ¶
func (i *RoutingControl) ToRoutingControlOutputWithContext(ctx context.Context) RoutingControlOutput
type RoutingControlArgs ¶
type RoutingControlArgs struct { // ARN of the cluster in which this routing control will reside. ClusterArn pulumi.StringInput // ARN of the control panel in which this routing control will reside. ControlPanelArn pulumi.StringPtrInput // The name describing the routing control. // // The following arguments are optional: Name pulumi.StringPtrInput }
The set of arguments for constructing a RoutingControl resource.
func (RoutingControlArgs) ElementType ¶
func (RoutingControlArgs) ElementType() reflect.Type
type RoutingControlArray ¶
type RoutingControlArray []RoutingControlInput
func (RoutingControlArray) ElementType ¶
func (RoutingControlArray) ElementType() reflect.Type
func (RoutingControlArray) ToRoutingControlArrayOutput ¶
func (i RoutingControlArray) ToRoutingControlArrayOutput() RoutingControlArrayOutput
func (RoutingControlArray) ToRoutingControlArrayOutputWithContext ¶
func (i RoutingControlArray) ToRoutingControlArrayOutputWithContext(ctx context.Context) RoutingControlArrayOutput
type RoutingControlArrayInput ¶
type RoutingControlArrayInput interface { pulumi.Input ToRoutingControlArrayOutput() RoutingControlArrayOutput ToRoutingControlArrayOutputWithContext(context.Context) RoutingControlArrayOutput }
RoutingControlArrayInput is an input type that accepts RoutingControlArray and RoutingControlArrayOutput values. You can construct a concrete instance of `RoutingControlArrayInput` via:
RoutingControlArray{ RoutingControlArgs{...} }
type RoutingControlArrayOutput ¶
type RoutingControlArrayOutput struct{ *pulumi.OutputState }
func (RoutingControlArrayOutput) ElementType ¶
func (RoutingControlArrayOutput) ElementType() reflect.Type
func (RoutingControlArrayOutput) Index ¶
func (o RoutingControlArrayOutput) Index(i pulumi.IntInput) RoutingControlOutput
func (RoutingControlArrayOutput) ToRoutingControlArrayOutput ¶
func (o RoutingControlArrayOutput) ToRoutingControlArrayOutput() RoutingControlArrayOutput
func (RoutingControlArrayOutput) ToRoutingControlArrayOutputWithContext ¶
func (o RoutingControlArrayOutput) ToRoutingControlArrayOutputWithContext(ctx context.Context) RoutingControlArrayOutput
type RoutingControlInput ¶
type RoutingControlInput interface { pulumi.Input ToRoutingControlOutput() RoutingControlOutput ToRoutingControlOutputWithContext(ctx context.Context) RoutingControlOutput }
type RoutingControlMap ¶
type RoutingControlMap map[string]RoutingControlInput
func (RoutingControlMap) ElementType ¶
func (RoutingControlMap) ElementType() reflect.Type
func (RoutingControlMap) ToRoutingControlMapOutput ¶
func (i RoutingControlMap) ToRoutingControlMapOutput() RoutingControlMapOutput
func (RoutingControlMap) ToRoutingControlMapOutputWithContext ¶
func (i RoutingControlMap) ToRoutingControlMapOutputWithContext(ctx context.Context) RoutingControlMapOutput
type RoutingControlMapInput ¶
type RoutingControlMapInput interface { pulumi.Input ToRoutingControlMapOutput() RoutingControlMapOutput ToRoutingControlMapOutputWithContext(context.Context) RoutingControlMapOutput }
RoutingControlMapInput is an input type that accepts RoutingControlMap and RoutingControlMapOutput values. You can construct a concrete instance of `RoutingControlMapInput` via:
RoutingControlMap{ "key": RoutingControlArgs{...} }
type RoutingControlMapOutput ¶
type RoutingControlMapOutput struct{ *pulumi.OutputState }
func (RoutingControlMapOutput) ElementType ¶
func (RoutingControlMapOutput) ElementType() reflect.Type
func (RoutingControlMapOutput) MapIndex ¶
func (o RoutingControlMapOutput) MapIndex(k pulumi.StringInput) RoutingControlOutput
func (RoutingControlMapOutput) ToRoutingControlMapOutput ¶
func (o RoutingControlMapOutput) ToRoutingControlMapOutput() RoutingControlMapOutput
func (RoutingControlMapOutput) ToRoutingControlMapOutputWithContext ¶
func (o RoutingControlMapOutput) ToRoutingControlMapOutputWithContext(ctx context.Context) RoutingControlMapOutput
type RoutingControlOutput ¶
type RoutingControlOutput struct{ *pulumi.OutputState }
func (RoutingControlOutput) Arn ¶
func (o RoutingControlOutput) Arn() pulumi.StringOutput
ARN of the routing control.
func (RoutingControlOutput) ClusterArn ¶
func (o RoutingControlOutput) ClusterArn() pulumi.StringOutput
ARN of the cluster in which this routing control will reside.
func (RoutingControlOutput) ControlPanelArn ¶
func (o RoutingControlOutput) ControlPanelArn() pulumi.StringOutput
ARN of the control panel in which this routing control will reside.
func (RoutingControlOutput) ElementType ¶
func (RoutingControlOutput) ElementType() reflect.Type
func (RoutingControlOutput) Name ¶
func (o RoutingControlOutput) Name() pulumi.StringOutput
The name describing the routing control.
The following arguments are optional:
func (RoutingControlOutput) Status ¶
func (o RoutingControlOutput) Status() pulumi.StringOutput
Status of routing control. `PENDING` when it is being created/updated, `PENDING_DELETION` when it is being deleted, and `DEPLOYED` otherwise.
func (RoutingControlOutput) ToRoutingControlOutput ¶
func (o RoutingControlOutput) ToRoutingControlOutput() RoutingControlOutput
func (RoutingControlOutput) ToRoutingControlOutputWithContext ¶
func (o RoutingControlOutput) ToRoutingControlOutputWithContext(ctx context.Context) RoutingControlOutput
type RoutingControlState ¶
type RoutingControlState struct { // ARN of the routing control. Arn pulumi.StringPtrInput // ARN of the cluster in which this routing control will reside. ClusterArn pulumi.StringPtrInput // ARN of the control panel in which this routing control will reside. ControlPanelArn pulumi.StringPtrInput // The name describing the routing control. // // The following arguments are optional: Name pulumi.StringPtrInput // Status of routing control. `PENDING` when it is being created/updated, `PENDING_DELETION` when it is being deleted, and `DEPLOYED` otherwise. Status pulumi.StringPtrInput }
func (RoutingControlState) ElementType ¶
func (RoutingControlState) ElementType() reflect.Type
type SafetyRule ¶
type SafetyRule struct { pulumi.CustomResourceState // ARN of the safety rule. Arn pulumi.StringOutput `pulumi:"arn"` // Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. AssertedControls pulumi.StringArrayOutput `pulumi:"assertedControls"` // ARN of the control panel in which this safety rule will reside. ControlPanelArn pulumi.StringOutput `pulumi:"controlPanelArn"` // Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify. GatingControls pulumi.StringArrayOutput `pulumi:"gatingControls"` // Name describing the safety rule. Name pulumi.StringOutput `pulumi:"name"` // Configuration block for safety rule criteria. See below. RuleConfig SafetyRuleRuleConfigOutput `pulumi:"ruleConfig"` // Status of the safety rule. `PENDING` when it is being created/updated, `PENDING_DELETION` when it is being deleted, and `DEPLOYED` otherwise. Status pulumi.StringOutput `pulumi:"status"` // Routing controls that can only be set or unset if the specified `ruleConfig` evaluates to true for the specified `gatingControls`. TargetControls pulumi.StringArrayOutput `pulumi:"targetControls"` // Evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. // // The following arguments are optional: WaitPeriodMs pulumi.IntOutput `pulumi:"waitPeriodMs"` }
Provides an AWS Route 53 Recovery Control Config Safety Rule
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53recoverycontrol" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := route53recoverycontrol.NewSafetyRule(ctx, "example", &route53recoverycontrol.SafetyRuleArgs{ AssertedControls: pulumi.StringArray{ aws_route53recoverycontrolconfig_routing_control.Example.Arn, }, ControlPanelArn: pulumi.String("arn:aws:route53-recovery-control::313517334327:controlpanel/abd5fbfc052d4844a082dbf400f61da8"), WaitPeriodMs: pulumi.Int(5000), RuleConfig: &route53recoverycontrol.SafetyRuleRuleConfigArgs{ Inverted: pulumi.Bool(false), Threshold: pulumi.Int(1), Type: pulumi.String("ATLEAST"), }, }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53recoverycontrol" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := route53recoverycontrol.NewSafetyRule(ctx, "example", &route53recoverycontrol.SafetyRuleArgs{ ControlPanelArn: pulumi.String("arn:aws:route53-recovery-control::313517334327:controlpanel/abd5fbfc052d4844a082dbf400f61da8"), WaitPeriodMs: pulumi.Int(5000), GatingControls: pulumi.StringArray{ aws_route53recoverycontrolconfig_routing_control.Example.Arn, }, TargetControls: pulumi.StringArray{ aws_route53recoverycontrolconfig_routing_control.Example.Arn, }, RuleConfig: &route53recoverycontrol.SafetyRuleRuleConfigArgs{ Inverted: pulumi.Bool(false), Threshold: pulumi.Int(1), Type: pulumi.String("ATLEAST"), }, }) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_route53recoverycontrolconfig_safety_rule.myrule id = "arn:aws:route53-recovery-control::313517334327:controlpanel/1bfba17df8684f5dab0467b71424f7e8/safetyrule/3bacc77003364c0f" } Using `pulumi import`, import Route53 Recovery Control Config Safety Rule using the safety rule ARN. For exampleconsole % pulumi import aws_route53recoverycontrolconfig_safety_rule.myrule arn:aws:route53-recovery-control::313517334327:controlpanel/1bfba17df8684f5dab0467b71424f7e8/safetyrule/3bacc77003364c0f
func GetSafetyRule ¶
func GetSafetyRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SafetyRuleState, opts ...pulumi.ResourceOption) (*SafetyRule, error)
GetSafetyRule gets an existing SafetyRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSafetyRule ¶
func NewSafetyRule(ctx *pulumi.Context, name string, args *SafetyRuleArgs, opts ...pulumi.ResourceOption) (*SafetyRule, error)
NewSafetyRule registers a new resource with the given unique name, arguments, and options.
func (*SafetyRule) ElementType ¶
func (*SafetyRule) ElementType() reflect.Type
func (*SafetyRule) ToSafetyRuleOutput ¶
func (i *SafetyRule) ToSafetyRuleOutput() SafetyRuleOutput
func (*SafetyRule) ToSafetyRuleOutputWithContext ¶
func (i *SafetyRule) ToSafetyRuleOutputWithContext(ctx context.Context) SafetyRuleOutput
type SafetyRuleArgs ¶
type SafetyRuleArgs struct { // Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. AssertedControls pulumi.StringArrayInput // ARN of the control panel in which this safety rule will reside. ControlPanelArn pulumi.StringInput // Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify. GatingControls pulumi.StringArrayInput // Name describing the safety rule. Name pulumi.StringPtrInput // Configuration block for safety rule criteria. See below. RuleConfig SafetyRuleRuleConfigInput // Routing controls that can only be set or unset if the specified `ruleConfig` evaluates to true for the specified `gatingControls`. TargetControls pulumi.StringArrayInput // Evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. // // The following arguments are optional: WaitPeriodMs pulumi.IntInput }
The set of arguments for constructing a SafetyRule resource.
func (SafetyRuleArgs) ElementType ¶
func (SafetyRuleArgs) ElementType() reflect.Type
type SafetyRuleArray ¶
type SafetyRuleArray []SafetyRuleInput
func (SafetyRuleArray) ElementType ¶
func (SafetyRuleArray) ElementType() reflect.Type
func (SafetyRuleArray) ToSafetyRuleArrayOutput ¶
func (i SafetyRuleArray) ToSafetyRuleArrayOutput() SafetyRuleArrayOutput
func (SafetyRuleArray) ToSafetyRuleArrayOutputWithContext ¶
func (i SafetyRuleArray) ToSafetyRuleArrayOutputWithContext(ctx context.Context) SafetyRuleArrayOutput
type SafetyRuleArrayInput ¶
type SafetyRuleArrayInput interface { pulumi.Input ToSafetyRuleArrayOutput() SafetyRuleArrayOutput ToSafetyRuleArrayOutputWithContext(context.Context) SafetyRuleArrayOutput }
SafetyRuleArrayInput is an input type that accepts SafetyRuleArray and SafetyRuleArrayOutput values. You can construct a concrete instance of `SafetyRuleArrayInput` via:
SafetyRuleArray{ SafetyRuleArgs{...} }
type SafetyRuleArrayOutput ¶
type SafetyRuleArrayOutput struct{ *pulumi.OutputState }
func (SafetyRuleArrayOutput) ElementType ¶
func (SafetyRuleArrayOutput) ElementType() reflect.Type
func (SafetyRuleArrayOutput) Index ¶
func (o SafetyRuleArrayOutput) Index(i pulumi.IntInput) SafetyRuleOutput
func (SafetyRuleArrayOutput) ToSafetyRuleArrayOutput ¶
func (o SafetyRuleArrayOutput) ToSafetyRuleArrayOutput() SafetyRuleArrayOutput
func (SafetyRuleArrayOutput) ToSafetyRuleArrayOutputWithContext ¶
func (o SafetyRuleArrayOutput) ToSafetyRuleArrayOutputWithContext(ctx context.Context) SafetyRuleArrayOutput
type SafetyRuleInput ¶
type SafetyRuleInput interface { pulumi.Input ToSafetyRuleOutput() SafetyRuleOutput ToSafetyRuleOutputWithContext(ctx context.Context) SafetyRuleOutput }
type SafetyRuleMap ¶
type SafetyRuleMap map[string]SafetyRuleInput
func (SafetyRuleMap) ElementType ¶
func (SafetyRuleMap) ElementType() reflect.Type
func (SafetyRuleMap) ToSafetyRuleMapOutput ¶
func (i SafetyRuleMap) ToSafetyRuleMapOutput() SafetyRuleMapOutput
func (SafetyRuleMap) ToSafetyRuleMapOutputWithContext ¶
func (i SafetyRuleMap) ToSafetyRuleMapOutputWithContext(ctx context.Context) SafetyRuleMapOutput
type SafetyRuleMapInput ¶
type SafetyRuleMapInput interface { pulumi.Input ToSafetyRuleMapOutput() SafetyRuleMapOutput ToSafetyRuleMapOutputWithContext(context.Context) SafetyRuleMapOutput }
SafetyRuleMapInput is an input type that accepts SafetyRuleMap and SafetyRuleMapOutput values. You can construct a concrete instance of `SafetyRuleMapInput` via:
SafetyRuleMap{ "key": SafetyRuleArgs{...} }
type SafetyRuleMapOutput ¶
type SafetyRuleMapOutput struct{ *pulumi.OutputState }
func (SafetyRuleMapOutput) ElementType ¶
func (SafetyRuleMapOutput) ElementType() reflect.Type
func (SafetyRuleMapOutput) MapIndex ¶
func (o SafetyRuleMapOutput) MapIndex(k pulumi.StringInput) SafetyRuleOutput
func (SafetyRuleMapOutput) ToSafetyRuleMapOutput ¶
func (o SafetyRuleMapOutput) ToSafetyRuleMapOutput() SafetyRuleMapOutput
func (SafetyRuleMapOutput) ToSafetyRuleMapOutputWithContext ¶
func (o SafetyRuleMapOutput) ToSafetyRuleMapOutputWithContext(ctx context.Context) SafetyRuleMapOutput
type SafetyRuleOutput ¶
type SafetyRuleOutput struct{ *pulumi.OutputState }
func (SafetyRuleOutput) Arn ¶
func (o SafetyRuleOutput) Arn() pulumi.StringOutput
ARN of the safety rule.
func (SafetyRuleOutput) AssertedControls ¶
func (o SafetyRuleOutput) AssertedControls() pulumi.StringArrayOutput
Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed.
func (SafetyRuleOutput) ControlPanelArn ¶
func (o SafetyRuleOutput) ControlPanelArn() pulumi.StringOutput
ARN of the control panel in which this safety rule will reside.
func (SafetyRuleOutput) ElementType ¶
func (SafetyRuleOutput) ElementType() reflect.Type
func (SafetyRuleOutput) GatingControls ¶
func (o SafetyRuleOutput) GatingControls() pulumi.StringArrayOutput
Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify.
func (SafetyRuleOutput) Name ¶
func (o SafetyRuleOutput) Name() pulumi.StringOutput
Name describing the safety rule.
func (SafetyRuleOutput) RuleConfig ¶
func (o SafetyRuleOutput) RuleConfig() SafetyRuleRuleConfigOutput
Configuration block for safety rule criteria. See below.
func (SafetyRuleOutput) Status ¶
func (o SafetyRuleOutput) Status() pulumi.StringOutput
Status of the safety rule. `PENDING` when it is being created/updated, `PENDING_DELETION` when it is being deleted, and `DEPLOYED` otherwise.
func (SafetyRuleOutput) TargetControls ¶
func (o SafetyRuleOutput) TargetControls() pulumi.StringArrayOutput
Routing controls that can only be set or unset if the specified `ruleConfig` evaluates to true for the specified `gatingControls`.
func (SafetyRuleOutput) ToSafetyRuleOutput ¶
func (o SafetyRuleOutput) ToSafetyRuleOutput() SafetyRuleOutput
func (SafetyRuleOutput) ToSafetyRuleOutputWithContext ¶
func (o SafetyRuleOutput) ToSafetyRuleOutputWithContext(ctx context.Context) SafetyRuleOutput
func (SafetyRuleOutput) WaitPeriodMs ¶
func (o SafetyRuleOutput) WaitPeriodMs() pulumi.IntOutput
Evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail.
The following arguments are optional:
type SafetyRuleRuleConfig ¶
type SafetyRuleRuleConfig struct { // Logical negation of the rule. Inverted bool `pulumi:"inverted"` // Number of controls that must be set when you specify an `ATLEAST` type rule. Threshold int `pulumi:"threshold"` // Rule type. Valid values are `ATLEAST`, `AND`, and `OR`. Type string `pulumi:"type"` }
type SafetyRuleRuleConfigArgs ¶
type SafetyRuleRuleConfigArgs struct { // Logical negation of the rule. Inverted pulumi.BoolInput `pulumi:"inverted"` // Number of controls that must be set when you specify an `ATLEAST` type rule. Threshold pulumi.IntInput `pulumi:"threshold"` // Rule type. Valid values are `ATLEAST`, `AND`, and `OR`. Type pulumi.StringInput `pulumi:"type"` }
func (SafetyRuleRuleConfigArgs) ElementType ¶
func (SafetyRuleRuleConfigArgs) ElementType() reflect.Type
func (SafetyRuleRuleConfigArgs) ToSafetyRuleRuleConfigOutput ¶
func (i SafetyRuleRuleConfigArgs) ToSafetyRuleRuleConfigOutput() SafetyRuleRuleConfigOutput
func (SafetyRuleRuleConfigArgs) ToSafetyRuleRuleConfigOutputWithContext ¶
func (i SafetyRuleRuleConfigArgs) ToSafetyRuleRuleConfigOutputWithContext(ctx context.Context) SafetyRuleRuleConfigOutput
func (SafetyRuleRuleConfigArgs) ToSafetyRuleRuleConfigPtrOutput ¶
func (i SafetyRuleRuleConfigArgs) ToSafetyRuleRuleConfigPtrOutput() SafetyRuleRuleConfigPtrOutput
func (SafetyRuleRuleConfigArgs) ToSafetyRuleRuleConfigPtrOutputWithContext ¶
func (i SafetyRuleRuleConfigArgs) ToSafetyRuleRuleConfigPtrOutputWithContext(ctx context.Context) SafetyRuleRuleConfigPtrOutput
type SafetyRuleRuleConfigInput ¶
type SafetyRuleRuleConfigInput interface { pulumi.Input ToSafetyRuleRuleConfigOutput() SafetyRuleRuleConfigOutput ToSafetyRuleRuleConfigOutputWithContext(context.Context) SafetyRuleRuleConfigOutput }
SafetyRuleRuleConfigInput is an input type that accepts SafetyRuleRuleConfigArgs and SafetyRuleRuleConfigOutput values. You can construct a concrete instance of `SafetyRuleRuleConfigInput` via:
SafetyRuleRuleConfigArgs{...}
type SafetyRuleRuleConfigOutput ¶
type SafetyRuleRuleConfigOutput struct{ *pulumi.OutputState }
func (SafetyRuleRuleConfigOutput) ElementType ¶
func (SafetyRuleRuleConfigOutput) ElementType() reflect.Type
func (SafetyRuleRuleConfigOutput) Inverted ¶
func (o SafetyRuleRuleConfigOutput) Inverted() pulumi.BoolOutput
Logical negation of the rule.
func (SafetyRuleRuleConfigOutput) Threshold ¶
func (o SafetyRuleRuleConfigOutput) Threshold() pulumi.IntOutput
Number of controls that must be set when you specify an `ATLEAST` type rule.
func (SafetyRuleRuleConfigOutput) ToSafetyRuleRuleConfigOutput ¶
func (o SafetyRuleRuleConfigOutput) ToSafetyRuleRuleConfigOutput() SafetyRuleRuleConfigOutput
func (SafetyRuleRuleConfigOutput) ToSafetyRuleRuleConfigOutputWithContext ¶
func (o SafetyRuleRuleConfigOutput) ToSafetyRuleRuleConfigOutputWithContext(ctx context.Context) SafetyRuleRuleConfigOutput
func (SafetyRuleRuleConfigOutput) ToSafetyRuleRuleConfigPtrOutput ¶
func (o SafetyRuleRuleConfigOutput) ToSafetyRuleRuleConfigPtrOutput() SafetyRuleRuleConfigPtrOutput
func (SafetyRuleRuleConfigOutput) ToSafetyRuleRuleConfigPtrOutputWithContext ¶
func (o SafetyRuleRuleConfigOutput) ToSafetyRuleRuleConfigPtrOutputWithContext(ctx context.Context) SafetyRuleRuleConfigPtrOutput
func (SafetyRuleRuleConfigOutput) Type ¶
func (o SafetyRuleRuleConfigOutput) Type() pulumi.StringOutput
Rule type. Valid values are `ATLEAST`, `AND`, and `OR`.
type SafetyRuleRuleConfigPtrInput ¶
type SafetyRuleRuleConfigPtrInput interface { pulumi.Input ToSafetyRuleRuleConfigPtrOutput() SafetyRuleRuleConfigPtrOutput ToSafetyRuleRuleConfigPtrOutputWithContext(context.Context) SafetyRuleRuleConfigPtrOutput }
SafetyRuleRuleConfigPtrInput is an input type that accepts SafetyRuleRuleConfigArgs, SafetyRuleRuleConfigPtr and SafetyRuleRuleConfigPtrOutput values. You can construct a concrete instance of `SafetyRuleRuleConfigPtrInput` via:
SafetyRuleRuleConfigArgs{...} or: nil
func SafetyRuleRuleConfigPtr ¶
func SafetyRuleRuleConfigPtr(v *SafetyRuleRuleConfigArgs) SafetyRuleRuleConfigPtrInput
type SafetyRuleRuleConfigPtrOutput ¶
type SafetyRuleRuleConfigPtrOutput struct{ *pulumi.OutputState }
func (SafetyRuleRuleConfigPtrOutput) Elem ¶
func (o SafetyRuleRuleConfigPtrOutput) Elem() SafetyRuleRuleConfigOutput
func (SafetyRuleRuleConfigPtrOutput) ElementType ¶
func (SafetyRuleRuleConfigPtrOutput) ElementType() reflect.Type
func (SafetyRuleRuleConfigPtrOutput) Inverted ¶
func (o SafetyRuleRuleConfigPtrOutput) Inverted() pulumi.BoolPtrOutput
Logical negation of the rule.
func (SafetyRuleRuleConfigPtrOutput) Threshold ¶
func (o SafetyRuleRuleConfigPtrOutput) Threshold() pulumi.IntPtrOutput
Number of controls that must be set when you specify an `ATLEAST` type rule.
func (SafetyRuleRuleConfigPtrOutput) ToSafetyRuleRuleConfigPtrOutput ¶
func (o SafetyRuleRuleConfigPtrOutput) ToSafetyRuleRuleConfigPtrOutput() SafetyRuleRuleConfigPtrOutput
func (SafetyRuleRuleConfigPtrOutput) ToSafetyRuleRuleConfigPtrOutputWithContext ¶
func (o SafetyRuleRuleConfigPtrOutput) ToSafetyRuleRuleConfigPtrOutputWithContext(ctx context.Context) SafetyRuleRuleConfigPtrOutput
func (SafetyRuleRuleConfigPtrOutput) Type ¶
func (o SafetyRuleRuleConfigPtrOutput) Type() pulumi.StringPtrOutput
Rule type. Valid values are `ATLEAST`, `AND`, and `OR`.
type SafetyRuleState ¶
type SafetyRuleState struct { // ARN of the safety rule. Arn pulumi.StringPtrInput // Routing controls that are part of transactions that are evaluated to determine if a request to change a routing control state is allowed. AssertedControls pulumi.StringArrayInput // ARN of the control panel in which this safety rule will reside. ControlPanelArn pulumi.StringPtrInput // Gating controls for the new gating rule. That is, routing controls that are evaluated by the rule configuration that you specify. GatingControls pulumi.StringArrayInput // Name describing the safety rule. Name pulumi.StringPtrInput // Configuration block for safety rule criteria. See below. RuleConfig SafetyRuleRuleConfigPtrInput // Status of the safety rule. `PENDING` when it is being created/updated, `PENDING_DELETION` when it is being deleted, and `DEPLOYED` otherwise. Status pulumi.StringPtrInput // Routing controls that can only be set or unset if the specified `ruleConfig` evaluates to true for the specified `gatingControls`. TargetControls pulumi.StringArrayInput // Evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. // // The following arguments are optional: WaitPeriodMs pulumi.IntPtrInput }
func (SafetyRuleState) ElementType ¶
func (SafetyRuleState) ElementType() reflect.Type