pulumi-newrelic 5.21.0a1710157101__py3-none-any.whl → 5.39.0a1736849617__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_newrelic/__init__.py +9 -0
- pulumi_newrelic/_inputs.py +7153 -461
- pulumi_newrelic/_utilities.py +41 -5
- pulumi_newrelic/account_management.py +11 -6
- pulumi_newrelic/alert_channel.py +116 -127
- pulumi_newrelic/alert_condition.py +116 -129
- pulumi_newrelic/alert_muting_rule.py +128 -76
- pulumi_newrelic/alert_policy.py +78 -75
- pulumi_newrelic/alert_policy_channel.py +77 -68
- pulumi_newrelic/api_access_key.py +45 -28
- pulumi_newrelic/browser_application.py +77 -78
- pulumi_newrelic/cloud/_inputs.py +2527 -1082
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +133 -128
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +23 -20
- pulumi_newrelic/cloud/aws_integrations.py +298 -1326
- pulumi_newrelic/cloud/aws_link_account.py +23 -20
- pulumi_newrelic/cloud/azure_integrations.py +521 -483
- pulumi_newrelic/cloud/azure_link_account.py +34 -31
- pulumi_newrelic/cloud/gcp_integrations.py +341 -322
- pulumi_newrelic/cloud/gcp_link_account.py +23 -20
- pulumi_newrelic/cloud/outputs.py +327 -1072
- pulumi_newrelic/config/__init__.pyi +6 -1
- pulumi_newrelic/config/vars.py +7 -2
- pulumi_newrelic/data_partition_rule.py +19 -18
- pulumi_newrelic/entity_tags.py +32 -31
- pulumi_newrelic/events_to_metrics_rule.py +23 -20
- pulumi_newrelic/get_account.py +24 -16
- pulumi_newrelic/get_alert_channel.py +26 -13
- pulumi_newrelic/get_alert_policy.py +35 -12
- pulumi_newrelic/get_application.py +39 -31
- pulumi_newrelic/get_authentication_domain.py +17 -13
- pulumi_newrelic/get_cloud_account.py +26 -18
- pulumi_newrelic/get_entity.py +90 -147
- pulumi_newrelic/get_group.py +58 -13
- pulumi_newrelic/get_key_transaction.py +109 -34
- pulumi_newrelic/get_notification_destination.py +64 -14
- pulumi_newrelic/get_obfuscation_expression.py +36 -28
- pulumi_newrelic/get_service_level_alert_helper.py +135 -117
- pulumi_newrelic/get_test_grok_pattern.py +29 -18
- pulumi_newrelic/get_user.py +17 -9
- pulumi_newrelic/group.py +5 -146
- pulumi_newrelic/infra_alert_condition.py +160 -167
- pulumi_newrelic/insights/_inputs.py +43 -0
- pulumi_newrelic/insights/event.py +48 -47
- pulumi_newrelic/insights/outputs.py +5 -0
- pulumi_newrelic/key_transaction.py +464 -0
- pulumi_newrelic/log_parsing_rule.py +25 -24
- pulumi_newrelic/monitor_downtime.py +211 -225
- pulumi_newrelic/notification_channel.py +381 -366
- pulumi_newrelic/notification_destination.py +192 -54
- pulumi_newrelic/nrql_alert_condition.py +345 -262
- pulumi_newrelic/nrql_drop_rule.py +31 -30
- pulumi_newrelic/obfuscation_expression.py +23 -20
- pulumi_newrelic/obfuscation_rule.py +38 -33
- pulumi_newrelic/one_dashboard.py +29 -24
- pulumi_newrelic/one_dashboard_json.py +19 -14
- pulumi_newrelic/one_dashboard_raw.py +110 -105
- pulumi_newrelic/outputs.py +2446 -245
- pulumi_newrelic/plugins/_inputs.py +145 -10
- pulumi_newrelic/plugins/application_settings.py +25 -36
- pulumi_newrelic/plugins/outputs.py +15 -10
- pulumi_newrelic/plugins/workload.py +215 -92
- pulumi_newrelic/provider.py +27 -33
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +185 -186
- pulumi_newrelic/synthetics/_inputs.py +159 -2
- pulumi_newrelic/synthetics/alert_condition.py +87 -98
- pulumi_newrelic/synthetics/broken_links_monitor.py +216 -99
- pulumi_newrelic/synthetics/cert_check_monitor.py +219 -100
- pulumi_newrelic/synthetics/get_private_location.py +34 -30
- pulumi_newrelic/synthetics/get_secure_credential.py +24 -16
- pulumi_newrelic/synthetics/monitor.py +348 -193
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +105 -100
- pulumi_newrelic/synthetics/outputs.py +7 -2
- pulumi_newrelic/synthetics/private_location.py +25 -20
- pulumi_newrelic/synthetics/script_monitor.py +317 -182
- pulumi_newrelic/synthetics/secure_credential.py +23 -22
- pulumi_newrelic/synthetics/step_monitor.py +405 -100
- pulumi_newrelic/user.py +13 -10
- pulumi_newrelic/workflow.py +209 -196
- {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736849617.dist-info}/METADATA +7 -6
- pulumi_newrelic-5.39.0a1736849617.dist-info/RECORD +90 -0
- {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736849617.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.21.0a1710157101.dist-info/RECORD +0 -89
- {pulumi_newrelic-5.21.0a1710157101.dist-info → pulumi_newrelic-5.39.0a1736849617.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from .. import _utilities
|
11
16
|
from . import outputs
|
12
17
|
from ._inputs import *
|
@@ -16,8 +21,8 @@ __all__ = ['AwsGovcloudIntegrationsArgs', 'AwsGovcloudIntegrations']
|
|
16
21
|
@pulumi.input_type
|
17
22
|
class AwsGovcloudIntegrationsArgs:
|
18
23
|
def __init__(__self__, *,
|
19
|
-
linked_account_id: pulumi.Input[
|
20
|
-
account_id: Optional[pulumi.Input[
|
24
|
+
linked_account_id: pulumi.Input[str],
|
25
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
21
26
|
alb: Optional[pulumi.Input['AwsGovcloudIntegrationsAlbArgs']] = None,
|
22
27
|
api_gateway: Optional[pulumi.Input['AwsGovcloudIntegrationsApiGatewayArgs']] = None,
|
23
28
|
auto_scaling: Optional[pulumi.Input['AwsGovcloudIntegrationsAutoScalingArgs']] = None,
|
@@ -40,8 +45,8 @@ class AwsGovcloudIntegrationsArgs:
|
|
40
45
|
sqs: Optional[pulumi.Input['AwsGovcloudIntegrationsSqsArgs']] = None):
|
41
46
|
"""
|
42
47
|
The set of arguments for constructing a AwsGovcloudIntegrations resource.
|
43
|
-
:param pulumi.Input[
|
44
|
-
:param pulumi.Input[
|
48
|
+
:param pulumi.Input[str] linked_account_id: The access key of the AwsGovCloud.
|
49
|
+
:param pulumi.Input[str] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
45
50
|
:param pulumi.Input['AwsGovcloudIntegrationsAlbArgs'] alb: Application load balancer AwsGovCloud integration.See Integration blocks below for details.
|
46
51
|
:param pulumi.Input['AwsGovcloudIntegrationsApiGatewayArgs'] api_gateway: Api Gateway AwsGovCloud integration.See Integration blocks below for details.
|
47
52
|
:param pulumi.Input['AwsGovcloudIntegrationsAutoScalingArgs'] auto_scaling: Autoscaling AwsGovCloud integration.See Integration blocks below for details.
|
@@ -109,26 +114,26 @@ class AwsGovcloudIntegrationsArgs:
|
|
109
114
|
|
110
115
|
@property
|
111
116
|
@pulumi.getter(name="linkedAccountId")
|
112
|
-
def linked_account_id(self) -> pulumi.Input[
|
117
|
+
def linked_account_id(self) -> pulumi.Input[str]:
|
113
118
|
"""
|
114
119
|
The access key of the AwsGovCloud.
|
115
120
|
"""
|
116
121
|
return pulumi.get(self, "linked_account_id")
|
117
122
|
|
118
123
|
@linked_account_id.setter
|
119
|
-
def linked_account_id(self, value: pulumi.Input[
|
124
|
+
def linked_account_id(self, value: pulumi.Input[str]):
|
120
125
|
pulumi.set(self, "linked_account_id", value)
|
121
126
|
|
122
127
|
@property
|
123
128
|
@pulumi.getter(name="accountId")
|
124
|
-
def account_id(self) -> Optional[pulumi.Input[
|
129
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
125
130
|
"""
|
126
131
|
The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
127
132
|
"""
|
128
133
|
return pulumi.get(self, "account_id")
|
129
134
|
|
130
135
|
@account_id.setter
|
131
|
-
def account_id(self, value: Optional[pulumi.Input[
|
136
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
132
137
|
pulumi.set(self, "account_id", value)
|
133
138
|
|
134
139
|
@property
|
@@ -375,7 +380,7 @@ class AwsGovcloudIntegrationsArgs:
|
|
375
380
|
@pulumi.input_type
|
376
381
|
class _AwsGovcloudIntegrationsState:
|
377
382
|
def __init__(__self__, *,
|
378
|
-
account_id: Optional[pulumi.Input[
|
383
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
379
384
|
alb: Optional[pulumi.Input['AwsGovcloudIntegrationsAlbArgs']] = None,
|
380
385
|
api_gateway: Optional[pulumi.Input['AwsGovcloudIntegrationsApiGatewayArgs']] = None,
|
381
386
|
auto_scaling: Optional[pulumi.Input['AwsGovcloudIntegrationsAutoScalingArgs']] = None,
|
@@ -390,7 +395,7 @@ class _AwsGovcloudIntegrationsState:
|
|
390
395
|
emr: Optional[pulumi.Input['AwsGovcloudIntegrationsEmrArgs']] = None,
|
391
396
|
iam: Optional[pulumi.Input['AwsGovcloudIntegrationsIamArgs']] = None,
|
392
397
|
lambda_: Optional[pulumi.Input['AwsGovcloudIntegrationsLambdaArgs']] = None,
|
393
|
-
linked_account_id: Optional[pulumi.Input[
|
398
|
+
linked_account_id: Optional[pulumi.Input[str]] = None,
|
394
399
|
rds: Optional[pulumi.Input['AwsGovcloudIntegrationsRdsArgs']] = None,
|
395
400
|
red_shift: Optional[pulumi.Input['AwsGovcloudIntegrationsRedShiftArgs']] = None,
|
396
401
|
route53: Optional[pulumi.Input['AwsGovcloudIntegrationsRoute53Args']] = None,
|
@@ -399,7 +404,7 @@ class _AwsGovcloudIntegrationsState:
|
|
399
404
|
sqs: Optional[pulumi.Input['AwsGovcloudIntegrationsSqsArgs']] = None):
|
400
405
|
"""
|
401
406
|
Input properties used for looking up and filtering AwsGovcloudIntegrations resources.
|
402
|
-
:param pulumi.Input[
|
407
|
+
:param pulumi.Input[str] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
403
408
|
:param pulumi.Input['AwsGovcloudIntegrationsAlbArgs'] alb: Application load balancer AwsGovCloud integration.See Integration blocks below for details.
|
404
409
|
:param pulumi.Input['AwsGovcloudIntegrationsApiGatewayArgs'] api_gateway: Api Gateway AwsGovCloud integration.See Integration blocks below for details.
|
405
410
|
:param pulumi.Input['AwsGovcloudIntegrationsAutoScalingArgs'] auto_scaling: Autoscaling AwsGovCloud integration.See Integration blocks below for details.
|
@@ -414,7 +419,7 @@ class _AwsGovcloudIntegrationsState:
|
|
414
419
|
:param pulumi.Input['AwsGovcloudIntegrationsEmrArgs'] emr: Emr AwsGovCloud integration.See Integration blocks below for details.
|
415
420
|
:param pulumi.Input['AwsGovcloudIntegrationsIamArgs'] iam: IAM AwsGovCloud integration.See Integration blocks below for details.
|
416
421
|
:param pulumi.Input['AwsGovcloudIntegrationsLambdaArgs'] lambda_: Lambda AwsGovCloud integration.See Integration blocks below for details.
|
417
|
-
:param pulumi.Input[
|
422
|
+
:param pulumi.Input[str] linked_account_id: The access key of the AwsGovCloud.
|
418
423
|
:param pulumi.Input['AwsGovcloudIntegrationsRdsArgs'] rds: RDS AwsGovCloud integration.See Integration blocks below for details.
|
419
424
|
:param pulumi.Input['AwsGovcloudIntegrationsRedShiftArgs'] red_shift: Redshift AwsGovCloud integration.See Integration blocks below for details.
|
420
425
|
:param pulumi.Input['AwsGovcloudIntegrationsRoute53Args'] route53: Route53 AwsGovCloud integration.See Integration blocks below for details.
|
@@ -469,14 +474,14 @@ class _AwsGovcloudIntegrationsState:
|
|
469
474
|
|
470
475
|
@property
|
471
476
|
@pulumi.getter(name="accountId")
|
472
|
-
def account_id(self) -> Optional[pulumi.Input[
|
477
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
473
478
|
"""
|
474
479
|
The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
475
480
|
"""
|
476
481
|
return pulumi.get(self, "account_id")
|
477
482
|
|
478
483
|
@account_id.setter
|
479
|
-
def account_id(self, value: Optional[pulumi.Input[
|
484
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
480
485
|
pulumi.set(self, "account_id", value)
|
481
486
|
|
482
487
|
@property
|
@@ -649,14 +654,14 @@ class _AwsGovcloudIntegrationsState:
|
|
649
654
|
|
650
655
|
@property
|
651
656
|
@pulumi.getter(name="linkedAccountId")
|
652
|
-
def linked_account_id(self) -> Optional[pulumi.Input[
|
657
|
+
def linked_account_id(self) -> Optional[pulumi.Input[str]]:
|
653
658
|
"""
|
654
659
|
The access key of the AwsGovCloud.
|
655
660
|
"""
|
656
661
|
return pulumi.get(self, "linked_account_id")
|
657
662
|
|
658
663
|
@linked_account_id.setter
|
659
|
-
def linked_account_id(self, value: Optional[pulumi.Input[
|
664
|
+
def linked_account_id(self, value: Optional[pulumi.Input[str]]):
|
660
665
|
pulumi.set(self, "linked_account_id", value)
|
661
666
|
|
662
667
|
@property
|
@@ -737,28 +742,28 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
737
742
|
def __init__(__self__,
|
738
743
|
resource_name: str,
|
739
744
|
opts: Optional[pulumi.ResourceOptions] = None,
|
740
|
-
account_id: Optional[pulumi.Input[
|
741
|
-
alb: Optional[pulumi.Input[
|
742
|
-
api_gateway: Optional[pulumi.Input[
|
743
|
-
auto_scaling: Optional[pulumi.Input[
|
744
|
-
aws_direct_connect: Optional[pulumi.Input[
|
745
|
-
aws_states: Optional[pulumi.Input[
|
746
|
-
cloudtrail: Optional[pulumi.Input[
|
747
|
-
dynamo_db: Optional[pulumi.Input[
|
748
|
-
ebs: Optional[pulumi.Input[
|
749
|
-
ec2: Optional[pulumi.Input[
|
750
|
-
elastic_search: Optional[pulumi.Input[
|
751
|
-
elb: Optional[pulumi.Input[
|
752
|
-
emr: Optional[pulumi.Input[
|
753
|
-
iam: Optional[pulumi.Input[
|
754
|
-
lambda_: Optional[pulumi.Input[
|
755
|
-
linked_account_id: Optional[pulumi.Input[
|
756
|
-
rds: Optional[pulumi.Input[
|
757
|
-
red_shift: Optional[pulumi.Input[
|
758
|
-
route53: Optional[pulumi.Input[
|
759
|
-
s3: Optional[pulumi.Input[
|
760
|
-
sns: Optional[pulumi.Input[
|
761
|
-
sqs: Optional[pulumi.Input[
|
745
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
746
|
+
alb: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAlbArgs', 'AwsGovcloudIntegrationsAlbArgsDict']]] = None,
|
747
|
+
api_gateway: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsApiGatewayArgs', 'AwsGovcloudIntegrationsApiGatewayArgsDict']]] = None,
|
748
|
+
auto_scaling: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAutoScalingArgs', 'AwsGovcloudIntegrationsAutoScalingArgsDict']]] = None,
|
749
|
+
aws_direct_connect: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAwsDirectConnectArgs', 'AwsGovcloudIntegrationsAwsDirectConnectArgsDict']]] = None,
|
750
|
+
aws_states: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAwsStatesArgs', 'AwsGovcloudIntegrationsAwsStatesArgsDict']]] = None,
|
751
|
+
cloudtrail: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsCloudtrailArgs', 'AwsGovcloudIntegrationsCloudtrailArgsDict']]] = None,
|
752
|
+
dynamo_db: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsDynamoDbArgs', 'AwsGovcloudIntegrationsDynamoDbArgsDict']]] = None,
|
753
|
+
ebs: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsEbsArgs', 'AwsGovcloudIntegrationsEbsArgsDict']]] = None,
|
754
|
+
ec2: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsEc2Args', 'AwsGovcloudIntegrationsEc2ArgsDict']]] = None,
|
755
|
+
elastic_search: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsElasticSearchArgs', 'AwsGovcloudIntegrationsElasticSearchArgsDict']]] = None,
|
756
|
+
elb: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsElbArgs', 'AwsGovcloudIntegrationsElbArgsDict']]] = None,
|
757
|
+
emr: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsEmrArgs', 'AwsGovcloudIntegrationsEmrArgsDict']]] = None,
|
758
|
+
iam: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsIamArgs', 'AwsGovcloudIntegrationsIamArgsDict']]] = None,
|
759
|
+
lambda_: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsLambdaArgs', 'AwsGovcloudIntegrationsLambdaArgsDict']]] = None,
|
760
|
+
linked_account_id: Optional[pulumi.Input[str]] = None,
|
761
|
+
rds: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRdsArgs', 'AwsGovcloudIntegrationsRdsArgsDict']]] = None,
|
762
|
+
red_shift: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRedShiftArgs', 'AwsGovcloudIntegrationsRedShiftArgsDict']]] = None,
|
763
|
+
route53: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRoute53Args', 'AwsGovcloudIntegrationsRoute53ArgsDict']]] = None,
|
764
|
+
s3: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsS3Args', 'AwsGovcloudIntegrationsS3ArgsDict']]] = None,
|
765
|
+
sns: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsSnsArgs', 'AwsGovcloudIntegrationsSnsArgsDict']]] = None,
|
766
|
+
sqs: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsSqsArgs', 'AwsGovcloudIntegrationsSqsArgsDict']]] = None,
|
762
767
|
__props__=None):
|
763
768
|
"""
|
764
769
|
> **IMPORTANT!** This resource is in alpha state, and could still contain issues and missing functionality. If you encounter any issue please create a ticket on Github with all the required information.
|
@@ -785,28 +790,28 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
785
790
|
|
786
791
|
:param str resource_name: The name of the resource.
|
787
792
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
788
|
-
:param pulumi.Input[
|
789
|
-
:param pulumi.Input[
|
790
|
-
:param pulumi.Input[
|
791
|
-
:param pulumi.Input[
|
792
|
-
:param pulumi.Input[
|
793
|
-
:param pulumi.Input[
|
794
|
-
:param pulumi.Input[
|
795
|
-
:param pulumi.Input[
|
796
|
-
:param pulumi.Input[
|
797
|
-
:param pulumi.Input[
|
798
|
-
:param pulumi.Input[
|
799
|
-
:param pulumi.Input[
|
800
|
-
:param pulumi.Input[
|
801
|
-
:param pulumi.Input[
|
802
|
-
:param pulumi.Input[
|
803
|
-
:param pulumi.Input[
|
804
|
-
:param pulumi.Input[
|
805
|
-
:param pulumi.Input[
|
806
|
-
:param pulumi.Input[
|
807
|
-
:param pulumi.Input[
|
808
|
-
:param pulumi.Input[
|
809
|
-
:param pulumi.Input[
|
793
|
+
:param pulumi.Input[str] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
794
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsAlbArgs', 'AwsGovcloudIntegrationsAlbArgsDict']] alb: Application load balancer AwsGovCloud integration.See Integration blocks below for details.
|
795
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsApiGatewayArgs', 'AwsGovcloudIntegrationsApiGatewayArgsDict']] api_gateway: Api Gateway AwsGovCloud integration.See Integration blocks below for details.
|
796
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsAutoScalingArgs', 'AwsGovcloudIntegrationsAutoScalingArgsDict']] auto_scaling: Autoscaling AwsGovCloud integration.See Integration blocks below for details.
|
797
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsAwsDirectConnectArgs', 'AwsGovcloudIntegrationsAwsDirectConnectArgsDict']] aws_direct_connect: Aws Direct Connect AwsGovCloud integration.See Integration blocks below for details.
|
798
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsAwsStatesArgs', 'AwsGovcloudIntegrationsAwsStatesArgsDict']] aws_states: Aws States AwsGovCloud integration.See Integration blocks below for details.
|
799
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsCloudtrailArgs', 'AwsGovcloudIntegrationsCloudtrailArgsDict']] cloudtrail: Cloudtrail AwsGovCloud integration.See Integration blocks below for details.
|
800
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsDynamoDbArgs', 'AwsGovcloudIntegrationsDynamoDbArgsDict']] dynamo_db: Dynamo DB AwsGovCloud integration.See Integration blocks below for details.
|
801
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsEbsArgs', 'AwsGovcloudIntegrationsEbsArgsDict']] ebs: Elastic Beanstalk AwsGovCloud integration.See Integration blocks below for details.
|
802
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsEc2Args', 'AwsGovcloudIntegrationsEc2ArgsDict']] ec2: EC2 AwsGovCloud integration.See Integration blocks below for details.
|
803
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsElasticSearchArgs', 'AwsGovcloudIntegrationsElasticSearchArgsDict']] elastic_search: Elastic search AwsGovCloud integration.See Integration blocks below for details.
|
804
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsElbArgs', 'AwsGovcloudIntegrationsElbArgsDict']] elb: Elb AwsGovCloud integration.See Integration blocks below for details.
|
805
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsEmrArgs', 'AwsGovcloudIntegrationsEmrArgsDict']] emr: Emr AwsGovCloud integration.See Integration blocks below for details.
|
806
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsIamArgs', 'AwsGovcloudIntegrationsIamArgsDict']] iam: IAM AwsGovCloud integration.See Integration blocks below for details.
|
807
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsLambdaArgs', 'AwsGovcloudIntegrationsLambdaArgsDict']] lambda_: Lambda AwsGovCloud integration.See Integration blocks below for details.
|
808
|
+
:param pulumi.Input[str] linked_account_id: The access key of the AwsGovCloud.
|
809
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsRdsArgs', 'AwsGovcloudIntegrationsRdsArgsDict']] rds: RDS AwsGovCloud integration.See Integration blocks below for details.
|
810
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsRedShiftArgs', 'AwsGovcloudIntegrationsRedShiftArgsDict']] red_shift: Redshift AwsGovCloud integration.See Integration blocks below for details.
|
811
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsRoute53Args', 'AwsGovcloudIntegrationsRoute53ArgsDict']] route53: Route53 AwsGovCloud integration.See Integration blocks below for details.
|
812
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsS3Args', 'AwsGovcloudIntegrationsS3ArgsDict']] s3: The s3 integration
|
813
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsSnsArgs', 'AwsGovcloudIntegrationsSnsArgsDict']] sns: SNS AwsGovCloud integration.See Integration blocks below for details.
|
814
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsSqsArgs', 'AwsGovcloudIntegrationsSqsArgsDict']] sqs: SQS AwsGovCloud integration.See Integration blocks below for details.
|
810
815
|
"""
|
811
816
|
...
|
812
817
|
@overload
|
@@ -852,28 +857,28 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
852
857
|
def _internal_init(__self__,
|
853
858
|
resource_name: str,
|
854
859
|
opts: Optional[pulumi.ResourceOptions] = None,
|
855
|
-
account_id: Optional[pulumi.Input[
|
856
|
-
alb: Optional[pulumi.Input[
|
857
|
-
api_gateway: Optional[pulumi.Input[
|
858
|
-
auto_scaling: Optional[pulumi.Input[
|
859
|
-
aws_direct_connect: Optional[pulumi.Input[
|
860
|
-
aws_states: Optional[pulumi.Input[
|
861
|
-
cloudtrail: Optional[pulumi.Input[
|
862
|
-
dynamo_db: Optional[pulumi.Input[
|
863
|
-
ebs: Optional[pulumi.Input[
|
864
|
-
ec2: Optional[pulumi.Input[
|
865
|
-
elastic_search: Optional[pulumi.Input[
|
866
|
-
elb: Optional[pulumi.Input[
|
867
|
-
emr: Optional[pulumi.Input[
|
868
|
-
iam: Optional[pulumi.Input[
|
869
|
-
lambda_: Optional[pulumi.Input[
|
870
|
-
linked_account_id: Optional[pulumi.Input[
|
871
|
-
rds: Optional[pulumi.Input[
|
872
|
-
red_shift: Optional[pulumi.Input[
|
873
|
-
route53: Optional[pulumi.Input[
|
874
|
-
s3: Optional[pulumi.Input[
|
875
|
-
sns: Optional[pulumi.Input[
|
876
|
-
sqs: Optional[pulumi.Input[
|
860
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
861
|
+
alb: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAlbArgs', 'AwsGovcloudIntegrationsAlbArgsDict']]] = None,
|
862
|
+
api_gateway: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsApiGatewayArgs', 'AwsGovcloudIntegrationsApiGatewayArgsDict']]] = None,
|
863
|
+
auto_scaling: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAutoScalingArgs', 'AwsGovcloudIntegrationsAutoScalingArgsDict']]] = None,
|
864
|
+
aws_direct_connect: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAwsDirectConnectArgs', 'AwsGovcloudIntegrationsAwsDirectConnectArgsDict']]] = None,
|
865
|
+
aws_states: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAwsStatesArgs', 'AwsGovcloudIntegrationsAwsStatesArgsDict']]] = None,
|
866
|
+
cloudtrail: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsCloudtrailArgs', 'AwsGovcloudIntegrationsCloudtrailArgsDict']]] = None,
|
867
|
+
dynamo_db: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsDynamoDbArgs', 'AwsGovcloudIntegrationsDynamoDbArgsDict']]] = None,
|
868
|
+
ebs: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsEbsArgs', 'AwsGovcloudIntegrationsEbsArgsDict']]] = None,
|
869
|
+
ec2: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsEc2Args', 'AwsGovcloudIntegrationsEc2ArgsDict']]] = None,
|
870
|
+
elastic_search: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsElasticSearchArgs', 'AwsGovcloudIntegrationsElasticSearchArgsDict']]] = None,
|
871
|
+
elb: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsElbArgs', 'AwsGovcloudIntegrationsElbArgsDict']]] = None,
|
872
|
+
emr: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsEmrArgs', 'AwsGovcloudIntegrationsEmrArgsDict']]] = None,
|
873
|
+
iam: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsIamArgs', 'AwsGovcloudIntegrationsIamArgsDict']]] = None,
|
874
|
+
lambda_: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsLambdaArgs', 'AwsGovcloudIntegrationsLambdaArgsDict']]] = None,
|
875
|
+
linked_account_id: Optional[pulumi.Input[str]] = None,
|
876
|
+
rds: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRdsArgs', 'AwsGovcloudIntegrationsRdsArgsDict']]] = None,
|
877
|
+
red_shift: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRedShiftArgs', 'AwsGovcloudIntegrationsRedShiftArgsDict']]] = None,
|
878
|
+
route53: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRoute53Args', 'AwsGovcloudIntegrationsRoute53ArgsDict']]] = None,
|
879
|
+
s3: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsS3Args', 'AwsGovcloudIntegrationsS3ArgsDict']]] = None,
|
880
|
+
sns: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsSnsArgs', 'AwsGovcloudIntegrationsSnsArgsDict']]] = None,
|
881
|
+
sqs: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsSqsArgs', 'AwsGovcloudIntegrationsSqsArgsDict']]] = None,
|
877
882
|
__props__=None):
|
878
883
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
879
884
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -917,28 +922,28 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
917
922
|
def get(resource_name: str,
|
918
923
|
id: pulumi.Input[str],
|
919
924
|
opts: Optional[pulumi.ResourceOptions] = None,
|
920
|
-
account_id: Optional[pulumi.Input[
|
921
|
-
alb: Optional[pulumi.Input[
|
922
|
-
api_gateway: Optional[pulumi.Input[
|
923
|
-
auto_scaling: Optional[pulumi.Input[
|
924
|
-
aws_direct_connect: Optional[pulumi.Input[
|
925
|
-
aws_states: Optional[pulumi.Input[
|
926
|
-
cloudtrail: Optional[pulumi.Input[
|
927
|
-
dynamo_db: Optional[pulumi.Input[
|
928
|
-
ebs: Optional[pulumi.Input[
|
929
|
-
ec2: Optional[pulumi.Input[
|
930
|
-
elastic_search: Optional[pulumi.Input[
|
931
|
-
elb: Optional[pulumi.Input[
|
932
|
-
emr: Optional[pulumi.Input[
|
933
|
-
iam: Optional[pulumi.Input[
|
934
|
-
lambda_: Optional[pulumi.Input[
|
935
|
-
linked_account_id: Optional[pulumi.Input[
|
936
|
-
rds: Optional[pulumi.Input[
|
937
|
-
red_shift: Optional[pulumi.Input[
|
938
|
-
route53: Optional[pulumi.Input[
|
939
|
-
s3: Optional[pulumi.Input[
|
940
|
-
sns: Optional[pulumi.Input[
|
941
|
-
sqs: Optional[pulumi.Input[
|
925
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
926
|
+
alb: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAlbArgs', 'AwsGovcloudIntegrationsAlbArgsDict']]] = None,
|
927
|
+
api_gateway: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsApiGatewayArgs', 'AwsGovcloudIntegrationsApiGatewayArgsDict']]] = None,
|
928
|
+
auto_scaling: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAutoScalingArgs', 'AwsGovcloudIntegrationsAutoScalingArgsDict']]] = None,
|
929
|
+
aws_direct_connect: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAwsDirectConnectArgs', 'AwsGovcloudIntegrationsAwsDirectConnectArgsDict']]] = None,
|
930
|
+
aws_states: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsAwsStatesArgs', 'AwsGovcloudIntegrationsAwsStatesArgsDict']]] = None,
|
931
|
+
cloudtrail: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsCloudtrailArgs', 'AwsGovcloudIntegrationsCloudtrailArgsDict']]] = None,
|
932
|
+
dynamo_db: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsDynamoDbArgs', 'AwsGovcloudIntegrationsDynamoDbArgsDict']]] = None,
|
933
|
+
ebs: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsEbsArgs', 'AwsGovcloudIntegrationsEbsArgsDict']]] = None,
|
934
|
+
ec2: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsEc2Args', 'AwsGovcloudIntegrationsEc2ArgsDict']]] = None,
|
935
|
+
elastic_search: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsElasticSearchArgs', 'AwsGovcloudIntegrationsElasticSearchArgsDict']]] = None,
|
936
|
+
elb: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsElbArgs', 'AwsGovcloudIntegrationsElbArgsDict']]] = None,
|
937
|
+
emr: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsEmrArgs', 'AwsGovcloudIntegrationsEmrArgsDict']]] = None,
|
938
|
+
iam: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsIamArgs', 'AwsGovcloudIntegrationsIamArgsDict']]] = None,
|
939
|
+
lambda_: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsLambdaArgs', 'AwsGovcloudIntegrationsLambdaArgsDict']]] = None,
|
940
|
+
linked_account_id: Optional[pulumi.Input[str]] = None,
|
941
|
+
rds: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRdsArgs', 'AwsGovcloudIntegrationsRdsArgsDict']]] = None,
|
942
|
+
red_shift: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRedShiftArgs', 'AwsGovcloudIntegrationsRedShiftArgsDict']]] = None,
|
943
|
+
route53: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsRoute53Args', 'AwsGovcloudIntegrationsRoute53ArgsDict']]] = None,
|
944
|
+
s3: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsS3Args', 'AwsGovcloudIntegrationsS3ArgsDict']]] = None,
|
945
|
+
sns: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsSnsArgs', 'AwsGovcloudIntegrationsSnsArgsDict']]] = None,
|
946
|
+
sqs: Optional[pulumi.Input[Union['AwsGovcloudIntegrationsSqsArgs', 'AwsGovcloudIntegrationsSqsArgsDict']]] = None) -> 'AwsGovcloudIntegrations':
|
942
947
|
"""
|
943
948
|
Get an existing AwsGovcloudIntegrations resource's state with the given name, id, and optional extra
|
944
949
|
properties used to qualify the lookup.
|
@@ -946,28 +951,28 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
946
951
|
:param str resource_name: The unique name of the resulting resource.
|
947
952
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
948
953
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
949
|
-
:param pulumi.Input[
|
950
|
-
:param pulumi.Input[
|
951
|
-
:param pulumi.Input[
|
952
|
-
:param pulumi.Input[
|
953
|
-
:param pulumi.Input[
|
954
|
-
:param pulumi.Input[
|
955
|
-
:param pulumi.Input[
|
956
|
-
:param pulumi.Input[
|
957
|
-
:param pulumi.Input[
|
958
|
-
:param pulumi.Input[
|
959
|
-
:param pulumi.Input[
|
960
|
-
:param pulumi.Input[
|
961
|
-
:param pulumi.Input[
|
962
|
-
:param pulumi.Input[
|
963
|
-
:param pulumi.Input[
|
964
|
-
:param pulumi.Input[
|
965
|
-
:param pulumi.Input[
|
966
|
-
:param pulumi.Input[
|
967
|
-
:param pulumi.Input[
|
968
|
-
:param pulumi.Input[
|
969
|
-
:param pulumi.Input[
|
970
|
-
:param pulumi.Input[
|
954
|
+
:param pulumi.Input[str] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
955
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsAlbArgs', 'AwsGovcloudIntegrationsAlbArgsDict']] alb: Application load balancer AwsGovCloud integration.See Integration blocks below for details.
|
956
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsApiGatewayArgs', 'AwsGovcloudIntegrationsApiGatewayArgsDict']] api_gateway: Api Gateway AwsGovCloud integration.See Integration blocks below for details.
|
957
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsAutoScalingArgs', 'AwsGovcloudIntegrationsAutoScalingArgsDict']] auto_scaling: Autoscaling AwsGovCloud integration.See Integration blocks below for details.
|
958
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsAwsDirectConnectArgs', 'AwsGovcloudIntegrationsAwsDirectConnectArgsDict']] aws_direct_connect: Aws Direct Connect AwsGovCloud integration.See Integration blocks below for details.
|
959
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsAwsStatesArgs', 'AwsGovcloudIntegrationsAwsStatesArgsDict']] aws_states: Aws States AwsGovCloud integration.See Integration blocks below for details.
|
960
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsCloudtrailArgs', 'AwsGovcloudIntegrationsCloudtrailArgsDict']] cloudtrail: Cloudtrail AwsGovCloud integration.See Integration blocks below for details.
|
961
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsDynamoDbArgs', 'AwsGovcloudIntegrationsDynamoDbArgsDict']] dynamo_db: Dynamo DB AwsGovCloud integration.See Integration blocks below for details.
|
962
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsEbsArgs', 'AwsGovcloudIntegrationsEbsArgsDict']] ebs: Elastic Beanstalk AwsGovCloud integration.See Integration blocks below for details.
|
963
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsEc2Args', 'AwsGovcloudIntegrationsEc2ArgsDict']] ec2: EC2 AwsGovCloud integration.See Integration blocks below for details.
|
964
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsElasticSearchArgs', 'AwsGovcloudIntegrationsElasticSearchArgsDict']] elastic_search: Elastic search AwsGovCloud integration.See Integration blocks below for details.
|
965
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsElbArgs', 'AwsGovcloudIntegrationsElbArgsDict']] elb: Elb AwsGovCloud integration.See Integration blocks below for details.
|
966
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsEmrArgs', 'AwsGovcloudIntegrationsEmrArgsDict']] emr: Emr AwsGovCloud integration.See Integration blocks below for details.
|
967
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsIamArgs', 'AwsGovcloudIntegrationsIamArgsDict']] iam: IAM AwsGovCloud integration.See Integration blocks below for details.
|
968
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsLambdaArgs', 'AwsGovcloudIntegrationsLambdaArgsDict']] lambda_: Lambda AwsGovCloud integration.See Integration blocks below for details.
|
969
|
+
:param pulumi.Input[str] linked_account_id: The access key of the AwsGovCloud.
|
970
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsRdsArgs', 'AwsGovcloudIntegrationsRdsArgsDict']] rds: RDS AwsGovCloud integration.See Integration blocks below for details.
|
971
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsRedShiftArgs', 'AwsGovcloudIntegrationsRedShiftArgsDict']] red_shift: Redshift AwsGovCloud integration.See Integration blocks below for details.
|
972
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsRoute53Args', 'AwsGovcloudIntegrationsRoute53ArgsDict']] route53: Route53 AwsGovCloud integration.See Integration blocks below for details.
|
973
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsS3Args', 'AwsGovcloudIntegrationsS3ArgsDict']] s3: The s3 integration
|
974
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsSnsArgs', 'AwsGovcloudIntegrationsSnsArgsDict']] sns: SNS AwsGovCloud integration.See Integration blocks below for details.
|
975
|
+
:param pulumi.Input[Union['AwsGovcloudIntegrationsSqsArgs', 'AwsGovcloudIntegrationsSqsArgsDict']] sqs: SQS AwsGovCloud integration.See Integration blocks below for details.
|
971
976
|
"""
|
972
977
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
973
978
|
|
@@ -999,7 +1004,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
999
1004
|
|
1000
1005
|
@property
|
1001
1006
|
@pulumi.getter(name="accountId")
|
1002
|
-
def account_id(self) -> pulumi.Output[
|
1007
|
+
def account_id(self) -> pulumi.Output[str]:
|
1003
1008
|
"""
|
1004
1009
|
The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
1005
1010
|
"""
|
@@ -1119,7 +1124,7 @@ class AwsGovcloudIntegrations(pulumi.CustomResource):
|
|
1119
1124
|
|
1120
1125
|
@property
|
1121
1126
|
@pulumi.getter(name="linkedAccountId")
|
1122
|
-
def linked_account_id(self) -> pulumi.Output[
|
1127
|
+
def linked_account_id(self) -> pulumi.Output[str]:
|
1123
1128
|
"""
|
1124
1129
|
The access key of the AwsGovCloud.
|
1125
1130
|
"""
|
@@ -4,9 +4,14 @@
|
|
4
4
|
|
5
5
|
import copy
|
6
6
|
import warnings
|
7
|
+
import sys
|
7
8
|
import pulumi
|
8
9
|
import pulumi.runtime
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
10
15
|
from .. import _utilities
|
11
16
|
|
12
17
|
__all__ = ['AwsGovcloudLinkAccountArgs', 'AwsGovcloudLinkAccount']
|
@@ -17,7 +22,7 @@ class AwsGovcloudLinkAccountArgs:
|
|
17
22
|
access_key_id: pulumi.Input[str],
|
18
23
|
aws_account_id: pulumi.Input[str],
|
19
24
|
secret_access_key: pulumi.Input[str],
|
20
|
-
account_id: Optional[pulumi.Input[
|
25
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
21
26
|
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
22
27
|
name: Optional[pulumi.Input[str]] = None):
|
23
28
|
"""
|
@@ -25,7 +30,7 @@ class AwsGovcloudLinkAccountArgs:
|
|
25
30
|
:param pulumi.Input[str] access_key_id: The access key of the AwsGovCloud.
|
26
31
|
:param pulumi.Input[str] aws_account_id: The AwsGovCloud account ID.
|
27
32
|
:param pulumi.Input[str] secret_access_key: The secret key of the AwsGovCloud.
|
28
|
-
:param pulumi.Input[
|
33
|
+
:param pulumi.Input[str] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
29
34
|
:param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
30
35
|
:param pulumi.Input[str] name: The linked account name
|
31
36
|
"""
|
@@ -77,14 +82,14 @@ class AwsGovcloudLinkAccountArgs:
|
|
77
82
|
|
78
83
|
@property
|
79
84
|
@pulumi.getter(name="accountId")
|
80
|
-
def account_id(self) -> Optional[pulumi.Input[
|
85
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
81
86
|
"""
|
82
87
|
The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
83
88
|
"""
|
84
89
|
return pulumi.get(self, "account_id")
|
85
90
|
|
86
91
|
@account_id.setter
|
87
|
-
def account_id(self, value: Optional[pulumi.Input[
|
92
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
88
93
|
pulumi.set(self, "account_id", value)
|
89
94
|
|
90
95
|
@property
|
@@ -116,7 +121,7 @@ class AwsGovcloudLinkAccountArgs:
|
|
116
121
|
class _AwsGovcloudLinkAccountState:
|
117
122
|
def __init__(__self__, *,
|
118
123
|
access_key_id: Optional[pulumi.Input[str]] = None,
|
119
|
-
account_id: Optional[pulumi.Input[
|
124
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
120
125
|
aws_account_id: Optional[pulumi.Input[str]] = None,
|
121
126
|
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
122
127
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -124,7 +129,7 @@ class _AwsGovcloudLinkAccountState:
|
|
124
129
|
"""
|
125
130
|
Input properties used for looking up and filtering AwsGovcloudLinkAccount resources.
|
126
131
|
:param pulumi.Input[str] access_key_id: The access key of the AwsGovCloud.
|
127
|
-
:param pulumi.Input[
|
132
|
+
:param pulumi.Input[str] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
128
133
|
:param pulumi.Input[str] aws_account_id: The AwsGovCloud account ID.
|
129
134
|
:param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
130
135
|
:param pulumi.Input[str] name: The linked account name
|
@@ -157,14 +162,14 @@ class _AwsGovcloudLinkAccountState:
|
|
157
162
|
|
158
163
|
@property
|
159
164
|
@pulumi.getter(name="accountId")
|
160
|
-
def account_id(self) -> Optional[pulumi.Input[
|
165
|
+
def account_id(self) -> Optional[pulumi.Input[str]]:
|
161
166
|
"""
|
162
167
|
The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
163
168
|
"""
|
164
169
|
return pulumi.get(self, "account_id")
|
165
170
|
|
166
171
|
@account_id.setter
|
167
|
-
def account_id(self, value: Optional[pulumi.Input[
|
172
|
+
def account_id(self, value: Optional[pulumi.Input[str]]):
|
168
173
|
pulumi.set(self, "account_id", value)
|
169
174
|
|
170
175
|
@property
|
@@ -222,7 +227,7 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
222
227
|
resource_name: str,
|
223
228
|
opts: Optional[pulumi.ResourceOptions] = None,
|
224
229
|
access_key_id: Optional[pulumi.Input[str]] = None,
|
225
|
-
account_id: Optional[pulumi.Input[
|
230
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
226
231
|
aws_account_id: Optional[pulumi.Input[str]] = None,
|
227
232
|
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
228
233
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -243,19 +248,18 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
243
248
|
|
244
249
|
## Example Usage
|
245
250
|
|
246
|
-
<!--Start PulumiCodeChooser -->
|
247
251
|
```python
|
248
252
|
import pulumi
|
249
253
|
import pulumi_newrelic as newrelic
|
250
254
|
|
251
255
|
foo = newrelic.cloud.AwsGovcloudLinkAccount("foo",
|
252
|
-
access_key_id="access-key-id of aws govcloud account",
|
253
256
|
account_id="The New Relic account ID where you want to link the AWS GovCloud account",
|
257
|
+
access_key_id="access-key-id of aws govcloud account",
|
254
258
|
aws_account_id="aws govcloud account id",
|
255
259
|
metric_collection_mode="PULL",
|
260
|
+
name="account name",
|
256
261
|
secret_access_key="secret access key of the aws govcloud account")
|
257
262
|
```
|
258
|
-
<!--End PulumiCodeChooser -->
|
259
263
|
|
260
264
|
## Import
|
261
265
|
|
@@ -270,7 +274,7 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
270
274
|
:param str resource_name: The name of the resource.
|
271
275
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
272
276
|
:param pulumi.Input[str] access_key_id: The access key of the AwsGovCloud.
|
273
|
-
:param pulumi.Input[
|
277
|
+
:param pulumi.Input[str] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
274
278
|
:param pulumi.Input[str] aws_account_id: The AwsGovCloud account ID.
|
275
279
|
:param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
276
280
|
:param pulumi.Input[str] name: The linked account name
|
@@ -297,19 +301,18 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
297
301
|
|
298
302
|
## Example Usage
|
299
303
|
|
300
|
-
<!--Start PulumiCodeChooser -->
|
301
304
|
```python
|
302
305
|
import pulumi
|
303
306
|
import pulumi_newrelic as newrelic
|
304
307
|
|
305
308
|
foo = newrelic.cloud.AwsGovcloudLinkAccount("foo",
|
306
|
-
access_key_id="access-key-id of aws govcloud account",
|
307
309
|
account_id="The New Relic account ID where you want to link the AWS GovCloud account",
|
310
|
+
access_key_id="access-key-id of aws govcloud account",
|
308
311
|
aws_account_id="aws govcloud account id",
|
309
312
|
metric_collection_mode="PULL",
|
313
|
+
name="account name",
|
310
314
|
secret_access_key="secret access key of the aws govcloud account")
|
311
315
|
```
|
312
|
-
<!--End PulumiCodeChooser -->
|
313
316
|
|
314
317
|
## Import
|
315
318
|
|
@@ -337,7 +340,7 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
337
340
|
resource_name: str,
|
338
341
|
opts: Optional[pulumi.ResourceOptions] = None,
|
339
342
|
access_key_id: Optional[pulumi.Input[str]] = None,
|
340
|
-
account_id: Optional[pulumi.Input[
|
343
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
341
344
|
aws_account_id: Optional[pulumi.Input[str]] = None,
|
342
345
|
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
343
346
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -376,7 +379,7 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
376
379
|
id: pulumi.Input[str],
|
377
380
|
opts: Optional[pulumi.ResourceOptions] = None,
|
378
381
|
access_key_id: Optional[pulumi.Input[str]] = None,
|
379
|
-
account_id: Optional[pulumi.Input[
|
382
|
+
account_id: Optional[pulumi.Input[str]] = None,
|
380
383
|
aws_account_id: Optional[pulumi.Input[str]] = None,
|
381
384
|
metric_collection_mode: Optional[pulumi.Input[str]] = None,
|
382
385
|
name: Optional[pulumi.Input[str]] = None,
|
@@ -389,7 +392,7 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
389
392
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
390
393
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
391
394
|
:param pulumi.Input[str] access_key_id: The access key of the AwsGovCloud.
|
392
|
-
:param pulumi.Input[
|
395
|
+
:param pulumi.Input[str] account_id: The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
393
396
|
:param pulumi.Input[str] aws_account_id: The AwsGovCloud account ID.
|
394
397
|
:param pulumi.Input[str] metric_collection_mode: How metrics will be collected. Use `PUSH` for a metric stream or `PULL` to integrate with individual services.
|
395
398
|
:param pulumi.Input[str] name: The linked account name
|
@@ -417,7 +420,7 @@ class AwsGovcloudLinkAccount(pulumi.CustomResource):
|
|
417
420
|
|
418
421
|
@property
|
419
422
|
@pulumi.getter(name="accountId")
|
420
|
-
def account_id(self) -> pulumi.Output[
|
423
|
+
def account_id(self) -> pulumi.Output[str]:
|
421
424
|
"""
|
422
425
|
The New Relic account ID to operate on. This allows the user to override the `account_id` attribute set on the provider. Defaults to the environment variable `NEW_RELIC_ACCOUNT_ID`.
|
423
426
|
"""
|