@pulumi/signalfx 7.0.1 → 7.0.2
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/alertMutingRule.d.ts +37 -19
- package/alertMutingRule.js +22 -4
- package/alertMutingRule.js.map +1 -1
- package/aws/externalIntegration.d.ts +23 -11
- package/aws/externalIntegration.js +16 -4
- package/aws/externalIntegration.js.map +1 -1
- package/aws/integration.d.ts +141 -72
- package/aws/integration.js +41 -4
- package/aws/integration.js.map +1 -1
- package/aws/tokenIntegration.d.ts +18 -7
- package/aws/tokenIntegration.js +13 -2
- package/aws/tokenIntegration.js.map +1 -1
- package/azure/integration.d.ts +101 -45
- package/azure/integration.js +29 -3
- package/azure/integration.js.map +1 -1
- package/config/vars.d.ts +3 -3
- package/dashboard.d.ts +62 -62
- package/dashboardGroup.d.ts +62 -27
- package/dashboardGroup.js +41 -6
- package/dashboardGroup.js.map +1 -1
- package/dataLink.d.ts +52 -18
- package/dataLink.js +31 -3
- package/dataLink.js.map +1 -1
- package/detector.d.ts +133 -70
- package/detector.js +70 -15
- package/detector.js.map +1 -1
- package/eventFeedChart.d.ts +38 -20
- package/eventFeedChart.js +18 -0
- package/eventFeedChart.js.map +1 -1
- package/gcp/integration.d.ts +64 -33
- package/gcp/integration.js +22 -3
- package/gcp/integration.js.map +1 -1
- package/getDimensionValues.d.ts +18 -2
- package/getDimensionValues.js +18 -2
- package/getDimensionValues.js.map +1 -1
- package/heatmapChart.d.ts +80 -46
- package/heatmapChart.js +36 -2
- package/heatmapChart.js.map +1 -1
- package/jira/integration.d.ts +51 -24
- package/jira/integration.js +24 -3
- package/jira/integration.js.map +1 -1
- package/listChart.d.ts +111 -64
- package/listChart.js +46 -2
- package/listChart.js.map +1 -1
- package/log/timeline.d.ts +44 -24
- package/log/timeline.js +21 -1
- package/log/timeline.js.map +1 -1
- package/log/view.d.ts +54 -31
- package/log/view.js +25 -2
- package/log/view.js.map +1 -1
- package/metricRuleset.d.ts +33 -11
- package/metricRuleset.js +24 -2
- package/metricRuleset.js.map +1 -1
- package/opsgenie/integration.d.ts +28 -15
- package/opsgenie/integration.js +16 -3
- package/opsgenie/integration.js.map +1 -1
- package/orgToken.d.ts +50 -39
- package/orgToken.js +32 -3
- package/orgToken.js.map +1 -1
- package/package.json +1 -1
- package/pagerduty/getIntegration.d.ts +22 -14
- package/pagerduty/getIntegration.js +22 -2
- package/pagerduty/getIntegration.js.map +1 -1
- package/pagerduty/integration.d.ts +23 -12
- package/pagerduty/integration.js +14 -3
- package/pagerduty/integration.js.map +1 -1
- package/provider.d.ts +6 -6
- package/servicenow/integration.d.ts +46 -17
- package/servicenow/integration.js +19 -2
- package/servicenow/integration.js.map +1 -1
- package/singleValueChart.d.ts +74 -39
- package/singleValueChart.js +36 -1
- package/singleValueChart.js.map +1 -1
- package/slack/integration.d.ts +24 -12
- package/slack/integration.js +15 -3
- package/slack/integration.js.map +1 -1
- package/tableChart.d.ts +32 -16
- package/tableChart.js +18 -2
- package/tableChart.js.map +1 -1
- package/team.d.ts +54 -33
- package/team.js +25 -4
- package/team.js.map +1 -1
- package/textChart.d.ts +27 -12
- package/textChart.js +16 -1
- package/textChart.js.map +1 -1
- package/timeChart.d.ts +148 -94
- package/timeChart.js +68 -2
- package/timeChart.js.map +1 -1
- package/types/input.d.ts +0 -577
- package/types/output.d.ts +0 -577
- package/victorops/integration.d.ts +24 -12
- package/victorops/integration.js +15 -3
- package/victorops/integration.js.map +1 -1
- package/webhookIntegration.d.ts +31 -15
- package/webhookIntegration.js +19 -3
- package/webhookIntegration.js.map +1 -1
package/aws/integration.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* AWS CloudWatch integrations for Splunk Observability Cloud. For help with this integration see [Monitoring Amazon Web Services](https://docs.splunk.com/observability/en/gdi/get-data-in/connect/aws/get-awstoc.html).
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* This resource implements a part of a workflow. Use it with one of either `signalfx.aws.ExternalIntegration` or `signalfx.aws.TokenIntegration`.
|
|
8
8
|
*
|
|
9
|
-
* > **
|
|
9
|
+
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk Observability provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator).
|
|
10
10
|
*
|
|
11
|
-
* ## Example
|
|
11
|
+
* ## Example
|
|
12
12
|
*
|
|
13
13
|
* ```typescript
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -48,6 +48,43 @@ import * as outputs from "../types/output";
|
|
|
48
48
|
* }],
|
|
49
49
|
* });
|
|
50
50
|
* ```
|
|
51
|
+
*
|
|
52
|
+
* ## Arguments
|
|
53
|
+
*
|
|
54
|
+
* * `enableAwsUsage` - (Optional) Flag that controls how Splunk Observability Cloud imports usage metrics from AWS to use with AWS Cost Optimizer. If `true`, Splunk Observability Cloud imports the metrics.
|
|
55
|
+
* * `enableCheckLargeVolume` - (Optional) Controls how Splunk Observability Cloud checks for large amounts of data for this AWS integration. If `true`, Splunk Observability Cloud monitors the amount of data coming in from the integration.
|
|
56
|
+
* * `enableLogsSync` - (Optional) Enable the AWS logs synchronization. Note that this requires the inclusion of `"logs:DescribeLogGroups"`, `"logs:DeleteSubscriptionFilter"`, `"logs:DescribeSubscriptionFilters"`, `"logs:PutSubscriptionFilter"`, and `"s3:GetBucketLogging"`, `"s3:GetBucketNotification"`, `"s3:PutBucketNotification"` permissions. Additional permissions may be required to capture logs from specific AWS services.
|
|
57
|
+
* * `enabled` - (Required) Whether the integration is enabled.
|
|
58
|
+
* * `externalId` - (Required) The `externalId` property from one of a `signalfx.aws.ExternalIntegration` or `signalfx.aws.TokenIntegration`
|
|
59
|
+
* * `customCloudwatchNamespaces` - (Optional) List of custom AWS CloudWatch namespaces to monitor. Custom namespaces contain custom metrics that you define in AWS; Splunk Observability Cloud imports the metrics so you can monitor them.
|
|
60
|
+
* * `customNamespaceSyncRule` - (Optional) Each element controls the data collected by Splunk Observability Cloud for the specified namespace. Conflicts with the `customCloudwatchNamespaces` property.
|
|
61
|
+
* * `defaultAction` - (Optional) Controls the Splunk Observability Cloud default behavior for processing data from an AWS namespace. Splunk Observability Cloud ignores this property unless you specify the `filterAction` and `filterSource` properties. If you do specify them, use this property to control how Splunk Observability Cloud treats data that doesn't match the filter. The available actions are one of `"Include"` or `"Exclude"`.
|
|
62
|
+
* * `filterAction` - (Optional) Controls how Splunk Observability Cloud processes data from a custom AWS namespace. The available actions are one of `"Include"` or `"Exclude"`.
|
|
63
|
+
* * `filterSource` - (Optional) Expression that selects the data that Splunk Observability Cloud should sync for the custom namespace associated with this sync rule. The expression uses the syntax defined for the SignalFlow `filter()` function; it can be any valid SignalFlow filter expression.
|
|
64
|
+
* * `namespace` - (Required) An AWS custom namespace having custom AWS metrics that you want to sync with Splunk Observability Cloud. See the AWS documentation on publishing metrics for more information.
|
|
65
|
+
* * `importCloudWatch` - (Optional) Flag that controls how Splunk Observability Cloud imports Cloud Watch metrics. If true, Splunk Observability Cloud imports Cloud Watch metrics from AWS.
|
|
66
|
+
* * `integrationId` - (Required) The id of one of a `signalfx.aws.ExternalIntegration` or `signalfx.aws.TokenIntegration`.
|
|
67
|
+
* * `key` - (Optional) If you specify `authMethod = \"SecurityToken\"` in your request to create an AWS integration object, use this property to specify the key (this is typically equivalent to the `AWS_SECRET_ACCESS_KEY` environment variable).
|
|
68
|
+
* * `metricStatsToSync` - (Optional) Each element in the array is an object that contains an AWS namespace name, AWS metric name and a list of statistics that Splunk Observability Cloud collects for this metric. If you specify this property, Splunk Observability Cloud retrieves only specified AWS statistics when AWS metric streams are not used. When AWS metric streams are used this property specifies additional extended statistics to collect (please note that AWS metric streams API supports percentile stats only; other stats are ignored). If you don't specify this property, Splunk Observability Cloud retrieves the AWS standard set of statistics.
|
|
69
|
+
* * `metric` - (Required) AWS metric that you want to pick statistics for
|
|
70
|
+
* * `namespace` - (Required) An AWS namespace having AWS metric that you want to pick statistics for
|
|
71
|
+
* * `stats` - (Required) AWS statistics you want to collect
|
|
72
|
+
* * `name` - (Required) Name of the integration.
|
|
73
|
+
* * `namedToken` - (Optional) Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
|
74
|
+
* * `namespaceSyncRule` - (Optional) Each element in the array is an object that contains an AWS namespace name and a filter that controls the data that Splunk Observability Cloud collects for the namespace. Conflicts with the `services` property. If you don't specify either property, Splunk Observability Cloud syncs all data in all AWS namespaces.
|
|
75
|
+
* * `defaultAction` - (Optional) Controls the Splunk Observability Cloud default behavior for processing data from an AWS namespace. Splunk Observability Cloud ignores this property unless you specify the `filterAction` and `filterSource` properties. If you do specify them, use this property to control how Splunk Observability Cloud treats data that doesn't match the filter. The available actions are one of `"Include"` or `"Exclude"`.
|
|
76
|
+
* * `filterAction` - (Optional) Controls how Splunk Observability Cloud processes data from a custom AWS namespace. The available actions are one of `"Include"` or `"Exclude"`.
|
|
77
|
+
* * `filterSource` - (Optional) Expression that selects the data that Splunk Observability Cloud should sync for the custom namespace associated with this sync rule. The expression uses the syntax defined for the SignalFlow `filter()` function; it can be any valid SignalFlow filter expression.
|
|
78
|
+
* * `namespace` - (Required) An AWS custom namespace having custom AWS metrics that you want to sync with Splunk Observability Cloud. See `services` field description below for additional information.
|
|
79
|
+
* * `pollRate` - (Optional) AWS poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
|
80
|
+
* * `regions` - (Required) List of AWS regions that Splunk Observability Cloud should monitor. It cannot be empty.
|
|
81
|
+
* * `roleArn` - (Optional) Role ARN that you add to an existing AWS integration object. **Note**: Ensure you use the `arn` property of your role, not the id!
|
|
82
|
+
* * `services` - (Optional) List of AWS services that you want Splunk Observability Cloud to monitor. Each element is a string designating an AWS service. Can be an empty list to import data for all supported services. Conflicts with `namespaceSyncRule`. See [Amazon Web Services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#amazon-web-services) for a list of valid values.
|
|
83
|
+
* * `syncCustomNamespacesOnly` - (Optional) Indicates that Splunk Observability Cloud should sync metrics and metadata from custom AWS namespaces only (see the `customNamespaceSyncRule` above). Defaults to `false`.
|
|
84
|
+
* * `token` - (Optional) If you specify `authMethod = \"SecurityToken\"` in your request to create an AWS integration object, use this property to specify the token (this is typically equivalent to the `AWS_ACCESS_KEY_ID` environment variable).
|
|
85
|
+
* * `useMetricStreamsSync` - (Optional) Enable the use of Amazon Cloudwatch Metric Streams for ingesting metrics.<br>
|
|
86
|
+
* Note that this requires the inclusion of `"cloudwatch:ListMetricStreams"`,`"cloudwatch:GetMetricStream"`, `"cloudwatch:PutMetricStream"`, `"cloudwatch:DeleteMetricStream"`, `"cloudwatch:StartMetricStreams"`, `"cloudwatch:StopMetricStreams"` and `"iam:PassRole"` permissions.<br>
|
|
87
|
+
* Note you need to deploy additional resources on your AWS account to enable CloudWatch metrics streaming. Select one of the [CloudFormation templates](https://docs.splunk.com/Observability/gdi/get-data-in/connect/aws/aws-cloudformation.html) to deploy all the required resources.
|
|
51
88
|
*/
|
|
52
89
|
export declare class Integration extends pulumi.CustomResource {
|
|
53
90
|
/**
|
|
@@ -71,89 +108,100 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
71
108
|
*/
|
|
72
109
|
readonly authMethod: pulumi.Output<string>;
|
|
73
110
|
/**
|
|
74
|
-
* List of custom AWS CloudWatch namespaces to monitor. Custom namespaces contain custom metrics that you define in AWS;
|
|
111
|
+
* List of custom AWS CloudWatch namespaces to monitor. Custom namespaces contain custom metrics that you define in AWS;
|
|
112
|
+
* Splunk Observability imports the metrics so you can monitor them.
|
|
75
113
|
*/
|
|
76
114
|
readonly customCloudwatchNamespaces: pulumi.Output<string[] | undefined>;
|
|
77
115
|
/**
|
|
78
|
-
* Each element controls the data collected by Splunk Observability for the specified namespace.
|
|
116
|
+
* Each element controls the data collected by Splunk Observability for the specified namespace. If you specify this
|
|
117
|
+
* property, Splunk Observability ignores values in the "custom_cloudwatch_namespaces" property.
|
|
79
118
|
*/
|
|
80
119
|
readonly customNamespaceSyncRules: pulumi.Output<outputs.aws.IntegrationCustomNamespaceSyncRule[] | undefined>;
|
|
81
120
|
/**
|
|
82
|
-
* Flag that controls how Splunk Observability imports usage metrics from AWS to use with AWS Cost Optimizer. If `true`,
|
|
121
|
+
* Flag that controls how Splunk Observability imports usage metrics from AWS to use with AWS Cost Optimizer. If `true`,
|
|
122
|
+
* Splunk Observability imports the metrics.
|
|
83
123
|
*/
|
|
84
124
|
readonly enableAwsUsage: pulumi.Output<boolean | undefined>;
|
|
85
125
|
/**
|
|
86
|
-
* Controls how Splunk Observability checks for large amounts of data for this AWS integration. If
|
|
126
|
+
* Controls how Splunk Observability checks for large amounts of data for this AWS integration. If true, Splunk
|
|
127
|
+
* Observability monitors the amount of data coming in from the integration.
|
|
87
128
|
*/
|
|
88
129
|
readonly enableCheckLargeVolume: pulumi.Output<boolean | undefined>;
|
|
89
130
|
/**
|
|
90
|
-
*
|
|
131
|
+
* Enables AWS logs synchronization.
|
|
91
132
|
*/
|
|
92
133
|
readonly enableLogsSync: pulumi.Output<boolean>;
|
|
93
134
|
/**
|
|
94
|
-
* Whether the integration is enabled
|
|
135
|
+
* Whether the integration is enabled or not
|
|
95
136
|
*/
|
|
96
137
|
readonly enabled: pulumi.Output<boolean>;
|
|
97
138
|
/**
|
|
98
|
-
*
|
|
139
|
+
* Used with `signalfx_aws_external_integration`. Use this property to specify the external id.
|
|
99
140
|
*/
|
|
100
141
|
readonly externalId: pulumi.Output<string | undefined>;
|
|
101
142
|
/**
|
|
102
|
-
* Flag that controls how Splunk Observability imports Cloud Watch metrics. If true, Splunk Observability imports Cloud
|
|
143
|
+
* Flag that controls how Splunk Observability imports Cloud Watch metrics. If true, Splunk Observability imports Cloud
|
|
144
|
+
* Watch metrics from AWS.
|
|
103
145
|
*/
|
|
104
146
|
readonly importCloudWatch: pulumi.Output<boolean | undefined>;
|
|
105
147
|
/**
|
|
106
|
-
* The
|
|
148
|
+
* The ID of this integration
|
|
107
149
|
*/
|
|
108
150
|
readonly integrationId: pulumi.Output<string>;
|
|
109
151
|
/**
|
|
110
|
-
*
|
|
152
|
+
* Used with `signalfx_aws_token_integration`. Use this property to specify the token.
|
|
111
153
|
*/
|
|
112
154
|
readonly key: pulumi.Output<string | undefined>;
|
|
113
155
|
/**
|
|
114
|
-
* Each element in the array is an object that contains an AWS namespace name, AWS metric name and a list of statistics
|
|
156
|
+
* Each element in the array is an object that contains an AWS namespace name, AWS metric name and a list of statistics
|
|
157
|
+
* that Splunk Observability collects for this metric. If you specify this property, Splunk Observability retrieves only
|
|
158
|
+
* specified AWS statistics. If you don't specify this property, Splunk Observability retrieves the AWS standard set of
|
|
159
|
+
* statistics.
|
|
115
160
|
*/
|
|
116
161
|
readonly metricStatsToSyncs: pulumi.Output<outputs.aws.IntegrationMetricStatsToSync[] | undefined>;
|
|
117
162
|
/**
|
|
118
|
-
* Name of the integration.
|
|
163
|
+
* Name of the integration. Please specify the name in `signalfx_aws_external_integration` or
|
|
164
|
+
* `signalfx_aws_integration_token`
|
|
119
165
|
*/
|
|
120
166
|
readonly name: pulumi.Output<string>;
|
|
121
167
|
/**
|
|
122
|
-
*
|
|
168
|
+
* A named token to use for ingest
|
|
123
169
|
*/
|
|
124
170
|
readonly namedToken: pulumi.Output<string | undefined>;
|
|
125
171
|
/**
|
|
126
|
-
* Each element in the array is an object that contains an AWS namespace name and a filter that controls the data that
|
|
172
|
+
* Each element in the array is an object that contains an AWS namespace name and a filter that controls the data that
|
|
173
|
+
* Splunk Observability collects for the namespace. If you specify this property, Splunk Observability ignores the values
|
|
174
|
+
* in the AWS CloudWatch Integration Model "services" property. If you don't specify either property, Splunk Observability
|
|
175
|
+
* syncs all data in all AWS namespaces.
|
|
127
176
|
*/
|
|
128
177
|
readonly namespaceSyncRules: pulumi.Output<outputs.aws.IntegrationNamespaceSyncRule[] | undefined>;
|
|
129
178
|
/**
|
|
130
|
-
* AWS poll rate (in seconds).
|
|
179
|
+
* AWS poll rate (in seconds). Between `60` and `600`.
|
|
131
180
|
*/
|
|
132
181
|
readonly pollRate: pulumi.Output<number | undefined>;
|
|
133
182
|
/**
|
|
134
|
-
* List of AWS regions that Splunk Observability should monitor.
|
|
183
|
+
* List of AWS regions that Splunk Observability should monitor.
|
|
135
184
|
*/
|
|
136
185
|
readonly regions: pulumi.Output<string[]>;
|
|
137
186
|
/**
|
|
138
|
-
*
|
|
187
|
+
* Used with `signalfx_aws_external_integration`. Use this property to specify the AIM role ARN.
|
|
139
188
|
*/
|
|
140
189
|
readonly roleArn: pulumi.Output<string | undefined>;
|
|
141
190
|
/**
|
|
142
|
-
* List of AWS services that you want Splunk Observability to monitor. Each element is a string designating an AWS service.
|
|
191
|
+
* List of AWS services that you want Splunk Observability to monitor. Each element is a string designating an AWS service.
|
|
143
192
|
*/
|
|
144
193
|
readonly services: pulumi.Output<string[] | undefined>;
|
|
145
194
|
/**
|
|
146
|
-
* Indicates that Splunk Observability should sync metrics and metadata from custom AWS namespaces only (see the
|
|
195
|
+
* Indicates that Splunk Observability should sync metrics and metadata from custom AWS namespaces only (see the
|
|
196
|
+
* `custom_namespace_sync_rule` field for details). Defaults to `false`.
|
|
147
197
|
*/
|
|
148
198
|
readonly syncCustomNamespacesOnly: pulumi.Output<boolean | undefined>;
|
|
149
199
|
/**
|
|
150
|
-
*
|
|
200
|
+
* Used with `signalfx_aws_token_integration`. Use this property to specify the token.
|
|
151
201
|
*/
|
|
152
202
|
readonly token: pulumi.Output<string | undefined>;
|
|
153
203
|
/**
|
|
154
|
-
*
|
|
155
|
-
* Note that this requires the inclusion of `"cloudwatch:ListMetricStreams"`,`"cloudwatch:GetMetricStream"`, `"cloudwatch:PutMetricStream"`, `"cloudwatch:DeleteMetricStream"`, `"cloudwatch:StartMetricStreams"`, `"cloudwatch:StopMetricStreams"` and `"iam:PassRole"` permissions.<br>
|
|
156
|
-
* Note you need to deploy additional resources on your AWS account to enable CloudWatch metrics streaming. Select one of the [CloudFormation templates](https://docs.splunk.com/Observability/gdi/get-data-in/connect/aws/aws-cloudformation.html) to deploy all the required resources.
|
|
204
|
+
* Enables the use of Cloudwatch Metric Streams for metrics synchronization.
|
|
157
205
|
*/
|
|
158
206
|
readonly useMetricStreamsSync: pulumi.Output<boolean>;
|
|
159
207
|
/**
|
|
@@ -175,89 +223,100 @@ export interface IntegrationState {
|
|
|
175
223
|
*/
|
|
176
224
|
authMethod?: pulumi.Input<string>;
|
|
177
225
|
/**
|
|
178
|
-
* List of custom AWS CloudWatch namespaces to monitor. Custom namespaces contain custom metrics that you define in AWS;
|
|
226
|
+
* List of custom AWS CloudWatch namespaces to monitor. Custom namespaces contain custom metrics that you define in AWS;
|
|
227
|
+
* Splunk Observability imports the metrics so you can monitor them.
|
|
179
228
|
*/
|
|
180
229
|
customCloudwatchNamespaces?: pulumi.Input<pulumi.Input<string>[]>;
|
|
181
230
|
/**
|
|
182
|
-
* Each element controls the data collected by Splunk Observability for the specified namespace.
|
|
231
|
+
* Each element controls the data collected by Splunk Observability for the specified namespace. If you specify this
|
|
232
|
+
* property, Splunk Observability ignores values in the "custom_cloudwatch_namespaces" property.
|
|
183
233
|
*/
|
|
184
234
|
customNamespaceSyncRules?: pulumi.Input<pulumi.Input<inputs.aws.IntegrationCustomNamespaceSyncRule>[]>;
|
|
185
235
|
/**
|
|
186
|
-
* Flag that controls how Splunk Observability imports usage metrics from AWS to use with AWS Cost Optimizer. If `true`,
|
|
236
|
+
* Flag that controls how Splunk Observability imports usage metrics from AWS to use with AWS Cost Optimizer. If `true`,
|
|
237
|
+
* Splunk Observability imports the metrics.
|
|
187
238
|
*/
|
|
188
239
|
enableAwsUsage?: pulumi.Input<boolean>;
|
|
189
240
|
/**
|
|
190
|
-
* Controls how Splunk Observability checks for large amounts of data for this AWS integration. If
|
|
241
|
+
* Controls how Splunk Observability checks for large amounts of data for this AWS integration. If true, Splunk
|
|
242
|
+
* Observability monitors the amount of data coming in from the integration.
|
|
191
243
|
*/
|
|
192
244
|
enableCheckLargeVolume?: pulumi.Input<boolean>;
|
|
193
245
|
/**
|
|
194
|
-
*
|
|
246
|
+
* Enables AWS logs synchronization.
|
|
195
247
|
*/
|
|
196
248
|
enableLogsSync?: pulumi.Input<boolean>;
|
|
197
249
|
/**
|
|
198
|
-
* Whether the integration is enabled
|
|
250
|
+
* Whether the integration is enabled or not
|
|
199
251
|
*/
|
|
200
252
|
enabled?: pulumi.Input<boolean>;
|
|
201
253
|
/**
|
|
202
|
-
*
|
|
254
|
+
* Used with `signalfx_aws_external_integration`. Use this property to specify the external id.
|
|
203
255
|
*/
|
|
204
256
|
externalId?: pulumi.Input<string>;
|
|
205
257
|
/**
|
|
206
|
-
* Flag that controls how Splunk Observability imports Cloud Watch metrics. If true, Splunk Observability imports Cloud
|
|
258
|
+
* Flag that controls how Splunk Observability imports Cloud Watch metrics. If true, Splunk Observability imports Cloud
|
|
259
|
+
* Watch metrics from AWS.
|
|
207
260
|
*/
|
|
208
261
|
importCloudWatch?: pulumi.Input<boolean>;
|
|
209
262
|
/**
|
|
210
|
-
* The
|
|
263
|
+
* The ID of this integration
|
|
211
264
|
*/
|
|
212
265
|
integrationId?: pulumi.Input<string>;
|
|
213
266
|
/**
|
|
214
|
-
*
|
|
267
|
+
* Used with `signalfx_aws_token_integration`. Use this property to specify the token.
|
|
215
268
|
*/
|
|
216
269
|
key?: pulumi.Input<string>;
|
|
217
270
|
/**
|
|
218
|
-
* Each element in the array is an object that contains an AWS namespace name, AWS metric name and a list of statistics
|
|
271
|
+
* Each element in the array is an object that contains an AWS namespace name, AWS metric name and a list of statistics
|
|
272
|
+
* that Splunk Observability collects for this metric. If you specify this property, Splunk Observability retrieves only
|
|
273
|
+
* specified AWS statistics. If you don't specify this property, Splunk Observability retrieves the AWS standard set of
|
|
274
|
+
* statistics.
|
|
219
275
|
*/
|
|
220
276
|
metricStatsToSyncs?: pulumi.Input<pulumi.Input<inputs.aws.IntegrationMetricStatsToSync>[]>;
|
|
221
277
|
/**
|
|
222
|
-
* Name of the integration.
|
|
278
|
+
* Name of the integration. Please specify the name in `signalfx_aws_external_integration` or
|
|
279
|
+
* `signalfx_aws_integration_token`
|
|
223
280
|
*/
|
|
224
281
|
name?: pulumi.Input<string>;
|
|
225
282
|
/**
|
|
226
|
-
*
|
|
283
|
+
* A named token to use for ingest
|
|
227
284
|
*/
|
|
228
285
|
namedToken?: pulumi.Input<string>;
|
|
229
286
|
/**
|
|
230
|
-
* Each element in the array is an object that contains an AWS namespace name and a filter that controls the data that
|
|
287
|
+
* Each element in the array is an object that contains an AWS namespace name and a filter that controls the data that
|
|
288
|
+
* Splunk Observability collects for the namespace. If you specify this property, Splunk Observability ignores the values
|
|
289
|
+
* in the AWS CloudWatch Integration Model "services" property. If you don't specify either property, Splunk Observability
|
|
290
|
+
* syncs all data in all AWS namespaces.
|
|
231
291
|
*/
|
|
232
292
|
namespaceSyncRules?: pulumi.Input<pulumi.Input<inputs.aws.IntegrationNamespaceSyncRule>[]>;
|
|
233
293
|
/**
|
|
234
|
-
* AWS poll rate (in seconds).
|
|
294
|
+
* AWS poll rate (in seconds). Between `60` and `600`.
|
|
235
295
|
*/
|
|
236
296
|
pollRate?: pulumi.Input<number>;
|
|
237
297
|
/**
|
|
238
|
-
* List of AWS regions that Splunk Observability should monitor.
|
|
298
|
+
* List of AWS regions that Splunk Observability should monitor.
|
|
239
299
|
*/
|
|
240
300
|
regions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
241
301
|
/**
|
|
242
|
-
*
|
|
302
|
+
* Used with `signalfx_aws_external_integration`. Use this property to specify the AIM role ARN.
|
|
243
303
|
*/
|
|
244
304
|
roleArn?: pulumi.Input<string>;
|
|
245
305
|
/**
|
|
246
|
-
* List of AWS services that you want Splunk Observability to monitor. Each element is a string designating an AWS service.
|
|
306
|
+
* List of AWS services that you want Splunk Observability to monitor. Each element is a string designating an AWS service.
|
|
247
307
|
*/
|
|
248
308
|
services?: pulumi.Input<pulumi.Input<string>[]>;
|
|
249
309
|
/**
|
|
250
|
-
* Indicates that Splunk Observability should sync metrics and metadata from custom AWS namespaces only (see the
|
|
310
|
+
* Indicates that Splunk Observability should sync metrics and metadata from custom AWS namespaces only (see the
|
|
311
|
+
* `custom_namespace_sync_rule` field for details). Defaults to `false`.
|
|
251
312
|
*/
|
|
252
313
|
syncCustomNamespacesOnly?: pulumi.Input<boolean>;
|
|
253
314
|
/**
|
|
254
|
-
*
|
|
315
|
+
* Used with `signalfx_aws_token_integration`. Use this property to specify the token.
|
|
255
316
|
*/
|
|
256
317
|
token?: pulumi.Input<string>;
|
|
257
318
|
/**
|
|
258
|
-
*
|
|
259
|
-
* Note that this requires the inclusion of `"cloudwatch:ListMetricStreams"`,`"cloudwatch:GetMetricStream"`, `"cloudwatch:PutMetricStream"`, `"cloudwatch:DeleteMetricStream"`, `"cloudwatch:StartMetricStreams"`, `"cloudwatch:StopMetricStreams"` and `"iam:PassRole"` permissions.<br>
|
|
260
|
-
* Note you need to deploy additional resources on your AWS account to enable CloudWatch metrics streaming. Select one of the [CloudFormation templates](https://docs.splunk.com/Observability/gdi/get-data-in/connect/aws/aws-cloudformation.html) to deploy all the required resources.
|
|
319
|
+
* Enables the use of Cloudwatch Metric Streams for metrics synchronization.
|
|
261
320
|
*/
|
|
262
321
|
useMetricStreamsSync?: pulumi.Input<boolean>;
|
|
263
322
|
}
|
|
@@ -266,85 +325,95 @@ export interface IntegrationState {
|
|
|
266
325
|
*/
|
|
267
326
|
export interface IntegrationArgs {
|
|
268
327
|
/**
|
|
269
|
-
* List of custom AWS CloudWatch namespaces to monitor. Custom namespaces contain custom metrics that you define in AWS;
|
|
328
|
+
* List of custom AWS CloudWatch namespaces to monitor. Custom namespaces contain custom metrics that you define in AWS;
|
|
329
|
+
* Splunk Observability imports the metrics so you can monitor them.
|
|
270
330
|
*/
|
|
271
331
|
customCloudwatchNamespaces?: pulumi.Input<pulumi.Input<string>[]>;
|
|
272
332
|
/**
|
|
273
|
-
* Each element controls the data collected by Splunk Observability for the specified namespace.
|
|
333
|
+
* Each element controls the data collected by Splunk Observability for the specified namespace. If you specify this
|
|
334
|
+
* property, Splunk Observability ignores values in the "custom_cloudwatch_namespaces" property.
|
|
274
335
|
*/
|
|
275
336
|
customNamespaceSyncRules?: pulumi.Input<pulumi.Input<inputs.aws.IntegrationCustomNamespaceSyncRule>[]>;
|
|
276
337
|
/**
|
|
277
|
-
* Flag that controls how Splunk Observability imports usage metrics from AWS to use with AWS Cost Optimizer. If `true`,
|
|
338
|
+
* Flag that controls how Splunk Observability imports usage metrics from AWS to use with AWS Cost Optimizer. If `true`,
|
|
339
|
+
* Splunk Observability imports the metrics.
|
|
278
340
|
*/
|
|
279
341
|
enableAwsUsage?: pulumi.Input<boolean>;
|
|
280
342
|
/**
|
|
281
|
-
* Controls how Splunk Observability checks for large amounts of data for this AWS integration. If
|
|
343
|
+
* Controls how Splunk Observability checks for large amounts of data for this AWS integration. If true, Splunk
|
|
344
|
+
* Observability monitors the amount of data coming in from the integration.
|
|
282
345
|
*/
|
|
283
346
|
enableCheckLargeVolume?: pulumi.Input<boolean>;
|
|
284
347
|
/**
|
|
285
|
-
*
|
|
348
|
+
* Enables AWS logs synchronization.
|
|
286
349
|
*/
|
|
287
350
|
enableLogsSync?: pulumi.Input<boolean>;
|
|
288
351
|
/**
|
|
289
|
-
* Whether the integration is enabled
|
|
352
|
+
* Whether the integration is enabled or not
|
|
290
353
|
*/
|
|
291
354
|
enabled: pulumi.Input<boolean>;
|
|
292
355
|
/**
|
|
293
|
-
*
|
|
356
|
+
* Used with `signalfx_aws_external_integration`. Use this property to specify the external id.
|
|
294
357
|
*/
|
|
295
358
|
externalId?: pulumi.Input<string>;
|
|
296
359
|
/**
|
|
297
|
-
* Flag that controls how Splunk Observability imports Cloud Watch metrics. If true, Splunk Observability imports Cloud
|
|
360
|
+
* Flag that controls how Splunk Observability imports Cloud Watch metrics. If true, Splunk Observability imports Cloud
|
|
361
|
+
* Watch metrics from AWS.
|
|
298
362
|
*/
|
|
299
363
|
importCloudWatch?: pulumi.Input<boolean>;
|
|
300
364
|
/**
|
|
301
|
-
* The
|
|
365
|
+
* The ID of this integration
|
|
302
366
|
*/
|
|
303
367
|
integrationId: pulumi.Input<string>;
|
|
304
368
|
/**
|
|
305
|
-
*
|
|
369
|
+
* Used with `signalfx_aws_token_integration`. Use this property to specify the token.
|
|
306
370
|
*/
|
|
307
371
|
key?: pulumi.Input<string>;
|
|
308
372
|
/**
|
|
309
|
-
* Each element in the array is an object that contains an AWS namespace name, AWS metric name and a list of statistics
|
|
373
|
+
* Each element in the array is an object that contains an AWS namespace name, AWS metric name and a list of statistics
|
|
374
|
+
* that Splunk Observability collects for this metric. If you specify this property, Splunk Observability retrieves only
|
|
375
|
+
* specified AWS statistics. If you don't specify this property, Splunk Observability retrieves the AWS standard set of
|
|
376
|
+
* statistics.
|
|
310
377
|
*/
|
|
311
378
|
metricStatsToSyncs?: pulumi.Input<pulumi.Input<inputs.aws.IntegrationMetricStatsToSync>[]>;
|
|
312
379
|
/**
|
|
313
|
-
*
|
|
380
|
+
* A named token to use for ingest
|
|
314
381
|
*/
|
|
315
382
|
namedToken?: pulumi.Input<string>;
|
|
316
383
|
/**
|
|
317
|
-
* Each element in the array is an object that contains an AWS namespace name and a filter that controls the data that
|
|
384
|
+
* Each element in the array is an object that contains an AWS namespace name and a filter that controls the data that
|
|
385
|
+
* Splunk Observability collects for the namespace. If you specify this property, Splunk Observability ignores the values
|
|
386
|
+
* in the AWS CloudWatch Integration Model "services" property. If you don't specify either property, Splunk Observability
|
|
387
|
+
* syncs all data in all AWS namespaces.
|
|
318
388
|
*/
|
|
319
389
|
namespaceSyncRules?: pulumi.Input<pulumi.Input<inputs.aws.IntegrationNamespaceSyncRule>[]>;
|
|
320
390
|
/**
|
|
321
|
-
* AWS poll rate (in seconds).
|
|
391
|
+
* AWS poll rate (in seconds). Between `60` and `600`.
|
|
322
392
|
*/
|
|
323
393
|
pollRate?: pulumi.Input<number>;
|
|
324
394
|
/**
|
|
325
|
-
* List of AWS regions that Splunk Observability should monitor.
|
|
395
|
+
* List of AWS regions that Splunk Observability should monitor.
|
|
326
396
|
*/
|
|
327
397
|
regions: pulumi.Input<pulumi.Input<string>[]>;
|
|
328
398
|
/**
|
|
329
|
-
*
|
|
399
|
+
* Used with `signalfx_aws_external_integration`. Use this property to specify the AIM role ARN.
|
|
330
400
|
*/
|
|
331
401
|
roleArn?: pulumi.Input<string>;
|
|
332
402
|
/**
|
|
333
|
-
* List of AWS services that you want Splunk Observability to monitor. Each element is a string designating an AWS service.
|
|
403
|
+
* List of AWS services that you want Splunk Observability to monitor. Each element is a string designating an AWS service.
|
|
334
404
|
*/
|
|
335
405
|
services?: pulumi.Input<pulumi.Input<string>[]>;
|
|
336
406
|
/**
|
|
337
|
-
* Indicates that Splunk Observability should sync metrics and metadata from custom AWS namespaces only (see the
|
|
407
|
+
* Indicates that Splunk Observability should sync metrics and metadata from custom AWS namespaces only (see the
|
|
408
|
+
* `custom_namespace_sync_rule` field for details). Defaults to `false`.
|
|
338
409
|
*/
|
|
339
410
|
syncCustomNamespacesOnly?: pulumi.Input<boolean>;
|
|
340
411
|
/**
|
|
341
|
-
*
|
|
412
|
+
* Used with `signalfx_aws_token_integration`. Use this property to specify the token.
|
|
342
413
|
*/
|
|
343
414
|
token?: pulumi.Input<string>;
|
|
344
415
|
/**
|
|
345
|
-
*
|
|
346
|
-
* Note that this requires the inclusion of `"cloudwatch:ListMetricStreams"`,`"cloudwatch:GetMetricStream"`, `"cloudwatch:PutMetricStream"`, `"cloudwatch:DeleteMetricStream"`, `"cloudwatch:StartMetricStreams"`, `"cloudwatch:StopMetricStreams"` and `"iam:PassRole"` permissions.<br>
|
|
347
|
-
* Note you need to deploy additional resources on your AWS account to enable CloudWatch metrics streaming. Select one of the [CloudFormation templates](https://docs.splunk.com/Observability/gdi/get-data-in/connect/aws/aws-cloudformation.html) to deploy all the required resources.
|
|
416
|
+
* Enables the use of Cloudwatch Metric Streams for metrics synchronization.
|
|
348
417
|
*/
|
|
349
418
|
useMetricStreamsSync?: pulumi.Input<boolean>;
|
|
350
419
|
}
|
package/aws/integration.js
CHANGED
|
@@ -6,13 +6,13 @@ exports.Integration = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* AWS CloudWatch integrations for Splunk Observability Cloud. For help with this integration see [Monitoring Amazon Web Services](https://docs.splunk.com/observability/en/gdi/get-data-in/connect/aws/get-awstoc.html).
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* This resource implements a part of a workflow. Use it with one of either `signalfx.aws.ExternalIntegration` or `signalfx.aws.TokenIntegration`.
|
|
12
12
|
*
|
|
13
|
-
* > **
|
|
13
|
+
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk Observability provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator).
|
|
14
14
|
*
|
|
15
|
-
* ## Example
|
|
15
|
+
* ## Example
|
|
16
16
|
*
|
|
17
17
|
* ```typescript
|
|
18
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -52,6 +52,43 @@ const utilities = require("../utilities");
|
|
|
52
52
|
* }],
|
|
53
53
|
* });
|
|
54
54
|
* ```
|
|
55
|
+
*
|
|
56
|
+
* ## Arguments
|
|
57
|
+
*
|
|
58
|
+
* * `enableAwsUsage` - (Optional) Flag that controls how Splunk Observability Cloud imports usage metrics from AWS to use with AWS Cost Optimizer. If `true`, Splunk Observability Cloud imports the metrics.
|
|
59
|
+
* * `enableCheckLargeVolume` - (Optional) Controls how Splunk Observability Cloud checks for large amounts of data for this AWS integration. If `true`, Splunk Observability Cloud monitors the amount of data coming in from the integration.
|
|
60
|
+
* * `enableLogsSync` - (Optional) Enable the AWS logs synchronization. Note that this requires the inclusion of `"logs:DescribeLogGroups"`, `"logs:DeleteSubscriptionFilter"`, `"logs:DescribeSubscriptionFilters"`, `"logs:PutSubscriptionFilter"`, and `"s3:GetBucketLogging"`, `"s3:GetBucketNotification"`, `"s3:PutBucketNotification"` permissions. Additional permissions may be required to capture logs from specific AWS services.
|
|
61
|
+
* * `enabled` - (Required) Whether the integration is enabled.
|
|
62
|
+
* * `externalId` - (Required) The `externalId` property from one of a `signalfx.aws.ExternalIntegration` or `signalfx.aws.TokenIntegration`
|
|
63
|
+
* * `customCloudwatchNamespaces` - (Optional) List of custom AWS CloudWatch namespaces to monitor. Custom namespaces contain custom metrics that you define in AWS; Splunk Observability Cloud imports the metrics so you can monitor them.
|
|
64
|
+
* * `customNamespaceSyncRule` - (Optional) Each element controls the data collected by Splunk Observability Cloud for the specified namespace. Conflicts with the `customCloudwatchNamespaces` property.
|
|
65
|
+
* * `defaultAction` - (Optional) Controls the Splunk Observability Cloud default behavior for processing data from an AWS namespace. Splunk Observability Cloud ignores this property unless you specify the `filterAction` and `filterSource` properties. If you do specify them, use this property to control how Splunk Observability Cloud treats data that doesn't match the filter. The available actions are one of `"Include"` or `"Exclude"`.
|
|
66
|
+
* * `filterAction` - (Optional) Controls how Splunk Observability Cloud processes data from a custom AWS namespace. The available actions are one of `"Include"` or `"Exclude"`.
|
|
67
|
+
* * `filterSource` - (Optional) Expression that selects the data that Splunk Observability Cloud should sync for the custom namespace associated with this sync rule. The expression uses the syntax defined for the SignalFlow `filter()` function; it can be any valid SignalFlow filter expression.
|
|
68
|
+
* * `namespace` - (Required) An AWS custom namespace having custom AWS metrics that you want to sync with Splunk Observability Cloud. See the AWS documentation on publishing metrics for more information.
|
|
69
|
+
* * `importCloudWatch` - (Optional) Flag that controls how Splunk Observability Cloud imports Cloud Watch metrics. If true, Splunk Observability Cloud imports Cloud Watch metrics from AWS.
|
|
70
|
+
* * `integrationId` - (Required) The id of one of a `signalfx.aws.ExternalIntegration` or `signalfx.aws.TokenIntegration`.
|
|
71
|
+
* * `key` - (Optional) If you specify `authMethod = \"SecurityToken\"` in your request to create an AWS integration object, use this property to specify the key (this is typically equivalent to the `AWS_SECRET_ACCESS_KEY` environment variable).
|
|
72
|
+
* * `metricStatsToSync` - (Optional) Each element in the array is an object that contains an AWS namespace name, AWS metric name and a list of statistics that Splunk Observability Cloud collects for this metric. If you specify this property, Splunk Observability Cloud retrieves only specified AWS statistics when AWS metric streams are not used. When AWS metric streams are used this property specifies additional extended statistics to collect (please note that AWS metric streams API supports percentile stats only; other stats are ignored). If you don't specify this property, Splunk Observability Cloud retrieves the AWS standard set of statistics.
|
|
73
|
+
* * `metric` - (Required) AWS metric that you want to pick statistics for
|
|
74
|
+
* * `namespace` - (Required) An AWS namespace having AWS metric that you want to pick statistics for
|
|
75
|
+
* * `stats` - (Required) AWS statistics you want to collect
|
|
76
|
+
* * `name` - (Required) Name of the integration.
|
|
77
|
+
* * `namedToken` - (Optional) Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
|
78
|
+
* * `namespaceSyncRule` - (Optional) Each element in the array is an object that contains an AWS namespace name and a filter that controls the data that Splunk Observability Cloud collects for the namespace. Conflicts with the `services` property. If you don't specify either property, Splunk Observability Cloud syncs all data in all AWS namespaces.
|
|
79
|
+
* * `defaultAction` - (Optional) Controls the Splunk Observability Cloud default behavior for processing data from an AWS namespace. Splunk Observability Cloud ignores this property unless you specify the `filterAction` and `filterSource` properties. If you do specify them, use this property to control how Splunk Observability Cloud treats data that doesn't match the filter. The available actions are one of `"Include"` or `"Exclude"`.
|
|
80
|
+
* * `filterAction` - (Optional) Controls how Splunk Observability Cloud processes data from a custom AWS namespace. The available actions are one of `"Include"` or `"Exclude"`.
|
|
81
|
+
* * `filterSource` - (Optional) Expression that selects the data that Splunk Observability Cloud should sync for the custom namespace associated with this sync rule. The expression uses the syntax defined for the SignalFlow `filter()` function; it can be any valid SignalFlow filter expression.
|
|
82
|
+
* * `namespace` - (Required) An AWS custom namespace having custom AWS metrics that you want to sync with Splunk Observability Cloud. See `services` field description below for additional information.
|
|
83
|
+
* * `pollRate` - (Optional) AWS poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
|
84
|
+
* * `regions` - (Required) List of AWS regions that Splunk Observability Cloud should monitor. It cannot be empty.
|
|
85
|
+
* * `roleArn` - (Optional) Role ARN that you add to an existing AWS integration object. **Note**: Ensure you use the `arn` property of your role, not the id!
|
|
86
|
+
* * `services` - (Optional) List of AWS services that you want Splunk Observability Cloud to monitor. Each element is a string designating an AWS service. Can be an empty list to import data for all supported services. Conflicts with `namespaceSyncRule`. See [Amazon Web Services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#amazon-web-services) for a list of valid values.
|
|
87
|
+
* * `syncCustomNamespacesOnly` - (Optional) Indicates that Splunk Observability Cloud should sync metrics and metadata from custom AWS namespaces only (see the `customNamespaceSyncRule` above). Defaults to `false`.
|
|
88
|
+
* * `token` - (Optional) If you specify `authMethod = \"SecurityToken\"` in your request to create an AWS integration object, use this property to specify the token (this is typically equivalent to the `AWS_ACCESS_KEY_ID` environment variable).
|
|
89
|
+
* * `useMetricStreamsSync` - (Optional) Enable the use of Amazon Cloudwatch Metric Streams for ingesting metrics.<br>
|
|
90
|
+
* Note that this requires the inclusion of `"cloudwatch:ListMetricStreams"`,`"cloudwatch:GetMetricStream"`, `"cloudwatch:PutMetricStream"`, `"cloudwatch:DeleteMetricStream"`, `"cloudwatch:StartMetricStreams"`, `"cloudwatch:StopMetricStreams"` and `"iam:PassRole"` permissions.<br>
|
|
91
|
+
* Note you need to deploy additional resources on your AWS account to enable CloudWatch metrics streaming. Select one of the [CloudFormation templates](https://docs.splunk.com/Observability/gdi/get-data-in/connect/aws/aws-cloudformation.html) to deploy all the required resources.
|
|
55
92
|
*/
|
|
56
93
|
class Integration extends pulumi.CustomResource {
|
|
57
94
|
/**
|
package/aws/integration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../aws/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../aws/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAiHD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,4BAA4B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,0BAA0B,CAAC,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C,SAAS,CAAC;YAC9F,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;QACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA5ML,kCA6MC;AA/LG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -2,11 +2,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Splunk Observability AWS CloudWatch integrations using security tokens. For help with this integration see [Connect to AWS CloudWatch](https://docs.signalfx.com/en/latest/integrations/amazon-web-services.html#connect-to-aws).
|
|
4
4
|
*
|
|
5
|
-
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk
|
|
5
|
+
* > **NOTE** When managing integrations, use a session token of an administrator to authenticate the Splunk Observabilit Cloud provider. See [Operations that require a session token for an administrator](https://dev.splunk.com/observability/docs/administration/authtokens#Operations-that-require-a-session-token-for-an-administrator).
|
|
6
6
|
*
|
|
7
7
|
* > **WARNING** This resource implements a part of a workflow. You must use it with `signalfx.aws.Integration`.
|
|
8
8
|
*
|
|
9
|
-
* ## Example
|
|
9
|
+
* ## Example
|
|
10
10
|
*
|
|
11
11
|
* ```typescript
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -40,6 +40,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
40
40
|
* }],
|
|
41
41
|
* });
|
|
42
42
|
* ```
|
|
43
|
+
*
|
|
44
|
+
* ## Arguments
|
|
45
|
+
*
|
|
46
|
+
* * `name` - (Required) The name of this integration
|
|
47
|
+
*
|
|
48
|
+
* ## Attributes
|
|
49
|
+
*
|
|
50
|
+
* In addition to all arguments above, the following attributes are exported:
|
|
51
|
+
*
|
|
52
|
+
* * `id` - The ID of the integration to use with `signalfx.aws.Integration`
|
|
53
|
+
* * `signalfxAwsAccount` - The AWS Account ARN to use with your policies/roles, provided by Splunk Observability Cloud.
|
|
43
54
|
*/
|
|
44
55
|
export declare class TokenIntegration extends pulumi.CustomResource {
|
|
45
56
|
/**
|
|
@@ -58,11 +69,11 @@ export declare class TokenIntegration extends pulumi.CustomResource {
|
|
|
58
69
|
*/
|
|
59
70
|
static isInstance(obj: any): obj is TokenIntegration;
|
|
60
71
|
/**
|
|
61
|
-
*
|
|
72
|
+
* Name of the integration
|
|
62
73
|
*/
|
|
63
74
|
readonly name: pulumi.Output<string>;
|
|
64
75
|
/**
|
|
65
|
-
* The AWS
|
|
76
|
+
* The Splunk Observability AWS account ID to use with an AWS role.
|
|
66
77
|
*/
|
|
67
78
|
readonly signalfxAwsAccount: pulumi.Output<string>;
|
|
68
79
|
/**
|
|
@@ -83,11 +94,11 @@ export declare class TokenIntegration extends pulumi.CustomResource {
|
|
|
83
94
|
*/
|
|
84
95
|
export interface TokenIntegrationState {
|
|
85
96
|
/**
|
|
86
|
-
*
|
|
97
|
+
* Name of the integration
|
|
87
98
|
*/
|
|
88
99
|
name?: pulumi.Input<string>;
|
|
89
100
|
/**
|
|
90
|
-
* The AWS
|
|
101
|
+
* The Splunk Observability AWS account ID to use with an AWS role.
|
|
91
102
|
*/
|
|
92
103
|
signalfxAwsAccount?: pulumi.Input<string>;
|
|
93
104
|
/**
|
|
@@ -100,7 +111,7 @@ export interface TokenIntegrationState {
|
|
|
100
111
|
*/
|
|
101
112
|
export interface TokenIntegrationArgs {
|
|
102
113
|
/**
|
|
103
|
-
*
|
|
114
|
+
* Name of the integration
|
|
104
115
|
*/
|
|
105
116
|
name?: pulumi.Input<string>;
|
|
106
117
|
}
|