route53recoverycontrol

package
v4.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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/v4/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

Route53 Recovery Control Config cluster can be imported via the cluster ARN, e.g.

```sh

$ pulumi import aws:route53recoverycontrol/cluster: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) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (*Cluster) ToClusterPtrOutput

func (i *Cluster) ToClusterPtrOutput() ClusterPtrOutput

func (*Cluster) ToClusterPtrOutputWithContext

func (i *Cluster) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

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 (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterClusterEndpoint

type ClusterClusterEndpoint struct {
	// Cluster endpoint.
	Endpoint *string `pulumi:"endpoint"`
	// Region of the endpoint.
	Region *string `pulumi:"region"`
}

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) 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) Index

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) Endpoint

Cluster endpoint.

func (ClusterClusterEndpointOutput) Region

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 (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) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) ToClusterPtrOutput

func (o ClusterOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterOutput) ToClusterPtrOutputWithContext

func (o ClusterOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

type ClusterPtrInput

type ClusterPtrInput interface {
	pulumi.Input

	ToClusterPtrOutput() ClusterPtrOutput
	ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput
}

type ClusterPtrOutput

type ClusterPtrOutput struct{ *pulumi.OutputState }

func (ClusterPtrOutput) Elem

func (ClusterPtrOutput) ElementType

func (ClusterPtrOutput) ElementType() reflect.Type

func (ClusterPtrOutput) ToClusterPtrOutput

func (o ClusterPtrOutput) ToClusterPtrOutput() ClusterPtrOutput

func (ClusterPtrOutput) ToClusterPtrOutputWithContext

func (o ClusterPtrOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput

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/v4/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

Route53 Recovery Control Config Control Panel can be imported via the control panel arn, e.g.

```sh

$ pulumi import aws:route53recoverycontrol/controlPanel:ControlPanel 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

func (*ControlPanel) ToControlPanelPtrOutput

func (i *ControlPanel) ToControlPanelPtrOutput() ControlPanelPtrOutput

func (*ControlPanel) ToControlPanelPtrOutputWithContext

