import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Use this resource to integrate AWS services with New Relic.
*
* ## Prerequisite
*
* Setup is required for this resource to work properly. This resource assumes you have linked an AWS account to New Relic and configured it to push metrics using CloudWatch Metric Streams.
*
* New Relic doesn't automatically receive metrics from AWS for some services so this resource can be used to configure integrations to those services.
*
* Using a metric stream to New Relic is the preferred way to integrate with AWS. Follow the [steps outlined here](https://docs.newrelic.com/docs/infrastructure/amazon-integrations/aws-integrations-list/aws-metric-stream/#set-up-metric-stream) to set up a metric stream. This resource supports any integration that's not available through AWS metric stream.
*
* ## Example Usage
*
* The following example demonstrates the use of the `newrelic.cloud.AwsIntegrations` resource with multiple AWS integrations supported by the resource.
*
* To view a full example with all supported AWS integrations, please see the Additional Examples section. Integration blocks used in the resource may also be left empty to use the default configuration of the integration.
*
* A full example, inclusive of setup of AWS resources (from the AWS Terraform Provider) associated with this resource, may be found in our AWS cloud integration guide.
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as newrelic from "@pulumi/newrelic";
*
* const foo = new newrelic.cloud.AwsLinkAccount("foo", {
* arn: newrelicAwsRole.arn,
* metricCollectionMode: "PULL",
* name: "foo",
* });
* const bar = new newrelic.cloud.AwsIntegrations("bar", {
* linkedAccountId: foo.id,
* cloudtrail: {
* metricsPollingInterval: 300,
* awsRegions: [
* "us-east-1",
* "us-east-2",
* ],
* },
* vpc: {
* metricsPollingInterval: 900,
* awsRegions: [
* "us-east-1",
* "us-east-2",
* ],
* fetchNatGateway: true,
* fetchVpn: false,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* sqs: {
* fetchExtendedInventory: true,
* fetchTags: true,
* queuePrefixes: ["queue prefix"],
* metricsPollingInterval: 300,
* awsRegions: ["us-east-1"],
* tagKey: "tag key",
* tagValue: "tag value",
* },
* apiGateway: {
* metricsPollingInterval: 300,
* awsRegions: ["us-east-1"],
* stagePrefixes: ["stage prefix"],
* tagKey: "tag key",
* tagValue: "tag value",
* },
* cloudfront: {
* fetchLambdasAtEdge: true,
* fetchTags: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* ec2: {
* awsRegions: ["us-east-1"],
* duplicateEc2Tags: true,
* fetchIpAddresses: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* elasticsearch: {
* awsRegions: ["us-east-1"],
* fetchNodes: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* kinesis: {
* awsRegions: ["us-east-1"],
* fetchShards: true,
* fetchTags: true,
* metricsPollingInterval: 900,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* });
* ```
*
* ## Supported AWS Integrations
*
*
* Expand this section to view all supported AWS services supported, that may be integrated via this resource.
*
* | Block | Description |
* |-------------------------|-------------------------------|
* | `alb` | ALB Integration |
* | `apiGateway` | API Gateway Integration |
* | `autoScaling` | Auto Scaling Integration |
* | `awsAppSync` | AppSync Integration |
* | `awsAthena` | Athena Integration |
* | `awsCognito` | Cognito Integration |
* | `awsConnect` | Connect Integration |
* | `awsDirectConnect` | Direct Connect Integration |
* | `awsFsx` | FSx Integration |
* | `awsGlue` | Glue Integration |
* | `awsKinesisAnalytics` | Kinesis Analytics Integration |
* | `awsMediaConvert` | MediaConvert Integration |
* | `awsMediaPackageVod` | Media Package VOD Integration |
* | `awsMq` | MQ Integration |
* | `awsMsk` | MSK Integration |
* | `awsNeptune` | Neptune Integration |
* | `awsQldb` | QLDB Integration |
* | `awsRoute53resolver` | Route53 Resolver Integration |
* | `awsStates` | States Integration |
* | `awsTransitGateway` | Transit Gateway Integration |
* | `awsWaf` | WAF Integration |
* | `awsWafv2` | WAFv2 Integration |
* | `billing` | Billing Integration |
* | `cloudfront` | CloudFront Integration |
* | `cloudtrail` | CloudTrail Integration |
* | `docDb` | DocumentDB Integration |
* | `dynamodb` | DynamoDB Integration |
* | `ebs` | EBS Integration |
* | `ec2` | EC2 Integration |
* | `ecs` | ECS Integration |
* | `efs` | EFS Integration |
* | `elasticache` | ElastiCache Integration |
* | `elasticbeanstalk` | Elastic Beanstalk Integration |
* | `elasticsearch` | Elasticsearch Integration |
* | `elb` | ELB Integration |
* | `emr` | EMR Integration |
* | `health` | Health Integration |
* | `iam` | IAM Integration |
* | `iot` | IoT Integration |
* | `kinesis` | Kinesis Integration |
* | `kinesisFirehose` | Kinesis Firehose Integration |
* | `lambda` | Lambda Integration |
* | `rds` | RDS Integration |
* | `redshift` | Redshift Integration |
* | `route53` | Route53 Integration |
* | `s3` | S3 Integration |
* | `ses` | SES Integration |
* | `securityHub` | Security Hub Integration |
* | `sns` | SNS Integration |
* | `sqs` | SQS Integration |
* | `trustedAdvisor` | Trusted Advisor Integration |
* | `vpc` | VPC Integration |
* | `xRay` | X-Ray Integration |
*
*
*
* ## Integration Blocks
*
* The following section lists out arguments which may be used with each AWS integration supported by this resource.
*
* As specified above in the Arguments to be Specified with Integration Blocks section, except for `linkedAccountId` and `accountId`, all aforementioned arguments are to be specified within an integration block as they are supported by a specific set of integrations each; the following list of integration blocks elucidates the same with samples of what each integration block would look like.
*
*
* Expand this list to see a list of all integration blocks supported by this resource, the arguments which go with them and a sample of what the block would look like with these arguments.
*
* cloudtrail
* * Supported Arguments: `awsRegions` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* cloudtrail {
* metrics_polling_interval = 300
* aws_regions = ["us-east-1", "us-east-2"]
* }
* ```
*
*
* vpc
* * Supported Arguments: `awsRegions` `fetchNatGateway` `fetchVpn` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* vpc {
* metrics_polling_interval = 900
* aws_regions = ["us-east-1", "us-east-2"]
* fetch_nat_gateway = true
* fetch_vpn = false
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* x_ray
* * Supported Arguments: `awsRegions` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 60,300, 900, 1800, 3600 (seconds)
* ```hcl
* x_ray {
* metrics_polling_interval = 300
* aws_regions = ["us-east-1", "us-east-2"]
* }
* ```
*
*
* s3
* * Supported Arguments: `fetchExtendedInventory` `fetchTags` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* s3 {
* metrics_polling_interval = 3600
* fetch_extended_inventory = true
* fetch_tags = true
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* doc_db
* * Supported Arguments: `awsRegions` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* doc_db {
* metrics_polling_interval = 300
* aws_regions = ["us-east-1", "us-east-2"]
* }
* ```
*
*
* sqs
* * Supported Arguments: `awsRegions` `fetchExtendedInventory` `fetchTags` `queuePrefixes` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* sqs {
* fetch_extended_inventory = true
* fetch_tags = true
* queue_prefixes = ["queue prefix"]
* metrics_polling_interval = 300
* aws_regions = ["us-east-1"]
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* ebs
* * Supported Arguments: `awsRegions` `fetchExtendedInventory` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 900, 1800, 3600 (seconds)
* ```hcl
* ebs {
* metrics_polling_interval = 900
* fetch_extended_inventory = true
* aws_regions = ["us-east-1"]
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* alb
* * Supported Arguments: `awsRegions` `fetchExtendedInventory` `fetchTags` `loadBalancerPrefixes` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* alb {
* fetch_extended_inventory = true
* fetch_tags = true
* load_balancer_prefixes = ["load balancer prefix"]
* metrics_polling_interval = 300
* aws_regions = ["us-east-1"]
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* elasticache
* * Supported Arguments: `awsRegions` `fetchTags` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* elasticache {
* aws_regions = ["us-east-1"]
* fetch_tags = true
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* api_gateway
* * Supported Arguments: `awsRegions` `tagKey` `tagValue` `stagePrefixes`
* ```hcl
* api_gateway {
* metrics_polling_interval = 300
* aws_regions = ["us-east-1"]
* stage_prefixes = ["stage prefix"]
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* cloudfront
* * Supported Arguments: `fetchLambdasAtEdge` `fetchTags` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* cloudfront {
* fetch_lambdas_at_edge = true
* fetch_tags = true
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* dynamodb
* * Supported Arguments: `awsRegions` `fetchExtendedInventory` `fetchTags` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* dynamodb {
* aws_regions = ["us-east-1"]
* fetch_extended_inventory = true
* fetch_tags = true
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* ec2
* * Supported Arguments: `awsRegions` `duplicateEc2Tags` `fetchIpAddresses` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* ec2 {
* aws_regions = ["us-east-1"]
* duplicate_ec2_tags = true
* fetch_ip_addresses = true
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* ecs
* * Supported Arguments: `awsRegions` `fetchTags` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* ecs {
* aws_regions = ["us-east-1"]
* fetch_tags = true
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* efs
* * Supported Arguments: `awsRegions` `fetchTags` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* efs {
* aws_regions = ["us-east-1"]
* fetch_tags = true
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* elasticbeanstalk
* * Supported Arguments: `awsRegions` `fetchExtendedInventory` `fetchTags` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* elasticbeanstalk {
* aws_regions = ["us-east-1"]
* fetch_extended_inventory = true
* fetch_tags = true
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* elasticsearch
* * Supported Arguments: `awsRegions` `fetchNodes` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* elasticsearch {
* aws_regions = ["us-east-1"]
* fetch_nodes = true
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* elb
* * Supported Arguments: `awsRegions` `fetchExtendedInventory` `fetchTags` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* elb {
* aws_regions = ["us-east-1"]
* fetch_extended_inventory = true
* fetch_tags = true
* metrics_polling_interval = 300
* }
* ```
*
*
* emr
* * Supported Arguments: `awsRegions` `fetchTags` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* emr {
* aws_regions = ["us-east-1"]
* fetch_tags = true
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* iam
* * Supported Arguments: `tagKey` `tagValue` `metricsPollingInterval`
* ```hcl
* iam {
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* kinesis
* * Supported Arguments: `awsRegions` `fetchShards` `fetchTags` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 900, 1800, 3600 (seconds)
* ```hcl
* kinesis {
* aws_regions = ["us-east-1"]
* fetch_shards = true
* fetch_tags = true
* metrics_polling_interval = 900
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* lambda
* * Supported Arguments: `awsRegions` `fetchTags` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* lambda {
* aws_regions = ["us-east-1"]
* fetch_tags = true
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* rds
* * Supported Arguments: `awsRegions` `fetchTags` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* rds {
* aws_regions = ["us-east-1"]
* fetch_tags = true
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* redshift
* * Supported Arguments: `awsRegions` `tagKey` `tagValue` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* redshift {
* aws_regions = ["us-east-1"]
* metrics_polling_interval = 300
* tag_key = "tag key"
* tag_value = "tag value"
* }
* ```
*
*
* route53
* * Supported Arguments: `fetchExtendedInventory` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* route53 {
* fetch_extended_inventory = true
* metrics_polling_interval = 300
* }
* ```
*
*
* sns
* * Supported Arguments: `awsRegions` `fetchExtendedInventory` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 300, 900, 1800, 3600 (seconds)
* ```hcl
* sns {
* aws_regions = ["us-east-1"]
* fetch_extended_inventory = true
* metrics_polling_interval = 300
* }
* ```
*
*
* security hub
* * Supported Arguments: `awsRegions` `metricsPollingInterval`
* * Valid `metricsPollingInterval` values: 21600, 43200, 86400 (seconds)
* ```hcl
* security_hub {
* aws_regions = ["us-east-1"]
* metrics_polling_interval = 86400
* }
* ```
*
*
*
* ## Additional Examples
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as newrelic from "@pulumi/newrelic";
*
* const bar = new newrelic.cloud.AwsIntegrations("bar", {
* linkedAccountId: foo.id,
* billing: {
* metricsPollingInterval: 3600,
* },
* cloudtrail: {
* metricsPollingInterval: 300,
* awsRegions: [
* "us-east-1",
* "us-east-2",
* ],
* },
* health: {
* metricsPollingInterval: 300,
* },
* trustedAdvisor: {
* metricsPollingInterval: 3600,
* },
* vpc: {
* metricsPollingInterval: 900,
* awsRegions: [
* "us-east-1",
* "us-east-2",
* ],
* fetchNatGateway: true,
* fetchVpn: false,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* xRay: {
* metricsPollingInterval: 300,
* awsRegions: [
* "us-east-1",
* "us-east-2",
* ],
* },
* s3: {
* metricsPollingInterval: 3600,
* },
* docDb: {
* metricsPollingInterval: 300,
* },
* sqs: {
* fetchExtendedInventory: true,
* fetchTags: true,
* queuePrefixes: ["queue prefix"],
* metricsPollingInterval: 300,
* awsRegions: ["us-east-1"],
* tagKey: "tag key",
* tagValue: "tag value",
* },
* ebs: {
* metricsPollingInterval: 900,
* fetchExtendedInventory: true,
* awsRegions: ["us-east-1"],
* tagKey: "tag key",
* tagValue: "tag value",
* },
* alb: {
* fetchExtendedInventory: true,
* fetchTags: true,
* loadBalancerPrefixes: ["load balancer prefix"],
* metricsPollingInterval: 300,
* awsRegions: ["us-east-1"],
* tagKey: "tag key",
* tagValue: "tag value",
* },
* elasticache: {
* awsRegions: ["us-east-1"],
* fetchTags: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* apiGateway: {
* metricsPollingInterval: 300,
* awsRegions: ["us-east-1"],
* stagePrefixes: ["stage prefix"],
* tagKey: "tag key",
* tagValue: "tag value",
* },
* autoScaling: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsAppSync: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsAthena: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsCognito: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsConnect: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsDirectConnect: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsFsx: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsGlue: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsKinesisAnalytics: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsMediaConvert: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsMediaPackageVod: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsMq: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsMsk: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsNeptune: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsQldb: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsRoute53resolver: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsStates: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsTransitGateway: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsWaf: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* awsWafv2: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* cloudfront: {
* fetchLambdasAtEdge: true,
* fetchTags: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* dynamodb: {
* awsRegions: ["us-east-1"],
* fetchExtendedInventory: true,
* fetchTags: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* ec2: {
* awsRegions: ["us-east-1"],
* duplicateEc2Tags: true,
* fetchIpAddresses: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* ecs: {
* awsRegions: ["us-east-1"],
* fetchTags: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* efs: {
* awsRegions: ["us-east-1"],
* fetchTags: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* elasticbeanstalk: {
* awsRegions: ["us-east-1"],
* fetchExtendedInventory: true,
* fetchTags: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* elasticsearch: {
* awsRegions: ["us-east-1"],
* fetchNodes: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* elb: {
* awsRegions: ["us-east-1"],
* fetchExtendedInventory: true,
* fetchTags: true,
* metricsPollingInterval: 300,
* },
* emr: {
* awsRegions: ["us-east-1"],
* fetchTags: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* iam: {
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* iot: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* kinesis: {
* awsRegions: ["us-east-1"],
* fetchShards: true,
* fetchTags: true,
* metricsPollingInterval: 900,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* kinesisFirehose: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* lambda: {
* awsRegions: ["us-east-1"],
* fetchTags: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* rds: {
* awsRegions: ["us-east-1"],
* fetchTags: true,
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* redshift: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* tagKey: "tag key",
* tagValue: "tag value",
* },
* route53: {
* fetchExtendedInventory: true,
* metricsPollingInterval: 300,
* },
* ses: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 300,
* },
* sns: {
* awsRegions: ["us-east-1"],
* fetchExtendedInventory: true,
* metricsPollingInterval: 300,
* },
* securityHub: {
* awsRegions: ["us-east-1"],
* metricsPollingInterval: 86400,
* },
* });
* ```
*
* ## Import
*
* Linked AWS account integrations can be imported using the `id`, e.g.
*
* ```sh
* $ pulumi import newrelic:cloud/awsIntegrations:AwsIntegrations foo
* ```
*/
export declare class AwsIntegrations extends pulumi.CustomResource {
/**
* Get an existing AwsIntegrations resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input, state?: AwsIntegrationsState, opts?: pulumi.CustomResourceOptions): AwsIntegrations;
/**
* Returns true if the given object is an instance of AwsIntegrations. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is AwsIntegrations;
/**
* The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
*/
readonly accountId: pulumi.Output;
/**
* ALB integration
*/
readonly alb: pulumi.Output;
/**
* API Gateway integration
*/
readonly apiGateway: pulumi.Output;
/**
* AutoScaling integration
*/
readonly autoScaling: pulumi.Output;
/**
* Aws Appsync integration
*/
readonly awsAppSync: pulumi.Output;
/**
* Aws Athena integration
*/
readonly awsAthena: pulumi.Output;
/**
* Aws Auto Discovery Integration
*/
readonly awsAutoDiscovery: pulumi.Output;
/**
* Aws Cognito integration
*/
readonly awsCognito: pulumi.Output;
/**
* Aws Connect integration
*/
readonly awsConnect: pulumi.Output;
/**
* Aws Direct Connect integration
*/
readonly awsDirectConnect: pulumi.Output;
/**
* Aws Fsx integration
*/
readonly awsFsx: pulumi.Output;
/**
* Aws Glue integration
*/
readonly awsGlue: pulumi.Output;
/**
* Aws Kinesis Analytics integration
*/
readonly awsKinesisAnalytics: pulumi.Output;
/**
* Aws Media Convert integration
*/
readonly awsMediaConvert: pulumi.Output;
/**
* Aws Media PackageVod integration
*/
readonly awsMediaPackageVod: pulumi.Output;
/**
* Aws Mq integration
*/
readonly awsMq: pulumi.Output;
/**
* Aws Msk integration
*/
readonly awsMsk: pulumi.Output;
/**
* Aws Neptune integration
*/
readonly awsNeptune: pulumi.Output;
/**
* Aws Qldb integration
*/
readonly awsQldb: pulumi.Output;
/**
* Aws Route53resolver integration
*/
readonly awsRoute53resolver: pulumi.Output;
/**
* Aws states integration
*/
readonly awsStates: pulumi.Output;
/**
* Aws Transit Gateway integration
*/
readonly awsTransitGateway: pulumi.Output;
/**
* Aws Waf integration
*/
readonly awsWaf: pulumi.Output;
/**
* Aws Wafv2 integration
*/
readonly awsWafv2: pulumi.Output;
/**
* Billing integration
*/
readonly billing: pulumi.Output;
/**
* Cloudfront integration
*/
readonly cloudfront: pulumi.Output;
/**
* CloudTrail integration
*/
readonly cloudtrail: pulumi.Output;
/**
* Doc DB integration
*/
readonly docDb: pulumi.Output;
/**
* Dynamo DB integration
*/
readonly dynamodb: pulumi.Output;
/**
* EBS integration
*/
readonly ebs: pulumi.Output;
/**
* Ec2 integration
*/
readonly ec2: pulumi.Output;
/**
* Ecs integration
*/
readonly ecs: pulumi.Output;
/**
* Efs integration
*/
readonly efs: pulumi.Output;
/**
* Elasticache integration
*/
readonly elasticache: pulumi.Output;
/**
* Elastic Bean Stalk integration
*/
readonly elasticbeanstalk: pulumi.Output;
/**
* Elastic Search integration
*/
readonly elasticsearch: pulumi.Output;
/**
* Elb integration
*/
readonly elb: pulumi.Output;
/**
* Emr integration
*/
readonly emr: pulumi.Output;
/**
* Health integration
*/
readonly health: pulumi.Output;
/**
* Iam integration
*/
readonly iam: pulumi.Output;
/**
* Iot integration
*/
readonly iot: pulumi.Output;
/**
* Kinesis integration
*/
readonly kinesis: pulumi.Output;
/**
* Kinesis Firehose integration
*/
readonly kinesisFirehose: pulumi.Output;
/**
* Lambda integration
*/
readonly lambda: pulumi.Output;
/**
* The ID of the linked AWS account in New Relic.
*/
readonly linkedAccountId: pulumi.Output;
/**
* Rds integration
*/
readonly rds: pulumi.Output;
/**
* Redshift integration
*/
readonly redshift: pulumi.Output;
/**
* Route53 integration
*/
readonly route53: pulumi.Output;
/**
* S3 integration
*/
readonly s3: pulumi.Output;
/**
* Security Hub integration
*/
readonly securityHub: pulumi.Output;
/**
* Ses integration
*/
readonly ses: pulumi.Output;
/**
* Sns integration
*/
readonly sns: pulumi.Output;
/**
* SQS integration
*/
readonly sqs: pulumi.Output;
/**
* Trusted Advisor integration
*/
readonly trustedAdvisor: pulumi.Output;
/**
* VPC integration
*/
readonly vpc: pulumi.Output;
/**
* X-Ray integration
*/
readonly xRay: pulumi.Output;
/**
* Create a AwsIntegrations resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: AwsIntegrationsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering AwsIntegrations resources.
*/
export interface AwsIntegrationsState {
/**
* The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
*/
accountId?: pulumi.Input;
/**
* ALB integration
*/
alb?: pulumi.Input;
/**
* API Gateway integration
*/
apiGateway?: pulumi.Input;
/**
* AutoScaling integration
*/
autoScaling?: pulumi.Input;
/**
* Aws Appsync integration
*/
awsAppSync?: pulumi.Input;
/**
* Aws Athena integration
*/
awsAthena?: pulumi.Input;
/**
* Aws Auto Discovery Integration
*/
awsAutoDiscovery?: pulumi.Input;
/**
* Aws Cognito integration
*/
awsCognito?: pulumi.Input;
/**
* Aws Connect integration
*/
awsConnect?: pulumi.Input;
/**
* Aws Direct Connect integration
*/
awsDirectConnect?: pulumi.Input;
/**
* Aws Fsx integration
*/
awsFsx?: pulumi.Input;
/**
* Aws Glue integration
*/
awsGlue?: pulumi.Input;
/**
* Aws Kinesis Analytics integration
*/
awsKinesisAnalytics?: pulumi.Input;
/**
* Aws Media Convert integration
*/
awsMediaConvert?: pulumi.Input;
/**
* Aws Media PackageVod integration
*/
awsMediaPackageVod?: pulumi.Input;
/**
* Aws Mq integration
*/
awsMq?: pulumi.Input;
/**
* Aws Msk integration
*/
awsMsk?: pulumi.Input;
/**
* Aws Neptune integration
*/
awsNeptune?: pulumi.Input;
/**
* Aws Qldb integration
*/
awsQldb?: pulumi.Input;
/**
* Aws Route53resolver integration
*/
awsRoute53resolver?: pulumi.Input;
/**
* Aws states integration
*/
awsStates?: pulumi.Input;
/**
* Aws Transit Gateway integration
*/
awsTransitGateway?: pulumi.Input;
/**
* Aws Waf integration
*/
awsWaf?: pulumi.Input;
/**
* Aws Wafv2 integration
*/
awsWafv2?: pulumi.Input;
/**
* Billing integration
*/
billing?: pulumi.Input;
/**
* Cloudfront integration
*/
cloudfront?: pulumi.Input;
/**
* CloudTrail integration
*/
cloudtrail?: pulumi.Input;
/**
* Doc DB integration
*/
docDb?: pulumi.Input;
/**
* Dynamo DB integration
*/
dynamodb?: pulumi.Input;
/**
* EBS integration
*/
ebs?: pulumi.Input;
/**
* Ec2 integration
*/
ec2?: pulumi.Input;
/**
* Ecs integration
*/
ecs?: pulumi.Input;
/**
* Efs integration
*/
efs?: pulumi.Input;
/**
* Elasticache integration
*/
elasticache?: pulumi.Input;
/**
* Elastic Bean Stalk integration
*/
elasticbeanstalk?: pulumi.Input;
/**
* Elastic Search integration
*/
elasticsearch?: pulumi.Input;
/**
* Elb integration
*/
elb?: pulumi.Input;
/**
* Emr integration
*/
emr?: pulumi.Input;
/**
* Health integration
*/
health?: pulumi.Input;
/**
* Iam integration
*/
iam?: pulumi.Input;
/**
* Iot integration
*/
iot?: pulumi.Input;
/**
* Kinesis integration
*/
kinesis?: pulumi.Input;
/**
* Kinesis Firehose integration
*/
kinesisFirehose?: pulumi.Input;
/**
* Lambda integration
*/
lambda?: pulumi.Input;
/**
* The ID of the linked AWS account in New Relic.
*/
linkedAccountId?: pulumi.Input;
/**
* Rds integration
*/
rds?: pulumi.Input;
/**
* Redshift integration
*/
redshift?: pulumi.Input;
/**
* Route53 integration
*/
route53?: pulumi.Input;
/**
* S3 integration
*/
s3?: pulumi.Input;
/**
* Security Hub integration
*/
securityHub?: pulumi.Input;
/**
* Ses integration
*/
ses?: pulumi.Input;
/**
* Sns integration
*/
sns?: pulumi.Input;
/**
* SQS integration
*/
sqs?: pulumi.Input;
/**
* Trusted Advisor integration
*/
trustedAdvisor?: pulumi.Input;
/**
* VPC integration
*/
vpc?: pulumi.Input;
/**
* X-Ray integration
*/
xRay?: pulumi.Input;
}
/**
* The set of arguments for constructing a AwsIntegrations resource.
*/
export interface AwsIntegrationsArgs {
/**
* The New Relic account ID to operate on. This allows the user to override the `accountId` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
*/
accountId?: pulumi.Input;
/**
* ALB integration
*/
alb?: pulumi.Input;
/**
* API Gateway integration
*/
apiGateway?: pulumi.Input;
/**
* AutoScaling integration
*/
autoScaling?: pulumi.Input;
/**
* Aws Appsync integration
*/
awsAppSync?: pulumi.Input;
/**
* Aws Athena integration
*/
awsAthena?: pulumi.Input;
/**
* Aws Auto Discovery Integration
*/
awsAutoDiscovery?: pulumi.Input;
/**
* Aws Cognito integration
*/
awsCognito?: pulumi.Input;
/**
* Aws Connect integration
*/
awsConnect?: pulumi.Input;
/**
* Aws Direct Connect integration
*/
awsDirectConnect?: pulumi.Input;
/**
* Aws Fsx integration
*/
awsFsx?: pulumi.Input;
/**
* Aws Glue integration
*/
awsGlue?: pulumi.Input;
/**
* Aws Kinesis Analytics integration
*/
awsKinesisAnalytics?: pulumi.Input;
/**
* Aws Media Convert integration
*/
awsMediaConvert?: pulumi.Input;
/**
* Aws Media PackageVod integration
*/
awsMediaPackageVod?: pulumi.Input;
/**
* Aws Mq integration
*/
awsMq?: pulumi.Input;
/**
* Aws Msk integration
*/
awsMsk?: pulumi.Input;
/**
* Aws Neptune integration
*/
awsNeptune?: pulumi.Input;
/**
* Aws Qldb integration
*/
awsQldb?: pulumi.Input;
/**
* Aws Route53resolver integration
*/
awsRoute53resolver?: pulumi.Input;
/**
* Aws states integration
*/
awsStates?: pulumi.Input;
/**
* Aws Transit Gateway integration
*/
awsTransitGateway?: pulumi.Input;
/**
* Aws Waf integration
*/
awsWaf?: pulumi.Input;
/**
* Aws Wafv2 integration
*/
awsWafv2?: pulumi.Input;
/**
* Billing integration
*/
billing?: pulumi.Input;
/**
* Cloudfront integration
*/
cloudfront?: pulumi.Input;
/**
* CloudTrail integration
*/
cloudtrail?: pulumi.Input;
/**
* Doc DB integration
*/
docDb?: pulumi.Input;
/**
* Dynamo DB integration
*/
dynamodb?: pulumi.Input;
/**
* EBS integration
*/
ebs?: pulumi.Input;
/**
* Ec2 integration
*/
ec2?: pulumi.Input;
/**
* Ecs integration
*/
ecs?: pulumi.Input;
/**
* Efs integration
*/
efs?: pulumi.Input;
/**
* Elasticache integration
*/
elasticache?: pulumi.Input;
/**
* Elastic Bean Stalk integration
*/
elasticbeanstalk?: pulumi.Input;
/**
* Elastic Search integration
*/
elasticsearch?: pulumi.Input;
/**
* Elb integration
*/
elb?: pulumi.Input;
/**
* Emr integration
*/
emr?: pulumi.Input;
/**
* Health integration
*/
health?: pulumi.Input;
/**
* Iam integration
*/
iam?: pulumi.Input;
/**
* Iot integration
*/
iot?: pulumi.Input;
/**
* Kinesis integration
*/
kinesis?: pulumi.Input;
/**
* Kinesis Firehose integration
*/
kinesisFirehose?: pulumi.Input;
/**
* Lambda integration
*/
lambda?: pulumi.Input;
/**
* The ID of the linked AWS account in New Relic.
*/
linkedAccountId: pulumi.Input;
/**
* Rds integration
*/
rds?: pulumi.Input;
/**
* Redshift integration
*/
redshift?: pulumi.Input;
/**
* Route53 integration
*/
route53?: pulumi.Input;
/**
* S3 integration
*/
s3?: pulumi.Input;
/**
* Security Hub integration
*/
securityHub?: pulumi.Input;
/**
* Ses integration
*/
ses?: pulumi.Input;
/**
* Sns integration
*/
sns?: pulumi.Input;
/**
* SQS integration
*/
sqs?: pulumi.Input;
/**
* Trusted Advisor integration
*/
trustedAdvisor?: pulumi.Input;
/**
* VPC integration
*/
vpc?: pulumi.Input;
/**
* X-Ray integration
*/
xRay?: pulumi.Input;
}
//# sourceMappingURL=awsIntegrations.d.ts.map