aws logo
AWS Classic v5.32.0, Mar 17 23

aws.route53recoverycontrol.ControlPanel

Provides an AWS Route 53 Recovery Control Config Control Panel.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.Route53RecoveryControl.ControlPanel("example", new()
    {
        ClusterArn = "arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393",
    });

});
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v5/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
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.route53recoverycontrol.ControlPanel;
import com.pulumi.aws.route53recoverycontrol.ControlPanelArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new ControlPanel("example", ControlPanelArgs.builder()        
            .clusterArn("arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393")
            .build());

    }
}
import pulumi
import pulumi_aws as aws

example = aws.route53recoverycontrol.ControlPanel("example", cluster_arn="arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.route53recoverycontrol.ControlPanel("example", {clusterArn: "arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393"});
resources:
  example:
    type: aws:route53recoverycontrol:ControlPanel
    properties:
      clusterArn: arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393

Create ControlPanel Resource

new ControlPanel(name: string, args: ControlPanelArgs, opts?: CustomResourceOptions);
@overload
def ControlPanel(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 cluster_arn: Optional[str] = None,
                 name: Optional[str] = None)
@overload
def ControlPanel(resource_name: str,
                 args: ControlPanelArgs,
                 opts: Optional[ResourceOptions] = None)
func NewControlPanel(ctx *Context, name string, args ControlPanelArgs, opts ...ResourceOption) (*ControlPanel, error)
public ControlPanel(string name, ControlPanelArgs args, CustomResourceOptions? opts = null)
public ControlPanel(String name, ControlPanelArgs args)
public ControlPanel(String name, ControlPanelArgs args, CustomResourceOptions options)
type: aws:route53recoverycontrol:ControlPanel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ControlPanelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ControlPanelArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ControlPanelArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ControlPanelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ControlPanelArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ControlPanel Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ControlPanel resource accepts the following input properties:

ClusterArn string

ARN of the cluster in which this control panel will reside.

Name string

Name describing the control panel.

ClusterArn string

ARN of the cluster in which this control panel will reside.

Name string

Name describing the control panel.

clusterArn String

ARN of the cluster in which this control panel will reside.

name String

Name describing the control panel.

clusterArn string

ARN of the cluster in which this control panel will reside.

name string

Name describing the control panel.

cluster_arn str

ARN of the cluster in which this control panel will reside.

name str

Name describing the control panel.

clusterArn String

ARN of the cluster in which this control panel will reside.

name String

Name describing the control panel.

Outputs

All input properties are implicitly available as output properties. Additionally, the ControlPanel resource produces the following output properties:

Arn string

ARN of the control panel.

DefaultControlPanel bool

Whether a control panel is default.

Id string

The provider-assigned unique ID for this managed resource.

RoutingControlCount int

Number routing controls in a control panel.

Status string

Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.

Arn string

ARN of the control panel.

DefaultControlPanel bool

Whether a control panel is default.

Id string

The provider-assigned unique ID for this managed resource.

RoutingControlCount int

Number routing controls in a control panel.

Status string

Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.

arn String

ARN of the control panel.

defaultControlPanel Boolean

Whether a control panel is default.

id String

The provider-assigned unique ID for this managed resource.

routingControlCount Integer

Number routing controls in a control panel.

status String

Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.

arn string

ARN of the control panel.

defaultControlPanel boolean

Whether a control panel is default.

id string

The provider-assigned unique ID for this managed resource.

routingControlCount number

Number routing controls in a control panel.

status string

Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.

arn str

ARN of the control panel.

default_control_panel bool

Whether a control panel is default.

id str

The provider-assigned unique ID for this managed resource.

routing_control_count int

Number routing controls in a control panel.

status str

Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.

arn String

ARN of the control panel.

defaultControlPanel Boolean

Whether a control panel is default.

id String

The provider-assigned unique ID for this managed resource.

routingControlCount Number

Number routing controls in a control panel.

status String

Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.

Look up Existing ControlPanel Resource

Get an existing ControlPanel resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ControlPanelState, opts?: CustomResourceOptions): ControlPanel
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        cluster_arn: Optional[str] = None,
        default_control_panel: Optional[bool] = None,
        name: Optional[str] = None,
        routing_control_count: Optional[int] = None,
        status: Optional[str] = None) -> ControlPanel
func GetControlPanel(ctx *Context, name string, id IDInput, state *ControlPanelState, opts ...ResourceOption) (*ControlPanel, error)
public static ControlPanel Get(string name, Input<string> id, ControlPanelState? state, CustomResourceOptions? opts = null)
public static ControlPanel get(String name, Output<String> id, ControlPanelState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Arn string

ARN of the control panel.

ClusterArn string

ARN of the cluster in which this control panel will reside.

DefaultControlPanel bool

Whether a control panel is default.

Name string

Name describing the control panel.

RoutingControlCount int

Number routing controls in a control panel.

Status string

Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.

Arn string

ARN of the control panel.

ClusterArn string

ARN of the cluster in which this control panel will reside.

DefaultControlPanel bool

Whether a control panel is default.

Name string

Name describing the control panel.

RoutingControlCount int

Number routing controls in a control panel.

Status string

Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.

arn String

ARN of the control panel.

clusterArn String

ARN of the cluster in which this control panel will reside.

defaultControlPanel Boolean

Whether a control panel is default.

name String

Name describing the control panel.

routingControlCount Integer

Number routing controls in a control panel.

status String

Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.

arn string

ARN of the control panel.

clusterArn string

ARN of the cluster in which this control panel will reside.

defaultControlPanel boolean

Whether a control panel is default.

name string

Name describing the control panel.

routingControlCount number

Number routing controls in a control panel.

status string

Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.

arn str

ARN of the control panel.

cluster_arn str

ARN of the cluster in which this control panel will reside.

default_control_panel bool

Whether a control panel is default.

name str

Name describing the control panel.

routing_control_count int

Number routing controls in a control panel.

status str

Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.

arn String

ARN of the control panel.

clusterArn String

ARN of the cluster in which this control panel will reside.

defaultControlPanel Boolean

Whether a control panel is default.

name String

Name describing the control panel.

routingControlCount Number

Number routing controls in a control panel.

status String

Status of control panel: PENDING when it is being created/updated, PENDING_DELETION when it is being deleted, and DEPLOYED otherwise.

Import

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

 $ pulumi import aws:route53recoverycontrol/controlPanel:ControlPanel mypanel arn:aws:route53-recovery-control::313517334327:controlpanel/1bfba17df8684f5dab0467b71424f7e8

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.