func (i *ControlPanel) ToControlPanelPtrOutputWithContext(ctx context.Context) ControlPanelPtrOutput

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 (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 (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) ElementType

func (ControlPanelOutput) ElementType() reflect.Type

func (ControlPanelOutput) ToControlPanelOutput

func (o ControlPanelOutput) ToControlPanelOutput() ControlPanelOutput

func (ControlPanelOutput) ToControlPanelOutputWithContext

func (o ControlPanelOutput) ToControlPanelOutputWithContext(ctx context.Context) ControlPanelOutput

func (ControlPanelOutput) ToControlPanelPtrOutput

func (o ControlPanelOutput) ToControlPanelPtrOutput() ControlPanelPtrOutput

func (ControlPanelOutput) ToControlPanelPtrOutputWithContext

func (o ControlPanelOutput) ToControlPanelPtrOutputWithContext(ctx context.Context) ControlPanelPtrOutput

type ControlPanelPtrInput

type ControlPanelPtrInput interface {
	pulumi.Input

	ToControlPanelPtrOutput() ControlPanelPtrOutput
	ToControlPanelPtrOutputWithContext(ctx context.Context) ControlPanelPtrOutput
}

type ControlPanelPtrOutput

type ControlPanelPtrOutput struct{ *pulumi.OutputState }

func (ControlPanelPtrOutput) Elem

func (ControlPanelPtrOutput) ElementType

func (ControlPanelPtrOutput) ElementType() reflect.Type

func (ControlPanelPtrOutput) ToControlPanelPtrOutput

func (o ControlPanelPtrOutput) ToControlPanelPtrOutput() ControlPanelPtrOutput

func (ControlPanelPtrOutput) ToControlPanelPtrOutputWithContext

func (o ControlPanelPtrOutput) ToControlPanelPtrOutputWithContext(ctx context.Context) ControlPanelPtrOutput

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.
	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/v4/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/v4/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

Route53 Recovery Control Config Routing Control can be imported via the routing control arn, e.g.

```sh

$ pulumi import aws:route53recoverycontrol/routingControl:RoutingControl 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

func (*RoutingControl) ToRoutingControlPtrOutput

func (i *RoutingControl) ToRoutingControlPtrOutput() RoutingControlPtrOutput

func (*RoutingControl) ToRoutingControlPtrOutputWithContext

func (i *RoutingControl) ToRoutingControlPtrOutputWithContext(ctx context.Context) RoutingControlPtrOutput

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.
	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 (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 (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) ElementType

func (RoutingControlOutput) ElementType() reflect.Type

func (RoutingControlOutput) ToRoutingControlOutput

func (o RoutingControlOutput) ToRoutingControlOutput() RoutingControlOutput

func (RoutingControlOutput) ToRoutingControlOutputWithContext

func (o RoutingControlOutput) ToRoutingControlOutputWithContext(ctx context.Context) RoutingControlOutput

func (RoutingControlOutput) ToRoutingControlPtrOutput

func (o RoutingControlOutput) ToRoutingControlPtrOutput() RoutingControlPtrOutput

func (RoutingControlOutput) ToRoutingControlPtrOutputWithContext

func (o RoutingControlOutput) ToRoutingControlPtrOutputWithContext(ctx context.Context) RoutingControlPtrOutput

type RoutingControlPtrInput

type RoutingControlPtrInput interface {
	pulumi.Input

	ToRoutingControlPtrOutput() RoutingControlPtrOutput
	ToRoutingControlPtrOutputWithContext(ctx context.Context) RoutingControlPtrOutput
}

type RoutingControlPtrOutput

type RoutingControlPtrOutput struct{ *pulumi.OutputState }

func (RoutingControlPtrOutput) Elem

func (RoutingControlPtrOutput) ElementType

func (RoutingControlPtrOutput) ElementType() reflect.Type

func (RoutingControlPtrOutput) ToRoutingControlPtrOutput

func (o RoutingControlPtrOutput) ToRoutingControlPtrOutput() RoutingControlPtrOutput

func (RoutingControlPtrOutput) ToRoutingControlPtrOutputWithContext

func (o RoutingControlPtrOutput) ToRoutingControlPtrOutputWithContext(ctx context.Context) RoutingControlPtrOutput

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.
	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.
	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/v4/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{
				pulumi.Any(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/v4/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{
				pulumi.Any(aws_route53recoverycontrolconfig_routing_control.Example.Arn),
			},
			TargetControls: pulumi.StringArray{
				pulumi.Any(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

Route53 Recovery Control Config Safety Rule can be imported via the safety rule ARN, e.g.

```sh

$ pulumi import aws:route53recoverycontrol/safetyRule:SafetyRule 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

func (*SafetyRule) ToSafetyRulePtrOutput

func (i *SafetyRule) ToSafetyRulePtrOutput() SafetyRulePtrOutput

func (*SafetyRule) ToSafetyRulePtrOutputWithContext

func (i *SafetyRule) ToSafetyRulePtrOutputWithContext(ctx context.Context) SafetyRulePtrOutput

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.
	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 (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 (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) ElementType

func (SafetyRuleOutput) ElementType() reflect.Type

func (SafetyRuleOutput) ToSafetyRuleOutput

func (o SafetyRuleOutput) ToSafetyRuleOutput() SafetyRuleOutput

func (SafetyRuleOutput) ToSafetyRuleOutputWithContext

func (o SafetyRuleOutput) ToSafetyRuleOutputWithContext(ctx context.Context) SafetyRuleOutput

func (SafetyRuleOutput) ToSafetyRulePtrOutput

func (o SafetyRuleOutput) ToSafetyRulePtrOutput() SafetyRulePtrOutput

func (SafetyRuleOutput) ToSafetyRulePtrOutputWithContext

func (o SafetyRuleOutput) ToSafetyRulePtrOutputWithContext(ctx context.Context) SafetyRulePtrOutput

type SafetyRulePtrInput

type SafetyRulePtrInput interface {
	pulumi.Input

	ToSafetyRulePtrOutput() SafetyRulePtrOutput
	ToSafetyRulePtrOutputWithContext(ctx context.Context) SafetyRulePtrOutput
}

type SafetyRulePtrOutput

type SafetyRulePtrOutput struct{ *pulumi.OutputState }

func (SafetyRulePtrOutput) Elem

func (SafetyRulePtrOutput) ElementType

func (SafetyRulePtrOutput) ElementType() reflect.Type

func (SafetyRulePtrOutput) ToSafetyRulePtrOutput

func (o SafetyRulePtrOutput) ToSafetyRulePtrOutput() SafetyRulePtrOutput

func (SafetyRulePtrOutput) ToSafetyRulePtrOutputWithContext

func (o SafetyRulePtrOutput) ToSafetyRulePtrOutputWithContext(ctx context.Context) SafetyRulePtrOutput

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

Logical negation of the rule.

func (SafetyRuleRuleConfigOutput) Threshold

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

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

type SafetyRuleRuleConfigPtrOutput

type SafetyRuleRuleConfigPtrOutput struct{ *pulumi.OutputState }

func (SafetyRuleRuleConfigPtrOutput) Elem

func (SafetyRuleRuleConfigPtrOutput) ElementType

func (SafetyRuleRuleConfigPtrOutput) Inverted

Logical negation of the rule.

func (SafetyRuleRuleConfigPtrOutput) Threshold

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

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.
	WaitPeriodMs pulumi.IntPtrInput
}

func (SafetyRuleState) ElementType

func (SafetyRuleState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL