aws.route53recoveryreadiness.Cell
Explore with Pulumi AI
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)
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cell resource accepts the following input properties:
- Cell
Name 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.
- 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
- Cell
Name 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.
- 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
- cell
Name 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.
- 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
- cell
Name 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.
- {[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.
- 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
- cell
Name 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.
- 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.
- Parent
Readiness List<string>Scopes - List of readiness scopes (recovery groups or cells) that contain this cell.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- ARN of the cell
- Id string
- The provider-assigned unique ID for this managed resource.
- Parent
Readiness []stringScopes - List of readiness scopes (recovery groups or cells) that contain this cell.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the cell
- id String
- The provider-assigned unique ID for this managed resource.
- parent
Readiness List<String>Scopes - List of readiness scopes (recovery groups or cells) that contain this cell.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- ARN of the cell
- id string
- The provider-assigned unique ID for this managed resource.
- parent
Readiness string[]Scopes - List of readiness scopes (recovery groups or cells) that contain this cell.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- ARN of the cell
- id str
- The provider-assigned unique ID for this managed resource.
- parent_
readiness_ Sequence[str]scopes - List of readiness scopes (recovery groups or cells) that contain this cell.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the cell
- id String
- The provider-assigned unique ID for this managed resource.
- parent
Readiness List<String>Scopes - List of readiness scopes (recovery groups or cells) that contain this cell.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
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.
- Arn string
- ARN of the cell
- Cell
Name 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.
- Parent
Readiness List<string>Scopes - List of readiness scopes (recovery groups or cells) that contain this cell.
- 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 - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- ARN of the cell
- Cell
Name 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.
- Parent
Readiness []stringScopes - List of readiness scopes (recovery groups or cells) that contain this cell.
- 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 - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the cell
- cell
Name 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.
- parent
Readiness List<String>Scopes - List of readiness scopes (recovery groups or cells) that contain this cell.
- 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 - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- ARN of the cell
- cell
Name 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.
- parent
Readiness string[]Scopes - List of readiness scopes (recovery groups or cells) that contain this cell.
- {[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 - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- 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_ Sequence[str]scopes - List of readiness scopes (recovery groups or cells) that contain this cell.
- 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 - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the cell
- cell
Name 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.
- parent
Readiness List<String>Scopes - List of readiness scopes (recovery groups or cells) that contain this cell.
- 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 - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
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.