1. Packages
  2. CloudAMQP
  3. API Docs
  4. IntegrationMetric
CloudAMQP v3.18.0 published on Thursday, Jun 13, 2024 by Pulumi

cloudamqp.IntegrationMetric

Explore with Pulumi AI

cloudamqp logo
CloudAMQP v3.18.0 published on Thursday, Jun 13, 2024 by Pulumi

    This resource allows you to create and manage, forwarding metrics to third party integrations for a CloudAMQP instance. Once configured, the metrics produced will be forward to corresponding integration.

    Only available for dedicated subscription plans.

    Example Usage

    Cloudwatch v1 and v2 metric integration

    Access key

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudamqp from "@pulumi/cloudamqp";
    
    const cloudwatch = new cloudamqp.IntegrationMetric("cloudwatch", {
        instanceId: instance.id,
        name: "cloudwatch",
        accessKeyId: awsAccessKeyId,
        secretAccessKey: varAwsSecretAcccessKey,
        region: awsRegion,
    });
    const cloudwatchV2 = new cloudamqp.IntegrationMetric("cloudwatch_v2", {
        instanceId: instance.id,
        name: "cloudwatch_v2",
        accessKeyId: awsAccessKeyId,
        secretAccessKey: varAwsSecretAcccessKey,
        region: awsRegion,
    });
    
    import pulumi
    import pulumi_cloudamqp as cloudamqp
    
    cloudwatch = cloudamqp.IntegrationMetric("cloudwatch",
        instance_id=instance["id"],
        name="cloudwatch",
        access_key_id=aws_access_key_id,
        secret_access_key=var_aws_secret_acccess_key,
        region=aws_region)
    cloudwatch_v2 = cloudamqp.IntegrationMetric("cloudwatch_v2",
        instance_id=instance["id"],
        name="cloudwatch_v2",
        access_key_id=aws_access_key_id,
        secret_access_key=var_aws_secret_acccess_key,
        region=aws_region)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudamqp/sdk/v3/go/cloudamqp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudamqp.NewIntegrationMetric(ctx, "cloudwatch", &cloudamqp.IntegrationMetricArgs{
    			InstanceId:      pulumi.Any(instance.Id),
    			Name:            pulumi.String("cloudwatch"),
    			AccessKeyId:     pulumi.Any(awsAccessKeyId),
    			SecretAccessKey: pulumi.Any(varAwsSecretAcccessKey),
    			Region:          pulumi.Any(awsRegion),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cloudamqp.NewIntegrationMetric(ctx, "cloudwatch_v2", &cloudamqp.IntegrationMetricArgs{
    			InstanceId:      pulumi.Any(instance.Id),
    			Name:            pulumi.String("cloudwatch_v2"),
    			AccessKeyId:     pulumi.Any(awsAccessKeyId),
    			SecretAccessKey: pulumi.Any(varAwsSecretAcccessKey),
    			Region:          pulumi.Any(awsRegion),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using CloudAmqp = Pulumi.CloudAmqp;
    
    return await Deployment.RunAsync(() => 
    {
        var cloudwatch = new CloudAmqp.IntegrationMetric("cloudwatch", new()
        {
            InstanceId = instance.Id,
            Name = "cloudwatch",
            AccessKeyId = awsAccessKeyId,
            SecretAccessKey = varAwsSecretAcccessKey,
            Region = awsRegion,
        });
    
        var cloudwatchV2 = new CloudAmqp.IntegrationMetric("cloudwatch_v2", new()
        {
            InstanceId = instance.Id,
            Name = "cloudwatch_v2",
            AccessKeyId = awsAccessKeyId,
            SecretAccessKey = varAwsSecretAcccessKey,
            Region = awsRegion,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudamqp.IntegrationMetric;
    import com.pulumi.cloudamqp.IntegrationMetricArgs;
    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 cloudwatch = new IntegrationMetric("cloudwatch", IntegrationMetricArgs.builder()
                .instanceId(instance.id())
                .name("cloudwatch")
                .accessKeyId(awsAccessKeyId)
                .secretAccessKey(varAwsSecretAcccessKey)
                .region(awsRegion)
                .build());
    
            var cloudwatchV2 = new IntegrationMetric("cloudwatchV2", IntegrationMetricArgs.builder()
                .instanceId(instance.id())
                .name("cloudwatch_v2")
                .accessKeyId(awsAccessKeyId)
                .secretAccessKey(varAwsSecretAcccessKey)
                .region(awsRegion)
                .build());
    
        }
    }
    
    resources:
      cloudwatch:
        type: cloudamqp:IntegrationMetric
        properties:
          instanceId: ${instance.id}
          name: cloudwatch
          accessKeyId: ${awsAccessKeyId}
          secretAccessKey: ${varAwsSecretAcccessKey}
          region: ${awsRegion}
      cloudwatchV2:
        type: cloudamqp:IntegrationMetric
        name: cloudwatch_v2
        properties:
          instanceId: ${instance.id}
          name: cloudwatch_v2
          accessKeyId: ${awsAccessKeyId}
          secretAccessKey: ${varAwsSecretAcccessKey}
          region: ${awsRegion}
    

    Assume role

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudamqp from "@pulumi/cloudamqp";
    
    const cloudwatch = new cloudamqp.IntegrationMetric("cloudwatch", {
        instanceId: instance.id,
        name: "cloudwatch",
        iamRole: awsIamRole,
        iamExternalId: externalId,
        region: awsRegion,
    });
    const cloudwatchV2 = new cloudamqp.IntegrationMetric("cloudwatch_v2", {
        instanceId: instance.id,
        name: "cloudwatch_v2",
        iamRole: awsIamRole,
        iamExternalId: externalId,
        region: awsRegion,
    });
    
    import pulumi
    import pulumi_cloudamqp as cloudamqp
    
    cloudwatch = cloudamqp.IntegrationMetric("cloudwatch",
        instance_id=instance["id"],
        name="cloudwatch",
        iam_role=aws_iam_role,
        iam_external_id=external_id,
        region=aws_region)
    cloudwatch_v2 = cloudamqp.IntegrationMetric("cloudwatch_v2",
        instance_id=instance["id"],
        name="cloudwatch_v2",
        iam_role=aws_iam_role,
        iam_external_id=external_id,
        region=aws_region)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudamqp/sdk/v3/go/cloudamqp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudamqp.NewIntegrationMetric(ctx, "cloudwatch", &cloudamqp.IntegrationMetricArgs{
    			InstanceId:    pulumi.Any(instance.Id),
    			Name:          pulumi.String("cloudwatch"),
    			IamRole:       pulumi.Any(awsIamRole),
    			IamExternalId: pulumi.Any(externalId),
    			Region:        pulumi.Any(awsRegion),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cloudamqp.NewIntegrationMetric(ctx, "cloudwatch_v2", &cloudamqp.IntegrationMetricArgs{
    			InstanceId:    pulumi.Any(instance.Id),
    			Name:          pulumi.String("cloudwatch_v2"),
    			IamRole:       pulumi.Any(awsIamRole),
    			IamExternalId: pulumi.Any(externalId),
    			Region:        pulumi.Any(awsRegion),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using CloudAmqp = Pulumi.CloudAmqp;
    
    return await Deployment.RunAsync(() => 
    {
        var cloudwatch = new CloudAmqp.IntegrationMetric("cloudwatch", new()
        {
            InstanceId = instance.Id,
            Name = "cloudwatch",
            IamRole = awsIamRole,
            IamExternalId = externalId,
            Region = awsRegion,
        });
    
        var cloudwatchV2 = new CloudAmqp.IntegrationMetric("cloudwatch_v2", new()
        {
            InstanceId = instance.Id,
            Name = "cloudwatch_v2",
            IamRole = awsIamRole,
            IamExternalId = externalId,
            Region = awsRegion,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudamqp.IntegrationMetric;
    import com.pulumi.cloudamqp.IntegrationMetricArgs;
    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 cloudwatch = new IntegrationMetric("cloudwatch", IntegrationMetricArgs.builder()
                .instanceId(instance.id())
                .name("cloudwatch")
                .iamRole(awsIamRole)
                .iamExternalId(externalId)
                .region(awsRegion)
                .build());
    
            var cloudwatchV2 = new IntegrationMetric("cloudwatchV2", IntegrationMetricArgs.builder()
                .instanceId(instance.id())
                .name("cloudwatch_v2")
                .iamRole(awsIamRole)
                .iamExternalId(externalId)
                .region(awsRegion)
                .build());
    
        }
    }
    
    resources:
      cloudwatch:
        type: cloudamqp:IntegrationMetric
        properties:
          instanceId: ${instance.id}
          name: cloudwatch
          iamRole: ${awsIamRole}
          iamExternalId: ${externalId}
          region: ${awsRegion}
      cloudwatchV2:
        type: cloudamqp:IntegrationMetric
        name: cloudwatch_v2
        properties:
          instanceId: ${instance.id}
          name: cloudwatch_v2
          iamRole: ${awsIamRole}
          iamExternalId: ${externalId}
          region: ${awsRegion}
    
    • AWS IAM role: arn:aws:iam::ACCOUNT-ID:role/ROLE-NAME
    • External id: Create own external identifier that match the role created. E.g. “cloudamqp-abc123”.
    Datadog v1 and v2 metric integration
    import * as pulumi from "@pulumi/pulumi";
    import * as cloudamqp from "@pulumi/cloudamqp";
    
    const datadog = new cloudamqp.IntegrationMetric("datadog", {
        instanceId: instance.id,
        name: "datadog",
        apiKey: datadogApiKey,
        region: datadogRegion,
        tags: "env=prod,region=us1,version=v1.0",
    });
    const datadogV2 = new cloudamqp.IntegrationMetric("datadog_v2", {
        instanceId: instance.id,
        name: "datadog_v2",
        apiKey: datadogApiKey,
        region: datadogRegion,
        tags: "env=prod,region=us1,version=v1.0",
    });
    
    import pulumi
    import pulumi_cloudamqp as cloudamqp
    
    datadog = cloudamqp.IntegrationMetric("datadog",
        instance_id=instance["id"],
        name="datadog",
        api_key=datadog_api_key,
        region=datadog_region,
        tags="env=prod,region=us1,version=v1.0")
    datadog_v2 = cloudamqp.IntegrationMetric("datadog_v2",
        instance_id=instance["id"],
        name="datadog_v2",
        api_key=datadog_api_key,
        region=datadog_region,
        tags="env=prod,region=us1,version=v1.0")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudamqp/sdk/v3/go/cloudamqp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudamqp.NewIntegrationMetric(ctx, "datadog", &cloudamqp.IntegrationMetricArgs{
    			InstanceId: pulumi.Any(instance.Id),
    			Name:       pulumi.String("datadog"),
    			ApiKey:     pulumi.Any(datadogApiKey),
    			Region:     pulumi.Any(datadogRegion),
    			Tags:       pulumi.String("env=prod,region=us1,version=v1.0"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = cloudamqp.NewIntegrationMetric(ctx, "datadog_v2", &cloudamqp.IntegrationMetricArgs{
    			InstanceId: pulumi.Any(instance.Id),
    			Name:       pulumi.String("datadog_v2"),
    			ApiKey:     pulumi.Any(datadogApiKey),
    			Region:     pulumi.Any(datadogRegion),
    			Tags:       pulumi.String("env=prod,region=us1,version=v1.0"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using CloudAmqp = Pulumi.CloudAmqp;
    
    return await Deployment.RunAsync(() => 
    {
        var datadog = new CloudAmqp.IntegrationMetric("datadog", new()
        {
            InstanceId = instance.Id,
            Name = "datadog",
            ApiKey = datadogApiKey,
            Region = datadogRegion,
            Tags = "env=prod,region=us1,version=v1.0",
        });
    
        var datadogV2 = new CloudAmqp.IntegrationMetric("datadog_v2", new()
        {
            InstanceId = instance.Id,
            Name = "datadog_v2",
            ApiKey = datadogApiKey,
            Region = datadogRegion,
            Tags = "env=prod,region=us1,version=v1.0",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudamqp.IntegrationMetric;
    import com.pulumi.cloudamqp.IntegrationMetricArgs;
    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 datadog = new IntegrationMetric("datadog", IntegrationMetricArgs.builder()
                .instanceId(instance.id())
                .name("datadog")
                .apiKey(datadogApiKey)
                .region(datadogRegion)
                .tags("env=prod,region=us1,version=v1.0")
                .build());
    
            var datadogV2 = new IntegrationMetric("datadogV2", IntegrationMetricArgs.builder()
                .instanceId(instance.id())
                .name("datadog_v2")
                .apiKey(datadogApiKey)
                .region(datadogRegion)
                .tags("env=prod,region=us1,version=v1.0")
                .build());
    
        }
    }
    
    resources:
      datadog:
        type: cloudamqp:IntegrationMetric
        properties:
          instanceId: ${instance.id}
          name: datadog
          apiKey: ${datadogApiKey}
          region: ${datadogRegion}
          tags: env=prod,region=us1,version=v1.0
      datadogV2:
        type: cloudamqp:IntegrationMetric
        name: datadog_v2
        properties:
          instanceId: ${instance.id}
          name: datadog_v2
          apiKey: ${datadogApiKey}
          region: ${datadogRegion}
          tags: env=prod,region=us1,version=v1.0
    
    Librato metric integration
    import * as pulumi from "@pulumi/pulumi";
    import * as cloudamqp from "@pulumi/cloudamqp";
    
    const librato = new cloudamqp.IntegrationMetric("librato", {
        instanceId: instance.id,
        name: "librato",
        email: libratoEmail,
        apiKey: libratoApiKey,
    });
    
    import pulumi
    import pulumi_cloudamqp as cloudamqp
    
    librato = cloudamqp.IntegrationMetric("librato",
        instance_id=instance["id"],
        name="librato",
        email=librato_email,
        api_key=librato_api_key)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudamqp/sdk/v3/go/cloudamqp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudamqp.NewIntegrationMetric(ctx, "librato", &cloudamqp.IntegrationMetricArgs{
    			InstanceId: pulumi.Any(instance.Id),
    			Name:       pulumi.String("librato"),
    			Email:      pulumi.Any(libratoEmail),
    			ApiKey:     pulumi.Any(libratoApiKey),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using CloudAmqp = Pulumi.CloudAmqp;
    
    return await Deployment.RunAsync(() => 
    {
        var librato = new CloudAmqp.IntegrationMetric("librato", new()
        {
            InstanceId = instance.Id,
            Name = "librato",
            Email = libratoEmail,
            ApiKey = libratoApiKey,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudamqp.IntegrationMetric;
    import com.pulumi.cloudamqp.IntegrationMetricArgs;
    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 librato = new IntegrationMetric("librato", IntegrationMetricArgs.builder()
                .instanceId(instance.id())
                .name("librato")
                .email(libratoEmail)
                .apiKey(libratoApiKey)
                .build());
    
        }
    }
    
    resources:
      librato:
        type: cloudamqp:IntegrationMetric
        properties:
          instanceId: ${instance.id}
          name: librato
          email: ${libratoEmail}
          apiKey: ${libratoApiKey}
    
    New relic v2 metric integration
    import * as pulumi from "@pulumi/pulumi";
    import * as cloudamqp from "@pulumi/cloudamqp";
    
    const newrelic = new cloudamqp.IntegrationMetric("newrelic", {
        instanceId: instance.id,
        name: "newrelic_v2",
        apiKey: newrelicApiKey,
        region: newrelicRegion,
    });
    
    import pulumi
    import pulumi_cloudamqp as cloudamqp
    
    newrelic = cloudamqp.IntegrationMetric("newrelic",
        instance_id=instance["id"],
        name="newrelic_v2",
        api_key=newrelic_api_key,
        region=newrelic_region)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudamqp/sdk/v3/go/cloudamqp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudamqp.NewIntegrationMetric(ctx, "newrelic", &cloudamqp.IntegrationMetricArgs{
    			InstanceId: pulumi.Any(instance.Id),
    			Name:       pulumi.String("newrelic_v2"),
    			ApiKey:     pulumi.Any(newrelicApiKey),
    			Region:     pulumi.Any(newrelicRegion),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using CloudAmqp = Pulumi.CloudAmqp;
    
    return await Deployment.RunAsync(() => 
    {
        var newrelic = new CloudAmqp.IntegrationMetric("newrelic", new()
        {
            InstanceId = instance.Id,
            Name = "newrelic_v2",
            ApiKey = newrelicApiKey,
            Region = newrelicRegion,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudamqp.IntegrationMetric;
    import com.pulumi.cloudamqp.IntegrationMetricArgs;
    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 newrelic = new IntegrationMetric("newrelic", IntegrationMetricArgs.builder()
                .instanceId(instance.id())
                .name("newrelic_v2")
                .apiKey(newrelicApiKey)
                .region(newrelicRegion)
                .build());
    
        }
    }
    
    resources:
      newrelic:
        type: cloudamqp:IntegrationMetric
        properties:
          instanceId: ${instance.id}
          name: newrelic_v2
          apiKey: ${newrelicApiKey}
          region: ${newrelicRegion}
    
    Stackdriver metric integration (v1.20.2 or earlier versions)

    Use variable file populated with project_id, private_key and client_email

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudamqp from "@pulumi/cloudamqp";
    
    const stackdriver = new cloudamqp.IntegrationMetric("stackdriver", {
        instanceId: instance.id,
        name: "stackdriver",
        projectId: stackdriverProjectId,
        privateKey: stackdriverPrivateKey,
        clientEmail: stackriverEmail,
    });
    
    import pulumi
    import pulumi_cloudamqp as cloudamqp
    
    stackdriver = cloudamqp.IntegrationMetric("stackdriver",
        instance_id=instance["id"],
        name="stackdriver",
        project_id=stackdriver_project_id,
        private_key=stackdriver_private_key,
        client_email=stackriver_email)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudamqp/sdk/v3/go/cloudamqp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudamqp.NewIntegrationMetric(ctx, "stackdriver", &cloudamqp.IntegrationMetricArgs{
    			InstanceId:  pulumi.Any(instance.Id),
    			Name:        pulumi.String("stackdriver"),
    			ProjectId:   pulumi.Any(stackdriverProjectId),
    			PrivateKey:  pulumi.Any(stackdriverPrivateKey),
    			ClientEmail: pulumi.Any(stackriverEmail),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using CloudAmqp = Pulumi.CloudAmqp;
    
    return await Deployment.RunAsync(() => 
    {
        var stackdriver = new CloudAmqp.IntegrationMetric("stackdriver", new()
        {
            InstanceId = instance.Id,
            Name = "stackdriver",
            ProjectId = stackdriverProjectId,
            PrivateKey = stackdriverPrivateKey,
            ClientEmail = stackriverEmail,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudamqp.IntegrationMetric;
    import com.pulumi.cloudamqp.IntegrationMetricArgs;
    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 stackdriver = new IntegrationMetric("stackdriver", IntegrationMetricArgs.builder()
                .instanceId(instance.id())
                .name("stackdriver")
                .projectId(stackdriverProjectId)
                .privateKey(stackdriverPrivateKey)
                .clientEmail(stackriverEmail)
                .build());
    
        }
    }
    
    resources:
      stackdriver:
        type: cloudamqp:IntegrationMetric
        properties:
          instanceId: ${instance.id}
          name: stackdriver
          projectId: ${stackdriverProjectId}
          privateKey: ${stackdriverPrivateKey}
          clientEmail: ${stackriverEmail}
    

    or by using google_service_account_key resource from Google provider

    Create IntegrationMetric Resource

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

    Constructor syntax

    new IntegrationMetric(name: string, args: IntegrationMetricArgs, opts?: CustomResourceOptions);
    @overload
    def IntegrationMetric(resource_name: str,
                          args: IntegrationMetricArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def IntegrationMetric(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          instance_id: Optional[int] = None,
                          private_key: Optional[str] = None,
                          vhost_whitelist: Optional[str] = None,
                          name: Optional[str] = None,
                          email: Optional[str] = None,
                          iam_external_id: Optional[str] = None,
                          iam_role: Optional[str] = None,
                          api_key: Optional[str] = None,
                          license_key: Optional[str] = None,
                          credentials: Optional[str] = None,
                          client_email: Optional[str] = None,
                          project_id: Optional[str] = None,
                          private_key_id: Optional[str] = None,
                          queue_allowlist: Optional[str] = None,
                          queue_whitelist: Optional[str] = None,
                          region: Optional[str] = None,
                          secret_access_key: Optional[str] = None,
                          tags: Optional[str] = None,
                          vhost_allowlist: Optional[str] = None,
                          access_key_id: Optional[str] = None)
    func NewIntegrationMetric(ctx *Context, name string, args IntegrationMetricArgs, opts ...ResourceOption) (*IntegrationMetric, error)
    public IntegrationMetric(string name, IntegrationMetricArgs args, CustomResourceOptions? opts = null)
    public IntegrationMetric(String name, IntegrationMetricArgs args)
    public IntegrationMetric(String name, IntegrationMetricArgs args, CustomResourceOptions options)
    
    type: cloudamqp:IntegrationMetric
    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 IntegrationMetricArgs
    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 IntegrationMetricArgs
    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 IntegrationMetricArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationMetricArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IntegrationMetricArgs
    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 integrationMetricResource = new CloudAmqp.IntegrationMetric("integrationMetricResource", new()
    {
        InstanceId = 0,
        PrivateKey = "string",
        Name = "string",
        Email = "string",
        IamExternalId = "string",
        IamRole = "string",
        ApiKey = "string",
        LicenseKey = "string",
        Credentials = "string",
        ClientEmail = "string",
        ProjectId = "string",
        PrivateKeyId = "string",
        QueueAllowlist = "string",
        Region = "string",
        SecretAccessKey = "string",
        Tags = "string",
        VhostAllowlist = "string",
        AccessKeyId = "string",
    });
    
    example, err := cloudamqp.NewIntegrationMetric(ctx, "integrationMetricResource", &cloudamqp.IntegrationMetricArgs{
    	InstanceId:      pulumi.Int(0),
    	PrivateKey:      pulumi.String("string"),
    	Name:            pulumi.String("string"),
    	Email:           pulumi.String("string"),
    	IamExternalId:   pulumi.String("string"),
    	IamRole:         pulumi.String("string"),
    	ApiKey:          pulumi.String("string"),
    	LicenseKey:      pulumi.String("string"),
    	Credentials:     pulumi.String("string"),
    	ClientEmail:     pulumi.String("string"),
    	ProjectId:       pulumi.String("string"),
    	PrivateKeyId:    pulumi.String("string"),
    	QueueAllowlist:  pulumi.String("string"),
    	Region:          pulumi.String("string"),
    	SecretAccessKey: pulumi.String("string"),
    	Tags:            pulumi.String("string"),
    	VhostAllowlist:  pulumi.String("string"),
    	AccessKeyId:     pulumi.String("string"),
    })
    
    var integrationMetricResource = new IntegrationMetric("integrationMetricResource", IntegrationMetricArgs.builder()
        .instanceId(0)
        .privateKey("string")
        .name("string")
        .email("string")
        .iamExternalId("string")
        .iamRole("string")
        .apiKey("string")
        .licenseKey("string")
        .credentials("string")
        .clientEmail("string")
        .projectId("string")
        .privateKeyId("string")
        .queueAllowlist("string")
        .region("string")
        .secretAccessKey("string")
        .tags("string")
        .vhostAllowlist("string")
        .accessKeyId("string")
        .build());
    
    integration_metric_resource = cloudamqp.IntegrationMetric("integrationMetricResource",
        instance_id=0,
        private_key="string",
        name="string",
        email="string",
        iam_external_id="string",
        iam_role="string",
        api_key="string",
        license_key="string",
        credentials="string",
        client_email="string",
        project_id="string",
        private_key_id="string",
        queue_allowlist="string",
        region="string",
        secret_access_key="string",
        tags="string",
        vhost_allowlist="string",
        access_key_id="string")
    
    const integrationMetricResource = new cloudamqp.IntegrationMetric("integrationMetricResource", {
        instanceId: 0,
        privateKey: "string",
        name: "string",
        email: "string",
        iamExternalId: "string",
        iamRole: "string",
        apiKey: "string",
        licenseKey: "string",
        credentials: "string",
        clientEmail: "string",
        projectId: "string",
        privateKeyId: "string",
        queueAllowlist: "string",
        region: "string",
        secretAccessKey: "string",
        tags: "string",
        vhostAllowlist: "string",
        accessKeyId: "string",
    });
    
    type: cloudamqp:IntegrationMetric
    properties:
        accessKeyId: string
        apiKey: string
        clientEmail: string
        credentials: string
        email: string
        iamExternalId: string
        iamRole: string
        instanceId: 0
        licenseKey: string
        name: string
        privateKey: string
        privateKeyId: string
        projectId: string
        queueAllowlist: string
        region: string
        secretAccessKey: string
        tags: string
        vhostAllowlist: string
    

    IntegrationMetric Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The IntegrationMetric resource accepts the following input properties:

    InstanceId int
    Instance identifier
    AccessKeyId string
    AWS access key identifier. (Cloudwatch)
    ApiKey string
    The API key for the integration service. (Librato)
    ClientEmail string
    The client email. (Stackdriver)
    Credentials string
    Base64Encoded credentials. (Stackdriver)
    Email string
    The email address registred for the integration service. (Librato)
    IamExternalId string
    External identifier that match the role you created. (Cloudwatch)
    IamRole string
    The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
    LicenseKey string
    The license key registred for the integration service. (New Relic)
    Name string
    The name of metrics integration
    PrivateKey string
    The private key. (Stackdriver)
    PrivateKeyId string
    Private key identifier. (Stackdriver)
    ProjectId string
    Project ID. (Stackdriver)
    QueueAllowlist string
    (optional) allowlist using regular expression
    QueueWhitelist string
    Deprecated

    Deprecated: use queue_allowlist instead

    Region string
    AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
    SecretAccessKey string
    AWS secret key. (Cloudwatch)
    Tags string
    (optional) tags. E.g. env=prod,region=europe
    VhostAllowlist string
    (optional) allowlist using regular expression
    VhostWhitelist string
    Deprecated

    Deprecated: use vhost_allowlist instead

    InstanceId int
    Instance identifier
    AccessKeyId string
    AWS access key identifier. (Cloudwatch)
    ApiKey string
    The API key for the integration service. (Librato)
    ClientEmail string
    The client email. (Stackdriver)
    Credentials string
    Base64Encoded credentials. (Stackdriver)
    Email string
    The email address registred for the integration service. (Librato)
    IamExternalId string
    External identifier that match the role you created. (Cloudwatch)
    IamRole string
    The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
    LicenseKey string
    The license key registred for the integration service. (New Relic)
    Name string
    The name of metrics integration
    PrivateKey string
    The private key. (Stackdriver)
    PrivateKeyId string
    Private key identifier. (Stackdriver)
    ProjectId string
    Project ID. (Stackdriver)
    QueueAllowlist string
    (optional) allowlist using regular expression
    QueueWhitelist string
    Deprecated

    Deprecated: use queue_allowlist instead

    Region string
    AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
    SecretAccessKey string
    AWS secret key. (Cloudwatch)
    Tags string
    (optional) tags. E.g. env=prod,region=europe
    VhostAllowlist string
    (optional) allowlist using regular expression
    VhostWhitelist string
    Deprecated

    Deprecated: use vhost_allowlist instead

    instanceId Integer
    Instance identifier
    accessKeyId String
    AWS access key identifier. (Cloudwatch)
    apiKey String
    The API key for the integration service. (Librato)
    clientEmail String
    The client email. (Stackdriver)
    credentials String
    Base64Encoded credentials. (Stackdriver)
    email String
    The email address registred for the integration service. (Librato)
    iamExternalId String
    External identifier that match the role you created. (Cloudwatch)
    iamRole String
    The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
    licenseKey String
    The license key registred for the integration service. (New Relic)
    name String
    The name of metrics integration
    privateKey String
    The private key. (Stackdriver)
    privateKeyId String
    Private key identifier. (Stackdriver)
    projectId String
    Project ID. (Stackdriver)
    queueAllowlist String
    (optional) allowlist using regular expression
    queueWhitelist String
    Deprecated

    Deprecated: use queue_allowlist instead

    region String
    AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
    secretAccessKey String
    AWS secret key. (Cloudwatch)
    tags String
    (optional) tags. E.g. env=prod,region=europe
    vhostAllowlist String
    (optional) allowlist using regular expression
    vhostWhitelist String
    Deprecated

    Deprecated: use vhost_allowlist instead

    instanceId number
    Instance identifier
    accessKeyId string
    AWS access key identifier. (Cloudwatch)
    apiKey string
    The API key for the integration service. (Librato)
    clientEmail string
    The client email. (Stackdriver)
    credentials string
    Base64Encoded credentials. (Stackdriver)
    email string
    The email address registred for the integration service. (Librato)
    iamExternalId string
    External identifier that match the role you created. (Cloudwatch)
    iamRole string
    The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
    licenseKey string
    The license key registred for the integration service. (New Relic)
    name string
    The name of metrics integration
    privateKey string
    The private key. (Stackdriver)
    privateKeyId string
    Private key identifier. (Stackdriver)
    projectId string
    Project ID. (Stackdriver)
    queueAllowlist string
    (optional) allowlist using regular expression
    queueWhitelist string
    Deprecated

    Deprecated: use queue_allowlist instead

    region string
    AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
    secretAccessKey string
    AWS secret key. (Cloudwatch)
    tags string
    (optional) tags. E.g. env=prod,region=europe
    vhostAllowlist string
    (optional) allowlist using regular expression
    vhostWhitelist string
    Deprecated

    Deprecated: use vhost_allowlist instead

    instance_id int
    Instance identifier
    access_key_id str
    AWS access key identifier. (Cloudwatch)
    api_key str
    The API key for the integration service. (Librato)
    client_email str
    The client email. (Stackdriver)
    credentials str
    Base64Encoded credentials. (Stackdriver)
    email str
    The email address registred for the integration service. (Librato)
    iam_external_id str
    External identifier that match the role you created. (Cloudwatch)
    iam_role str
    The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
    license_key str
    The license key registred for the integration service. (New Relic)
    name str
    The name of metrics integration
    private_key str
    The private key. (Stackdriver)
    private_key_id str
    Private key identifier. (Stackdriver)
    project_id str
    Project ID. (Stackdriver)
    queue_allowlist str
    (optional) allowlist using regular expression
    queue_whitelist str
    Deprecated

    Deprecated: use queue_allowlist instead

    region str
    AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
    secret_access_key str
    AWS secret key. (Cloudwatch)
    tags str
    (optional) tags. E.g. env=prod,region=europe
    vhost_allowlist str
    (optional) allowlist using regular expression
    vhost_whitelist str
    Deprecated

    Deprecated: use vhost_allowlist instead

    instanceId Number
    Instance identifier
    accessKeyId String
    AWS access key identifier. (Cloudwatch)
    apiKey String
    The API key for the integration service. (Librato)
    clientEmail String
    The client email. (Stackdriver)
    credentials String
    Base64Encoded credentials. (Stackdriver)
    email String
    The email address registred for the integration service. (Librato)
    iamExternalId String
    External identifier that match the role you created. (Cloudwatch)
    iamRole String
    The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
    licenseKey String
    The license key registred for the integration service. (New Relic)
    name String
    The name of metrics integration
    privateKey String
    The private key. (Stackdriver)
    privateKeyId String
    Private key identifier. (Stackdriver)
    projectId String
    Project ID. (Stackdriver)
    queueAllowlist String
    (optional) allowlist using regular expression
    queueWhitelist String
    Deprecated

    Deprecated: use queue_allowlist instead

    region String
    AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
    secretAccessKey String
    AWS secret key. (Cloudwatch)
    tags String
    (optional) tags. E.g. env=prod,region=europe
    vhostAllowlist String
    (optional) allowlist using regular expression
    vhostWhitelist String
    Deprecated

    Deprecated: use vhost_allowlist instead

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing IntegrationMetric Resource

    Get an existing IntegrationMetric 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?: IntegrationMetricState, opts?: CustomResourceOptions): IntegrationMetric
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_key_id: Optional[str] = None,
            api_key: Optional[str] = None,
            client_email: Optional[str] = None,
            credentials: Optional[str] = None,
            email: Optional[str] = None,
            iam_external_id: Optional[str] = None,
            iam_role: Optional[str] = None,
            instance_id: Optional[int] = None,
            license_key: Optional[str] = None,
            name: Optional[str] = None,
            private_key: Optional[str] = None,
            private_key_id: Optional[str] = None,
            project_id: Optional[str] = None,
            queue_allowlist: Optional[str] = None,
            queue_whitelist: Optional[str] = None,
            region: Optional[str] = None,
            secret_access_key: Optional[str] = None,
            tags: Optional[str] = None,
            vhost_allowlist: Optional[str] = None,
            vhost_whitelist: Optional[str] = None) -> IntegrationMetric
    func GetIntegrationMetric(ctx *Context, name string, id IDInput, state *IntegrationMetricState, opts ...ResourceOption) (*IntegrationMetric, error)
    public static IntegrationMetric Get(string name, Input<string> id, IntegrationMetricState? state, CustomResourceOptions? opts = null)
    public static IntegrationMetric get(String name, Output<String> id, IntegrationMetricState 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.
    The following state arguments are supported:
    AccessKeyId string
    AWS access key identifier. (Cloudwatch)
    ApiKey string
    The API key for the integration service. (Librato)
    ClientEmail string
    The client email. (Stackdriver)
    Credentials string
    Base64Encoded credentials. (Stackdriver)
    Email string
    The email address registred for the integration service. (Librato)
    IamExternalId string
    External identifier that match the role you created. (Cloudwatch)
    IamRole string
    The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
    InstanceId int
    Instance identifier
    LicenseKey string
    The license key registred for the integration service. (New Relic)
    Name string
    The name of metrics integration
    PrivateKey string
    The private key. (Stackdriver)
    PrivateKeyId string
    Private key identifier. (Stackdriver)
    ProjectId string
    Project ID. (Stackdriver)
    QueueAllowlist string
    (optional) allowlist using regular expression
    QueueWhitelist string
    Deprecated

    Deprecated: use queue_allowlist instead

    Region string
    AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
    SecretAccessKey string
    AWS secret key. (Cloudwatch)
    Tags string
    (optional) tags. E.g. env=prod,region=europe
    VhostAllowlist string
    (optional) allowlist using regular expression
    VhostWhitelist string
    Deprecated

    Deprecated: use vhost_allowlist instead

    AccessKeyId string
    AWS access key identifier. (Cloudwatch)
    ApiKey string
    The API key for the integration service. (Librato)
    ClientEmail string
    The client email. (Stackdriver)
    Credentials string
    Base64Encoded credentials. (Stackdriver)
    Email string
    The email address registred for the integration service. (Librato)
    IamExternalId string
    External identifier that match the role you created. (Cloudwatch)
    IamRole string
    The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
    InstanceId int
    Instance identifier
    LicenseKey string
    The license key registred for the integration service. (New Relic)
    Name string
    The name of metrics integration
    PrivateKey string
    The private key. (Stackdriver)
    PrivateKeyId string
    Private key identifier. (Stackdriver)
    ProjectId string
    Project ID. (Stackdriver)
    QueueAllowlist string
    (optional) allowlist using regular expression
    QueueWhitelist string
    Deprecated

    Deprecated: use queue_allowlist instead

    Region string
    AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
    SecretAccessKey string
    AWS secret key. (Cloudwatch)
    Tags string
    (optional) tags. E.g. env=prod,region=europe
    VhostAllowlist string
    (optional) allowlist using regular expression
    VhostWhitelist string
    Deprecated

    Deprecated: use vhost_allowlist instead

    accessKeyId String
    AWS access key identifier. (Cloudwatch)
    apiKey String
    The API key for the integration service. (Librato)
    clientEmail String
    The client email. (Stackdriver)
    credentials String
    Base64Encoded credentials. (Stackdriver)
    email String
    The email address registred for the integration service. (Librato)
    iamExternalId String
    External identifier that match the role you created. (Cloudwatch)
    iamRole String
    The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
    instanceId Integer
    Instance identifier
    licenseKey String
    The license key registred for the integration service. (New Relic)
    name String
    The name of metrics integration
    privateKey String
    The private key. (Stackdriver)
    privateKeyId String
    Private key identifier. (Stackdriver)
    projectId String
    Project ID. (Stackdriver)
    queueAllowlist String
    (optional) allowlist using regular expression
    queueWhitelist String
    Deprecated

    Deprecated: use queue_allowlist instead

    region String
    AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
    secretAccessKey String
    AWS secret key. (Cloudwatch)
    tags String
    (optional) tags. E.g. env=prod,region=europe
    vhostAllowlist String
    (optional) allowlist using regular expression
    vhostWhitelist String
    Deprecated

    Deprecated: use vhost_allowlist instead

    accessKeyId string
    AWS access key identifier. (Cloudwatch)
    apiKey string
    The API key for the integration service. (Librato)
    clientEmail string
    The client email. (Stackdriver)
    credentials string
    Base64Encoded credentials. (Stackdriver)
    email string
    The email address registred for the integration service. (Librato)
    iamExternalId string
    External identifier that match the role you created. (Cloudwatch)
    iamRole string
    The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
    instanceId number
    Instance identifier
    licenseKey string
    The license key registred for the integration service. (New Relic)
    name string
    The name of metrics integration
    privateKey string
    The private key. (Stackdriver)
    privateKeyId string
    Private key identifier. (Stackdriver)
    projectId string
    Project ID. (Stackdriver)
    queueAllowlist string
    (optional) allowlist using regular expression
    queueWhitelist string
    Deprecated

    Deprecated: use queue_allowlist instead

    region string
    AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
    secretAccessKey string
    AWS secret key. (Cloudwatch)
    tags string
    (optional) tags. E.g. env=prod,region=europe
    vhostAllowlist string
    (optional) allowlist using regular expression
    vhostWhitelist string
    Deprecated

    Deprecated: use vhost_allowlist instead

    access_key_id str
    AWS access key identifier. (Cloudwatch)
    api_key str
    The API key for the integration service. (Librato)
    client_email str
    The client email. (Stackdriver)
    credentials str
    Base64Encoded credentials. (Stackdriver)
    email str
    The email address registred for the integration service. (Librato)
    iam_external_id str
    External identifier that match the role you created. (Cloudwatch)
    iam_role str
    The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
    instance_id int
    Instance identifier
    license_key str
    The license key registred for the integration service. (New Relic)
    name str
    The name of metrics integration
    private_key str
    The private key. (Stackdriver)
    private_key_id str
    Private key identifier. (Stackdriver)
    project_id str
    Project ID. (Stackdriver)
    queue_allowlist str
    (optional) allowlist using regular expression
    queue_whitelist str
    Deprecated

    Deprecated: use queue_allowlist instead

    region str
    AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
    secret_access_key str
    AWS secret key. (Cloudwatch)
    tags str
    (optional) tags. E.g. env=prod,region=europe
    vhost_allowlist str
    (optional) allowlist using regular expression
    vhost_whitelist str
    Deprecated

    Deprecated: use vhost_allowlist instead

    accessKeyId String
    AWS access key identifier. (Cloudwatch)
    apiKey String
    The API key for the integration service. (Librato)
    clientEmail String
    The client email. (Stackdriver)
    credentials String
    Base64Encoded credentials. (Stackdriver)
    email String
    The email address registred for the integration service. (Librato)
    iamExternalId String
    External identifier that match the role you created. (Cloudwatch)
    iamRole String
    The ARN of the role to be assumed when publishing metrics. (Cloudwatch)
    instanceId Number
    Instance identifier
    licenseKey String
    The license key registred for the integration service. (New Relic)
    name String
    The name of metrics integration
    privateKey String
    The private key. (Stackdriver)
    privateKeyId String
    Private key identifier. (Stackdriver)
    projectId String
    Project ID. (Stackdriver)
    queueAllowlist String
    (optional) allowlist using regular expression
    queueWhitelist String
    Deprecated

    Deprecated: use queue_allowlist instead

    region String
    AWS region for Cloudwatch and [US/EU] for Data dog/New relic. (Cloudwatch, Data Dog, New Relic)
    secretAccessKey String
    AWS secret key. (Cloudwatch)
    tags String
    (optional) tags. E.g. env=prod,region=europe
    vhostAllowlist String
    (optional) allowlist using regular expression
    vhostWhitelist String
    Deprecated

    Deprecated: use vhost_allowlist instead

    Import

    cloudamqp_integration_metriccan be imported using the resource identifier together with CloudAMQP instance identifier. The name and identifier are CSV separated, see example below.

    $ pulumi import cloudamqp:index/integrationMetric:IntegrationMetric <resource_name> <resource_id>,<instance_id>`
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    CloudAMQP pulumi/pulumi-cloudamqp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudamqp Terraform Provider.
    cloudamqp logo
    CloudAMQP v3.18.0 published on Thursday, Jun 13, 2024 by Pulumi