@cdktf-providers/newrelic 3.75.4
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.
- package/LICENSE +355 -0
- package/README.md +19 -0
- package/dist/account-management/index.d.ts +64 -0
- package/dist/account-management/index.js +131 -0
- package/dist/alert-channel/index.d.ts +347 -0
- package/dist/alert-channel/index.js +810 -0
- package/dist/alert-condition/index.d.ts +267 -0
- package/dist/alert-condition/index.js +587 -0
- package/dist/alert-muting-rule/index.d.ts +305 -0
- package/dist/alert-muting-rule/index.js +731 -0
- package/dist/alert-policy/index.d.ts +87 -0
- package/dist/alert-policy/index.js +180 -0
- package/dist/alert-policy-channel/index.d.ts +110 -0
- package/dist/alert-policy-channel/index.js +260 -0
- package/dist/api-access-key/index.d.ts +98 -0
- package/dist/api-access-key/index.js +230 -0
- package/dist/application-settings/index.d.ts +410 -0
- package/dist/application-settings/index.js +966 -0
- package/dist/browser-application/index.d.ts +101 -0
- package/dist/browser-application/index.js +215 -0
- package/dist/cloud-aws-govcloud-integrations/index.d.ts +1519 -0
- package/dist/cloud-aws-govcloud-integrations/index.js +3846 -0
- package/dist/cloud-aws-govcloud-link-account/index.d.ts +86 -0
- package/dist/cloud-aws-govcloud-link-account/index.js +177 -0
- package/dist/cloud-aws-integrations/index.d.ts +3294 -0
- package/dist/cloud-aws-integrations/index.js +8554 -0
- package/dist/cloud-aws-link-account/index.d.ts +86 -0
- package/dist/cloud-aws-link-account/index.js +177 -0
- package/dist/cloud-azure-integrations/index.d.ts +1662 -0
- package/dist/cloud-azure-integrations/index.js +4338 -0
- package/dist/cloud-azure-link-account/index.d.ts +105 -0
- package/dist/cloud-azure-link-account/index.js +214 -0
- package/dist/cloud-gcp-integrations/index.d.ts +1045 -0
- package/dist/cloud-gcp-integrations/index.js +2742 -0
- package/dist/cloud-gcp-link-account/index.d.ts +75 -0
- package/dist/cloud-gcp-link-account/index.js +154 -0
- package/dist/cloud-oci-link-account/index.d.ts +191 -0
- package/dist/cloud-oci-link-account/index.js +392 -0
- package/dist/data-newrelic-account/index.d.ts +77 -0
- package/dist/data-newrelic-account/index.js +160 -0
- package/dist/data-newrelic-alert-channel/index.d.ts +122 -0
- package/dist/data-newrelic-alert-channel/index.js +295 -0
- package/dist/data-newrelic-alert-policy/index.d.ts +78 -0
- package/dist/data-newrelic-alert-policy/index.js +165 -0
- package/dist/data-newrelic-application/index.d.ts +56 -0
- package/dist/data-newrelic-application/index.js +119 -0
- package/dist/data-newrelic-authentication-domain/index.d.ts +43 -0
- package/dist/data-newrelic-authentication-domain/index.js +92 -0
- package/dist/data-newrelic-cloud-account/index.d.ts +75 -0
- package/dist/data-newrelic-cloud-account/index.js +154 -0
- package/dist/data-newrelic-entity/index.d.ts +185 -0
- package/dist/data-newrelic-entity/index.js +414 -0
- package/dist/data-newrelic-group/index.d.ts +54 -0
- package/dist/data-newrelic-group/index.js +116 -0
- package/dist/data-newrelic-key-transaction/index.d.ts +78 -0
- package/dist/data-newrelic-key-transaction/index.js +165 -0
- package/dist/data-newrelic-notification-destination/index.d.ts +161 -0
- package/dist/data-newrelic-notification-destination/index.js +368 -0
- package/dist/data-newrelic-obfuscation-expression/index.d.ts +65 -0
- package/dist/data-newrelic-obfuscation-expression/index.js +134 -0
- package/dist/data-newrelic-service-level-alert-helper/index.d.ts +107 -0
- package/dist/data-newrelic-service-level-alert-helper/index.js +256 -0
- package/dist/data-newrelic-synthetics-private-location/index.d.ts +76 -0
- package/dist/data-newrelic-synthetics-private-location/index.js +157 -0
- package/dist/data-newrelic-synthetics-secure-credential/index.d.ts +67 -0
- package/dist/data-newrelic-synthetics-secure-credential/index.js +142 -0
- package/dist/data-newrelic-test-grok-pattern/index.d.ts +145 -0
- package/dist/data-newrelic-test-grok-pattern/index.js +312 -0
- package/dist/data-newrelic-user/index.d.ts +65 -0
- package/dist/data-newrelic-user/index.js +138 -0
- package/dist/data-partition-rule/index.d.ts +142 -0
- package/dist/data-partition-rule/index.js +327 -0
- package/dist/entity-tags/index.d.ts +152 -0
- package/dist/entity-tags/index.js +367 -0
- package/dist/events-to-metrics-rule/index.d.ts +98 -0
- package/dist/events-to-metrics-rule/index.js +204 -0
- package/dist/group/index.d.ts +75 -0
- package/dist/group/index.js +154 -0
- package/dist/index.d.ts +67 -0
- package/dist/index.js +68 -0
- package/dist/infra-alert-condition/index.d.ts +289 -0
- package/dist/infra-alert-condition/index.js +691 -0
- package/dist/insights-event/index.d.ts +182 -0
- package/dist/insights-event/index.js +427 -0
- package/dist/key-transaction/index.d.ts +96 -0
- package/dist/key-transaction/index.js +199 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +68 -0
- package/dist/log-parsing-rule/index.d.ts +128 -0
- package/dist/log-parsing-rule/index.js +264 -0
- package/dist/monitor-downtime/index.d.ts +255 -0
- package/dist/monitor-downtime/index.js +603 -0
- package/dist/notification-channel/index.d.ts +236 -0
- package/dist/notification-channel/index.js +561 -0
- package/dist/notification-destination/index.d.ts +402 -0
- package/dist/notification-destination/index.js +1039 -0
- package/dist/nrql-alert-condition/index.d.ts +892 -0
- package/dist/nrql-alert-condition/index.js +2177 -0
- package/dist/nrql-drop-rule/index.d.ts +123 -0
- package/dist/nrql-drop-rule/index.js +291 -0
- package/dist/obfuscation-expression/index.d.ts +86 -0
- package/dist/obfuscation-expression/index.js +177 -0
- package/dist/obfuscation-rule/index.d.ts +169 -0
- package/dist/obfuscation-rule/index.js +372 -0
- package/dist/one-dashboard/index-structs/index.d.ts +2 -0
- package/dist/one-dashboard/index-structs/index.js +2 -0
- package/dist/one-dashboard/index-structs/structs0.d.ts +6996 -0
- package/dist/one-dashboard/index-structs/structs0.js +18191 -0
- package/dist/one-dashboard/index-structs/structs400.d.ts +3699 -0
- package/dist/one-dashboard/index-structs/structs400.js +9611 -0
- package/dist/one-dashboard/index.d.ts +112 -0
- package/dist/one-dashboard/index.js +232 -0
- package/dist/one-dashboard-json/index.d.ts +112 -0
- package/dist/one-dashboard-json/index.js +280 -0
- package/dist/one-dashboard-raw/index.d.ts +274 -0
- package/dist/one-dashboard-raw/index.js +666 -0
- package/dist/pipeline-cloud-rule/index.d.ts +86 -0
- package/dist/pipeline-cloud-rule/index.js +177 -0
- package/dist/provider/index.d.ts +160 -0
- package/dist/provider/index.js +378 -0
- package/dist/service-level/index.d.ts +501 -0
- package/dist/service-level/index.js +1425 -0
- package/dist/synthetics-alert-condition/index.d.ts +97 -0
- package/dist/synthetics-alert-condition/index.js +201 -0
- package/dist/synthetics-broken-links-monitor/index.d.ts +217 -0
- package/dist/synthetics-broken-links-monitor/index.js +474 -0
- package/dist/synthetics-cert-check-monitor/index.d.ts +222 -0
- package/dist/synthetics-cert-check-monitor/index.js +490 -0
- package/dist/synthetics-monitor/index.d.ts +404 -0
- package/dist/synthetics-monitor/index.js +885 -0
- package/dist/synthetics-multilocation-alert-condition/index.d.ts +177 -0
- package/dist/synthetics-multilocation-alert-condition/index.js +407 -0
- package/dist/synthetics-private-location/index.d.ts +90 -0
- package/dist/synthetics-private-location/index.js +193 -0
- package/dist/synthetics-script-monitor/index.d.ts +348 -0
- package/dist/synthetics-script-monitor/index.js +768 -0
- package/dist/synthetics-secure-credential/index.d.ts +132 -0
- package/dist/synthetics-secure-credential/index.js +306 -0
- package/dist/synthetics-step-monitor/index.d.ts +368 -0
- package/dist/synthetics-step-monitor/index.js +834 -0
- package/dist/user/index.d.ts +85 -0
- package/dist/user/index.js +174 -0
- package/dist/workflow/index.d.ts +441 -0
- package/dist/workflow/index.js +1066 -0
- package/dist/workload/index.d.ts +514 -0
- package/dist/workload/index.js +1283 -0
- package/package.json +50 -0
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/events_to_metrics_rule
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/events_to_metrics_rule newrelic_events_to_metrics_rule}
|
|
6
|
+
*/
|
|
7
|
+
export class EventsToMetricsRule extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "newrelic_events_to_metrics_rule";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a EventsToMetricsRule resource upon running "cdktf plan <stack-name>"
|
|
17
|
+
* @param scope The scope in which to define this construct
|
|
18
|
+
* @param importToId The construct id used in the generated config for the EventsToMetricsRule to import
|
|
19
|
+
* @param importFromId The id of the existing EventsToMetricsRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/events_to_metrics_rule#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the EventsToMetricsRule to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "newrelic_events_to_metrics_rule", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/events_to_metrics_rule newrelic_events_to_metrics_rule} Resource
|
|
30
|
+
*
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
33
|
+
* @param options EventsToMetricsRuleConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'newrelic_events_to_metrics_rule',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'newrelic',
|
|
40
|
+
providerVersion: '3.75.4',
|
|
41
|
+
providerVersionConstraint: '3.75.4'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._accountId = config.accountId;
|
|
52
|
+
this._description = config.description;
|
|
53
|
+
this._enabled = config.enabled;
|
|
54
|
+
this._id = config.id;
|
|
55
|
+
this._name = config.name;
|
|
56
|
+
this._nrql = config.nrql;
|
|
57
|
+
}
|
|
58
|
+
// ==========
|
|
59
|
+
// ATTRIBUTES
|
|
60
|
+
// ==========
|
|
61
|
+
// account_id - computed: true, optional: true, required: false
|
|
62
|
+
_accountId;
|
|
63
|
+
get accountId() {
|
|
64
|
+
return this.getNumberAttribute('account_id');
|
|
65
|
+
}
|
|
66
|
+
set accountId(value) {
|
|
67
|
+
this._accountId = value;
|
|
68
|
+
}
|
|
69
|
+
resetAccountId() {
|
|
70
|
+
this._accountId = undefined;
|
|
71
|
+
}
|
|
72
|
+
// Temporarily expose input value. Use with caution.
|
|
73
|
+
get accountIdInput() {
|
|
74
|
+
return this._accountId;
|
|
75
|
+
}
|
|
76
|
+
// description - computed: false, optional: true, required: false
|
|
77
|
+
_description;
|
|
78
|
+
get description() {
|
|
79
|
+
return this.getStringAttribute('description');
|
|
80
|
+
}
|
|
81
|
+
set description(value) {
|
|
82
|
+
this._description = value;
|
|
83
|
+
}
|
|
84
|
+
resetDescription() {
|
|
85
|
+
this._description = undefined;
|
|
86
|
+
}
|
|
87
|
+
// Temporarily expose input value. Use with caution.
|
|
88
|
+
get descriptionInput() {
|
|
89
|
+
return this._description;
|
|
90
|
+
}
|
|
91
|
+
// enabled - computed: false, optional: true, required: false
|
|
92
|
+
_enabled;
|
|
93
|
+
get enabled() {
|
|
94
|
+
return this.getBooleanAttribute('enabled');
|
|
95
|
+
}
|
|
96
|
+
set enabled(value) {
|
|
97
|
+
this._enabled = value;
|
|
98
|
+
}
|
|
99
|
+
resetEnabled() {
|
|
100
|
+
this._enabled = undefined;
|
|
101
|
+
}
|
|
102
|
+
// Temporarily expose input value. Use with caution.
|
|
103
|
+
get enabledInput() {
|
|
104
|
+
return this._enabled;
|
|
105
|
+
}
|
|
106
|
+
// id - computed: true, optional: true, required: false
|
|
107
|
+
_id;
|
|
108
|
+
get id() {
|
|
109
|
+
return this.getStringAttribute('id');
|
|
110
|
+
}
|
|
111
|
+
set id(value) {
|
|
112
|
+
this._id = value;
|
|
113
|
+
}
|
|
114
|
+
resetId() {
|
|
115
|
+
this._id = undefined;
|
|
116
|
+
}
|
|
117
|
+
// Temporarily expose input value. Use with caution.
|
|
118
|
+
get idInput() {
|
|
119
|
+
return this._id;
|
|
120
|
+
}
|
|
121
|
+
// name - computed: false, optional: false, required: true
|
|
122
|
+
_name;
|
|
123
|
+
get name() {
|
|
124
|
+
return this.getStringAttribute('name');
|
|
125
|
+
}
|
|
126
|
+
set name(value) {
|
|
127
|
+
this._name = value;
|
|
128
|
+
}
|
|
129
|
+
// Temporarily expose input value. Use with caution.
|
|
130
|
+
get nameInput() {
|
|
131
|
+
return this._name;
|
|
132
|
+
}
|
|
133
|
+
// nrql - computed: false, optional: false, required: true
|
|
134
|
+
_nrql;
|
|
135
|
+
get nrql() {
|
|
136
|
+
return this.getStringAttribute('nrql');
|
|
137
|
+
}
|
|
138
|
+
set nrql(value) {
|
|
139
|
+
this._nrql = value;
|
|
140
|
+
}
|
|
141
|
+
// Temporarily expose input value. Use with caution.
|
|
142
|
+
get nrqlInput() {
|
|
143
|
+
return this._nrql;
|
|
144
|
+
}
|
|
145
|
+
// rule_id - computed: true, optional: false, required: false
|
|
146
|
+
get ruleId() {
|
|
147
|
+
return this.getStringAttribute('rule_id');
|
|
148
|
+
}
|
|
149
|
+
// =========
|
|
150
|
+
// SYNTHESIS
|
|
151
|
+
// =========
|
|
152
|
+
synthesizeAttributes() {
|
|
153
|
+
return {
|
|
154
|
+
account_id: cdktf.numberToTerraform(this._accountId),
|
|
155
|
+
description: cdktf.stringToTerraform(this._description),
|
|
156
|
+
enabled: cdktf.booleanToTerraform(this._enabled),
|
|
157
|
+
id: cdktf.stringToTerraform(this._id),
|
|
158
|
+
name: cdktf.stringToTerraform(this._name),
|
|
159
|
+
nrql: cdktf.stringToTerraform(this._nrql),
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
synthesizeHclAttributes() {
|
|
163
|
+
const attrs = {
|
|
164
|
+
account_id: {
|
|
165
|
+
value: cdktf.numberToHclTerraform(this._accountId),
|
|
166
|
+
isBlock: false,
|
|
167
|
+
type: "simple",
|
|
168
|
+
storageClassType: "number",
|
|
169
|
+
},
|
|
170
|
+
description: {
|
|
171
|
+
value: cdktf.stringToHclTerraform(this._description),
|
|
172
|
+
isBlock: false,
|
|
173
|
+
type: "simple",
|
|
174
|
+
storageClassType: "string",
|
|
175
|
+
},
|
|
176
|
+
enabled: {
|
|
177
|
+
value: cdktf.booleanToHclTerraform(this._enabled),
|
|
178
|
+
isBlock: false,
|
|
179
|
+
type: "simple",
|
|
180
|
+
storageClassType: "boolean",
|
|
181
|
+
},
|
|
182
|
+
id: {
|
|
183
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
184
|
+
isBlock: false,
|
|
185
|
+
type: "simple",
|
|
186
|
+
storageClassType: "string",
|
|
187
|
+
},
|
|
188
|
+
name: {
|
|
189
|
+
value: cdktf.stringToHclTerraform(this._name),
|
|
190
|
+
isBlock: false,
|
|
191
|
+
type: "simple",
|
|
192
|
+
storageClassType: "string",
|
|
193
|
+
},
|
|
194
|
+
nrql: {
|
|
195
|
+
value: cdktf.stringToHclTerraform(this._nrql),
|
|
196
|
+
isBlock: false,
|
|
197
|
+
type: "simple",
|
|
198
|
+
storageClassType: "string",
|
|
199
|
+
},
|
|
200
|
+
};
|
|
201
|
+
// remove undefined attributes
|
|
202
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
203
|
+
}
|
|
204
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface GroupConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The ID of the authentication domain the group will belong to.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/group#authentication_domain_id Group#authentication_domain_id}
|
|
8
|
+
*/
|
|
9
|
+
readonly authenticationDomainId: string;
|
|
10
|
+
/**
|
|
11
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/group#id Group#id}
|
|
12
|
+
*
|
|
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
|
+
* 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.
|
|
15
|
+
*/
|
|
16
|
+
readonly id?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The name of the group.
|
|
19
|
+
*
|
|
20
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/group#name Group#name}
|
|
21
|
+
*/
|
|
22
|
+
readonly name: string;
|
|
23
|
+
/**
|
|
24
|
+
* IDs of users to be added to the group.
|
|
25
|
+
*
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/group#user_ids Group#user_ids}
|
|
27
|
+
*/
|
|
28
|
+
readonly userIds?: string[];
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/group newrelic_group}
|
|
32
|
+
*/
|
|
33
|
+
export declare class Group extends cdktf.TerraformResource {
|
|
34
|
+
static readonly tfResourceType = "newrelic_group";
|
|
35
|
+
/**
|
|
36
|
+
* Generates CDKTF code for importing a Group resource upon running "cdktf plan <stack-name>"
|
|
37
|
+
* @param scope The scope in which to define this construct
|
|
38
|
+
* @param importToId The construct id used in the generated config for the Group to import
|
|
39
|
+
* @param importFromId The id of the existing Group that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/group#import import section} in the documentation of this resource for the id to use
|
|
40
|
+
* @param provider? Optional instance of the provider where the Group to import is found
|
|
41
|
+
*/
|
|
42
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
43
|
+
/**
|
|
44
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/group newrelic_group} Resource
|
|
45
|
+
*
|
|
46
|
+
* @param scope The scope in which to define this construct
|
|
47
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
48
|
+
* @param options GroupConfig
|
|
49
|
+
*/
|
|
50
|
+
constructor(scope: Construct, id: string, config: GroupConfig);
|
|
51
|
+
private _authenticationDomainId?;
|
|
52
|
+
get authenticationDomainId(): string;
|
|
53
|
+
set authenticationDomainId(value: string);
|
|
54
|
+
get authenticationDomainIdInput(): string;
|
|
55
|
+
private _id?;
|
|
56
|
+
get id(): string;
|
|
57
|
+
set id(value: string);
|
|
58
|
+
resetId(): void;
|
|
59
|
+
get idInput(): string;
|
|
60
|
+
private _name?;
|
|
61
|
+
get name(): string;
|
|
62
|
+
set name(value: string);
|
|
63
|
+
get nameInput(): string;
|
|
64
|
+
private _userIds?;
|
|
65
|
+
get userIds(): string[];
|
|
66
|
+
set userIds(value: string[]);
|
|
67
|
+
resetUserIds(): void;
|
|
68
|
+
get userIdsInput(): string[];
|
|
69
|
+
protected synthesizeAttributes(): {
|
|
70
|
+
[name: string]: any;
|
|
71
|
+
};
|
|
72
|
+
protected synthesizeHclAttributes(): {
|
|
73
|
+
[name: string]: any;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/group
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/group newrelic_group}
|
|
6
|
+
*/
|
|
7
|
+
export class Group extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "newrelic_group";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a Group resource upon running "cdktf plan <stack-name>"
|
|
17
|
+
* @param scope The scope in which to define this construct
|
|
18
|
+
* @param importToId The construct id used in the generated config for the Group to import
|
|
19
|
+
* @param importFromId The id of the existing Group that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/group#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the Group to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "newrelic_group", importId: importFromId, provider });
|
|
24
|
+
}
|
|
25
|
+
// ===========
|
|
26
|
+
// INITIALIZER
|
|
27
|
+
// ===========
|
|
28
|
+
/**
|
|
29
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/group newrelic_group} Resource
|
|
30
|
+
*
|
|
31
|
+
* @param scope The scope in which to define this construct
|
|
32
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
33
|
+
* @param options GroupConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'newrelic_group',
|
|
38
|
+
terraformGeneratorMetadata: {
|
|
39
|
+
providerName: 'newrelic',
|
|
40
|
+
providerVersion: '3.75.4',
|
|
41
|
+
providerVersionConstraint: '3.75.4'
|
|
42
|
+
},
|
|
43
|
+
provider: config.provider,
|
|
44
|
+
dependsOn: config.dependsOn,
|
|
45
|
+
count: config.count,
|
|
46
|
+
lifecycle: config.lifecycle,
|
|
47
|
+
provisioners: config.provisioners,
|
|
48
|
+
connection: config.connection,
|
|
49
|
+
forEach: config.forEach
|
|
50
|
+
});
|
|
51
|
+
this._authenticationDomainId = config.authenticationDomainId;
|
|
52
|
+
this._id = config.id;
|
|
53
|
+
this._name = config.name;
|
|
54
|
+
this._userIds = config.userIds;
|
|
55
|
+
}
|
|
56
|
+
// ==========
|
|
57
|
+
// ATTRIBUTES
|
|
58
|
+
// ==========
|
|
59
|
+
// authentication_domain_id - computed: false, optional: false, required: true
|
|
60
|
+
_authenticationDomainId;
|
|
61
|
+
get authenticationDomainId() {
|
|
62
|
+
return this.getStringAttribute('authentication_domain_id');
|
|
63
|
+
}
|
|
64
|
+
set authenticationDomainId(value) {
|
|
65
|
+
this._authenticationDomainId = value;
|
|
66
|
+
}
|
|
67
|
+
// Temporarily expose input value. Use with caution.
|
|
68
|
+
get authenticationDomainIdInput() {
|
|
69
|
+
return this._authenticationDomainId;
|
|
70
|
+
}
|
|
71
|
+
// id - computed: true, optional: true, required: false
|
|
72
|
+
_id;
|
|
73
|
+
get id() {
|
|
74
|
+
return this.getStringAttribute('id');
|
|
75
|
+
}
|
|
76
|
+
set id(value) {
|
|
77
|
+
this._id = value;
|
|
78
|
+
}
|
|
79
|
+
resetId() {
|
|
80
|
+
this._id = undefined;
|
|
81
|
+
}
|
|
82
|
+
// Temporarily expose input value. Use with caution.
|
|
83
|
+
get idInput() {
|
|
84
|
+
return this._id;
|
|
85
|
+
}
|
|
86
|
+
// name - computed: false, optional: false, required: true
|
|
87
|
+
_name;
|
|
88
|
+
get name() {
|
|
89
|
+
return this.getStringAttribute('name');
|
|
90
|
+
}
|
|
91
|
+
set name(value) {
|
|
92
|
+
this._name = value;
|
|
93
|
+
}
|
|
94
|
+
// Temporarily expose input value. Use with caution.
|
|
95
|
+
get nameInput() {
|
|
96
|
+
return this._name;
|
|
97
|
+
}
|
|
98
|
+
// user_ids - computed: false, optional: true, required: false
|
|
99
|
+
_userIds;
|
|
100
|
+
get userIds() {
|
|
101
|
+
return cdktf.Fn.tolist(this.getListAttribute('user_ids'));
|
|
102
|
+
}
|
|
103
|
+
set userIds(value) {
|
|
104
|
+
this._userIds = value;
|
|
105
|
+
}
|
|
106
|
+
resetUserIds() {
|
|
107
|
+
this._userIds = undefined;
|
|
108
|
+
}
|
|
109
|
+
// Temporarily expose input value. Use with caution.
|
|
110
|
+
get userIdsInput() {
|
|
111
|
+
return this._userIds;
|
|
112
|
+
}
|
|
113
|
+
// =========
|
|
114
|
+
// SYNTHESIS
|
|
115
|
+
// =========
|
|
116
|
+
synthesizeAttributes() {
|
|
117
|
+
return {
|
|
118
|
+
authentication_domain_id: cdktf.stringToTerraform(this._authenticationDomainId),
|
|
119
|
+
id: cdktf.stringToTerraform(this._id),
|
|
120
|
+
name: cdktf.stringToTerraform(this._name),
|
|
121
|
+
user_ids: cdktf.listMapper(cdktf.stringToTerraform, false)(this._userIds),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
synthesizeHclAttributes() {
|
|
125
|
+
const attrs = {
|
|
126
|
+
authentication_domain_id: {
|
|
127
|
+
value: cdktf.stringToHclTerraform(this._authenticationDomainId),
|
|
128
|
+
isBlock: false,
|
|
129
|
+
type: "simple",
|
|
130
|
+
storageClassType: "string",
|
|
131
|
+
},
|
|
132
|
+
id: {
|
|
133
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
134
|
+
isBlock: false,
|
|
135
|
+
type: "simple",
|
|
136
|
+
storageClassType: "string",
|
|
137
|
+
},
|
|
138
|
+
name: {
|
|
139
|
+
value: cdktf.stringToHclTerraform(this._name),
|
|
140
|
+
isBlock: false,
|
|
141
|
+
type: "simple",
|
|
142
|
+
storageClassType: "string",
|
|
143
|
+
},
|
|
144
|
+
user_ids: {
|
|
145
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._userIds),
|
|
146
|
+
isBlock: false,
|
|
147
|
+
type: "set",
|
|
148
|
+
storageClassType: "stringList",
|
|
149
|
+
},
|
|
150
|
+
};
|
|
151
|
+
// remove undefined attributes
|
|
152
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
153
|
+
}
|
|
154
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export * as accountManagement from './account-management';
|
|
2
|
+
export * as alertChannel from './alert-channel';
|
|
3
|
+
export * as alertCondition from './alert-condition';
|
|
4
|
+
export * as alertMutingRule from './alert-muting-rule';
|
|
5
|
+
export * as alertPolicy from './alert-policy';
|
|
6
|
+
export * as alertPolicyChannel from './alert-policy-channel';
|
|
7
|
+
export * as apiAccessKey from './api-access-key';
|
|
8
|
+
export * as applicationSettings from './application-settings';
|
|
9
|
+
export * as browserApplication from './browser-application';
|
|
10
|
+
export * as cloudAwsGovcloudIntegrations from './cloud-aws-govcloud-integrations';
|
|
11
|
+
export * as cloudAwsGovcloudLinkAccount from './cloud-aws-govcloud-link-account';
|
|
12
|
+
export * as cloudAwsIntegrations from './cloud-aws-integrations';
|
|
13
|
+
export * as cloudAwsLinkAccount from './cloud-aws-link-account';
|
|
14
|
+
export * as cloudAzureIntegrations from './cloud-azure-integrations';
|
|
15
|
+
export * as cloudAzureLinkAccount from './cloud-azure-link-account';
|
|
16
|
+
export * as cloudGcpIntegrations from './cloud-gcp-integrations';
|
|
17
|
+
export * as cloudGcpLinkAccount from './cloud-gcp-link-account';
|
|
18
|
+
export * as cloudOciLinkAccount from './cloud-oci-link-account';
|
|
19
|
+
export * as dataPartitionRule from './data-partition-rule';
|
|
20
|
+
export * as entityTags from './entity-tags';
|
|
21
|
+
export * as eventsToMetricsRule from './events-to-metrics-rule';
|
|
22
|
+
export * as group from './group';
|
|
23
|
+
export * as infraAlertCondition from './infra-alert-condition';
|
|
24
|
+
export * as insightsEvent from './insights-event';
|
|
25
|
+
export * as keyTransaction from './key-transaction';
|
|
26
|
+
export * as logParsingRule from './log-parsing-rule';
|
|
27
|
+
export * as monitorDowntime from './monitor-downtime';
|
|
28
|
+
export * as notificationChannel from './notification-channel';
|
|
29
|
+
export * as notificationDestination from './notification-destination';
|
|
30
|
+
export * as nrqlAlertCondition from './nrql-alert-condition';
|
|
31
|
+
export * as nrqlDropRule from './nrql-drop-rule';
|
|
32
|
+
export * as obfuscationExpression from './obfuscation-expression';
|
|
33
|
+
export * as obfuscationRule from './obfuscation-rule';
|
|
34
|
+
export * as oneDashboard from './one-dashboard';
|
|
35
|
+
export * as oneDashboardJson from './one-dashboard-json';
|
|
36
|
+
export * as oneDashboardRaw from './one-dashboard-raw';
|
|
37
|
+
export * as pipelineCloudRule from './pipeline-cloud-rule';
|
|
38
|
+
export * as serviceLevel from './service-level';
|
|
39
|
+
export * as syntheticsAlertCondition from './synthetics-alert-condition';
|
|
40
|
+
export * as syntheticsBrokenLinksMonitor from './synthetics-broken-links-monitor';
|
|
41
|
+
export * as syntheticsCertCheckMonitor from './synthetics-cert-check-monitor';
|
|
42
|
+
export * as syntheticsMonitor from './synthetics-monitor';
|
|
43
|
+
export * as syntheticsMultilocationAlertCondition from './synthetics-multilocation-alert-condition';
|
|
44
|
+
export * as syntheticsPrivateLocation from './synthetics-private-location';
|
|
45
|
+
export * as syntheticsScriptMonitor from './synthetics-script-monitor';
|
|
46
|
+
export * as syntheticsSecureCredential from './synthetics-secure-credential';
|
|
47
|
+
export * as syntheticsStepMonitor from './synthetics-step-monitor';
|
|
48
|
+
export * as user from './user';
|
|
49
|
+
export * as workflow from './workflow';
|
|
50
|
+
export * as workload from './workload';
|
|
51
|
+
export * as dataNewrelicAccount from './data-newrelic-account';
|
|
52
|
+
export * as dataNewrelicAlertChannel from './data-newrelic-alert-channel';
|
|
53
|
+
export * as dataNewrelicAlertPolicy from './data-newrelic-alert-policy';
|
|
54
|
+
export * as dataNewrelicApplication from './data-newrelic-application';
|
|
55
|
+
export * as dataNewrelicAuthenticationDomain from './data-newrelic-authentication-domain';
|
|
56
|
+
export * as dataNewrelicCloudAccount from './data-newrelic-cloud-account';
|
|
57
|
+
export * as dataNewrelicEntity from './data-newrelic-entity';
|
|
58
|
+
export * as dataNewrelicGroup from './data-newrelic-group';
|
|
59
|
+
export * as dataNewrelicKeyTransaction from './data-newrelic-key-transaction';
|
|
60
|
+
export * as dataNewrelicNotificationDestination from './data-newrelic-notification-destination';
|
|
61
|
+
export * as dataNewrelicObfuscationExpression from './data-newrelic-obfuscation-expression';
|
|
62
|
+
export * as dataNewrelicServiceLevelAlertHelper from './data-newrelic-service-level-alert-helper';
|
|
63
|
+
export * as dataNewrelicSyntheticsPrivateLocation from './data-newrelic-synthetics-private-location';
|
|
64
|
+
export * as dataNewrelicSyntheticsSecureCredential from './data-newrelic-synthetics-secure-credential';
|
|
65
|
+
export * as dataNewrelicTestGrokPattern from './data-newrelic-test-grok-pattern';
|
|
66
|
+
export * as dataNewrelicUser from './data-newrelic-user';
|
|
67
|
+
export * as provider from './provider';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// generated by cdktf get
|
|
2
|
+
export * as accountManagement from './account-management';
|
|
3
|
+
export * as alertChannel from './alert-channel';
|
|
4
|
+
export * as alertCondition from './alert-condition';
|
|
5
|
+
export * as alertMutingRule from './alert-muting-rule';
|
|
6
|
+
export * as alertPolicy from './alert-policy';
|
|
7
|
+
export * as alertPolicyChannel from './alert-policy-channel';
|
|
8
|
+
export * as apiAccessKey from './api-access-key';
|
|
9
|
+
export * as applicationSettings from './application-settings';
|
|
10
|
+
export * as browserApplication from './browser-application';
|
|
11
|
+
export * as cloudAwsGovcloudIntegrations from './cloud-aws-govcloud-integrations';
|
|
12
|
+
export * as cloudAwsGovcloudLinkAccount from './cloud-aws-govcloud-link-account';
|
|
13
|
+
export * as cloudAwsIntegrations from './cloud-aws-integrations';
|
|
14
|
+
export * as cloudAwsLinkAccount from './cloud-aws-link-account';
|
|
15
|
+
export * as cloudAzureIntegrations from './cloud-azure-integrations';
|
|
16
|
+
export * as cloudAzureLinkAccount from './cloud-azure-link-account';
|
|
17
|
+
export * as cloudGcpIntegrations from './cloud-gcp-integrations';
|
|
18
|
+
export * as cloudGcpLinkAccount from './cloud-gcp-link-account';
|
|
19
|
+
export * as cloudOciLinkAccount from './cloud-oci-link-account';
|
|
20
|
+
export * as dataPartitionRule from './data-partition-rule';
|
|
21
|
+
export * as entityTags from './entity-tags';
|
|
22
|
+
export * as eventsToMetricsRule from './events-to-metrics-rule';
|
|
23
|
+
export * as group from './group';
|
|
24
|
+
export * as infraAlertCondition from './infra-alert-condition';
|
|
25
|
+
export * as insightsEvent from './insights-event';
|
|
26
|
+
export * as keyTransaction from './key-transaction';
|
|
27
|
+
export * as logParsingRule from './log-parsing-rule';
|
|
28
|
+
export * as monitorDowntime from './monitor-downtime';
|
|
29
|
+
export * as notificationChannel from './notification-channel';
|
|
30
|
+
export * as notificationDestination from './notification-destination';
|
|
31
|
+
export * as nrqlAlertCondition from './nrql-alert-condition';
|
|
32
|
+
export * as nrqlDropRule from './nrql-drop-rule';
|
|
33
|
+
export * as obfuscationExpression from './obfuscation-expression';
|
|
34
|
+
export * as obfuscationRule from './obfuscation-rule';
|
|
35
|
+
export * as oneDashboard from './one-dashboard';
|
|
36
|
+
export * as oneDashboardJson from './one-dashboard-json';
|
|
37
|
+
export * as oneDashboardRaw from './one-dashboard-raw';
|
|
38
|
+
export * as pipelineCloudRule from './pipeline-cloud-rule';
|
|
39
|
+
export * as serviceLevel from './service-level';
|
|
40
|
+
export * as syntheticsAlertCondition from './synthetics-alert-condition';
|
|
41
|
+
export * as syntheticsBrokenLinksMonitor from './synthetics-broken-links-monitor';
|
|
42
|
+
export * as syntheticsCertCheckMonitor from './synthetics-cert-check-monitor';
|
|
43
|
+
export * as syntheticsMonitor from './synthetics-monitor';
|
|
44
|
+
export * as syntheticsMultilocationAlertCondition from './synthetics-multilocation-alert-condition';
|
|
45
|
+
export * as syntheticsPrivateLocation from './synthetics-private-location';
|
|
46
|
+
export * as syntheticsScriptMonitor from './synthetics-script-monitor';
|
|
47
|
+
export * as syntheticsSecureCredential from './synthetics-secure-credential';
|
|
48
|
+
export * as syntheticsStepMonitor from './synthetics-step-monitor';
|
|
49
|
+
export * as user from './user';
|
|
50
|
+
export * as workflow from './workflow';
|
|
51
|
+
export * as workload from './workload';
|
|
52
|
+
export * as dataNewrelicAccount from './data-newrelic-account';
|
|
53
|
+
export * as dataNewrelicAlertChannel from './data-newrelic-alert-channel';
|
|
54
|
+
export * as dataNewrelicAlertPolicy from './data-newrelic-alert-policy';
|
|
55
|
+
export * as dataNewrelicApplication from './data-newrelic-application';
|
|
56
|
+
export * as dataNewrelicAuthenticationDomain from './data-newrelic-authentication-domain';
|
|
57
|
+
export * as dataNewrelicCloudAccount from './data-newrelic-cloud-account';
|
|
58
|
+
export * as dataNewrelicEntity from './data-newrelic-entity';
|
|
59
|
+
export * as dataNewrelicGroup from './data-newrelic-group';
|
|
60
|
+
export * as dataNewrelicKeyTransaction from './data-newrelic-key-transaction';
|
|
61
|
+
export * as dataNewrelicNotificationDestination from './data-newrelic-notification-destination';
|
|
62
|
+
export * as dataNewrelicObfuscationExpression from './data-newrelic-obfuscation-expression';
|
|
63
|
+
export * as dataNewrelicServiceLevelAlertHelper from './data-newrelic-service-level-alert-helper';
|
|
64
|
+
export * as dataNewrelicSyntheticsPrivateLocation from './data-newrelic-synthetics-private-location';
|
|
65
|
+
export * as dataNewrelicSyntheticsSecureCredential from './data-newrelic-synthetics-secure-credential';
|
|
66
|
+
export * as dataNewrelicTestGrokPattern from './data-newrelic-test-grok-pattern';
|
|
67
|
+
export * as dataNewrelicUser from './data-newrelic-user';
|
|
68
|
+
export * as provider from './provider';
|