@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,96 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface KeyTransactionConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The acceptable amount of the time spent in the backend before customers get frustrated (Apdex target)
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/key_transaction#apdex_index KeyTransaction#apdex_index}
|
|
8
|
+
*/
|
|
9
|
+
readonly apdexIndex: number;
|
|
10
|
+
/**
|
|
11
|
+
* The GUID of the application.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/key_transaction#application_guid KeyTransaction#application_guid}
|
|
14
|
+
*/
|
|
15
|
+
readonly applicationGuid: string;
|
|
16
|
+
/**
|
|
17
|
+
* The acceptable amount of time for rendering a page in a browser before customers get frustrated (browser Apdex target).
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/key_transaction#browser_apdex_target KeyTransaction#browser_apdex_target}
|
|
20
|
+
*/
|
|
21
|
+
readonly browserApdexTarget: number;
|
|
22
|
+
/**
|
|
23
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/key_transaction#id KeyTransaction#id}
|
|
24
|
+
*
|
|
25
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
26
|
+
* 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.
|
|
27
|
+
*/
|
|
28
|
+
readonly id?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The name of the metric underlying this key transaction
|
|
31
|
+
*
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/key_transaction#metric_name KeyTransaction#metric_name}
|
|
33
|
+
*/
|
|
34
|
+
readonly metricName: string;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the key transaction.
|
|
37
|
+
*
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/key_transaction#name KeyTransaction#name}
|
|
39
|
+
*/
|
|
40
|
+
readonly name: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/key_transaction newrelic_key_transaction}
|
|
44
|
+
*/
|
|
45
|
+
export declare class KeyTransaction extends cdktf.TerraformResource {
|
|
46
|
+
static readonly tfResourceType = "newrelic_key_transaction";
|
|
47
|
+
/**
|
|
48
|
+
* Generates CDKTF code for importing a KeyTransaction resource upon running "cdktf plan <stack-name>"
|
|
49
|
+
* @param scope The scope in which to define this construct
|
|
50
|
+
* @param importToId The construct id used in the generated config for the KeyTransaction to import
|
|
51
|
+
* @param importFromId The id of the existing KeyTransaction that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/key_transaction#import import section} in the documentation of this resource for the id to use
|
|
52
|
+
* @param provider? Optional instance of the provider where the KeyTransaction to import is found
|
|
53
|
+
*/
|
|
54
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
55
|
+
/**
|
|
56
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/key_transaction newrelic_key_transaction} Resource
|
|
57
|
+
*
|
|
58
|
+
* @param scope The scope in which to define this construct
|
|
59
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
60
|
+
* @param options KeyTransactionConfig
|
|
61
|
+
*/
|
|
62
|
+
constructor(scope: Construct, id: string, config: KeyTransactionConfig);
|
|
63
|
+
private _apdexIndex?;
|
|
64
|
+
get apdexIndex(): number;
|
|
65
|
+
set apdexIndex(value: number);
|
|
66
|
+
get apdexIndexInput(): number;
|
|
67
|
+
private _applicationGuid?;
|
|
68
|
+
get applicationGuid(): string;
|
|
69
|
+
set applicationGuid(value: string);
|
|
70
|
+
get applicationGuidInput(): string;
|
|
71
|
+
private _browserApdexTarget?;
|
|
72
|
+
get browserApdexTarget(): number;
|
|
73
|
+
set browserApdexTarget(value: number);
|
|
74
|
+
get browserApdexTargetInput(): number;
|
|
75
|
+
get domain(): any;
|
|
76
|
+
private _id?;
|
|
77
|
+
get id(): string;
|
|
78
|
+
set id(value: string);
|
|
79
|
+
resetId(): void;
|
|
80
|
+
get idInput(): string;
|
|
81
|
+
private _metricName?;
|
|
82
|
+
get metricName(): string;
|
|
83
|
+
set metricName(value: string);
|
|
84
|
+
get metricNameInput(): string;
|
|
85
|
+
private _name?;
|
|
86
|
+
get name(): string;
|
|
87
|
+
set name(value: string);
|
|
88
|
+
get nameInput(): string;
|
|
89
|
+
get type(): any;
|
|
90
|
+
protected synthesizeAttributes(): {
|
|
91
|
+
[name: string]: any;
|
|
92
|
+
};
|
|
93
|
+
protected synthesizeHclAttributes(): {
|
|
94
|
+
[name: string]: any;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/key_transaction
|
|
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/key_transaction newrelic_key_transaction}
|
|
6
|
+
*/
|
|
7
|
+
export class KeyTransaction extends cdktf.TerraformResource {
|
|
8
|
+
// =================
|
|
9
|
+
// STATIC PROPERTIES
|
|
10
|
+
// =================
|
|
11
|
+
static tfResourceType = "newrelic_key_transaction";
|
|
12
|
+
// ==============
|
|
13
|
+
// STATIC Methods
|
|
14
|
+
// ==============
|
|
15
|
+
/**
|
|
16
|
+
* Generates CDKTF code for importing a KeyTransaction 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 KeyTransaction to import
|
|
19
|
+
* @param importFromId The id of the existing KeyTransaction that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/key_transaction#import import section} in the documentation of this resource for the id to use
|
|
20
|
+
* @param provider? Optional instance of the provider where the KeyTransaction to import is found
|
|
21
|
+
*/
|
|
22
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
23
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "newrelic_key_transaction", 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/key_transaction newrelic_key_transaction} 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 KeyTransactionConfig
|
|
34
|
+
*/
|
|
35
|
+
constructor(scope, id, config) {
|
|
36
|
+
super(scope, id, {
|
|
37
|
+
terraformResourceType: 'newrelic_key_transaction',
|
|
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._apdexIndex = config.apdexIndex;
|
|
52
|
+
this._applicationGuid = config.applicationGuid;
|
|
53
|
+
this._browserApdexTarget = config.browserApdexTarget;
|
|
54
|
+
this._id = config.id;
|
|
55
|
+
this._metricName = config.metricName;
|
|
56
|
+
this._name = config.name;
|
|
57
|
+
}
|
|
58
|
+
// ==========
|
|
59
|
+
// ATTRIBUTES
|
|
60
|
+
// ==========
|
|
61
|
+
// apdex_index - computed: false, optional: false, required: true
|
|
62
|
+
_apdexIndex;
|
|
63
|
+
get apdexIndex() {
|
|
64
|
+
return this.getNumberAttribute('apdex_index');
|
|
65
|
+
}
|
|
66
|
+
set apdexIndex(value) {
|
|
67
|
+
this._apdexIndex = value;
|
|
68
|
+
}
|
|
69
|
+
// Temporarily expose input value. Use with caution.
|
|
70
|
+
get apdexIndexInput() {
|
|
71
|
+
return this._apdexIndex;
|
|
72
|
+
}
|
|
73
|
+
// application_guid - computed: false, optional: false, required: true
|
|
74
|
+
_applicationGuid;
|
|
75
|
+
get applicationGuid() {
|
|
76
|
+
return this.getStringAttribute('application_guid');
|
|
77
|
+
}
|
|
78
|
+
set applicationGuid(value) {
|
|
79
|
+
this._applicationGuid = value;
|
|
80
|
+
}
|
|
81
|
+
// Temporarily expose input value. Use with caution.
|
|
82
|
+
get applicationGuidInput() {
|
|
83
|
+
return this._applicationGuid;
|
|
84
|
+
}
|
|
85
|
+
// browser_apdex_target - computed: false, optional: false, required: true
|
|
86
|
+
_browserApdexTarget;
|
|
87
|
+
get browserApdexTarget() {
|
|
88
|
+
return this.getNumberAttribute('browser_apdex_target');
|
|
89
|
+
}
|
|
90
|
+
set browserApdexTarget(value) {
|
|
91
|
+
this._browserApdexTarget = value;
|
|
92
|
+
}
|
|
93
|
+
// Temporarily expose input value. Use with caution.
|
|
94
|
+
get browserApdexTargetInput() {
|
|
95
|
+
return this._browserApdexTarget;
|
|
96
|
+
}
|
|
97
|
+
// domain - computed: true, optional: false, required: false
|
|
98
|
+
get domain() {
|
|
99
|
+
return this.getStringAttribute('domain');
|
|
100
|
+
}
|
|
101
|
+
// id - computed: true, optional: true, required: false
|
|
102
|
+
_id;
|
|
103
|
+
get id() {
|
|
104
|
+
return this.getStringAttribute('id');
|
|
105
|
+
}
|
|
106
|
+
set id(value) {
|
|
107
|
+
this._id = value;
|
|
108
|
+
}
|
|
109
|
+
resetId() {
|
|
110
|
+
this._id = undefined;
|
|
111
|
+
}
|
|
112
|
+
// Temporarily expose input value. Use with caution.
|
|
113
|
+
get idInput() {
|
|
114
|
+
return this._id;
|
|
115
|
+
}
|
|
116
|
+
// metric_name - computed: false, optional: false, required: true
|
|
117
|
+
_metricName;
|
|
118
|
+
get metricName() {
|
|
119
|
+
return this.getStringAttribute('metric_name');
|
|
120
|
+
}
|
|
121
|
+
set metricName(value) {
|
|
122
|
+
this._metricName = value;
|
|
123
|
+
}
|
|
124
|
+
// Temporarily expose input value. Use with caution.
|
|
125
|
+
get metricNameInput() {
|
|
126
|
+
return this._metricName;
|
|
127
|
+
}
|
|
128
|
+
// name - computed: false, optional: false, required: true
|
|
129
|
+
_name;
|
|
130
|
+
get name() {
|
|
131
|
+
return this.getStringAttribute('name');
|
|
132
|
+
}
|
|
133
|
+
set name(value) {
|
|
134
|
+
this._name = value;
|
|
135
|
+
}
|
|
136
|
+
// Temporarily expose input value. Use with caution.
|
|
137
|
+
get nameInput() {
|
|
138
|
+
return this._name;
|
|
139
|
+
}
|
|
140
|
+
// type - computed: true, optional: false, required: false
|
|
141
|
+
get type() {
|
|
142
|
+
return this.getStringAttribute('type');
|
|
143
|
+
}
|
|
144
|
+
// =========
|
|
145
|
+
// SYNTHESIS
|
|
146
|
+
// =========
|
|
147
|
+
synthesizeAttributes() {
|
|
148
|
+
return {
|
|
149
|
+
apdex_index: cdktf.numberToTerraform(this._apdexIndex),
|
|
150
|
+
application_guid: cdktf.stringToTerraform(this._applicationGuid),
|
|
151
|
+
browser_apdex_target: cdktf.numberToTerraform(this._browserApdexTarget),
|
|
152
|
+
id: cdktf.stringToTerraform(this._id),
|
|
153
|
+
metric_name: cdktf.stringToTerraform(this._metricName),
|
|
154
|
+
name: cdktf.stringToTerraform(this._name),
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
synthesizeHclAttributes() {
|
|
158
|
+
const attrs = {
|
|
159
|
+
apdex_index: {
|
|
160
|
+
value: cdktf.numberToHclTerraform(this._apdexIndex),
|
|
161
|
+
isBlock: false,
|
|
162
|
+
type: "simple",
|
|
163
|
+
storageClassType: "number",
|
|
164
|
+
},
|
|
165
|
+
application_guid: {
|
|
166
|
+
value: cdktf.stringToHclTerraform(this._applicationGuid),
|
|
167
|
+
isBlock: false,
|
|
168
|
+
type: "simple",
|
|
169
|
+
storageClassType: "string",
|
|
170
|
+
},
|
|
171
|
+
browser_apdex_target: {
|
|
172
|
+
value: cdktf.numberToHclTerraform(this._browserApdexTarget),
|
|
173
|
+
isBlock: false,
|
|
174
|
+
type: "simple",
|
|
175
|
+
storageClassType: "number",
|
|
176
|
+
},
|
|
177
|
+
id: {
|
|
178
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
179
|
+
isBlock: false,
|
|
180
|
+
type: "simple",
|
|
181
|
+
storageClassType: "string",
|
|
182
|
+
},
|
|
183
|
+
metric_name: {
|
|
184
|
+
value: cdktf.stringToHclTerraform(this._metricName),
|
|
185
|
+
isBlock: false,
|
|
186
|
+
type: "simple",
|
|
187
|
+
storageClassType: "string",
|
|
188
|
+
},
|
|
189
|
+
name: {
|
|
190
|
+
value: cdktf.stringToHclTerraform(this._name),
|
|
191
|
+
isBlock: false,
|
|
192
|
+
type: "simple",
|
|
193
|
+
storageClassType: "string",
|
|
194
|
+
},
|
|
195
|
+
};
|
|
196
|
+
// remove undefined attributes
|
|
197
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
198
|
+
}
|
|
199
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// generated by cdktf get
|
|
2
|
+
Object.defineProperty(exports, 'accountManagement', { get: function () { return require('./account-management'); } });
|
|
3
|
+
Object.defineProperty(exports, 'alertChannel', { get: function () { return require('./alert-channel'); } });
|
|
4
|
+
Object.defineProperty(exports, 'alertCondition', { get: function () { return require('./alert-condition'); } });
|
|
5
|
+
Object.defineProperty(exports, 'alertMutingRule', { get: function () { return require('./alert-muting-rule'); } });
|
|
6
|
+
Object.defineProperty(exports, 'alertPolicy', { get: function () { return require('./alert-policy'); } });
|
|
7
|
+
Object.defineProperty(exports, 'alertPolicyChannel', { get: function () { return require('./alert-policy-channel'); } });
|
|
8
|
+
Object.defineProperty(exports, 'apiAccessKey', { get: function () { return require('./api-access-key'); } });
|
|
9
|
+
Object.defineProperty(exports, 'applicationSettings', { get: function () { return require('./application-settings'); } });
|
|
10
|
+
Object.defineProperty(exports, 'browserApplication', { get: function () { return require('./browser-application'); } });
|
|
11
|
+
Object.defineProperty(exports, 'cloudAwsGovcloudIntegrations', { get: function () { return require('./cloud-aws-govcloud-integrations'); } });
|
|
12
|
+
Object.defineProperty(exports, 'cloudAwsGovcloudLinkAccount', { get: function () { return require('./cloud-aws-govcloud-link-account'); } });
|
|
13
|
+
Object.defineProperty(exports, 'cloudAwsIntegrations', { get: function () { return require('./cloud-aws-integrations'); } });
|
|
14
|
+
Object.defineProperty(exports, 'cloudAwsLinkAccount', { get: function () { return require('./cloud-aws-link-account'); } });
|
|
15
|
+
Object.defineProperty(exports, 'cloudAzureIntegrations', { get: function () { return require('./cloud-azure-integrations'); } });
|
|
16
|
+
Object.defineProperty(exports, 'cloudAzureLinkAccount', { get: function () { return require('./cloud-azure-link-account'); } });
|
|
17
|
+
Object.defineProperty(exports, 'cloudGcpIntegrations', { get: function () { return require('./cloud-gcp-integrations'); } });
|
|
18
|
+
Object.defineProperty(exports, 'cloudGcpLinkAccount', { get: function () { return require('./cloud-gcp-link-account'); } });
|
|
19
|
+
Object.defineProperty(exports, 'cloudOciLinkAccount', { get: function () { return require('./cloud-oci-link-account'); } });
|
|
20
|
+
Object.defineProperty(exports, 'dataPartitionRule', { get: function () { return require('./data-partition-rule'); } });
|
|
21
|
+
Object.defineProperty(exports, 'entityTags', { get: function () { return require('./entity-tags'); } });
|
|
22
|
+
Object.defineProperty(exports, 'eventsToMetricsRule', { get: function () { return require('./events-to-metrics-rule'); } });
|
|
23
|
+
Object.defineProperty(exports, 'group', { get: function () { return require('./group'); } });
|
|
24
|
+
Object.defineProperty(exports, 'infraAlertCondition', { get: function () { return require('./infra-alert-condition'); } });
|
|
25
|
+
Object.defineProperty(exports, 'insightsEvent', { get: function () { return require('./insights-event'); } });
|
|
26
|
+
Object.defineProperty(exports, 'keyTransaction', { get: function () { return require('./key-transaction'); } });
|
|
27
|
+
Object.defineProperty(exports, 'logParsingRule', { get: function () { return require('./log-parsing-rule'); } });
|
|
28
|
+
Object.defineProperty(exports, 'monitorDowntime', { get: function () { return require('./monitor-downtime'); } });
|
|
29
|
+
Object.defineProperty(exports, 'notificationChannel', { get: function () { return require('./notification-channel'); } });
|
|
30
|
+
Object.defineProperty(exports, 'notificationDestination', { get: function () { return require('./notification-destination'); } });
|
|
31
|
+
Object.defineProperty(exports, 'nrqlAlertCondition', { get: function () { return require('./nrql-alert-condition'); } });
|
|
32
|
+
Object.defineProperty(exports, 'nrqlDropRule', { get: function () { return require('./nrql-drop-rule'); } });
|
|
33
|
+
Object.defineProperty(exports, 'obfuscationExpression', { get: function () { return require('./obfuscation-expression'); } });
|
|
34
|
+
Object.defineProperty(exports, 'obfuscationRule', { get: function () { return require('./obfuscation-rule'); } });
|
|
35
|
+
Object.defineProperty(exports, 'oneDashboard', { get: function () { return require('./one-dashboard'); } });
|
|
36
|
+
Object.defineProperty(exports, 'oneDashboardJson', { get: function () { return require('./one-dashboard-json'); } });
|
|
37
|
+
Object.defineProperty(exports, 'oneDashboardRaw', { get: function () { return require('./one-dashboard-raw'); } });
|
|
38
|
+
Object.defineProperty(exports, 'pipelineCloudRule', { get: function () { return require('./pipeline-cloud-rule'); } });
|
|
39
|
+
Object.defineProperty(exports, 'serviceLevel', { get: function () { return require('./service-level'); } });
|
|
40
|
+
Object.defineProperty(exports, 'syntheticsAlertCondition', { get: function () { return require('./synthetics-alert-condition'); } });
|
|
41
|
+
Object.defineProperty(exports, 'syntheticsBrokenLinksMonitor', { get: function () { return require('./synthetics-broken-links-monitor'); } });
|
|
42
|
+
Object.defineProperty(exports, 'syntheticsCertCheckMonitor', { get: function () { return require('./synthetics-cert-check-monitor'); } });
|
|
43
|
+
Object.defineProperty(exports, 'syntheticsMonitor', { get: function () { return require('./synthetics-monitor'); } });
|
|
44
|
+
Object.defineProperty(exports, 'syntheticsMultilocationAlertCondition', { get: function () { return require('./synthetics-multilocation-alert-condition'); } });
|
|
45
|
+
Object.defineProperty(exports, 'syntheticsPrivateLocation', { get: function () { return require('./synthetics-private-location'); } });
|
|
46
|
+
Object.defineProperty(exports, 'syntheticsScriptMonitor', { get: function () { return require('./synthetics-script-monitor'); } });
|
|
47
|
+
Object.defineProperty(exports, 'syntheticsSecureCredential', { get: function () { return require('./synthetics-secure-credential'); } });
|
|
48
|
+
Object.defineProperty(exports, 'syntheticsStepMonitor', { get: function () { return require('./synthetics-step-monitor'); } });
|
|
49
|
+
Object.defineProperty(exports, 'user', { get: function () { return require('./user'); } });
|
|
50
|
+
Object.defineProperty(exports, 'workflow', { get: function () { return require('./workflow'); } });
|
|
51
|
+
Object.defineProperty(exports, 'workload', { get: function () { return require('./workload'); } });
|
|
52
|
+
Object.defineProperty(exports, 'dataNewrelicAccount', { get: function () { return require('./data-newrelic-account'); } });
|
|
53
|
+
Object.defineProperty(exports, 'dataNewrelicAlertChannel', { get: function () { return require('./data-newrelic-alert-channel'); } });
|
|
54
|
+
Object.defineProperty(exports, 'dataNewrelicAlertPolicy', { get: function () { return require('./data-newrelic-alert-policy'); } });
|
|
55
|
+
Object.defineProperty(exports, 'dataNewrelicApplication', { get: function () { return require('./data-newrelic-application'); } });
|
|
56
|
+
Object.defineProperty(exports, 'dataNewrelicAuthenticationDomain', { get: function () { return require('./data-newrelic-authentication-domain'); } });
|
|
57
|
+
Object.defineProperty(exports, 'dataNewrelicCloudAccount', { get: function () { return require('./data-newrelic-cloud-account'); } });
|
|
58
|
+
Object.defineProperty(exports, 'dataNewrelicEntity', { get: function () { return require('./data-newrelic-entity'); } });
|
|
59
|
+
Object.defineProperty(exports, 'dataNewrelicGroup', { get: function () { return require('./data-newrelic-group'); } });
|
|
60
|
+
Object.defineProperty(exports, 'dataNewrelicKeyTransaction', { get: function () { return require('./data-newrelic-key-transaction'); } });
|
|
61
|
+
Object.defineProperty(exports, 'dataNewrelicNotificationDestination', { get: function () { return require('./data-newrelic-notification-destination'); } });
|
|
62
|
+
Object.defineProperty(exports, 'dataNewrelicObfuscationExpression', { get: function () { return require('./data-newrelic-obfuscation-expression'); } });
|
|
63
|
+
Object.defineProperty(exports, 'dataNewrelicServiceLevelAlertHelper', { get: function () { return require('./data-newrelic-service-level-alert-helper'); } });
|
|
64
|
+
Object.defineProperty(exports, 'dataNewrelicSyntheticsPrivateLocation', { get: function () { return require('./data-newrelic-synthetics-private-location'); } });
|
|
65
|
+
Object.defineProperty(exports, 'dataNewrelicSyntheticsSecureCredential', { get: function () { return require('./data-newrelic-synthetics-secure-credential'); } });
|
|
66
|
+
Object.defineProperty(exports, 'dataNewrelicTestGrokPattern', { get: function () { return require('./data-newrelic-test-grok-pattern'); } });
|
|
67
|
+
Object.defineProperty(exports, 'dataNewrelicUser', { get: function () { return require('./data-newrelic-user'); } });
|
|
68
|
+
Object.defineProperty(exports, 'provider', { get: function () { return require('./provider'); } });
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface LogParsingRuleConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The account id associated with the obfuscation expression.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule#account_id LogParsingRule#account_id}
|
|
8
|
+
*/
|
|
9
|
+
readonly accountId?: number;
|
|
10
|
+
/**
|
|
11
|
+
* The parsing rule will apply to value of this attribute. If field is not provided, value will default to message.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule#attribute LogParsingRule#attribute}
|
|
14
|
+
*/
|
|
15
|
+
readonly attribute?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Whether or not this rule is enabled.
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule#enabled LogParsingRule#enabled}
|
|
20
|
+
*/
|
|
21
|
+
readonly enabled: boolean | cdktf.IResolvable;
|
|
22
|
+
/**
|
|
23
|
+
* The Grok of what to parse.
|
|
24
|
+
*
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule#grok LogParsingRule#grok}
|
|
26
|
+
*/
|
|
27
|
+
readonly grok: string;
|
|
28
|
+
/**
|
|
29
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule#id LogParsingRule#id}
|
|
30
|
+
*
|
|
31
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
32
|
+
* 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.
|
|
33
|
+
*/
|
|
34
|
+
readonly id?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The Lucene to match events to the parsing rule.
|
|
37
|
+
*
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule#lucene LogParsingRule#lucene}
|
|
39
|
+
*/
|
|
40
|
+
readonly lucene: string;
|
|
41
|
+
/**
|
|
42
|
+
* Whether the Grok pattern matched.
|
|
43
|
+
*
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule#matched LogParsingRule#matched}
|
|
45
|
+
*/
|
|
46
|
+
readonly matched?: boolean | cdktf.IResolvable;
|
|
47
|
+
/**
|
|
48
|
+
* A description of what this parsing rule represents.
|
|
49
|
+
*
|
|
50
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule#name LogParsingRule#name}
|
|
51
|
+
*/
|
|
52
|
+
readonly name: string;
|
|
53
|
+
/**
|
|
54
|
+
* The NRQL to match events to the parsing rule.
|
|
55
|
+
*
|
|
56
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule#nrql LogParsingRule#nrql}
|
|
57
|
+
*/
|
|
58
|
+
readonly nrql: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule newrelic_log_parsing_rule}
|
|
62
|
+
*/
|
|
63
|
+
export declare class LogParsingRule extends cdktf.TerraformResource {
|
|
64
|
+
static readonly tfResourceType = "newrelic_log_parsing_rule";
|
|
65
|
+
/**
|
|
66
|
+
* Generates CDKTF code for importing a LogParsingRule resource upon running "cdktf plan <stack-name>"
|
|
67
|
+
* @param scope The scope in which to define this construct
|
|
68
|
+
* @param importToId The construct id used in the generated config for the LogParsingRule to import
|
|
69
|
+
* @param importFromId The id of the existing LogParsingRule that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule#import import section} in the documentation of this resource for the id to use
|
|
70
|
+
* @param provider? Optional instance of the provider where the LogParsingRule to import is found
|
|
71
|
+
*/
|
|
72
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
73
|
+
/**
|
|
74
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/log_parsing_rule newrelic_log_parsing_rule} Resource
|
|
75
|
+
*
|
|
76
|
+
* @param scope The scope in which to define this construct
|
|
77
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
78
|
+
* @param options LogParsingRuleConfig
|
|
79
|
+
*/
|
|
80
|
+
constructor(scope: Construct, id: string, config: LogParsingRuleConfig);
|
|
81
|
+
private _accountId?;
|
|
82
|
+
get accountId(): number;
|
|
83
|
+
set accountId(value: number);
|
|
84
|
+
resetAccountId(): void;
|
|
85
|
+
get accountIdInput(): number;
|
|
86
|
+
private _attribute?;
|
|
87
|
+
get attribute(): string;
|
|
88
|
+
set attribute(value: string);
|
|
89
|
+
resetAttribute(): void;
|
|
90
|
+
get attributeInput(): string;
|
|
91
|
+
get deleted(): any;
|
|
92
|
+
private _enabled?;
|
|
93
|
+
get enabled(): boolean | cdktf.IResolvable;
|
|
94
|
+
set enabled(value: boolean | cdktf.IResolvable);
|
|
95
|
+
get enabledInput(): any;
|
|
96
|
+
private _grok?;
|
|
97
|
+
get grok(): string;
|
|
98
|
+
set grok(value: string);
|
|
99
|
+
get grokInput(): string;
|
|
100
|
+
private _id?;
|
|
101
|
+
get id(): string;
|
|
102
|
+
set id(value: string);
|
|
103
|
+
resetId(): void;
|
|
104
|
+
get idInput(): string;
|
|
105
|
+
private _lucene?;
|
|
106
|
+
get lucene(): string;
|
|
107
|
+
set lucene(value: string);
|
|
108
|
+
get luceneInput(): string;
|
|
109
|
+
private _matched?;
|
|
110
|
+
get matched(): boolean | cdktf.IResolvable;
|
|
111
|
+
set matched(value: boolean | cdktf.IResolvable);
|
|
112
|
+
resetMatched(): void;
|
|
113
|
+
get matchedInput(): any;
|
|
114
|
+
private _name?;
|
|
115
|
+
get name(): string;
|
|
116
|
+
set name(value: string);
|
|
117
|
+
get nameInput(): string;
|
|
118
|
+
private _nrql?;
|
|
119
|
+
get nrql(): string;
|
|
120
|
+
set nrql(value: string);
|
|
121
|
+
get nrqlInput(): string;
|
|
122
|
+
protected synthesizeAttributes(): {
|
|
123
|
+
[name: string]: any;
|
|
124
|
+
};
|
|
125
|
+
protected synthesizeHclAttributes(): {
|
|
126
|
+
[name: string]: any;
|
|
127
|
+
};
|
|
128
|
+
}
|