@cdktf-providers/newrelic 3.75.4 → 3.76.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/README.md +3 -3
  2. package/dist/account-management/index.d.ts +59 -6
  3. package/dist/account-management/index.js +168 -6
  4. package/dist/alert-channel/index.d.ts +30 -30
  5. package/dist/alert-channel/index.js +6 -6
  6. package/dist/alert-condition/index.d.ts +23 -23
  7. package/dist/alert-condition/index.js +6 -6
  8. package/dist/alert-muting-rule/index.d.ts +23 -23
  9. package/dist/alert-muting-rule/index.js +6 -6
  10. package/dist/alert-policy/index.d.ts +8 -8
  11. package/dist/alert-policy/index.js +6 -6
  12. package/dist/alert-policy-channel/index.d.ts +9 -9
  13. package/dist/alert-policy-channel/index.js +6 -6
  14. package/dist/api-access-key/index.d.ts +10 -10
  15. package/dist/api-access-key/index.js +6 -6
  16. package/dist/application-settings/index.d.ts +27 -27
  17. package/dist/application-settings/index.js +6 -6
  18. package/dist/browser-application/index.d.ts +9 -9
  19. package/dist/browser-application/index.js +6 -6
  20. package/dist/cloud-aws-govcloud-integrations/index.d.ts +110 -110
  21. package/dist/cloud-aws-govcloud-integrations/index.js +6 -6
  22. package/dist/cloud-aws-govcloud-link-account/index.d.ts +8 -8
  23. package/dist/cloud-aws-govcloud-link-account/index.js +6 -6
  24. package/dist/cloud-aws-integrations/index.d.ts +231 -231
  25. package/dist/cloud-aws-integrations/index.js +6 -6
  26. package/dist/cloud-aws-link-account/index.d.ts +8 -8
  27. package/dist/cloud-aws-link-account/index.js +6 -6
  28. package/dist/cloud-azure-integrations/index.d.ts +109 -109
  29. package/dist/cloud-azure-integrations/index.js +6 -6
  30. package/dist/cloud-azure-link-account/index.d.ts +10 -10
  31. package/dist/cloud-azure-link-account/index.js +6 -6
  32. package/dist/cloud-gcp-integrations/index.d.ts +62 -62
  33. package/dist/cloud-gcp-integrations/index.js +6 -6
  34. package/dist/cloud-gcp-link-account/index.d.ts +7 -7
  35. package/dist/cloud-gcp-link-account/index.js +6 -6
  36. package/dist/cloud-oci-link-account/index.d.ts +18 -18
  37. package/dist/cloud-oci-link-account/index.js +6 -6
  38. package/dist/data-newrelic-account/index.d.ts +8 -7
  39. package/dist/data-newrelic-account/index.js +10 -6
  40. package/dist/data-newrelic-alert-channel/index.d.ts +6 -6
  41. package/dist/data-newrelic-alert-channel/index.js +6 -6
  42. package/dist/data-newrelic-alert-policy/index.d.ts +7 -7
  43. package/dist/data-newrelic-alert-policy/index.js +6 -6
  44. package/dist/data-newrelic-application/index.d.ts +5 -5
  45. package/dist/data-newrelic-application/index.js +6 -6
  46. package/dist/data-newrelic-authentication-domain/index.d.ts +4 -4
  47. package/dist/data-newrelic-authentication-domain/index.js +6 -6
  48. package/dist/data-newrelic-cloud-account/index.d.ts +7 -7
  49. package/dist/data-newrelic-cloud-account/index.js +6 -6
  50. package/dist/data-newrelic-entity/index.d.ts +14 -14
  51. package/dist/data-newrelic-entity/index.js +6 -6
  52. package/dist/data-newrelic-group/index.d.ts +5 -5
  53. package/dist/data-newrelic-group/index.js +6 -6
  54. package/dist/data-newrelic-key-transaction/index.d.ts +7 -7
  55. package/dist/data-newrelic-key-transaction/index.js +6 -6
  56. package/dist/data-newrelic-notification-destination/index.d.ts +8 -8
  57. package/dist/data-newrelic-notification-destination/index.js +6 -6
  58. package/dist/data-newrelic-obfuscation-expression/index.d.ts +6 -6
  59. package/dist/data-newrelic-obfuscation-expression/index.js +6 -6
  60. package/dist/data-newrelic-service-level-alert-helper/index.d.ts +11 -11
  61. package/dist/data-newrelic-service-level-alert-helper/index.js +6 -6
  62. package/dist/data-newrelic-synthetics-private-location/index.d.ts +7 -7
  63. package/dist/data-newrelic-synthetics-private-location/index.js +6 -6
  64. package/dist/data-newrelic-synthetics-secure-credential/index.d.ts +6 -6
  65. package/dist/data-newrelic-synthetics-secure-credential/index.js +6 -6
  66. package/dist/data-newrelic-test-grok-pattern/index.d.ts +7 -7
  67. package/dist/data-newrelic-test-grok-pattern/index.js +6 -6
  68. package/dist/data-newrelic-user/index.d.ts +6 -6
  69. package/dist/data-newrelic-user/index.js +6 -6
  70. package/dist/data-partition-rule/index.d.ts +12 -12
  71. package/dist/data-partition-rule/index.js +6 -6
  72. package/dist/entity-tags/index.d.ts +10 -10
  73. package/dist/entity-tags/index.js +6 -6
  74. package/dist/events-to-metrics-rule/index.d.ts +9 -9
  75. package/dist/events-to-metrics-rule/index.js +6 -6
  76. package/dist/group/index.d.ts +7 -7
  77. package/dist/group/index.js +6 -6
  78. package/dist/infra-alert-condition/index.d.ts +25 -25
  79. package/dist/infra-alert-condition/index.js +6 -6
  80. package/dist/insights-event/index.d.ts +11 -11
  81. package/dist/insights-event/index.js +6 -6
  82. package/dist/key-transaction/index.d.ts +9 -9
  83. package/dist/key-transaction/index.js +6 -6
  84. package/dist/log-parsing-rule/index.d.ts +12 -12
  85. package/dist/log-parsing-rule/index.js +6 -6
  86. package/dist/monitor-downtime/index.d.ts +20 -20
  87. package/dist/monitor-downtime/index.js +6 -6
  88. package/dist/notification-channel/index.d.ts +18 -18
  89. package/dist/notification-channel/index.js +6 -6
  90. package/dist/notification-destination/index.d.ts +28 -28
  91. package/dist/notification-destination/index.js +6 -6
  92. package/dist/nrql-alert-condition/index.d.ts +151 -71
  93. package/dist/nrql-alert-condition/index.js +222 -6
  94. package/dist/nrql-drop-rule/index.d.ts +10 -10
  95. package/dist/nrql-drop-rule/index.js +6 -6
  96. package/dist/obfuscation-expression/index.d.ts +8 -8
  97. package/dist/obfuscation-expression/index.js +6 -6
  98. package/dist/obfuscation-rule/index.d.ts +13 -13
  99. package/dist/obfuscation-rule/index.js +6 -6
  100. package/dist/one-dashboard/index-structs/structs0.d.ts +382 -382
  101. package/dist/one-dashboard/index-structs/structs400.d.ts +212 -212
  102. package/dist/one-dashboard/index.d.ts +10 -10
  103. package/dist/one-dashboard/index.js +5 -5
  104. package/dist/one-dashboard-json/index.d.ts +9 -9
  105. package/dist/one-dashboard-json/index.js +6 -6
  106. package/dist/one-dashboard-raw/index.d.ts +20 -20
  107. package/dist/one-dashboard-raw/index.js +6 -6
  108. package/dist/pipeline-cloud-rule/index.d.ts +8 -8
  109. package/dist/pipeline-cloud-rule/index.js +6 -6
  110. package/dist/provider/index.d.ts +17 -17
  111. package/dist/provider/index.js +6 -6
  112. package/dist/service-level/index.d.ts +38 -38
  113. package/dist/service-level/index.js +6 -6
  114. package/dist/synthetics-alert-condition/index.d.ts +9 -9
  115. package/dist/synthetics-alert-condition/index.js +6 -6
  116. package/dist/synthetics-broken-links-monitor/index.d.ts +17 -17
  117. package/dist/synthetics-broken-links-monitor/index.js +6 -6
  118. package/dist/synthetics-cert-check-monitor/index.d.ts +18 -18
  119. package/dist/synthetics-cert-check-monitor/index.js +6 -6
  120. package/dist/synthetics-monitor/index.d.ts +31 -31
  121. package/dist/synthetics-monitor/index.js +6 -6
  122. package/dist/synthetics-multilocation-alert-condition/index.d.ts +14 -14
  123. package/dist/synthetics-multilocation-alert-condition/index.js +6 -6
  124. package/dist/synthetics-private-location/index.d.ts +8 -8
  125. package/dist/synthetics-private-location/index.js +6 -6
  126. package/dist/synthetics-script-monitor/index.d.ts +26 -26
  127. package/dist/synthetics-script-monitor/index.js +6 -6
  128. package/dist/synthetics-secure-credential/index.d.ts +11 -11
  129. package/dist/synthetics-secure-credential/index.js +6 -6
  130. package/dist/synthetics-step-monitor/index.d.ts +25 -25
  131. package/dist/synthetics-step-monitor/index.js +6 -6
  132. package/dist/user/index.d.ts +8 -8
  133. package/dist/user/index.js +6 -6
  134. package/dist/workflow/index.d.ts +26 -26
  135. package/dist/workflow/index.js +6 -6
  136. package/dist/workload/index.d.ts +32 -32
  137. package/dist/workload/index.js +6 -6
  138. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # @cdktf-providers/newrelic (v3.75.4)
1
+ # @cdktf-providers/newrelic (v3.76.1)
2
2
 
3
- This package provides the prebuilt [Terraform newrelic/newrelic provider](https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs) bindings for [CDK for Terraform (CDKTF)](https://cdk.tf).
3
+ This package provides the prebuilt [Terraform newrelic/newrelic provider](https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs) bindings for [CDK for Terraform (CDKTF)](https://cdk.tf).
4
4
 
5
5
  The bindings are **automatically generated** from the upstream provider schema. They are intended for use in TypeScript CDKTF applications, and always match the version of the upstream Terraform provider.
6
6
 
@@ -12,7 +12,7 @@ For more details, see the [cdktf-providers](https://github.com/shunueda/cdktf-pr
12
12
 
13
13
  ## Docs
14
14
 
15
- See provider documentation on [registry.terraform.io](https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs).
15
+ See provider documentation on [registry.terraform.io](https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs).
16
16
 
17
17
  ## Disclaimer
18
18
 
@@ -2,7 +2,7 @@ import { Construct } from 'constructs';
2
2
  import * as cdktf from 'cdktf';
3
3
  export interface AccountManagementConfig extends cdktf.TerraformMetaArguments {
4
4
  /**
5
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/account_management#id AccountManagement#id}
5
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management#id AccountManagement#id}
6
6
  *
7
7
  * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
8
8
  * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
@@ -11,18 +11,66 @@ export interface AccountManagementConfig extends cdktf.TerraformMetaArguments {
11
11
  /**
12
12
  * Name of the account to be created
13
13
  *
14
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/account_management#name AccountManagement#name}
14
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management#name AccountManagement#name}
15
15
  */
16
16
  readonly name: string;
17
17
  /**
18
18
  * A description of what this parsing rule represents.
19
19
  *
20
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/account_management#region AccountManagement#region}
20
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management#region AccountManagement#region}
21
21
  */
22
22
  readonly region: string;
23
+ /**
24
+ * timeouts block
25
+ *
26
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management#timeouts AccountManagement#timeouts}
27
+ */
28
+ readonly timeouts?: AccountManagementTimeouts;
29
+ }
30
+ export interface AccountManagementTimeouts {
31
+ /**
32
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management#create AccountManagement#create}
33
+ */
34
+ readonly create?: string;
35
+ /**
36
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management#read AccountManagement#read}
37
+ */
38
+ readonly read?: string;
39
+ /**
40
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management#update AccountManagement#update}
41
+ */
42
+ readonly update?: string;
43
+ }
44
+ export declare function accountManagementTimeoutsToTerraform(struct?: AccountManagementTimeouts | cdktf.IResolvable): any;
45
+ export declare function accountManagementTimeoutsToHclTerraform(struct?: AccountManagementTimeouts | cdktf.IResolvable): any;
46
+ export declare class AccountManagementTimeoutsOutputReference extends cdktf.ComplexObject {
47
+ private isEmptyObject;
48
+ private resolvableValue?;
49
+ /**
50
+ * @param terraformResource The parent resource
51
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
52
+ */
53
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
54
+ get internalValue(): AccountManagementTimeouts | cdktf.IResolvable | undefined;
55
+ set internalValue(value: AccountManagementTimeouts | cdktf.IResolvable | undefined);
56
+ private _create?;
57
+ get create(): string;
58
+ set create(value: string);
59
+ resetCreate(): void;
60
+ get createInput(): string;
61
+ private _read?;
62
+ get read(): string;
63
+ set read(value: string);
64
+ resetRead(): void;
65
+ get readInput(): string;
66
+ private _update?;
67
+ get update(): string;
68
+ set update(value: string);
69
+ resetUpdate(): void;
70
+ get updateInput(): string;
23
71
  }
24
72
  /**
25
- * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/account_management newrelic_account_management}
73
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management newrelic_account_management}
26
74
  */
27
75
  export declare class AccountManagement extends cdktf.TerraformResource {
28
76
  static readonly tfResourceType = "newrelic_account_management";
@@ -30,12 +78,12 @@ export declare class AccountManagement extends cdktf.TerraformResource {
30
78
  * Generates CDKTF code for importing a AccountManagement resource upon running "cdktf plan <stack-name>"
31
79
  * @param scope The scope in which to define this construct
32
80
  * @param importToId The construct id used in the generated config for the AccountManagement to import
33
- * @param importFromId The id of the existing AccountManagement that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/account_management#import import section} in the documentation of this resource for the id to use
81
+ * @param importFromId The id of the existing AccountManagement that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management#import import section} in the documentation of this resource for the id to use
34
82
  * @param provider? Optional instance of the provider where the AccountManagement to import is found
35
83
  */
36
84
  static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
37
85
  /**
38
- * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/account_management newrelic_account_management} Resource
86
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management newrelic_account_management} Resource
39
87
  *
40
88
  * @param scope The scope in which to define this construct
41
89
  * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
@@ -55,6 +103,11 @@ export declare class AccountManagement extends cdktf.TerraformResource {
55
103
  get region(): string;
56
104
  set region(value: string);
57
105
  get regionInput(): string;
106
+ private _timeouts;
107
+ get timeouts(): AccountManagementTimeoutsOutputReference;
108
+ putTimeouts(value: AccountManagementTimeouts): void;
109
+ resetTimeouts(): void;
110
+ get timeoutsInput(): any;
58
111
  protected synthesizeAttributes(): {
59
112
  [name: string]: any;
60
113
  };
@@ -1,8 +1,147 @@
1
- // https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/account_management
1
+ // https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management
2
2
  // generated from terraform resource schema
3
3
  import * as cdktf from 'cdktf';
4
+ export function accountManagementTimeoutsToTerraform(struct) {
5
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
6
+ return struct;
7
+ }
8
+ if (cdktf.isComplexElement(struct)) {
9
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
10
+ }
11
+ return {
12
+ create: cdktf.stringToTerraform(struct.create),
13
+ read: cdktf.stringToTerraform(struct.read),
14
+ update: cdktf.stringToTerraform(struct.update),
15
+ };
16
+ }
17
+ export function accountManagementTimeoutsToHclTerraform(struct) {
18
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
19
+ return struct;
20
+ }
21
+ if (cdktf.isComplexElement(struct)) {
22
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
23
+ }
24
+ const attrs = {
25
+ create: {
26
+ value: cdktf.stringToHclTerraform(struct.create),
27
+ isBlock: false,
28
+ type: "simple",
29
+ storageClassType: "string",
30
+ },
31
+ read: {
32
+ value: cdktf.stringToHclTerraform(struct.read),
33
+ isBlock: false,
34
+ type: "simple",
35
+ storageClassType: "string",
36
+ },
37
+ update: {
38
+ value: cdktf.stringToHclTerraform(struct.update),
39
+ isBlock: false,
40
+ type: "simple",
41
+ storageClassType: "string",
42
+ },
43
+ };
44
+ // remove undefined attributes
45
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
46
+ }
47
+ export class AccountManagementTimeoutsOutputReference extends cdktf.ComplexObject {
48
+ isEmptyObject = false;
49
+ resolvableValue;
50
+ /**
51
+ * @param terraformResource The parent resource
52
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
53
+ */
54
+ constructor(terraformResource, terraformAttribute) {
55
+ super(terraformResource, terraformAttribute, false);
56
+ }
57
+ get internalValue() {
58
+ if (this.resolvableValue) {
59
+ return this.resolvableValue;
60
+ }
61
+ let hasAnyValues = this.isEmptyObject;
62
+ const internalValueResult = {};
63
+ if (this._create !== undefined) {
64
+ hasAnyValues = true;
65
+ internalValueResult.create = this._create;
66
+ }
67
+ if (this._read !== undefined) {
68
+ hasAnyValues = true;
69
+ internalValueResult.read = this._read;
70
+ }
71
+ if (this._update !== undefined) {
72
+ hasAnyValues = true;
73
+ internalValueResult.update = this._update;
74
+ }
75
+ return hasAnyValues ? internalValueResult : undefined;
76
+ }
77
+ set internalValue(value) {
78
+ if (value === undefined) {
79
+ this.isEmptyObject = false;
80
+ this.resolvableValue = undefined;
81
+ this._create = undefined;
82
+ this._read = undefined;
83
+ this._update = undefined;
84
+ }
85
+ else if (cdktf.Tokenization.isResolvable(value)) {
86
+ this.isEmptyObject = false;
87
+ this.resolvableValue = value;
88
+ }
89
+ else {
90
+ this.isEmptyObject = Object.keys(value).length === 0;
91
+ this.resolvableValue = undefined;
92
+ this._create = value.create;
93
+ this._read = value.read;
94
+ this._update = value.update;
95
+ }
96
+ }
97
+ // create - computed: false, optional: true, required: false
98
+ _create;
99
+ get create() {
100
+ return this.getStringAttribute('create');
101
+ }
102
+ set create(value) {
103
+ this._create = value;
104
+ }
105
+ resetCreate() {
106
+ this._create = undefined;
107
+ }
108
+ // Temporarily expose input value. Use with caution.
109
+ get createInput() {
110
+ return this._create;
111
+ }
112
+ // read - computed: false, optional: true, required: false
113
+ _read;
114
+ get read() {
115
+ return this.getStringAttribute('read');
116
+ }
117
+ set read(value) {
118
+ this._read = value;
119
+ }
120
+ resetRead() {
121
+ this._read = undefined;
122
+ }
123
+ // Temporarily expose input value. Use with caution.
124
+ get readInput() {
125
+ return this._read;
126
+ }
127
+ // update - computed: false, optional: true, required: false
128
+ _update;
129
+ get update() {
130
+ return this.getStringAttribute('update');
131
+ }
132
+ set update(value) {
133
+ this._update = value;
134
+ }
135
+ resetUpdate() {
136
+ this._update = undefined;
137
+ }
138
+ // Temporarily expose input value. Use with caution.
139
+ get updateInput() {
140
+ return this._update;
141
+ }
142
+ }
4
143
  /**
5
- * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/account_management newrelic_account_management}
144
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management newrelic_account_management}
6
145
  */
7
146
  export class AccountManagement extends cdktf.TerraformResource {
8
147
  // =================
@@ -16,7 +155,7 @@ export class AccountManagement extends cdktf.TerraformResource {
16
155
  * Generates CDKTF code for importing a AccountManagement resource upon running "cdktf plan <stack-name>"
17
156
  * @param scope The scope in which to define this construct
18
157
  * @param importToId The construct id used in the generated config for the AccountManagement to import
19
- * @param importFromId The id of the existing AccountManagement that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/account_management#import import section} in the documentation of this resource for the id to use
158
+ * @param importFromId The id of the existing AccountManagement that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management#import import section} in the documentation of this resource for the id to use
20
159
  * @param provider? Optional instance of the provider where the AccountManagement to import is found
21
160
  */
22
161
  static generateConfigForImport(scope, importToId, importFromId, provider) {
@@ -26,7 +165,7 @@ export class AccountManagement extends cdktf.TerraformResource {
26
165
  // INITIALIZER
27
166
  // ===========
28
167
  /**
29
- * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/account_management newrelic_account_management} Resource
168
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/account_management newrelic_account_management} Resource
30
169
  *
31
170
  * @param scope The scope in which to define this construct
32
171
  * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
@@ -37,8 +176,8 @@ export class AccountManagement extends cdktf.TerraformResource {
37
176
  terraformResourceType: 'newrelic_account_management',
38
177
  terraformGeneratorMetadata: {
39
178
  providerName: 'newrelic',
40
- providerVersion: '3.75.4',
41
- providerVersionConstraint: '3.75.4'
179
+ providerVersion: '3.76.1',
180
+ providerVersionConstraint: '3.76.1'
42
181
  },
43
182
  provider: config.provider,
44
183
  dependsOn: config.dependsOn,
@@ -51,6 +190,7 @@ export class AccountManagement extends cdktf.TerraformResource {
51
190
  this._id = config.id;
52
191
  this._name = config.name;
53
192
  this._region = config.region;
193
+ this._timeouts.internalValue = config.timeouts;
54
194
  }
55
195
  // ==========
56
196
  // ATTRIBUTES
@@ -94,6 +234,21 @@ export class AccountManagement extends cdktf.TerraformResource {
94
234
  get regionInput() {
95
235
  return this._region;
96
236
  }
237
+ // timeouts - computed: false, optional: true, required: false
238
+ _timeouts = new AccountManagementTimeoutsOutputReference(this, "timeouts");
239
+ get timeouts() {
240
+ return this._timeouts;
241
+ }
242
+ putTimeouts(value) {
243
+ this._timeouts.internalValue = value;
244
+ }
245
+ resetTimeouts() {
246
+ this._timeouts.internalValue = undefined;
247
+ }
248
+ // Temporarily expose input value. Use with caution.
249
+ get timeoutsInput() {
250
+ return this._timeouts.internalValue;
251
+ }
97
252
  // =========
98
253
  // SYNTHESIS
99
254
  // =========
@@ -102,6 +257,7 @@ export class AccountManagement extends cdktf.TerraformResource {
102
257
  id: cdktf.stringToTerraform(this._id),
103
258
  name: cdktf.stringToTerraform(this._name),
104
259
  region: cdktf.stringToTerraform(this._region),
260
+ timeouts: accountManagementTimeoutsToTerraform(this._timeouts.internalValue),
105
261
  };
106
262
  }
107
263
  synthesizeHclAttributes() {
@@ -124,6 +280,12 @@ export class AccountManagement extends cdktf.TerraformResource {
124
280
  type: "simple",
125
281
  storageClassType: "string",
126
282
  },
283
+ timeouts: {
284
+ value: accountManagementTimeoutsToHclTerraform(this._timeouts.internalValue),
285
+ isBlock: true,
286
+ type: "struct",
287
+ storageClassType: "AccountManagementTimeouts",
288
+ },
127
289
  };
128
290
  // remove undefined attributes
129
291
  return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
@@ -4,11 +4,11 @@ export interface AlertChannelConfig extends cdktf.TerraformMetaArguments {
4
4
  /**
5
5
  * The New Relic account ID where you want to create alert channels.
6
6
  *
7
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#account_id AlertChannel#account_id}
7
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#account_id AlertChannel#account_id}
8
8
  */
9
9
  readonly accountId?: number;
10
10
  /**
11
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#id AlertChannel#id}
11
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#id AlertChannel#id}
12
12
  *
13
13
  * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
14
14
  * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
@@ -17,19 +17,19 @@ export interface AlertChannelConfig extends cdktf.TerraformMetaArguments {
17
17
  /**
18
18
  * (Required) The name of the channel.
19
19
  *
20
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#name AlertChannel#name}
20
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#name AlertChannel#name}
21
21
  */
22
22
  readonly name: string;
23
23
  /**
24
- * (Required) The type of channel. One of: (pagerduty, slack, user, victorops, webhook, email, opsgenie).
24
+ * (Required) The type of channel. One of: (slack, user, victorops, webhook, email, opsgenie, pagerduty).
25
25
  *
26
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#type AlertChannel#type}
26
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#type AlertChannel#type}
27
27
  */
28
28
  readonly type: string;
29
29
  /**
30
30
  * config block
31
31
  *
32
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#config AlertChannel#config}
32
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#config AlertChannel#config}
33
33
  */
34
34
  readonly config?: AlertChannelConfigA;
35
35
  }
@@ -37,43 +37,43 @@ export interface AlertChannelConfigA {
37
37
  /**
38
38
  * The API key for integrating with OpsGenie.
39
39
  *
40
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#api_key AlertChannel#api_key}
40
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#api_key AlertChannel#api_key}
41
41
  */
42
42
  readonly apiKey?: string;
43
43
  /**
44
44
  * Specifies an authentication password for use with a channel. Supported by the webhook channel type.
45
45
  *
46
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#auth_password AlertChannel#auth_password}
46
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#auth_password AlertChannel#auth_password}
47
47
  */
48
48
  readonly authPassword?: string;
49
49
  /**
50
50
  * Specifies an authentication method for use with a channel. Supported by the webhook channel type. Only HTTP basic authentication is currently supported via the value BASIC.
51
51
  *
52
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#auth_type AlertChannel#auth_type}
52
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#auth_type AlertChannel#auth_type}
53
53
  */
54
54
  readonly authType?: string;
55
55
  /**
56
56
  * Specifies an authentication username for use with a channel. Supported by the webhook channel type.
57
57
  *
58
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#auth_username AlertChannel#auth_username}
58
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#auth_username AlertChannel#auth_username}
59
59
  */
60
60
  readonly authUsername?: string;
61
61
  /**
62
62
  * The base URL of the webhook destination.
63
63
  *
64
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#base_url AlertChannel#base_url}
64
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#base_url AlertChannel#base_url}
65
65
  */
66
66
  readonly baseUrl?: string;
67
67
  /**
68
68
  * The Slack channel to send notifications to.
69
69
  *
70
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#channel AlertChannel#channel}
70
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#channel AlertChannel#channel}
71
71
  */
72
72
  readonly channel?: string;
73
73
  /**
74
74
  * A map of key/value pairs that represents extra HTTP headers to be sent along with the webhook payload.
75
75
  *
76
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#headers AlertChannel#headers}
76
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#headers AlertChannel#headers}
77
77
  */
78
78
  readonly headers?: {
79
79
  [key: string]: string;
@@ -81,25 +81,25 @@ export interface AlertChannelConfigA {
81
81
  /**
82
82
  * Use instead of headers if the desired payload is more complex than a list of key/value pairs (e.g. a set of headers that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with headers.
83
83
  *
84
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#headers_string AlertChannel#headers_string}
84
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#headers_string AlertChannel#headers_string}
85
85
  */
86
86
  readonly headersString?: string;
87
87
  /**
88
88
  * true or false. Flag for whether or not to attach a JSON document containing information about the associated alert to the email that is sent to recipients.
89
89
  *
90
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#include_json_attachment AlertChannel#include_json_attachment}
90
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#include_json_attachment AlertChannel#include_json_attachment}
91
91
  */
92
92
  readonly includeJsonAttachment?: string;
93
93
  /**
94
94
  * The key for integrating with VictorOps.
95
95
  *
96
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#key AlertChannel#key}
96
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#key AlertChannel#key}
97
97
  */
98
98
  readonly key?: string;
99
99
  /**
100
100
  * A map of key/value pairs that represents the webhook payload. Must provide payload_type if setting this argument.
101
101
  *
102
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#payload AlertChannel#payload}
102
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#payload AlertChannel#payload}
103
103
  */
104
104
  readonly payload?: {
105
105
  [key: string]: string;
@@ -107,61 +107,61 @@ export interface AlertChannelConfigA {
107
107
  /**
108
108
  * Use instead of payload if the desired payload is more complex than a list of key/value pairs (e.g. a payload that makes use of nested objects). The value provided should be a valid JSON string with escaped double quotes. Conflicts with payload.
109
109
  *
110
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#payload_string AlertChannel#payload_string}
110
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#payload_string AlertChannel#payload_string}
111
111
  */
112
112
  readonly payloadString?: string;
113
113
  /**
114
114
  * Can either be application/json or application/x-www-form-urlencoded. The payload_type argument is required if payload is set.
115
115
  *
116
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#payload_type AlertChannel#payload_type}
116
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#payload_type AlertChannel#payload_type}
117
117
  */
118
118
  readonly payloadType?: string;
119
119
  /**
120
120
  * A set of recipients for targeting notifications. Multiple values are comma separated.
121
121
  *
122
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#recipients AlertChannel#recipients}
122
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#recipients AlertChannel#recipients}
123
123
  */
124
124
  readonly recipients?: string;
125
125
  /**
126
126
  * The data center region to store your data. Valid values are US and EU. Default is US.
127
127
  *
128
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#region AlertChannel#region}
128
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#region AlertChannel#region}
129
129
  */
130
130
  readonly region?: string;
131
131
  /**
132
132
  * The route key for integrating with VictorOps.
133
133
  *
134
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#route_key AlertChannel#route_key}
134
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#route_key AlertChannel#route_key}
135
135
  */
136
136
  readonly routeKey?: string;
137
137
  /**
138
138
  * Specifies the service key for integrating with Pagerduty.
139
139
  *
140
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#service_key AlertChannel#service_key}
140
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#service_key AlertChannel#service_key}
141
141
  */
142
142
  readonly serviceKey?: string;
143
143
  /**
144
144
  * A set of tags for targeting notifications. Multiple values are comma separated.
145
145
  *
146
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#tags AlertChannel#tags}
146
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#tags AlertChannel#tags}
147
147
  */
148
148
  readonly tags?: string;
149
149
  /**
150
150
  * A set of teams for targeting notifications. Multiple values are comma separated.
151
151
  *
152
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#teams AlertChannel#teams}
152
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#teams AlertChannel#teams}
153
153
  */
154
154
  readonly teams?: string;
155
155
  /**
156
156
  * Your organization's Slack URL.
157
157
  *
158
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#url AlertChannel#url}
158
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#url AlertChannel#url}
159
159
  */
160
160
  readonly url?: string;
161
161
  /**
162
162
  * The user ID for use with the user channel type.
163
163
  *
164
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#user_id AlertChannel#user_id}
164
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#user_id AlertChannel#user_id}
165
165
  */
166
166
  readonly userId?: string;
167
167
  }
@@ -295,7 +295,7 @@ export declare class AlertChannelConfigAOutputReference extends cdktf.ComplexObj
295
295
  get userIdInput(): string;
296
296
  }
297
297
  /**
298
- * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel newrelic_alert_channel}
298
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel newrelic_alert_channel}
299
299
  */
300
300
  export declare class AlertChannel extends cdktf.TerraformResource {
301
301
  static readonly tfResourceType = "newrelic_alert_channel";
@@ -303,12 +303,12 @@ export declare class AlertChannel extends cdktf.TerraformResource {
303
303
  * Generates CDKTF code for importing a AlertChannel resource upon running "cdktf plan <stack-name>"
304
304
  * @param scope The scope in which to define this construct
305
305
  * @param importToId The construct id used in the generated config for the AlertChannel to import
306
- * @param importFromId The id of the existing AlertChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#import import section} in the documentation of this resource for the id to use
306
+ * @param importFromId The id of the existing AlertChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#import import section} in the documentation of this resource for the id to use
307
307
  * @param provider? Optional instance of the provider where the AlertChannel to import is found
308
308
  */
309
309
  static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
310
310
  /**
311
- * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel newrelic_alert_channel} Resource
311
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel newrelic_alert_channel} Resource
312
312
  *
313
313
  * @param scope The scope in which to define this construct
314
314
  * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
@@ -1,4 +1,4 @@
1
- // https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel
1
+ // https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel
2
2
  // generated from terraform resource schema
3
3
  import * as cdktf from 'cdktf';
4
4
  export function alertChannelConfigAToTerraform(struct) {
@@ -635,7 +635,7 @@ export class AlertChannelConfigAOutputReference extends cdktf.ComplexObject {
635
635
  }
636
636
  }
637
637
  /**
638
- * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel newrelic_alert_channel}
638
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel newrelic_alert_channel}
639
639
  */
640
640
  export class AlertChannel extends cdktf.TerraformResource {
641
641
  // =================
@@ -649,7 +649,7 @@ export class AlertChannel extends cdktf.TerraformResource {
649
649
  * Generates CDKTF code for importing a AlertChannel resource upon running "cdktf plan <stack-name>"
650
650
  * @param scope The scope in which to define this construct
651
651
  * @param importToId The construct id used in the generated config for the AlertChannel to import
652
- * @param importFromId The id of the existing AlertChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel#import import section} in the documentation of this resource for the id to use
652
+ * @param importFromId The id of the existing AlertChannel that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel#import import section} in the documentation of this resource for the id to use
653
653
  * @param provider? Optional instance of the provider where the AlertChannel to import is found
654
654
  */
655
655
  static generateConfigForImport(scope, importToId, importFromId, provider) {
@@ -659,7 +659,7 @@ export class AlertChannel extends cdktf.TerraformResource {
659
659
  // INITIALIZER
660
660
  // ===========
661
661
  /**
662
- * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/alert_channel newrelic_alert_channel} Resource
662
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.76.1/docs/resources/alert_channel newrelic_alert_channel} Resource
663
663
  *
664
664
  * @param scope The scope in which to define this construct
665
665
  * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
@@ -670,8 +670,8 @@ export class AlertChannel extends cdktf.TerraformResource {
670
670
  terraformResourceType: 'newrelic_alert_channel',
671
671
  terraformGeneratorMetadata: {
672
672
  providerName: 'newrelic',
673
- providerVersion: '3.75.4',
674
- providerVersionConstraint: '3.75.4'
673
+ providerVersion: '3.76.1',
674
+ providerVersionConstraint: '3.76.1'
675
675
  },
676
676
  provider: config.provider,
677
677
  dependsOn: config.dependsOn,