com.pulumi.aws.route53recoveryreadiness.Cell Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.route53recoveryreadiness;
import com.pulumi.aws.Utilities;
import com.pulumi.aws.route53recoveryreadiness.CellArgs;
import com.pulumi.aws.route53recoveryreadiness.inputs.CellState;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Provides an AWS Route 53 Recovery Readiness Cell.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* 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());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Using `pulumi import`, import Route53 Recovery Readiness cells using the cell name. For example:
*
* ```sh
* $ pulumi import aws:route53recoveryreadiness/cell:Cell us-west-2-failover-cell us-west-2-failover-cell
* ```
*
*/
@ResourceType(type="aws:route53recoveryreadiness/cell:Cell")
public class Cell extends com.pulumi.resources.CustomResource {
/**
* ARN of the cell
*
*/
@Export(name="arn", refs={String.class}, tree="[0]")
private Output arn;
/**
* @return ARN of the cell
*
*/
public Output arn() {
return this.arn;
}
/**
* Unique name describing the cell.
*
* The following arguments are optional:
*
*/
@Export(name="cellName", refs={String.class}, tree="[0]")
private Output cellName;
/**
* @return Unique name describing the cell.
*
* The following arguments are optional:
*
*/
public Output cellName() {
return this.cellName;
}
/**
* List of cell arns to add as nested fault domains within this cell.
*
*/
@Export(name="cells", refs={List.class,String.class}, tree="[0,1]")
private Output* @Nullable */ List> cells;
/**
* @return List of cell arns to add as nested fault domains within this cell.
*
*/
public Output>> cells() {
return Codegen.optional(this.cells);
}
/**
* List of readiness scopes (recovery groups or cells) that contain this cell.
*
*/
@Export(name="parentReadinessScopes", refs={List.class,String.class}, tree="[0,1]")
private Output> parentReadinessScopes;
/**
* @return List of readiness scopes (recovery groups or cells) that contain this cell.
*
*/
public Output> parentReadinessScopes() {
return this.parentReadinessScopes;
}
/**
* 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
*
*/
@Export(name="tags", refs={Map.class,String.class}, tree="[0,1,1]")
private Output* @Nullable */ Map> tags;
/**
* @return 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
*
*/
public Output>> tags() {
return Codegen.optional(this.tags);
}
/**
* Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
*
* @deprecated
* Please use `tags` instead.
*
*/
@Deprecated /* Please use `tags` instead. */
@Export(name="tagsAll", refs={Map.class,String.class}, tree="[0,1,1]")
private Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy