ResourceSetArgs

data class ResourceSetArgs(val resourceSetName: Output<String>? = null, val resourceSetType: Output<String>? = null, val resources: Output<List<ResourceSetResourceArgs>>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ResourceSetArgs>

Provides an AWS Route 53 Recovery Readiness Resource Set.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.route53recoveryreadiness.ResourceSet;
import com.pulumi.aws.route53recoveryreadiness.ResourceSetArgs;
import com.pulumi.aws.route53recoveryreadiness.inputs.ResourceSetResourceArgs;
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 ResourceSet("example", ResourceSetArgs.builder()
.resourceSetName(my_cw_alarm_set)
.resourceSetType("AWS::CloudWatch::Alarm")
.resources(ResourceSetResourceArgs.builder()
.resourceArn(aws_cloudwatch_metric_alarm.example().arn())
.build())
.build());
}
}

Import

Route53 Recovery Readiness resource set name can be imported via the resource set name, e.g.,

$ pulumi import aws:route53recoveryreadiness/resourceSet:ResourceSet my-cw-alarm-set

Constructors

Link copied to clipboard
constructor(resourceSetName: Output<String>? = null, resourceSetType: Output<String>? = null, resources: Output<List<ResourceSetResourceArgs>>? = null, tags: Output<Map<String, String>>? = null)

Properties

Link copied to clipboard
val resources: Output<List<ResourceSetResourceArgs>>? = null

List of resources to add to this resource set. See below. The following arguments are optional:

Link copied to clipboard
val resourceSetName: Output<String>? = null

Unique name describing the resource set.

Link copied to clipboard
val resourceSetType: Output<String>? = null

Type of the resources in the resource set.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): ResourceSetArgs