1. Packages
  2. AWS Classic
  3. API Docs
  4. route53recoveryreadiness
  5. Cell

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.route53recoveryreadiness.Cell

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Provides an AWS Route 53 Recovery Readiness Cell.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.route53recoveryreadiness.Cell("example", {cellName: "us-west-2-failover-cell"});
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.route53recoveryreadiness.Cell("example", cell_name="us-west-2-failover-cell")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53recoveryreadiness"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := route53recoveryreadiness.NewCell(ctx, "example", &route53recoveryreadiness.CellArgs{
    			CellName: pulumi.String("us-west-2-failover-cell"),
    		})
    		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.Route53RecoveryReadiness.Cell("example", new()
        {
            CellName = "us-west-2-failover-cell",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.route53recoveryreadiness.Cell;
    import com.pulumi.aws.route53recoveryreadiness.CellArgs;
    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 Cell("example", CellArgs.builder()
                .cellName("us-west-2-failover-cell")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:route53recoveryreadiness:Cell
        properties:
          cellName: us-west-2-failover-cell
    

    Create Cell Resource

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

    Constructor syntax

    new Cell(name: string, args: CellArgs, opts?: CustomResourceOptions);
    @overload
    def Cell(resource_name: str,
             args: CellArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Cell(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             cell_name: Optional[str] = None,
             cells: Optional[Sequence[str]] = None,
             tags: Optional[Mapping[str, str]] = None)
    func NewCell(ctx *Context, name string, args CellArgs, opts ...ResourceOption) (*Cell, error)
    public Cell(string name, CellArgs args, CustomResourceOptions? opts = null)
    public Cell(String name, CellArgs args)
    public Cell(String name, CellArgs args, CustomResourceOptions options)
    
    type: aws:route53recoveryreadiness:Cell
    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 CellArgs
    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 CellArgs
    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 CellArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CellArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CellArgs
    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 cellResource = new Aws.Route53RecoveryReadiness.Cell("cellResource", new()
    {
        CellName = "string",
        Cells = new[]
        {
            "string",
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := route53recoveryreadiness.NewCell(ctx, "cellResource", &route53recoveryreadiness.CellArgs{
    	CellName: pulumi.String("string"),
    	Cells: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var cellResource = new Cell("cellResource", CellArgs.builder()
        .cellName("string")
        .cells("string")
        .tags(Map.of("string", "string"))
        .build());
    
    cell_resource = aws.route53recoveryreadiness.Cell("cellResource",
        cell_name="string",
        cells=["string"],
        tags={
            "string": "string",
        })
    
    const cellResource = new aws.route53recoveryreadiness.Cell("cellResource", {
        cellName: "string",
        cells: ["string"],
        tags: {
            string: "string",
        },
    });
    
    type: aws:route53recoveryreadiness:Cell
    properties:
        cellName: string
        cells:
            - string
        tags:
            string: string
    

    Cell 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 Cell resource accepts the following input properties:

    CellName string

    Unique name describing the cell.

    The following arguments are optional:

    Cells List<string>
    List of cell arns to add as nested fault domains within this cell.
    Tags Dictionary<string, string>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    CellName string

    Unique name describing the cell.

    The following arguments are optional:

    Cells []string
    List of cell arns to add as nested fault domains within this cell.
    Tags map[string]string
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    cellName String

    Unique name describing the cell.

    The following arguments are optional:

    cells List<String>
    List of cell arns to add as nested fault domains within this cell.
    tags Map<String,String>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    cellName string

    Unique name describing the cell.

    The following arguments are optional:

    cells string[]
    List of cell arns to add as nested fault domains within this cell.
    tags {[key: string]: string}
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    cell_name str

    Unique name describing the cell.

    The following arguments are optional:

    cells Sequence[str]
    List of cell arns to add as nested fault domains within this cell.
    tags Mapping[str, str]
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    cellName String

    Unique name describing the cell.

    The following arguments are optional:

    cells List<String>
    List of cell arns to add as nested fault domains within this cell.
    tags Map<String>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level

    Outputs

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

    Arn string
    ARN of the cell
    Id string
    The provider-assigned unique ID for this managed resource.
    ParentReadinessScopes List<string>
    List of readiness scopes (recovery groups or cells) that contain this cell.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    ARN of the cell
    Id string
    The provider-assigned unique ID for this managed resource.
    ParentReadinessScopes []string
    List of readiness scopes (recovery groups or cells) that contain this cell.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the cell
    id String
    The provider-assigned unique ID for this managed resource.
    parentReadinessScopes List<String>
    List of readiness scopes (recovery groups or cells) that contain this cell.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    ARN of the cell
    id string
    The provider-assigned unique ID for this managed resource.
    parentReadinessScopes string[]
    List of readiness scopes (recovery groups or cells) that contain this cell.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    ARN of the cell
    id str
    The provider-assigned unique ID for this managed resource.
    parent_readiness_scopes Sequence[str]
    List of readiness scopes (recovery groups or cells) that contain this cell.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the cell
    id String
    The provider-assigned unique ID for this managed resource.
    parentReadinessScopes List<String>
    List of readiness scopes (recovery groups or cells) that contain this cell.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Look up Existing Cell Resource

    Get an existing Cell 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?: CellState, opts?: CustomResourceOptions): Cell
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            cell_name: Optional[str] = None,
            cells: Optional[Sequence[str]] = None,
            parent_readiness_scopes: Optional[Sequence[str]] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> Cell
    func GetCell(ctx *Context, name string, id IDInput, state *CellState, opts ...ResourceOption) (*Cell, error)
    public static Cell Get(string name, Input<string> id, CellState? state, CustomResourceOptions? opts = null)
    public static Cell get(String name, Output<String> id, CellState 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 cell
    CellName string

    Unique name describing the cell.

    The following arguments are optional:

    Cells List<string>
    List of cell arns to add as nested fault domains within this cell.
    ParentReadinessScopes List<string>
    List of readiness scopes (recovery groups or cells) that contain this cell.
    Tags Dictionary<string, string>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    ARN of the cell
    CellName string

    Unique name describing the cell.

    The following arguments are optional:

    Cells []string
    List of cell arns to add as nested fault domains within this cell.
    ParentReadinessScopes []string
    List of readiness scopes (recovery groups or cells) that contain this cell.
    Tags map[string]string
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the cell
    cellName String

    Unique name describing the cell.

    The following arguments are optional:

    cells List<String>
    List of cell arns to add as nested fault domains within this cell.
    parentReadinessScopes List<String>
    List of readiness scopes (recovery groups or cells) that contain this cell.
    tags Map<String,String>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    ARN of the cell
    cellName string

    Unique name describing the cell.

    The following arguments are optional:

    cells string[]
    List of cell arns to add as nested fault domains within this cell.
    parentReadinessScopes string[]
    List of readiness scopes (recovery groups or cells) that contain this cell.
    tags {[key: string]: string}
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    ARN of the cell
    cell_name str

    Unique name describing the cell.

    The following arguments are optional:

    cells Sequence[str]
    List of cell arns to add as nested fault domains within this cell.
    parent_readiness_scopes Sequence[str]
    List of readiness scopes (recovery groups or cells) that contain this cell.
    tags Mapping[str, str]
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the cell
    cellName String

    Unique name describing the cell.

    The following arguments are optional:

    cells List<String>
    List of cell arns to add as nested fault domains within this cell.
    parentReadinessScopes List<String>
    List of readiness scopes (recovery groups or cells) that contain this cell.
    tags Map<String>
    Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Import

    Using pulumi import, import Route53 Recovery Readiness cells using the cell name. For example:

    $ pulumi import aws:route53recoveryreadiness/cell:Cell us-west-2-failover-cell us-west-2-failover-cell
    

    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

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi