Use this resource to integrate AWS EU Sovereign services with New Relic.
Prerequisite
Setup is required for this resource to work properly. This resource assumes you have linked an AWS EU Sovereign account to New Relic.
The New Relic AWS EU Sovereign integration relies on two mechanisms to get data into New Relic:
CloudWatch Metric Streams (PUSH): This is the supported method for AWS EU Sovereign Cloud to get metrics into New Relic for the majority of AWS services. Follow the steps outlined here to set up a metric stream.
API Polling (PULL): Required for services that are not supported by CloudWatch Metric Streams. The following three services must be integrated via API Polling: Billing, CloudTrail and X-Ray. Follow the steps outlined here.
This resource is used to configure API Polling integrations for those three services that are not available through AWS CloudWatch Metric Streams.
Example Usage
The following example demonstrates the use of the newrelic.cloud.AwsEuSovereignIntegrations resource with multiple AWS EU Sovereign integrations supported by the resource.
To view a full example with all supported AWS EU Sovereign 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 EU Sovereign cloud integration guide.
import * as pulumi from "@pulumi/pulumi";
import * as newrelic from "@pulumi/newrelic";
const foo = new newrelic.cloud.AwsEuSovereignLinkAccount("foo", {
arn: "arn:aws-eusc:iam::123456789012:role/NewRelicInfrastructure-Integrations",
metricCollectionMode: "PULL",
name: "my-eu-sovereign-account",
});
const bar = new newrelic.cloud.AwsEuSovereignIntegrations("bar", {
linkedAccountId: foo.id,
billing: {
metricsPollingInterval: 3600,
},
cloudtrail: {
metricsPollingInterval: 300,
awsRegions: ["eusc-de-east-1"],
},
xRay: {
metricsPollingInterval: 300,
awsRegions: ["eusc-de-east-1"],
},
});
import pulumi
import pulumi_newrelic as newrelic
foo = newrelic.cloud.AwsEuSovereignLinkAccount("foo",
arn="arn:aws-eusc:iam::123456789012:role/NewRelicInfrastructure-Integrations",
metric_collection_mode="PULL",
name="my-eu-sovereign-account")
bar = newrelic.cloud.AwsEuSovereignIntegrations("bar",
linked_account_id=foo.id,
billing={
"metrics_polling_interval": 3600,
},
cloudtrail={
"metrics_polling_interval": 300,
"aws_regions": ["eusc-de-east-1"],
},
x_ray={
"metrics_polling_interval": 300,
"aws_regions": ["eusc-de-east-1"],
})
package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic/cloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
foo, err := cloud.NewAwsEuSovereignLinkAccount(ctx, "foo", &cloud.AwsEuSovereignLinkAccountArgs{
Arn: pulumi.String("arn:aws-eusc:iam::123456789012:role/NewRelicInfrastructure-Integrations"),
MetricCollectionMode: pulumi.String("PULL"),
Name: pulumi.String("my-eu-sovereign-account"),
})
if err != nil {
return err
}
_, err = cloud.NewAwsEuSovereignIntegrations(ctx, "bar", &cloud.AwsEuSovereignIntegrationsArgs{
LinkedAccountId: foo.ID(),
Billing: &cloud.AwsEuSovereignIntegrationsBillingArgs{
MetricsPollingInterval: pulumi.Int(3600),
},
Cloudtrail: &cloud.AwsEuSovereignIntegrationsCloudtrailArgs{
MetricsPollingInterval: pulumi.Int(300),
AwsRegions: pulumi.StringArray{
pulumi.String("eusc-de-east-1"),
},
},
XRay: &cloud.AwsEuSovereignIntegrationsXRayArgs{
MetricsPollingInterval: pulumi.Int(300),
AwsRegions: pulumi.StringArray{
pulumi.String("eusc-de-east-1"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using NewRelic = Pulumi.NewRelic;
return await Deployment.RunAsync(() =>
{
var foo = new NewRelic.Cloud.AwsEuSovereignLinkAccount("foo", new()
{
Arn = "arn:aws-eusc:iam::123456789012:role/NewRelicInfrastructure-Integrations",
MetricCollectionMode = "PULL",
Name = "my-eu-sovereign-account",
});
var bar = new NewRelic.Cloud.AwsEuSovereignIntegrations("bar", new()
{
LinkedAccountId = foo.Id,
Billing = new NewRelic.Cloud.Inputs.AwsEuSovereignIntegrationsBillingArgs
{
MetricsPollingInterval = 3600,
},
Cloudtrail = new NewRelic.Cloud.Inputs.AwsEuSovereignIntegrationsCloudtrailArgs
{
MetricsPollingInterval = 300,
AwsRegions = new[]
{
"eusc-de-east-1",
},
},
XRay = new NewRelic.Cloud.Inputs.AwsEuSovereignIntegrationsXRayArgs
{
MetricsPollingInterval = 300,
AwsRegions = new[]
{
"eusc-de-east-1",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.newrelic.cloud.AwsEuSovereignLinkAccount;
import com.pulumi.newrelic.cloud.AwsEuSovereignLinkAccountArgs;
import com.pulumi.newrelic.cloud.AwsEuSovereignIntegrations;
import com.pulumi.newrelic.cloud.AwsEuSovereignIntegrationsArgs;
import com.pulumi.newrelic.cloud.inputs.AwsEuSovereignIntegrationsBillingArgs;
import com.pulumi.newrelic.cloud.inputs.AwsEuSovereignIntegrationsCloudtrailArgs;
import com.pulumi.newrelic.cloud.inputs.AwsEuSovereignIntegrationsXRayArgs;
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 foo = new AwsEuSovereignLinkAccount("foo", AwsEuSovereignLinkAccountArgs.builder()
.arn("arn:aws-eusc:iam::123456789012:role/NewRelicInfrastructure-Integrations")
.metricCollectionMode("PULL")
.name("my-eu-sovereign-account")
.build());
var bar = new AwsEuSovereignIntegrations("bar", AwsEuSovereignIntegrationsArgs.builder()
.linkedAccountId(foo.id())
.billing(AwsEuSovereignIntegrationsBillingArgs.builder()
.metricsPollingInterval(3600)
.build())
.cloudtrail(AwsEuSovereignIntegrationsCloudtrailArgs.builder()
.metricsPollingInterval(300)
.awsRegions("eusc-de-east-1")
.build())
.xRay(AwsEuSovereignIntegrationsXRayArgs.builder()
.metricsPollingInterval(300)
.awsRegions("eusc-de-east-1")
.build())
.build());
}
}
resources:
foo:
type: newrelic:cloud:AwsEuSovereignLinkAccount
properties:
arn: arn:aws-eusc:iam::123456789012:role/NewRelicInfrastructure-Integrations
metricCollectionMode: PULL
name: my-eu-sovereign-account
bar:
type: newrelic:cloud:AwsEuSovereignIntegrations
properties:
linkedAccountId: ${foo.id}
billing:
metricsPollingInterval: 3600
cloudtrail:
metricsPollingInterval: 300
awsRegions:
- eusc-de-east-1
xRay:
metricsPollingInterval: 300
awsRegions:
- eusc-de-east-1
Supported AWS EU Sovereign Integrations
NOTE: CloudWatch Metric Streams is the only supported method for AWS EU Sovereign Cloud. The following three integrations are for services not supported by CloudWatch Metric Streams and must be configured via API Polling using this resource.
Expand this section to view all supported AWS EU Sovereign services that may be integrated via this resource.
| Block | Description |
|---|---|
billing | Billing Integration |
cloudtrail | CloudTrail Integration |
x_ray | X-Ray Integration |
Additional Examples
import * as pulumi from "@pulumi/pulumi";
import * as newrelic from "@pulumi/newrelic";
const bar = new newrelic.cloud.AwsEuSovereignIntegrations("bar", {
linkedAccountId: foo.id,
billing: {
metricsPollingInterval: 300,
},
cloudtrail: {
metricsPollingInterval: 900,
awsRegions: ["eusc-de-east-1"],
},
xRay: {
metricsPollingInterval: 300,
awsRegions: ["eusc-de-east-1"],
},
});
import pulumi
import pulumi_newrelic as newrelic
bar = newrelic.cloud.AwsEuSovereignIntegrations("bar",
linked_account_id=foo["id"],
billing={
"metrics_polling_interval": 300,
},
cloudtrail={
"metrics_polling_interval": 900,
"aws_regions": ["eusc-de-east-1"],
},
x_ray={
"metrics_polling_interval": 300,
"aws_regions": ["eusc-de-east-1"],
})
package main
import (
"github.com/pulumi/pulumi-newrelic/sdk/v5/go/newrelic/cloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloud.NewAwsEuSovereignIntegrations(ctx, "bar", &cloud.AwsEuSovereignIntegrationsArgs{
LinkedAccountId: pulumi.Any(foo.Id),
Billing: &cloud.AwsEuSovereignIntegrationsBillingArgs{
MetricsPollingInterval: pulumi.Int(300),
},
Cloudtrail: &cloud.AwsEuSovereignIntegrationsCloudtrailArgs{
MetricsPollingInterval: pulumi.Int(900),
AwsRegions: pulumi.StringArray{
pulumi.String("eusc-de-east-1"),
},
},
XRay: &cloud.AwsEuSovereignIntegrationsXRayArgs{
MetricsPollingInterval: pulumi.Int(300),
AwsRegions: pulumi.StringArray{
pulumi.String("eusc-de-east-1"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using NewRelic = Pulumi.NewRelic;
return await Deployment.RunAsync(() =>
{
var bar = new NewRelic.Cloud.AwsEuSovereignIntegrations("bar", new()
{
LinkedAccountId = foo.Id,
Billing = new NewRelic.Cloud.Inputs.AwsEuSovereignIntegrationsBillingArgs
{
MetricsPollingInterval = 300,
},
Cloudtrail = new NewRelic.Cloud.Inputs.AwsEuSovereignIntegrationsCloudtrailArgs
{
MetricsPollingInterval = 900,
AwsRegions = new[]
{
"eusc-de-east-1",
},
},
XRay = new NewRelic.Cloud.Inputs.AwsEuSovereignIntegrationsXRayArgs
{
MetricsPollingInterval = 300,
AwsRegions = new[]
{
"eusc-de-east-1",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.newrelic.cloud.AwsEuSovereignIntegrations;
import com.pulumi.newrelic.cloud.AwsEuSovereignIntegrationsArgs;
import com.pulumi.newrelic.cloud.inputs.AwsEuSovereignIntegrationsBillingArgs;
import com.pulumi.newrelic.cloud.inputs.AwsEuSovereignIntegrationsCloudtrailArgs;
import com.pulumi.newrelic.cloud.inputs.AwsEuSovereignIntegrationsXRayArgs;
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 bar = new AwsEuSovereignIntegrations("bar", AwsEuSovereignIntegrationsArgs.builder()
.linkedAccountId(foo.id())
.billing(AwsEuSovereignIntegrationsBillingArgs.builder()
.metricsPollingInterval(300)
.build())
.cloudtrail(AwsEuSovereignIntegrationsCloudtrailArgs.builder()
.metricsPollingInterval(900)
.awsRegions("eusc-de-east-1")
.build())
.xRay(AwsEuSovereignIntegrationsXRayArgs.builder()
.metricsPollingInterval(300)
.awsRegions("eusc-de-east-1")
.build())
.build());
}
}
resources:
bar:
type: newrelic:cloud:AwsEuSovereignIntegrations
properties:
linkedAccountId: ${foo.id}
billing:
metricsPollingInterval: 300
cloudtrail:
metricsPollingInterval: 900
awsRegions:
- eusc-de-east-1
xRay:
metricsPollingInterval: 300
awsRegions:
- eusc-de-east-1
Create AwsEuSovereignIntegrations Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AwsEuSovereignIntegrations(name: string, args: AwsEuSovereignIntegrationsArgs, opts?: CustomResourceOptions);@overload
def AwsEuSovereignIntegrations(resource_name: str,
args: AwsEuSovereignIntegrationsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AwsEuSovereignIntegrations(resource_name: str,
opts: Optional[ResourceOptions] = None,
linked_account_id: Optional[str] = None,
account_id: Optional[str] = None,
billing: Optional[AwsEuSovereignIntegrationsBillingArgs] = None,
cloudtrail: Optional[AwsEuSovereignIntegrationsCloudtrailArgs] = None,
health: Optional[AwsEuSovereignIntegrationsHealthArgs] = None,
trusted_advisor: Optional[AwsEuSovereignIntegrationsTrustedAdvisorArgs] = None,
x_ray: Optional[AwsEuSovereignIntegrationsXRayArgs] = None)func NewAwsEuSovereignIntegrations(ctx *Context, name string, args AwsEuSovereignIntegrationsArgs, opts ...ResourceOption) (*AwsEuSovereignIntegrations, error)public AwsEuSovereignIntegrations(string name, AwsEuSovereignIntegrationsArgs args, CustomResourceOptions? opts = null)
public AwsEuSovereignIntegrations(String name, AwsEuSovereignIntegrationsArgs args)
public AwsEuSovereignIntegrations(String name, AwsEuSovereignIntegrationsArgs args, CustomResourceOptions options)
type: newrelic:cloud:AwsEuSovereignIntegrations
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 AwsEuSovereignIntegrationsArgs
- 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 AwsEuSovereignIntegrationsArgs
- 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 AwsEuSovereignIntegrationsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AwsEuSovereignIntegrationsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AwsEuSovereignIntegrationsArgs
- 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 awsEuSovereignIntegrationsResource = new NewRelic.Cloud.AwsEuSovereignIntegrations("awsEuSovereignIntegrationsResource", new()
{
LinkedAccountId = "string",
AccountId = "string",
Billing = new NewRelic.Cloud.Inputs.AwsEuSovereignIntegrationsBillingArgs
{
MetricsPollingInterval = 0,
},
Cloudtrail = new NewRelic.Cloud.Inputs.AwsEuSovereignIntegrationsCloudtrailArgs
{
AwsRegions = new[]
{
"string",
},
MetricsPollingInterval = 0,
},
Health = new NewRelic.Cloud.Inputs.AwsEuSovereignIntegrationsHealthArgs
{
MetricsPollingInterval = 0,
},
TrustedAdvisor = new NewRelic.Cloud.Inputs.AwsEuSovereignIntegrationsTrustedAdvisorArgs
{
MetricsPollingInterval = 0,
},
XRay = new NewRelic.Cloud.Inputs.AwsEuSovereignIntegrationsXRayArgs
{
AwsRegions = new[]
{
"string",
},
MetricsPollingInterval = 0,
},
});
example, err := cloud.NewAwsEuSovereignIntegrations(ctx, "awsEuSovereignIntegrationsResource", &cloud.AwsEuSovereignIntegrationsArgs{
LinkedAccountId: pulumi.String("string"),
AccountId: pulumi.String("string"),
Billing: &cloud.AwsEuSovereignIntegrationsBillingArgs{
MetricsPollingInterval: pulumi.Int(0),
},
Cloudtrail: &cloud.AwsEuSovereignIntegrationsCloudtrailArgs{
AwsRegions: pulumi.StringArray{
pulumi.String("string"),
},
MetricsPollingInterval: pulumi.Int(0),
},
Health: &cloud.AwsEuSovereignIntegrationsHealthArgs{
MetricsPollingInterval: pulumi.Int(0),
},
TrustedAdvisor: &cloud.AwsEuSovereignIntegrationsTrustedAdvisorArgs{
MetricsPollingInterval: pulumi.Int(0),
},
XRay: &cloud.AwsEuSovereignIntegrationsXRayArgs{
AwsRegions: pulumi.StringArray{
pulumi.String("string"),
},
MetricsPollingInterval: pulumi.Int(0),
},
})
var awsEuSovereignIntegrationsResource = new AwsEuSovereignIntegrations("awsEuSovereignIntegrationsResource", AwsEuSovereignIntegrationsArgs.builder()
.linkedAccountId("string")
.accountId("string")
.billing(AwsEuSovereignIntegrationsBillingArgs.builder()
.metricsPollingInterval(0)
.build())
.cloudtrail(AwsEuSovereignIntegrationsCloudtrailArgs.builder()
.awsRegions("string")
.metricsPollingInterval(0)
.build())
.health(AwsEuSovereignIntegrationsHealthArgs.builder()
.metricsPollingInterval(0)
.build())
.trustedAdvisor(AwsEuSovereignIntegrationsTrustedAdvisorArgs.builder()
.metricsPollingInterval(0)
.build())
.xRay(AwsEuSovereignIntegrationsXRayArgs.builder()
.awsRegions("string")
.metricsPollingInterval(0)
.build())
.build());
aws_eu_sovereign_integrations_resource = newrelic.cloud.AwsEuSovereignIntegrations("awsEuSovereignIntegrationsResource",
linked_account_id="string",
account_id="string",
billing={
"metrics_polling_interval": 0,
},
cloudtrail={
"aws_regions": ["string"],
"metrics_polling_interval": 0,
},
health={
"metrics_polling_interval": 0,
},
trusted_advisor={
"metrics_polling_interval": 0,
},
x_ray={
"aws_regions": ["string"],
"metrics_polling_interval": 0,
})
const awsEuSovereignIntegrationsResource = new newrelic.cloud.AwsEuSovereignIntegrations("awsEuSovereignIntegrationsResource", {
linkedAccountId: "string",
accountId: "string",
billing: {
metricsPollingInterval: 0,
},
cloudtrail: {
awsRegions: ["string"],
metricsPollingInterval: 0,
},
health: {
metricsPollingInterval: 0,
},
trustedAdvisor: {
metricsPollingInterval: 0,
},
xRay: {
awsRegions: ["string"],
metricsPollingInterval: 0,
},
});
type: newrelic:cloud:AwsEuSovereignIntegrations
properties:
accountId: string
billing:
metricsPollingInterval: 0
cloudtrail:
awsRegions:
- string
metricsPollingInterval: 0
health:
metricsPollingInterval: 0
linkedAccountId: string
trustedAdvisor:
metricsPollingInterval: 0
xRay:
awsRegions:
- string
metricsPollingInterval: 0
AwsEuSovereignIntegrations Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AwsEuSovereignIntegrations resource accepts the following input properties:
- Linked
Account stringId - The ID of the linked AWS EU Sovereign account in New Relic.
- Account
Id string - The New Relic account ID to operate on. This allows the user to override the
account_idattribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID. - Billing
Pulumi.
New Relic. Cloud. Inputs. Aws Eu Sovereign Integrations Billing - Billing integration
- Cloudtrail
Pulumi.
New Relic. Cloud. Inputs. Aws Eu Sovereign Integrations Cloudtrail - CloudTrail integration
- Health
Pulumi.
New Relic. Cloud. Inputs. Aws Eu Sovereign Integrations Health - Health integration
- Trusted
Advisor Pulumi.New Relic. Cloud. Inputs. Aws Eu Sovereign Integrations Trusted Advisor - Trusted Advisor integration
- XRay
Pulumi.
New Relic. Cloud. Inputs. Aws Eu Sovereign Integrations XRay - X-Ray integration
- Linked
Account stringId - The ID of the linked AWS EU Sovereign account in New Relic.
- Account
Id string - The New Relic account ID to operate on. This allows the user to override the
account_idattribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID. - Billing
Aws
Eu Sovereign Integrations Billing Args - Billing integration
- Cloudtrail
Aws
Eu Sovereign Integrations Cloudtrail Args - CloudTrail integration
- Health
Aws
Eu Sovereign Integrations Health Args - Health integration
- Trusted
Advisor AwsEu Sovereign Integrations Trusted Advisor Args - Trusted Advisor integration
- XRay
Aws
Eu Sovereign Integrations XRay Args - X-Ray integration
- linked
Account StringId - The ID of the linked AWS EU Sovereign account in New Relic.
- account
Id String - The New Relic account ID to operate on. This allows the user to override the
account_idattribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID. - billing
Aws
Eu Sovereign Integrations Billing - Billing integration
- cloudtrail
Aws
Eu Sovereign Integrations Cloudtrail - CloudTrail integration
- health
Aws
Eu Sovereign Integrations Health - Health integration
- trusted
Advisor AwsEu Sovereign Integrations Trusted Advisor - Trusted Advisor integration
- x
Ray AwsEu Sovereign Integrations XRay - X-Ray integration
- linked
Account stringId - The ID of the linked AWS EU Sovereign account in New Relic.
- account
Id string - The New Relic account ID to operate on. This allows the user to override the
account_idattribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID. - billing
Aws
Eu Sovereign Integrations Billing - Billing integration
- cloudtrail
Aws
Eu Sovereign Integrations Cloudtrail - CloudTrail integration
- health
Aws
Eu Sovereign Integrations Health - Health integration
- trusted
Advisor AwsEu Sovereign Integrations Trusted Advisor - Trusted Advisor integration
- x
Ray AwsEu Sovereign Integrations XRay - X-Ray integration
- linked_
account_ strid - The ID of the linked AWS EU Sovereign account in New Relic.
- account_
id str - The New Relic account ID to operate on. This allows the user to override the
account_idattribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID. - billing
Aws
Eu Sovereign Integrations Billing Args - Billing integration
- cloudtrail
Aws
Eu Sovereign Integrations Cloudtrail Args - CloudTrail integration
- health
Aws
Eu Sovereign Integrations Health Args - Health integration
- trusted_
advisor AwsEu Sovereign Integrations Trusted Advisor Args - Trusted Advisor integration
- x_
ray AwsEu Sovereign Integrations XRay Args - X-Ray integration
- linked
Account StringId - The ID of the linked AWS EU Sovereign account in New Relic.
- account
Id String - The New Relic account ID to operate on. This allows the user to override the
account_idattribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID. - billing Property Map
- Billing integration
- cloudtrail Property Map
- CloudTrail integration
- health Property Map
- Health integration
- trusted
Advisor Property Map - Trusted Advisor integration
- x
Ray Property Map - X-Ray integration
Outputs
All input properties are implicitly available as output properties. Additionally, the AwsEuSovereignIntegrations 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 AwsEuSovereignIntegrations Resource
Get an existing AwsEuSovereignIntegrations 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?: AwsEuSovereignIntegrationsState, opts?: CustomResourceOptions): AwsEuSovereignIntegrations@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
billing: Optional[AwsEuSovereignIntegrationsBillingArgs] = None,
cloudtrail: Optional[AwsEuSovereignIntegrationsCloudtrailArgs] = None,
health: Optional[AwsEuSovereignIntegrationsHealthArgs] = None,
linked_account_id: Optional[str] = None,
trusted_advisor: Optional[AwsEuSovereignIntegrationsTrustedAdvisorArgs] = None,
x_ray: Optional[AwsEuSovereignIntegrationsXRayArgs] = None) -> AwsEuSovereignIntegrationsfunc GetAwsEuSovereignIntegrations(ctx *Context, name string, id IDInput, state *AwsEuSovereignIntegrationsState, opts ...ResourceOption) (*AwsEuSovereignIntegrations, error)public static AwsEuSovereignIntegrations Get(string name, Input<string> id, AwsEuSovereignIntegrationsState? state, CustomResourceOptions? opts = null)public static AwsEuSovereignIntegrations get(String name, Output<String> id, AwsEuSovereignIntegrationsState state, CustomResourceOptions options)resources: _: type: newrelic:cloud:AwsEuSovereignIntegrations get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - The New Relic account ID to operate on. This allows the user to override the
account_idattribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID. - Billing
Pulumi.
New Relic. Cloud. Inputs. Aws Eu Sovereign Integrations Billing - Billing integration
- Cloudtrail
Pulumi.
New Relic. Cloud. Inputs. Aws Eu Sovereign Integrations Cloudtrail - CloudTrail integration
- Health
Pulumi.
New Relic. Cloud. Inputs. Aws Eu Sovereign Integrations Health - Health integration
- Linked
Account stringId - The ID of the linked AWS EU Sovereign account in New Relic.
- Trusted
Advisor Pulumi.New Relic. Cloud. Inputs. Aws Eu Sovereign Integrations Trusted Advisor - Trusted Advisor integration
- XRay
Pulumi.
New Relic. Cloud. Inputs. Aws Eu Sovereign Integrations XRay - X-Ray integration
- Account
Id string - The New Relic account ID to operate on. This allows the user to override the
account_idattribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID. - Billing
Aws
Eu Sovereign Integrations Billing Args - Billing integration
- Cloudtrail
Aws
Eu Sovereign Integrations Cloudtrail Args - CloudTrail integration
- Health
Aws
Eu Sovereign Integrations Health Args - Health integration
- Linked
Account stringId - The ID of the linked AWS EU Sovereign account in New Relic.
- Trusted
Advisor AwsEu Sovereign Integrations Trusted Advisor Args - Trusted Advisor integration
- XRay
Aws
Eu Sovereign Integrations XRay Args - X-Ray integration
- account
Id String - The New Relic account ID to operate on. This allows the user to override the
account_idattribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID. - billing
Aws
Eu Sovereign Integrations Billing - Billing integration
- cloudtrail
Aws
Eu Sovereign Integrations Cloudtrail - CloudTrail integration
- health
Aws
Eu Sovereign Integrations Health - Health integration
- linked
Account StringId - The ID of the linked AWS EU Sovereign account in New Relic.
- trusted
Advisor AwsEu Sovereign Integrations Trusted Advisor - Trusted Advisor integration
- x
Ray AwsEu Sovereign Integrations XRay - X-Ray integration
- account
Id string - The New Relic account ID to operate on. This allows the user to override the
account_idattribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID. - billing
Aws
Eu Sovereign Integrations Billing - Billing integration
- cloudtrail
Aws
Eu Sovereign Integrations Cloudtrail - CloudTrail integration
- health
Aws
Eu Sovereign Integrations Health - Health integration
- linked
Account stringId - The ID of the linked AWS EU Sovereign account in New Relic.
- trusted
Advisor AwsEu Sovereign Integrations Trusted Advisor - Trusted Advisor integration
- x
Ray AwsEu Sovereign Integrations XRay - X-Ray integration
- account_
id str - The New Relic account ID to operate on. This allows the user to override the
account_idattribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID. - billing
Aws
Eu Sovereign Integrations Billing Args - Billing integration
- cloudtrail
Aws
Eu Sovereign Integrations Cloudtrail Args - CloudTrail integration
- health
Aws
Eu Sovereign Integrations Health Args - Health integration
- linked_
account_ strid - The ID of the linked AWS EU Sovereign account in New Relic.
- trusted_
advisor AwsEu Sovereign Integrations Trusted Advisor Args - Trusted Advisor integration
- x_
ray AwsEu Sovereign Integrations XRay Args - X-Ray integration
- account
Id String - The New Relic account ID to operate on. This allows the user to override the
account_idattribute set on the provider. Defaults to the environment variableNEW_RELIC_ACCOUNT_ID. - billing Property Map
- Billing integration
- cloudtrail Property Map
- CloudTrail integration
- health Property Map
- Health integration
- linked
Account StringId - The ID of the linked AWS EU Sovereign account in New Relic.
- trusted
Advisor Property Map - Trusted Advisor integration
- x
Ray Property Map - X-Ray integration
Supporting Types
AwsEuSovereignIntegrationsBilling, AwsEuSovereignIntegrationsBillingArgs
- Metrics
Polling intInterval - The data polling interval in seconds
- Metrics
Polling intInterval - The data polling interval in seconds
- metrics
Polling IntegerInterval - The data polling interval in seconds
- metrics
Polling numberInterval - The data polling interval in seconds
- metrics_
polling_ intinterval - The data polling interval in seconds
- metrics
Polling NumberInterval - The data polling interval in seconds
AwsEuSovereignIntegrationsCloudtrail, AwsEuSovereignIntegrationsCloudtrailArgs
- Aws
Regions List<string> - Specify each AWS region that includes the resources that you want to monitor
- Metrics
Polling intInterval - The data polling interval in seconds
- Aws
Regions []string - Specify each AWS region that includes the resources that you want to monitor
- Metrics
Polling intInterval - The data polling interval in seconds
- aws
Regions List<String> - Specify each AWS region that includes the resources that you want to monitor
- metrics
Polling IntegerInterval - The data polling interval in seconds
- aws
Regions string[] - Specify each AWS region that includes the resources that you want to monitor
- metrics
Polling numberInterval - The data polling interval in seconds
- aws_
regions Sequence[str] - Specify each AWS region that includes the resources that you want to monitor
- metrics_
polling_ intinterval - The data polling interval in seconds
- aws
Regions List<String> - Specify each AWS region that includes the resources that you want to monitor
- metrics
Polling NumberInterval - The data polling interval in seconds
AwsEuSovereignIntegrationsHealth, AwsEuSovereignIntegrationsHealthArgs
- Metrics
Polling intInterval - The data polling interval in seconds
- Metrics
Polling intInterval - The data polling interval in seconds
- metrics
Polling IntegerInterval - The data polling interval in seconds
- metrics
Polling numberInterval - The data polling interval in seconds
- metrics_
polling_ intinterval - The data polling interval in seconds
- metrics
Polling NumberInterval - The data polling interval in seconds
AwsEuSovereignIntegrationsTrustedAdvisor, AwsEuSovereignIntegrationsTrustedAdvisorArgs
- Metrics
Polling intInterval - The data polling interval in seconds
- Metrics
Polling intInterval - The data polling interval in seconds
- metrics
Polling IntegerInterval - The data polling interval in seconds
- metrics
Polling numberInterval - The data polling interval in seconds
- metrics_
polling_ intinterval - The data polling interval in seconds
- metrics
Polling NumberInterval - The data polling interval in seconds
AwsEuSovereignIntegrationsXRay, AwsEuSovereignIntegrationsXRayArgs
- Aws
Regions List<string> - Specify each AWS region that includes the resources that you want to monitor
- Metrics
Polling intInterval - The data polling interval in seconds
- Aws
Regions []string - Specify each AWS region that includes the resources that you want to monitor
- Metrics
Polling intInterval - The data polling interval in seconds
- aws
Regions List<String> - Specify each AWS region that includes the resources that you want to monitor
- metrics
Polling IntegerInterval - The data polling interval in seconds
- aws
Regions string[] - Specify each AWS region that includes the resources that you want to monitor
- metrics
Polling numberInterval - The data polling interval in seconds
- aws_
regions Sequence[str] - Specify each AWS region that includes the resources that you want to monitor
- metrics_
polling_ intinterval - The data polling interval in seconds
- aws
Regions List<String> - Specify each AWS region that includes the resources that you want to monitor
- metrics
Polling NumberInterval - The data polling interval in seconds
Import
Linked AWS EU Sovereign account integrations can be imported using the id, e.g.
$ terraform import newrelic_cloud_aws_eu_sovereign_integrations.foo <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- New Relic pulumi/pulumi-newrelic
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
newrelicTerraform Provider.
