UNPKG

@lbrlabs/pulumi-cockroach

Version:

A Pulumi package to create and managed cockroach db resources in Pulumi programs.

104 lines (103 loc) 3.96 kB
import * as pulumi from "@pulumi/pulumi"; /** * Amazon CloudWatch metric export configuration for a cluster. */ export declare class MetricExportCloudwatchConfig extends pulumi.CustomResource { /** * Get an existing MetricExportCloudwatchConfig resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MetricExportCloudwatchConfigState, opts?: pulumi.CustomResourceOptions): MetricExportCloudwatchConfig; /** * Returns true if the given object is an instance of MetricExportCloudwatchConfig. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is MetricExportCloudwatchConfig; /** * Cluster ID. */ readonly clusterId: pulumi.Output<string>; /** * The customized AWS CloudWatch log group name. */ readonly logGroupName: pulumi.Output<string>; /** * The IAM role used to upload metric segments to the target AWS account. */ readonly roleArn: pulumi.Output<string>; /** * Encodes the possible states that a metric export configuration can be in as it is created, deployed, and disabled. */ readonly status: pulumi.Output<string>; /** * The specific AWS region that the metrics will be exported to. */ readonly targetRegion: pulumi.Output<string>; /** * Elaborates on the metric export status and hints at how to fix issues that may have occurred during asynchronous operations. */ readonly userMessage: pulumi.Output<string>; /** * Create a MetricExportCloudwatchConfig resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: MetricExportCloudwatchConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering MetricExportCloudwatchConfig resources. */ export interface MetricExportCloudwatchConfigState { /** * Cluster ID. */ clusterId?: pulumi.Input<string>; /** * The customized AWS CloudWatch log group name. */ logGroupName?: pulumi.Input<string>; /** * The IAM role used to upload metric segments to the target AWS account. */ roleArn?: pulumi.Input<string>; /** * Encodes the possible states that a metric export configuration can be in as it is created, deployed, and disabled. */ status?: pulumi.Input<string>; /** * The specific AWS region that the metrics will be exported to. */ targetRegion?: pulumi.Input<string>; /** * Elaborates on the metric export status and hints at how to fix issues that may have occurred during asynchronous operations. */ userMessage?: pulumi.Input<string>; } /** * The set of arguments for constructing a MetricExportCloudwatchConfig resource. */ export interface MetricExportCloudwatchConfigArgs { /** * Cluster ID. */ clusterId: pulumi.Input<string>; /** * The customized AWS CloudWatch log group name. */ logGroupName?: pulumi.Input<string>; /** * The IAM role used to upload metric segments to the target AWS account. */ roleArn: pulumi.Input<string>; /** * The specific AWS region that the metrics will be exported to. */ targetRegion?: pulumi.Input<string>; }