1. Packages
  2. Timescale Provider
  3. API Docs
  4. MetricExporter
timescale 2.3.0 published on Thursday, Jun 12, 2025 by timescale

timescale.MetricExporter

Explore with Pulumi AI

timescale logo
timescale 2.3.0 published on Thursday, Jun 12, 2025 by timescale

    Schema for a metric exporter.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.timescale.MetricExporter;
    import com.pulumi.timescale.MetricExporterArgs;
    import com.pulumi.timescale.inputs.MetricExporterDatadogArgs;
    import com.pulumi.timescale.inputs.MetricExporterPrometheusArgs;
    import com.pulumi.timescale.inputs.MetricExporterCloudwatchArgs;
    import com.pulumi.timescale.Service;
    import com.pulumi.timescale.ServiceArgs;
    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) {
            final var config = ctx.config();
            final var tsProjectId = config.get("tsProjectId");
            final var tsAccessKey = config.get("tsAccessKey");
            final var tsSecretKey = config.get("tsSecretKey");
            var myDatadogExporter = new MetricExporter("myDatadogExporter", MetricExporterArgs.builder()
                .region("us-east-1")
                .datadog(MetricExporterDatadogArgs.builder()
                    .api_key("your_datadog_api_key_here")
                    .site("datadoghq.com")
                    .build())
                .build());
    
            var myPrometheusExporter = new MetricExporter("myPrometheusExporter", MetricExporterArgs.builder()
                .region("us-east-1")
                .prometheus(MetricExporterPrometheusArgs.builder()
                    .username("prom_user")
                    .password("a_very_secure_password")
                    .build())
                .build());
    
            var myCloudwatchExporterWithRole = new MetricExporter("myCloudwatchExporterWithRole", MetricExporterArgs.builder()
                .region("us-east-1")
                .cloudwatch(MetricExporterCloudwatchArgs.builder()
                    .region("us-east-1")
                    .role_arn("arn:aws:iam::123456789012:role/MyMetricsExporterRole")
                    .log_group_name("/myapplication/metrics")
                    .log_stream_name("exporter-stream-role")
                    .namespace("MyApplication/CustomMetrics")
                    .build())
                .build());
    
            var myCloudwatchExporterWithKeys = new MetricExporter("myCloudwatchExporterWithKeys", MetricExporterArgs.builder()
                .region("us-east-1")
                .cloudwatch(MetricExporterCloudwatchArgs.builder()
                    .region("us-east-1")
                    .access_key("your_access_key_")
                    .secret_key("your_secret_keyxxxxxxxxxxxxxxxxxxxxxxxxx")
                    .log_group_name("/anotherapplication/metrics")
                    .log_stream_name("exporter-stream-keys")
                    .namespace("AnotherApplication/CustomMetrics")
                    .build())
                .build());
    
            // Create a service and attach one of the exporters (only 1 metric exporter can be attached at the same time)
            var metricExporterTest = new Service("metricExporterTest", ServiceArgs.builder()
                .milliCpu(1000)
                .memoryGb(4)
                .regionCode("us-east-1")
                .metricExporterId(myCloudwatchExporterWithKeys.id())
                .build());
    
        }
    }
    
    configuration:
      tsProjectId:
        type: string
      tsAccessKey:
        type: string
      tsSecretKey:
        type: string
    resources:
      myDatadogExporter:
        type: timescale:MetricExporter
        properties:
          region: us-east-1
          datadog:
            api_key: your_datadog_api_key_here
            site: datadoghq.com
      myPrometheusExporter:
        type: timescale:MetricExporter
        properties:
          region: us-east-1
          prometheus:
            username: prom_user
            password: a_very_secure_password
      myCloudwatchExporterWithRole:
        type: timescale:MetricExporter
        properties:
          region: us-east-1
          cloudwatch:
            region: us-east-1
            role_arn: arn:aws:iam::123456789012:role/MyMetricsExporterRole
            log_group_name: /myapplication/metrics
            log_stream_name: exporter-stream-role
            namespace: MyApplication/CustomMetrics
      myCloudwatchExporterWithKeys:
        type: timescale:MetricExporter
        properties:
          region: us-east-1
          cloudwatch:
            region: us-east-1
            access_key: your_access_key_
            secret_key: your_secret_keyxxxxxxxxxxxxxxxxxxxxxxxxx
            log_group_name: /anotherapplication/metrics
            log_stream_name: exporter-stream-keys
            namespace: AnotherApplication/CustomMetrics
      # Create a service and attach one of the exporters (only 1 metric exporter can be attached at the same time)
      metricExporterTest:
        type: timescale:Service
        properties:
          milliCpu: 1000
          memoryGb: 4
          regionCode: us-east-1
          metricExporterId: ${myCloudwatchExporterWithKeys.id}
    

    Create MetricExporter Resource

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

    Constructor syntax

    new MetricExporter(name: string, args: MetricExporterArgs, opts?: CustomResourceOptions);
    @overload
    def MetricExporter(resource_name: str,
                       args: MetricExporterArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def MetricExporter(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       region: Optional[str] = None,
                       cloudwatch: Optional[MetricExporterCloudwatchArgs] = None,
                       datadog: Optional[MetricExporterDatadogArgs] = None,
                       name: Optional[str] = None,
                       prometheus: Optional[MetricExporterPrometheusArgs] = None)
    func NewMetricExporter(ctx *Context, name string, args MetricExporterArgs, opts ...ResourceOption) (*MetricExporter, error)
    public MetricExporter(string name, MetricExporterArgs args, CustomResourceOptions? opts = null)
    public MetricExporter(String name, MetricExporterArgs args)
    public MetricExporter(String name, MetricExporterArgs args, CustomResourceOptions options)
    
    type: timescale:MetricExporter
    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 MetricExporterArgs
    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 MetricExporterArgs
    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 MetricExporterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MetricExporterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MetricExporterArgs
    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 metricExporterResource = new Timescale.MetricExporter("metricExporterResource", new()
    {
        Region = "string",
        Cloudwatch = new Timescale.Inputs.MetricExporterCloudwatchArgs
        {
            LogGroupName = "string",
            LogStreamName = "string",
            Namespace = "string",
            Region = "string",
            AccessKey = "string",
            RoleArn = "string",
            SecretKey = "string",
        },
        Datadog = new Timescale.Inputs.MetricExporterDatadogArgs
        {
            ApiKey = "string",
            Site = "string",
        },
        Name = "string",
        Prometheus = new Timescale.Inputs.MetricExporterPrometheusArgs
        {
            Password = "string",
            Username = "string",
        },
    });
    
    example, err := timescale.NewMetricExporter(ctx, "metricExporterResource", &timescale.MetricExporterArgs{
    	Region: pulumi.String("string"),
    	Cloudwatch: &timescale.MetricExporterCloudwatchArgs{
    		LogGroupName:  pulumi.String("string"),
    		LogStreamName: pulumi.String("string"),
    		Namespace:     pulumi.String("string"),
    		Region:        pulumi.String("string"),
    		AccessKey:     pulumi.String("string"),
    		RoleArn:       pulumi.String("string"),
    		SecretKey:     pulumi.String("string"),
    	},
    	Datadog: &timescale.MetricExporterDatadogArgs{
    		ApiKey: pulumi.String("string"),
    		Site:   pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	Prometheus: &timescale.MetricExporterPrometheusArgs{
    		Password: pulumi.String("string"),
    		Username: pulumi.String("string"),
    	},
    })
    
    var metricExporterResource = new MetricExporter("metricExporterResource", MetricExporterArgs.builder()
        .region("string")
        .cloudwatch(MetricExporterCloudwatchArgs.builder()
            .logGroupName("string")
            .logStreamName("string")
            .namespace("string")
            .region("string")
            .accessKey("string")
            .roleArn("string")
            .secretKey("string")
            .build())
        .datadog(MetricExporterDatadogArgs.builder()
            .apiKey("string")
            .site("string")
            .build())
        .name("string")
        .prometheus(MetricExporterPrometheusArgs.builder()
            .password("string")
            .username("string")
            .build())
        .build());
    
    metric_exporter_resource = timescale.MetricExporter("metricExporterResource",
        region="string",
        cloudwatch={
            "log_group_name": "string",
            "log_stream_name": "string",
            "namespace": "string",
            "region": "string",
            "access_key": "string",
            "role_arn": "string",
            "secret_key": "string",
        },
        datadog={
            "api_key": "string",
            "site": "string",
        },
        name="string",
        prometheus={
            "password": "string",
            "username": "string",
        })
    
    const metricExporterResource = new timescale.MetricExporter("metricExporterResource", {
        region: "string",
        cloudwatch: {
            logGroupName: "string",
            logStreamName: "string",
            namespace: "string",
            region: "string",
            accessKey: "string",
            roleArn: "string",
            secretKey: "string",
        },
        datadog: {
            apiKey: "string",
            site: "string",
        },
        name: "string",
        prometheus: {
            password: "string",
            username: "string",
        },
    });
    
    type: timescale:MetricExporter
    properties:
        cloudwatch:
            accessKey: string
            logGroupName: string
            logStreamName: string
            namespace: string
            region: string
            roleArn: string
            secretKey: string
        datadog:
            apiKey: string
            site: string
        name: string
        prometheus:
            password: string
            username: string
        region: string
    

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

    Region string
    Region where the exporter will be deployed. Only services running in the same region can be attached.
    Cloudwatch MetricExporterCloudwatch
    Configuration for AWS CloudWatch exporter. Configure authentication using either role_arn or access_key with secret_key. Cannot be used with datadog or prometheus.
    Datadog MetricExporterDatadog
    Configuration for Datadog exporter. Cannot be used with prometheus or cloudwatch.
    Name string
    Metric exporter name.
    Prometheus MetricExporterPrometheus
    Configuration for Prometheus exporter. Cannot be used with datadog or cloudwatch.
    Region string
    Region where the exporter will be deployed. Only services running in the same region can be attached.
    Cloudwatch MetricExporterCloudwatchArgs
    Configuration for AWS CloudWatch exporter. Configure authentication using either role_arn or access_key with secret_key. Cannot be used with datadog or prometheus.
    Datadog MetricExporterDatadogArgs
    Configuration for Datadog exporter. Cannot be used with prometheus or cloudwatch.
    Name string
    Metric exporter name.
    Prometheus MetricExporterPrometheusArgs
    Configuration for Prometheus exporter. Cannot be used with datadog or cloudwatch.
    region String
    Region where the exporter will be deployed. Only services running in the same region can be attached.
    cloudwatch MetricExporterCloudwatch
    Configuration for AWS CloudWatch exporter. Configure authentication using either role_arn or access_key with secret_key. Cannot be used with datadog or prometheus.
    datadog MetricExporterDatadog
    Configuration for Datadog exporter. Cannot be used with prometheus or cloudwatch.
    name String
    Metric exporter name.
    prometheus MetricExporterPrometheus
    Configuration for Prometheus exporter. Cannot be used with datadog or cloudwatch.
    region string
    Region where the exporter will be deployed. Only services running in the same region can be attached.
    cloudwatch MetricExporterCloudwatch
    Configuration for AWS CloudWatch exporter. Configure authentication using either role_arn or access_key with secret_key. Cannot be used with datadog or prometheus.
    datadog MetricExporterDatadog
    Configuration for Datadog exporter. Cannot be used with prometheus or cloudwatch.
    name string
    Metric exporter name.
    prometheus MetricExporterPrometheus
    Configuration for Prometheus exporter. Cannot be used with datadog or cloudwatch.
    region str
    Region where the exporter will be deployed. Only services running in the same region can be attached.
    cloudwatch MetricExporterCloudwatchArgs
    Configuration for AWS CloudWatch exporter. Configure authentication using either role_arn or access_key with secret_key. Cannot be used with datadog or prometheus.
    datadog MetricExporterDatadogArgs
    Configuration for Datadog exporter. Cannot be used with prometheus or cloudwatch.
    name str
    Metric exporter name.
    prometheus MetricExporterPrometheusArgs
    Configuration for Prometheus exporter. Cannot be used with datadog or cloudwatch.
    region String
    Region where the exporter will be deployed. Only services running in the same region can be attached.
    cloudwatch Property Map
    Configuration for AWS CloudWatch exporter. Configure authentication using either role_arn or access_key with secret_key. Cannot be used with datadog or prometheus.
    datadog Property Map
    Configuration for Datadog exporter. Cannot be used with prometheus or cloudwatch.
    name String
    Metric exporter name.
    prometheus Property Map
    Configuration for Prometheus exporter. Cannot be used with datadog or cloudwatch.

    Outputs

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

    Created string
    Timestamp of when the metric exporter was created (RFC3339 format).
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Type of the metric exporter. Possible values: datadog, prometheus, cloudwatch.
    Created string
    Timestamp of when the metric exporter was created (RFC3339 format).
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Type of the metric exporter. Possible values: datadog, prometheus, cloudwatch.
    created String
    Timestamp of when the metric exporter was created (RFC3339 format).
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Type of the metric exporter. Possible values: datadog, prometheus, cloudwatch.
    created string
    Timestamp of when the metric exporter was created (RFC3339 format).
    id string
    The provider-assigned unique ID for this managed resource.
    type string
    Type of the metric exporter. Possible values: datadog, prometheus, cloudwatch.
    created str
    Timestamp of when the metric exporter was created (RFC3339 format).
    id str
    The provider-assigned unique ID for this managed resource.
    type str
    Type of the metric exporter. Possible values: datadog, prometheus, cloudwatch.
    created String
    Timestamp of when the metric exporter was created (RFC3339 format).
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Type of the metric exporter. Possible values: datadog, prometheus, cloudwatch.

    Look up Existing MetricExporter Resource

    Get an existing MetricExporter 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?: MetricExporterState, opts?: CustomResourceOptions): MetricExporter
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloudwatch: Optional[MetricExporterCloudwatchArgs] = None,
            created: Optional[str] = None,
            datadog: Optional[MetricExporterDatadogArgs] = None,
            name: Optional[str] = None,
            prometheus: Optional[MetricExporterPrometheusArgs] = None,
            region: Optional[str] = None,
            type: Optional[str] = None) -> MetricExporter
    func GetMetricExporter(ctx *Context, name string, id IDInput, state *MetricExporterState, opts ...ResourceOption) (*MetricExporter, error)
    public static MetricExporter Get(string name, Input<string> id, MetricExporterState? state, CustomResourceOptions? opts = null)
    public static MetricExporter get(String name, Output<String> id, MetricExporterState state, CustomResourceOptions options)
    resources:  _:    type: timescale:MetricExporter    get:      id: ${id}
    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:
    Cloudwatch MetricExporterCloudwatch
    Configuration for AWS CloudWatch exporter. Configure authentication using either role_arn or access_key with secret_key. Cannot be used with datadog or prometheus.
    Created string
    Timestamp of when the metric exporter was created (RFC3339 format).
    Datadog MetricExporterDatadog
    Configuration for Datadog exporter. Cannot be used with prometheus or cloudwatch.
    Name string
    Metric exporter name.
    Prometheus MetricExporterPrometheus
    Configuration for Prometheus exporter. Cannot be used with datadog or cloudwatch.
    Region string
    Region where the exporter will be deployed. Only services running in the same region can be attached.
    Type string
    Type of the metric exporter. Possible values: datadog, prometheus, cloudwatch.
    Cloudwatch MetricExporterCloudwatchArgs
    Configuration for AWS CloudWatch exporter. Configure authentication using either role_arn or access_key with secret_key. Cannot be used with datadog or prometheus.
    Created string
    Timestamp of when the metric exporter was created (RFC3339 format).
    Datadog MetricExporterDatadogArgs
    Configuration for Datadog exporter. Cannot be used with prometheus or cloudwatch.
    Name string
    Metric exporter name.
    Prometheus MetricExporterPrometheusArgs
    Configuration for Prometheus exporter. Cannot be used with datadog or cloudwatch.
    Region string
    Region where the exporter will be deployed. Only services running in the same region can be attached.
    Type string
    Type of the metric exporter. Possible values: datadog, prometheus, cloudwatch.
    cloudwatch MetricExporterCloudwatch
    Configuration for AWS CloudWatch exporter. Configure authentication using either role_arn or access_key with secret_key. Cannot be used with datadog or prometheus.
    created String
    Timestamp of when the metric exporter was created (RFC3339 format).
    datadog MetricExporterDatadog
    Configuration for Datadog exporter. Cannot be used with prometheus or cloudwatch.
    name String
    Metric exporter name.
    prometheus MetricExporterPrometheus
    Configuration for Prometheus exporter. Cannot be used with datadog or cloudwatch.
    region String
    Region where the exporter will be deployed. Only services running in the same region can be attached.
    type String
    Type of the metric exporter. Possible values: datadog, prometheus, cloudwatch.
    cloudwatch MetricExporterCloudwatch
    Configuration for AWS CloudWatch exporter. Configure authentication using either role_arn or access_key with secret_key. Cannot be used with datadog or prometheus.
    created string
    Timestamp of when the metric exporter was created (RFC3339 format).
    datadog MetricExporterDatadog
    Configuration for Datadog exporter. Cannot be used with prometheus or cloudwatch.
    name string
    Metric exporter name.
    prometheus MetricExporterPrometheus
    Configuration for Prometheus exporter. Cannot be used with datadog or cloudwatch.
    region string
    Region where the exporter will be deployed. Only services running in the same region can be attached.
    type string
    Type of the metric exporter. Possible values: datadog, prometheus, cloudwatch.
    cloudwatch MetricExporterCloudwatchArgs
    Configuration for AWS CloudWatch exporter. Configure authentication using either role_arn or access_key with secret_key. Cannot be used with datadog or prometheus.
    created str
    Timestamp of when the metric exporter was created (RFC3339 format).
    datadog MetricExporterDatadogArgs
    Configuration for Datadog exporter. Cannot be used with prometheus or cloudwatch.
    name str
    Metric exporter name.
    prometheus MetricExporterPrometheusArgs
    Configuration for Prometheus exporter. Cannot be used with datadog or cloudwatch.
    region str
    Region where the exporter will be deployed. Only services running in the same region can be attached.
    type str
    Type of the metric exporter. Possible values: datadog, prometheus, cloudwatch.
    cloudwatch Property Map
    Configuration for AWS CloudWatch exporter. Configure authentication using either role_arn or access_key with secret_key. Cannot be used with datadog or prometheus.
    created String
    Timestamp of when the metric exporter was created (RFC3339 format).
    datadog Property Map
    Configuration for Datadog exporter. Cannot be used with prometheus or cloudwatch.
    name String
    Metric exporter name.
    prometheus Property Map
    Configuration for Prometheus exporter. Cannot be used with datadog or cloudwatch.
    region String
    Region where the exporter will be deployed. Only services running in the same region can be attached.
    type String
    Type of the metric exporter. Possible values: datadog, prometheus, cloudwatch.

    Supporting Types

    MetricExporterCloudwatch, MetricExporterCloudwatchArgs

    LogGroupName string
    Name of the CloudWatch Log Group.
    LogStreamName string
    Name of the CloudWatch Log Stream.
    Namespace string
    CloudWatch Metric Namespace.
    Region string
    AWS region for CloudWatch.
    AccessKey string
    AWS access key ID. If provided, secret_key must also be set, and role_arn must not be set.
    RoleArn string
    ARN of the IAM role to assume for CloudWatch access. If provided, access_key and secret_key must not be set.
    SecretKey string
    AWS secret access key. If provided, access_key must also be set, and role_arn must not be set.
    LogGroupName string
    Name of the CloudWatch Log Group.
    LogStreamName string
    Name of the CloudWatch Log Stream.
    Namespace string
    CloudWatch Metric Namespace.
    Region string
    AWS region for CloudWatch.
    AccessKey string
    AWS access key ID. If provided, secret_key must also be set, and role_arn must not be set.
    RoleArn string
    ARN of the IAM role to assume for CloudWatch access. If provided, access_key and secret_key must not be set.
    SecretKey string
    AWS secret access key. If provided, access_key must also be set, and role_arn must not be set.
    logGroupName String
    Name of the CloudWatch Log Group.
    logStreamName String
    Name of the CloudWatch Log Stream.
    namespace String
    CloudWatch Metric Namespace.
    region String
    AWS region for CloudWatch.
    accessKey String
    AWS access key ID. If provided, secret_key must also be set, and role_arn must not be set.
    roleArn String
    ARN of the IAM role to assume for CloudWatch access. If provided, access_key and secret_key must not be set.
    secretKey String
    AWS secret access key. If provided, access_key must also be set, and role_arn must not be set.
    logGroupName string
    Name of the CloudWatch Log Group.
    logStreamName string
    Name of the CloudWatch Log Stream.
    namespace string
    CloudWatch Metric Namespace.
    region string
    AWS region for CloudWatch.
    accessKey string
    AWS access key ID. If provided, secret_key must also be set, and role_arn must not be set.
    roleArn string
    ARN of the IAM role to assume for CloudWatch access. If provided, access_key and secret_key must not be set.
    secretKey string
    AWS secret access key. If provided, access_key must also be set, and role_arn must not be set.
    log_group_name str
    Name of the CloudWatch Log Group.
    log_stream_name str
    Name of the CloudWatch Log Stream.
    namespace str
    CloudWatch Metric Namespace.
    region str
    AWS region for CloudWatch.
    access_key str
    AWS access key ID. If provided, secret_key must also be set, and role_arn must not be set.
    role_arn str
    ARN of the IAM role to assume for CloudWatch access. If provided, access_key and secret_key must not be set.
    secret_key str
    AWS secret access key. If provided, access_key must also be set, and role_arn must not be set.
    logGroupName String
    Name of the CloudWatch Log Group.
    logStreamName String
    Name of the CloudWatch Log Stream.
    namespace String
    CloudWatch Metric Namespace.
    region String
    AWS region for CloudWatch.
    accessKey String
    AWS access key ID. If provided, secret_key must also be set, and role_arn must not be set.
    roleArn String
    ARN of the IAM role to assume for CloudWatch access. If provided, access_key and secret_key must not be set.
    secretKey String
    AWS secret access key. If provided, access_key must also be set, and role_arn must not be set.

    MetricExporterDatadog, MetricExporterDatadogArgs

    ApiKey string
    Datadog API key.
    Site string
    Datadog site (e.g., 'datadoghq.com', 'datadoghq.eu').
    ApiKey string
    Datadog API key.
    Site string
    Datadog site (e.g., 'datadoghq.com', 'datadoghq.eu').
    apiKey String
    Datadog API key.
    site String
    Datadog site (e.g., 'datadoghq.com', 'datadoghq.eu').
    apiKey string
    Datadog API key.
    site string
    Datadog site (e.g., 'datadoghq.com', 'datadoghq.eu').
    api_key str
    Datadog API key.
    site str
    Datadog site (e.g., 'datadoghq.com', 'datadoghq.eu').
    apiKey String
    Datadog API key.
    site String
    Datadog site (e.g., 'datadoghq.com', 'datadoghq.eu').

    MetricExporterPrometheus, MetricExporterPrometheusArgs

    Password string
    Password for Prometheus basic authentication.
    Username string
    Username for Prometheus basic authentication.
    Password string
    Password for Prometheus basic authentication.
    Username string
    Username for Prometheus basic authentication.
    password String
    Password for Prometheus basic authentication.
    username String
    Username for Prometheus basic authentication.
    password string
    Password for Prometheus basic authentication.
    username string
    Username for Prometheus basic authentication.
    password str
    Password for Prometheus basic authentication.
    username str
    Username for Prometheus basic authentication.
    password String
    Password for Prometheus basic authentication.
    username String
    Username for Prometheus basic authentication.

    Package Details

    Repository
    timescale timescale/terraform-provider-timescale
    License
    Notes
    This Pulumi package is based on the timescale Terraform Provider.
    timescale logo
    timescale 2.3.0 published on Thursday, Jun 12, 2025 by timescale