1. Packages
  2. AWS
  3. API Docs
  4. route53recoverycontrol
  5. ControlPanel
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.route53recoverycontrol.ControlPanel

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Provides an AWS Route 53 Recovery Control Config Control Panel.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.route53recoverycontrol.ControlPanel("example", {
        name: "balmorhea",
        clusterArn: "arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.route53recoverycontrol.ControlPanel("example",
        name="balmorhea",
        cluster_arn="arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393")
    
    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{
    			Name:       pulumi.String("balmorhea"),
    			ClusterArn: pulumi.String("arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Route53RecoveryControl.ControlPanel("example", new()
        {
            Name = "balmorhea",
            ClusterArn = "arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393",
        });
    
    });
    
    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()
                .name("balmorhea")
                .clusterArn("arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:route53recoverycontrol:ControlPanel
        properties:
          name: balmorhea
          clusterArn: arn:aws:route53-recovery-control::123456789012:cluster/8d47920e-d789-437d-803a-2dcc4b204393
    

    Create ControlPanel Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ControlPanel(name: string, args: ControlPanelArgs, opts?: CustomResourceOptions);
    @overload
    def ControlPanel(resource_name: str,
                     args: ControlPanelArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ControlPanel(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     cluster_arn: Optional[str] = None,
                     name: Optional[str] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var controlPanelResource = new Aws.Route53RecoveryControl.ControlPanel("controlPanelResource", new()
    {
        ClusterArn = "string",
        Name = "string",
    });
    
    example, err := route53recoverycontrol.NewControlPanel(ctx, "controlPanelResource", &route53recoverycontrol.ControlPanelArgs{
    	ClusterArn: pulumi.String("string"),
    	Name:       pulumi.String("string"),
    })
    
    var controlPanelResource = new ControlPanel("controlPanelResource", ControlPanelArgs.builder()
        .clusterArn("string")
        .name("string")
        .build());
    
    control_panel_resource = aws.route53recoverycontrol.ControlPanel("controlPanelResource",
        cluster_arn="string",
        name="string")
    
    const controlPanelResource = new aws.route53recoverycontrol.ControlPanel("controlPanelResource", {
        clusterArn: "string",
        name: "string",
    });
    
    type: aws:route53recoverycontrol:ControlPanel
    properties:
        clusterArn: string
        name: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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

    Using pulumi import, import Route53 Recovery Control Config Control Panel using the control panel arn. For example:

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi