wavefront.CloudIntegrationCloudWatch
Explore with Pulumi AI
Provides a Wavefront Cloud Integration for CloudWatch. This allows CloudWatch cloud integrations to be created, updated, and deleted.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Wavefront = Pulumi.Wavefront;
return await Deployment.RunAsync(() =>
{
var extId = new Wavefront.CloudIntegrationAwsExternalId("extId");
var cloudwatch = new Wavefront.CloudIntegrationCloudWatch("cloudwatch", new()
{
ForceSave = true,
RoleArn = "arn:aws::1234567:role/example-arn",
ExternalId = extId.Id,
});
});
package main
import (
"github.com/pulumi/pulumi-wavefront/sdk/go/wavefront"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
extId, err := wavefront.NewCloudIntegrationAwsExternalId(ctx, "extId", nil)
if err != nil {
return err
}
_, err = wavefront.NewCloudIntegrationCloudWatch(ctx, "cloudwatch", &wavefront.CloudIntegrationCloudWatchArgs{
ForceSave: pulumi.Bool(true),
RoleArn: pulumi.String("arn:aws::1234567:role/example-arn"),
ExternalId: extId.ID(),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.wavefront.CloudIntegrationAwsExternalId;
import com.pulumi.wavefront.CloudIntegrationCloudWatch;
import com.pulumi.wavefront.CloudIntegrationCloudWatchArgs;
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 extId = new CloudIntegrationAwsExternalId("extId");
var cloudwatch = new CloudIntegrationCloudWatch("cloudwatch", CloudIntegrationCloudWatchArgs.builder()
.forceSave(true)
.roleArn("arn:aws::1234567:role/example-arn")
.externalId(extId.id())
.build());
}
}
import pulumi
import pulumi_wavefront as wavefront
ext_id = wavefront.CloudIntegrationAwsExternalId("extId")
cloudwatch = wavefront.CloudIntegrationCloudWatch("cloudwatch",
force_save=True,
role_arn="arn:aws::1234567:role/example-arn",
external_id=ext_id.id)
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";
const extId = new wavefront.CloudIntegrationAwsExternalId("extId", {});
const cloudwatch = new wavefront.CloudIntegrationCloudWatch("cloudwatch", {
forceSave: true,
roleArn: "arn:aws::1234567:role/example-arn",
externalId: extId.id,
});
resources:
extId:
type: wavefront:CloudIntegrationAwsExternalId
cloudwatch:
type: wavefront:CloudIntegrationCloudWatch
properties:
forceSave: true
roleArn: arn:aws::1234567:role/example-arn
externalId: ${extId.id}
Create CloudIntegrationCloudWatch Resource
new CloudIntegrationCloudWatch(name: string, args: CloudIntegrationCloudWatchArgs, opts?: CustomResourceOptions);
@overload
def CloudIntegrationCloudWatch(resource_name: str,
opts: Optional[ResourceOptions] = None,
additional_tags: Optional[Mapping[str, str]] = None,
external_id: Optional[str] = None,
force_save: Optional[bool] = None,
instance_selection_tags: Optional[Mapping[str, str]] = None,
metric_filter_regex: Optional[str] = None,
name: Optional[str] = None,
namespaces: Optional[Sequence[str]] = None,
point_tag_filter_regex: Optional[str] = None,
role_arn: Optional[str] = None,
service: Optional[str] = None,
service_refresh_rate_in_minutes: Optional[int] = None,
volume_selection_tags: Optional[Mapping[str, str]] = None)
@overload
def CloudIntegrationCloudWatch(resource_name: str,
args: CloudIntegrationCloudWatchArgs,
opts: Optional[ResourceOptions] = None)
func NewCloudIntegrationCloudWatch(ctx *Context, name string, args CloudIntegrationCloudWatchArgs, opts ...ResourceOption) (*CloudIntegrationCloudWatch, error)
public CloudIntegrationCloudWatch(string name, CloudIntegrationCloudWatchArgs args, CustomResourceOptions? opts = null)
public CloudIntegrationCloudWatch(String name, CloudIntegrationCloudWatchArgs args)
public CloudIntegrationCloudWatch(String name, CloudIntegrationCloudWatchArgs args, CustomResourceOptions options)
type: wavefront:CloudIntegrationCloudWatch
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudIntegrationCloudWatchArgs
- 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 CloudIntegrationCloudWatchArgs
- 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 CloudIntegrationCloudWatchArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudIntegrationCloudWatchArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudIntegrationCloudWatchArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CloudIntegrationCloudWatch 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 CloudIntegrationCloudWatch resource accepts the following input properties:
- External
Id string The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
- Role
Arn string The external ID corresponding to the Role ARN.
- Service string
A value denoting which cloud service this service integrates with.
- Dictionary<string, string>
A list of point tag key-values to add to every point ingested using this integration.
- Force
Save bool Forces this resource to save, even if errors are present.
- Dictionary<string, string>
A string->string map allow list of instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed.
- Metric
Filter stringRegex A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested.
- Name string
The human-readable name of this integration.
- Namespaces List<string>
A list of namespaces that limit what we query from CloudWatch.
- Point
Tag stringFilter Regex A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested.
- Service
Refresh intRate In Minutes How often, in minutes, to refresh the service.
- Dictionary<string, string>
A string->string map of allow list of volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed.
- External
Id string The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
- Role
Arn string The external ID corresponding to the Role ARN.
- Service string
A value denoting which cloud service this service integrates with.
- map[string]string
A list of point tag key-values to add to every point ingested using this integration.
- Force
Save bool Forces this resource to save, even if errors are present.
- map[string]string
A string->string map allow list of instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed.
- Metric
Filter stringRegex A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested.
- Name string
The human-readable name of this integration.
- Namespaces []string
A list of namespaces that limit what we query from CloudWatch.
- Point
Tag stringFilter Regex A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested.
- Service
Refresh intRate In Minutes How often, in minutes, to refresh the service.
- map[string]string
A string->string map of allow list of volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed.
- external
Id String The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
- role
Arn String The external ID corresponding to the Role ARN.
- service String
A value denoting which cloud service this service integrates with.
- Map<String,String>
A list of point tag key-values to add to every point ingested using this integration.
- force
Save Boolean Forces this resource to save, even if errors are present.
- Map<String,String>
A string->string map allow list of instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed.
- metric
Filter StringRegex A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested.
- name String
The human-readable name of this integration.
- namespaces List<String>
A list of namespaces that limit what we query from CloudWatch.
- point
Tag StringFilter Regex A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested.
- service
Refresh IntegerRate In Minutes How often, in minutes, to refresh the service.
- Map<String,String>
A string->string map of allow list of volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed.
- external
Id string The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
- role
Arn string The external ID corresponding to the Role ARN.
- service string
A value denoting which cloud service this service integrates with.
- {[key: string]: string}
A list of point tag key-values to add to every point ingested using this integration.
- force
Save boolean Forces this resource to save, even if errors are present.
- {[key: string]: string}
A string->string map allow list of instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed.
- metric
Filter stringRegex A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested.
- name string
The human-readable name of this integration.
- namespaces string[]
A list of namespaces that limit what we query from CloudWatch.
- point
Tag stringFilter Regex A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested.
- service
Refresh numberRate In Minutes How often, in minutes, to refresh the service.
- {[key: string]: string}
A string->string map of allow list of volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed.
- external_
id str The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
- role_
arn str The external ID corresponding to the Role ARN.
- service str
A value denoting which cloud service this service integrates with.
- Mapping[str, str]
A list of point tag key-values to add to every point ingested using this integration.
- force_
save bool Forces this resource to save, even if errors are present.
- Mapping[str, str]
A string->string map allow list of instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed.
- metric_
filter_ strregex A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested.
- name str
The human-readable name of this integration.
- namespaces Sequence[str]
A list of namespaces that limit what we query from CloudWatch.
- point_
tag_ strfilter_ regex A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested.
- service_
refresh_ intrate_ in_ minutes How often, in minutes, to refresh the service.
- Mapping[str, str]
A string->string map of allow list of volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed.
- external
Id String The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
- role
Arn String The external ID corresponding to the Role ARN.
- service String
A value denoting which cloud service this service integrates with.
- Map<String>
A list of point tag key-values to add to every point ingested using this integration.
- force
Save Boolean Forces this resource to save, even if errors are present.
- Map<String>
A string->string map allow list of instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed.
- metric
Filter StringRegex A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested.
- name String
The human-readable name of this integration.
- namespaces List<String>
A list of namespaces that limit what we query from CloudWatch.
- point
Tag StringFilter Regex A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested.
- service
Refresh NumberRate In Minutes How often, in minutes, to refresh the service.
- Map<String>
A string->string map of allow list of volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudIntegrationCloudWatch 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 CloudIntegrationCloudWatch Resource
Get an existing CloudIntegrationCloudWatch 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?: CloudIntegrationCloudWatchState, opts?: CustomResourceOptions): CloudIntegrationCloudWatch
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_tags: Optional[Mapping[str, str]] = None,
external_id: Optional[str] = None,
force_save: Optional[bool] = None,
instance_selection_tags: Optional[Mapping[str, str]] = None,
metric_filter_regex: Optional[str] = None,
name: Optional[str] = None,
namespaces: Optional[Sequence[str]] = None,
point_tag_filter_regex: Optional[str] = None,
role_arn: Optional[str] = None,
service: Optional[str] = None,
service_refresh_rate_in_minutes: Optional[int] = None,
volume_selection_tags: Optional[Mapping[str, str]] = None) -> CloudIntegrationCloudWatch
func GetCloudIntegrationCloudWatch(ctx *Context, name string, id IDInput, state *CloudIntegrationCloudWatchState, opts ...ResourceOption) (*CloudIntegrationCloudWatch, error)
public static CloudIntegrationCloudWatch Get(string name, Input<string> id, CloudIntegrationCloudWatchState? state, CustomResourceOptions? opts = null)
public static CloudIntegrationCloudWatch get(String name, Output<String> id, CloudIntegrationCloudWatchState 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.
- Dictionary<string, string>
A list of point tag key-values to add to every point ingested using this integration.
- External
Id string The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
- Force
Save bool Forces this resource to save, even if errors are present.
- Dictionary<string, string>
A string->string map allow list of instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed.
- Metric
Filter stringRegex A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested.
- Name string
The human-readable name of this integration.
- Namespaces List<string>
A list of namespaces that limit what we query from CloudWatch.
- Point
Tag stringFilter Regex A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested.
- Role
Arn string The external ID corresponding to the Role ARN.
- Service string
A value denoting which cloud service this service integrates with.
- Service
Refresh intRate In Minutes How often, in minutes, to refresh the service.
- Dictionary<string, string>
A string->string map of allow list of volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed.
- map[string]string
A list of point tag key-values to add to every point ingested using this integration.
- External
Id string The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
- Force
Save bool Forces this resource to save, even if errors are present.
- map[string]string
A string->string map allow list of instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed.
- Metric
Filter stringRegex A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested.
- Name string
The human-readable name of this integration.
- Namespaces []string
A list of namespaces that limit what we query from CloudWatch.
- Point
Tag stringFilter Regex A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested.
- Role
Arn string The external ID corresponding to the Role ARN.
- Service string
A value denoting which cloud service this service integrates with.
- Service
Refresh intRate In Minutes How often, in minutes, to refresh the service.
- map[string]string
A string->string map of allow list of volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed.
- Map<String,String>
A list of point tag key-values to add to every point ingested using this integration.
- external
Id String The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
- force
Save Boolean Forces this resource to save, even if errors are present.
- Map<String,String>
A string->string map allow list of instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed.
- metric
Filter StringRegex A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested.
- name String
The human-readable name of this integration.
- namespaces List<String>
A list of namespaces that limit what we query from CloudWatch.
- point
Tag StringFilter Regex A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested.
- role
Arn String The external ID corresponding to the Role ARN.
- service String
A value denoting which cloud service this service integrates with.
- service
Refresh IntegerRate In Minutes How often, in minutes, to refresh the service.
- Map<String,String>
A string->string map of allow list of volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed.
- {[key: string]: string}
A list of point tag key-values to add to every point ingested using this integration.
- external
Id string The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
- force
Save boolean Forces this resource to save, even if errors are present.
- {[key: string]: string}
A string->string map allow list of instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed.
- metric
Filter stringRegex A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested.
- name string
The human-readable name of this integration.
- namespaces string[]
A list of namespaces that limit what we query from CloudWatch.
- point
Tag stringFilter Regex A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested.
- role
Arn string The external ID corresponding to the Role ARN.
- service string
A value denoting which cloud service this service integrates with.
- service
Refresh numberRate In Minutes How often, in minutes, to refresh the service.
- {[key: string]: string}
A string->string map of allow list of volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed.
- Mapping[str, str]
A list of point tag key-values to add to every point ingested using this integration.
- external_
id str The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
- force_
save bool Forces this resource to save, even if errors are present.
- Mapping[str, str]
A string->string map allow list of instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed.
- metric_
filter_ strregex A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested.
- name str
The human-readable name of this integration.
- namespaces Sequence[str]
A list of namespaces that limit what we query from CloudWatch.
- point_
tag_ strfilter_ regex A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested.
- role_
arn str The external ID corresponding to the Role ARN.
- service str
A value denoting which cloud service this service integrates with.
- service_
refresh_ intrate_ in_ minutes How often, in minutes, to refresh the service.
- Mapping[str, str]
A string->string map of allow list of volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed.
- Map<String>
A list of point tag key-values to add to every point ingested using this integration.
- external
Id String The Role ARN that the customer has created in AWS IAM to allow access to Wavefront.
- force
Save Boolean Forces this resource to save, even if errors are present.
- Map<String>
A string->string map allow list of instance tag-value pairs (in AWS). If the instance's AWS tags match this allow list, CloudWatch data about this instance is ingested. Multiple entries are OR'ed.
- metric
Filter StringRegex A regular expression that a CloudWatch metric name must match (case-insensitively) in order to be ingested.
- name String
The human-readable name of this integration.
- namespaces List<String>
A list of namespaces that limit what we query from CloudWatch.
- point
Tag StringFilter Regex A regular expression that AWS tag key name must match (case-insensitively) in order to be ingested.
- role
Arn String The external ID corresponding to the Role ARN.
- service String
A value denoting which cloud service this service integrates with.
- service
Refresh NumberRate In Minutes How often, in minutes, to refresh the service.
- Map<String>
A string->string map of allow list of volume tag-value pairs (in AWS). If the volume's AWS tags match this allow list, CloudWatch data about this volume is ingested. Multiple entries are OR'ed.
Import
CloudWatch Cloud Integrations can be imported by using the id
, e.g.
$ pulumi import wavefront:index/cloudIntegrationCloudWatch:CloudIntegrationCloudWatch cloudwatch a411c16b-3cf7-4f03-bf11-8ca05aab898d
Package Details
- Repository
- Wavefront pulumi/pulumi-wavefront
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
wavefront
Terraform Provider.