pulumi-signalfx 7.15.0a1753338898__py3-none-any.whl → 7.15.0a1753511620__py3-none-any.whl
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.
- pulumi_signalfx/__init__.py +1 -1
- pulumi_signalfx/_inputs.py +1508 -1509
- pulumi_signalfx/alert_muting_rule.py +82 -83
- pulumi_signalfx/automatedarchival/__init__.py +1 -1
- pulumi_signalfx/automatedarchival/_inputs.py +32 -33
- pulumi_signalfx/automatedarchival/exempt_metric.py +4 -5
- pulumi_signalfx/automatedarchival/outputs.py +21 -22
- pulumi_signalfx/automatedarchival/settings.py +114 -115
- pulumi_signalfx/aws/__init__.py +1 -1
- pulumi_signalfx/aws/_inputs.py +67 -68
- pulumi_signalfx/aws/external_integration.py +36 -37
- pulumi_signalfx/aws/integration.py +351 -352
- pulumi_signalfx/aws/outputs.py +45 -46
- pulumi_signalfx/aws/token_integration.py +36 -37
- pulumi_signalfx/azure/__init__.py +1 -1
- pulumi_signalfx/azure/_inputs.py +19 -20
- pulumi_signalfx/azure/integration.py +245 -246
- pulumi_signalfx/azure/outputs.py +13 -14
- pulumi_signalfx/config/__init__.py +1 -1
- pulumi_signalfx/config/__init__.pyi +1 -2
- pulumi_signalfx/config/vars.py +14 -15
- pulumi_signalfx/dashboard.py +230 -231
- pulumi_signalfx/dashboard_group.py +95 -96
- pulumi_signalfx/data_link.py +64 -65
- pulumi_signalfx/detector.py +331 -332
- pulumi_signalfx/event_feed_chart.py +129 -130
- pulumi_signalfx/gcp/__init__.py +1 -1
- pulumi_signalfx/gcp/_inputs.py +21 -22
- pulumi_signalfx/gcp/integration.py +194 -195
- pulumi_signalfx/gcp/outputs.py +13 -14
- pulumi_signalfx/get_dimension_values.py +21 -22
- pulumi_signalfx/heatmap_chart.py +237 -238
- pulumi_signalfx/jira/__init__.py +1 -1
- pulumi_signalfx/jira/integration.py +205 -206
- pulumi_signalfx/list_chart.py +325 -326
- pulumi_signalfx/log/__init__.py +1 -1
- pulumi_signalfx/log/_inputs.py +19 -20
- pulumi_signalfx/log/outputs.py +13 -14
- pulumi_signalfx/log/timeline.py +146 -147
- pulumi_signalfx/log/view.py +152 -153
- pulumi_signalfx/metric_ruleset.py +98 -99
- pulumi_signalfx/opsgenie/__init__.py +1 -1
- pulumi_signalfx/opsgenie/integration.py +69 -70
- pulumi_signalfx/org_token.py +101 -102
- pulumi_signalfx/organization_members.py +9 -10
- pulumi_signalfx/outputs.py +1014 -1015
- pulumi_signalfx/pagerduty/__init__.py +1 -1
- pulumi_signalfx/pagerduty/get_integration.py +11 -12
- pulumi_signalfx/pagerduty/integration.py +52 -53
- pulumi_signalfx/provider.py +118 -119
- pulumi_signalfx/pulumi-plugin.json +1 -1
- pulumi_signalfx/servicenow/__init__.py +1 -1
- pulumi_signalfx/servicenow/integration.py +137 -138
- pulumi_signalfx/single_value_chart.py +237 -238
- pulumi_signalfx/slack/__init__.py +1 -1
- pulumi_signalfx/slack/integration.py +52 -53
- pulumi_signalfx/slo.py +58 -59
- pulumi_signalfx/slo_chart.py +27 -28
- pulumi_signalfx/table_chart.py +217 -218
- pulumi_signalfx/team.py +163 -164
- pulumi_signalfx/text_chart.py +78 -79
- pulumi_signalfx/time_chart.py +385 -386
- pulumi_signalfx/victorops/__init__.py +1 -1
- pulumi_signalfx/victorops/integration.py +52 -53
- pulumi_signalfx/webhook_integration.py +102 -103
- {pulumi_signalfx-7.15.0a1753338898.dist-info → pulumi_signalfx-7.15.0a1753511620.dist-info}/METADATA +1 -1
- pulumi_signalfx-7.15.0a1753511620.dist-info/RECORD +71 -0
- pulumi_signalfx-7.15.0a1753338898.dist-info/RECORD +0 -71
- {pulumi_signalfx-7.15.0a1753338898.dist-info → pulumi_signalfx-7.15.0a1753511620.dist-info}/WHEEL +0 -0
- {pulumi_signalfx-7.15.0a1753338898.dist-info → pulumi_signalfx-7.15.0a1753511620.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
-
import builtins
|
6
|
-
import copy
|
5
|
+
import builtins as _builtins
|
7
6
|
import warnings
|
8
7
|
import sys
|
9
8
|
import pulumi
|
@@ -22,52 +21,52 @@ __all__ = ['IntegrationArgs', 'Integration']
|
|
22
21
|
@pulumi.input_type
|
23
22
|
class IntegrationArgs:
|
24
23
|
def __init__(__self__, *,
|
25
|
-
enabled: pulumi.Input[
|
26
|
-
integration_id: pulumi.Input[
|
27
|
-
regions: pulumi.Input[Sequence[pulumi.Input[
|
28
|
-
collect_only_recommended_stats: Optional[pulumi.Input[
|
29
|
-
custom_cloudwatch_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[
|
24
|
+
enabled: pulumi.Input[_builtins.bool],
|
25
|
+
integration_id: pulumi.Input[_builtins.str],
|
26
|
+
regions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
27
|
+
collect_only_recommended_stats: Optional[pulumi.Input[_builtins.bool]] = None,
|
28
|
+
custom_cloudwatch_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
30
29
|
custom_namespace_sync_rules: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationCustomNamespaceSyncRuleArgs']]]] = None,
|
31
|
-
enable_aws_usage: Optional[pulumi.Input[
|
32
|
-
enable_check_large_volume: Optional[pulumi.Input[
|
33
|
-
enable_logs_sync: Optional[pulumi.Input[
|
34
|
-
external_id: Optional[pulumi.Input[
|
35
|
-
import_cloud_watch: Optional[pulumi.Input[
|
36
|
-
key: Optional[pulumi.Input[
|
30
|
+
enable_aws_usage: Optional[pulumi.Input[_builtins.bool]] = None,
|
31
|
+
enable_check_large_volume: Optional[pulumi.Input[_builtins.bool]] = None,
|
32
|
+
enable_logs_sync: Optional[pulumi.Input[_builtins.bool]] = None,
|
33
|
+
external_id: Optional[pulumi.Input[_builtins.str]] = None,
|
34
|
+
import_cloud_watch: Optional[pulumi.Input[_builtins.bool]] = None,
|
35
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
37
36
|
metric_stats_to_syncs: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationMetricStatsToSyncArgs']]]] = None,
|
38
|
-
metric_streams_managed_externally: Optional[pulumi.Input[
|
39
|
-
named_token: Optional[pulumi.Input[
|
37
|
+
metric_streams_managed_externally: Optional[pulumi.Input[_builtins.bool]] = None,
|
38
|
+
named_token: Optional[pulumi.Input[_builtins.str]] = None,
|
40
39
|
namespace_sync_rules: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationNamespaceSyncRuleArgs']]]] = None,
|
41
|
-
poll_rate: Optional[pulumi.Input[
|
42
|
-
role_arn: Optional[pulumi.Input[
|
43
|
-
services: Optional[pulumi.Input[Sequence[pulumi.Input[
|
44
|
-
sync_custom_namespaces_only: Optional[pulumi.Input[
|
45
|
-
token: Optional[pulumi.Input[
|
46
|
-
use_metric_streams_sync: Optional[pulumi.Input[
|
40
|
+
poll_rate: Optional[pulumi.Input[_builtins.int]] = None,
|
41
|
+
role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
42
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
43
|
+
sync_custom_namespaces_only: Optional[pulumi.Input[_builtins.bool]] = None,
|
44
|
+
token: Optional[pulumi.Input[_builtins.str]] = None,
|
45
|
+
use_metric_streams_sync: Optional[pulumi.Input[_builtins.bool]] = None):
|
47
46
|
"""
|
48
47
|
The set of arguments for constructing a Integration resource.
|
49
|
-
:param pulumi.Input[
|
50
|
-
:param pulumi.Input[
|
51
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
52
|
-
:param pulumi.Input[
|
53
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
48
|
+
:param pulumi.Input[_builtins.bool] enabled: Whether the integration is enabled.
|
49
|
+
:param pulumi.Input[_builtins.str] integration_id: The id of one of a `aws.ExternalIntegration` or `aws.TokenIntegration`.
|
50
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] regions: List of AWS regions that Splunk Observability Cloud should monitor. It cannot be empty.
|
51
|
+
:param pulumi.Input[_builtins.bool] collect_only_recommended_stats: The integration will only ingest the recommended statistics published by AWS
|
52
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] custom_cloudwatch_namespaces: 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.
|
54
53
|
:param pulumi.Input[Sequence[pulumi.Input['IntegrationCustomNamespaceSyncRuleArgs']]] custom_namespace_sync_rules: Each element controls the data collected by Splunk Observability Cloud for the specified namespace. Conflicts with the `custom_cloudwatch_namespaces` property.
|
55
|
-
:param pulumi.Input[
|
56
|
-
:param pulumi.Input[
|
57
|
-
:param pulumi.Input[
|
58
|
-
:param pulumi.Input[
|
59
|
-
:param pulumi.Input[
|
60
|
-
:param pulumi.Input[
|
54
|
+
:param pulumi.Input[_builtins.bool] enable_aws_usage: 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
|
+
:param pulumi.Input[_builtins.bool] enable_check_large_volume: 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
|
+
:param pulumi.Input[_builtins.bool] enable_logs_sync: 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
|
+
:param pulumi.Input[_builtins.str] external_id: The `external_id` property from one of a `aws.ExternalIntegration` or `aws.TokenIntegration`
|
58
|
+
:param pulumi.Input[_builtins.bool] import_cloud_watch: Flag that controls how Splunk Observability Cloud imports Cloud Watch metrics. If true, Splunk Observability Cloud imports Cloud Watch metrics from AWS.
|
59
|
+
:param pulumi.Input[_builtins.str] key: If you specify `auth_method = \\"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).
|
61
60
|
:param pulumi.Input[Sequence[pulumi.Input['IntegrationMetricStatsToSyncArgs']]] metric_stats_to_syncs: 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.
|
62
|
-
:param pulumi.Input[
|
63
|
-
:param pulumi.Input[
|
61
|
+
:param pulumi.Input[_builtins.bool] metric_streams_managed_externally: If set to true, Splunk Observability Cloud accepts data from Metric Streams managed from the AWS console. The AWS account sending the Metric Streams and the AWS account in the Splunk Observability Cloud integration have to match. Requires `use_metric_streams_sync` set to true to work.
|
62
|
+
:param pulumi.Input[_builtins.str] named_token: Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
64
63
|
:param pulumi.Input[Sequence[pulumi.Input['IntegrationNamespaceSyncRuleArgs']]] namespace_sync_rules: 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.
|
65
|
-
:param pulumi.Input[
|
66
|
-
:param pulumi.Input[
|
67
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
68
|
-
:param pulumi.Input[
|
69
|
-
:param pulumi.Input[
|
70
|
-
:param pulumi.Input[
|
64
|
+
:param pulumi.Input[_builtins.int] poll_rate: AWS poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
65
|
+
:param pulumi.Input[_builtins.str] role_arn: Role ARN that you add to an existing AWS integration object. **Note**: Ensure you use the `arn` property of your role, not the id!
|
66
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] services: 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 `namespace_sync_rule`. See [Amazon Web Services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#amazon-web-services) for a list of valid values.
|
67
|
+
:param pulumi.Input[_builtins.bool] sync_custom_namespaces_only: Indicates that Splunk Observability Cloud should sync metrics and metadata from custom AWS namespaces only (see the `custom_namespace_sync_rule` above). Defaults to `false`.
|
68
|
+
:param pulumi.Input[_builtins.str] token: If you specify `auth_method = \\"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).
|
69
|
+
:param pulumi.Input[_builtins.bool] use_metric_streams_sync: Enable the use of Amazon Cloudwatch Metric Streams for ingesting metrics.<br> Note that this requires the inclusion of `"cloudwatch:ListMetricStreams"`,`"cloudwatch:GetMetricStream"`, `"cloudwatch:PutMetricStream"`, `"cloudwatch:DeleteMetricStream"`, `"cloudwatch:StartMetricStreams"`, `"cloudwatch:StopMetricStreams"` and `"iam:PassRole"` permissions.<br> 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.
|
71
70
|
"""
|
72
71
|
pulumi.set(__self__, "enabled", enabled)
|
73
72
|
pulumi.set(__self__, "integration_id", integration_id)
|
@@ -111,67 +110,67 @@ class IntegrationArgs:
|
|
111
110
|
if use_metric_streams_sync is not None:
|
112
111
|
pulumi.set(__self__, "use_metric_streams_sync", use_metric_streams_sync)
|
113
112
|
|
114
|
-
@property
|
113
|
+
@_builtins.property
|
115
114
|
@pulumi.getter
|
116
|
-
def enabled(self) -> pulumi.Input[
|
115
|
+
def enabled(self) -> pulumi.Input[_builtins.bool]:
|
117
116
|
"""
|
118
117
|
Whether the integration is enabled.
|
119
118
|
"""
|
120
119
|
return pulumi.get(self, "enabled")
|
121
120
|
|
122
121
|
@enabled.setter
|
123
|
-
def enabled(self, value: pulumi.Input[
|
122
|
+
def enabled(self, value: pulumi.Input[_builtins.bool]):
|
124
123
|
pulumi.set(self, "enabled", value)
|
125
124
|
|
126
|
-
@property
|
125
|
+
@_builtins.property
|
127
126
|
@pulumi.getter(name="integrationId")
|
128
|
-
def integration_id(self) -> pulumi.Input[
|
127
|
+
def integration_id(self) -> pulumi.Input[_builtins.str]:
|
129
128
|
"""
|
130
129
|
The id of one of a `aws.ExternalIntegration` or `aws.TokenIntegration`.
|
131
130
|
"""
|
132
131
|
return pulumi.get(self, "integration_id")
|
133
132
|
|
134
133
|
@integration_id.setter
|
135
|
-
def integration_id(self, value: pulumi.Input[
|
134
|
+
def integration_id(self, value: pulumi.Input[_builtins.str]):
|
136
135
|
pulumi.set(self, "integration_id", value)
|
137
136
|
|
138
|
-
@property
|
137
|
+
@_builtins.property
|
139
138
|
@pulumi.getter
|
140
|
-
def regions(self) -> pulumi.Input[Sequence[pulumi.Input[
|
139
|
+
def regions(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
141
140
|
"""
|
142
141
|
List of AWS regions that Splunk Observability Cloud should monitor. It cannot be empty.
|
143
142
|
"""
|
144
143
|
return pulumi.get(self, "regions")
|
145
144
|
|
146
145
|
@regions.setter
|
147
|
-
def regions(self, value: pulumi.Input[Sequence[pulumi.Input[
|
146
|
+
def regions(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
|
148
147
|
pulumi.set(self, "regions", value)
|
149
148
|
|
150
|
-
@property
|
149
|
+
@_builtins.property
|
151
150
|
@pulumi.getter(name="collectOnlyRecommendedStats")
|
152
|
-
def collect_only_recommended_stats(self) -> Optional[pulumi.Input[
|
151
|
+
def collect_only_recommended_stats(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
153
152
|
"""
|
154
153
|
The integration will only ingest the recommended statistics published by AWS
|
155
154
|
"""
|
156
155
|
return pulumi.get(self, "collect_only_recommended_stats")
|
157
156
|
|
158
157
|
@collect_only_recommended_stats.setter
|
159
|
-
def collect_only_recommended_stats(self, value: Optional[pulumi.Input[
|
158
|
+
def collect_only_recommended_stats(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
160
159
|
pulumi.set(self, "collect_only_recommended_stats", value)
|
161
160
|
|
162
|
-
@property
|
161
|
+
@_builtins.property
|
163
162
|
@pulumi.getter(name="customCloudwatchNamespaces")
|
164
|
-
def custom_cloudwatch_namespaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
163
|
+
def custom_cloudwatch_namespaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
165
164
|
"""
|
166
165
|
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.
|
167
166
|
"""
|
168
167
|
return pulumi.get(self, "custom_cloudwatch_namespaces")
|
169
168
|
|
170
169
|
@custom_cloudwatch_namespaces.setter
|
171
|
-
def custom_cloudwatch_namespaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
170
|
+
def custom_cloudwatch_namespaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
172
171
|
pulumi.set(self, "custom_cloudwatch_namespaces", value)
|
173
172
|
|
174
|
-
@property
|
173
|
+
@_builtins.property
|
175
174
|
@pulumi.getter(name="customNamespaceSyncRules")
|
176
175
|
def custom_namespace_sync_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationCustomNamespaceSyncRuleArgs']]]]:
|
177
176
|
"""
|
@@ -183,79 +182,79 @@ class IntegrationArgs:
|
|
183
182
|
def custom_namespace_sync_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationCustomNamespaceSyncRuleArgs']]]]):
|
184
183
|
pulumi.set(self, "custom_namespace_sync_rules", value)
|
185
184
|
|
186
|
-
@property
|
185
|
+
@_builtins.property
|
187
186
|
@pulumi.getter(name="enableAwsUsage")
|
188
|
-
def enable_aws_usage(self) -> Optional[pulumi.Input[
|
187
|
+
def enable_aws_usage(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
189
188
|
"""
|
190
189
|
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.
|
191
190
|
"""
|
192
191
|
return pulumi.get(self, "enable_aws_usage")
|
193
192
|
|
194
193
|
@enable_aws_usage.setter
|
195
|
-
def enable_aws_usage(self, value: Optional[pulumi.Input[
|
194
|
+
def enable_aws_usage(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
196
195
|
pulumi.set(self, "enable_aws_usage", value)
|
197
196
|
|
198
|
-
@property
|
197
|
+
@_builtins.property
|
199
198
|
@pulumi.getter(name="enableCheckLargeVolume")
|
200
|
-
def enable_check_large_volume(self) -> Optional[pulumi.Input[
|
199
|
+
def enable_check_large_volume(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
201
200
|
"""
|
202
201
|
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.
|
203
202
|
"""
|
204
203
|
return pulumi.get(self, "enable_check_large_volume")
|
205
204
|
|
206
205
|
@enable_check_large_volume.setter
|
207
|
-
def enable_check_large_volume(self, value: Optional[pulumi.Input[
|
206
|
+
def enable_check_large_volume(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
208
207
|
pulumi.set(self, "enable_check_large_volume", value)
|
209
208
|
|
210
|
-
@property
|
209
|
+
@_builtins.property
|
211
210
|
@pulumi.getter(name="enableLogsSync")
|
212
|
-
def enable_logs_sync(self) -> Optional[pulumi.Input[
|
211
|
+
def enable_logs_sync(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
213
212
|
"""
|
214
213
|
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.
|
215
214
|
"""
|
216
215
|
return pulumi.get(self, "enable_logs_sync")
|
217
216
|
|
218
217
|
@enable_logs_sync.setter
|
219
|
-
def enable_logs_sync(self, value: Optional[pulumi.Input[
|
218
|
+
def enable_logs_sync(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
220
219
|
pulumi.set(self, "enable_logs_sync", value)
|
221
220
|
|
222
|
-
@property
|
221
|
+
@_builtins.property
|
223
222
|
@pulumi.getter(name="externalId")
|
224
|
-
def external_id(self) -> Optional[pulumi.Input[
|
223
|
+
def external_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
225
224
|
"""
|
226
225
|
The `external_id` property from one of a `aws.ExternalIntegration` or `aws.TokenIntegration`
|
227
226
|
"""
|
228
227
|
return pulumi.get(self, "external_id")
|
229
228
|
|
230
229
|
@external_id.setter
|
231
|
-
def external_id(self, value: Optional[pulumi.Input[
|
230
|
+
def external_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
232
231
|
pulumi.set(self, "external_id", value)
|
233
232
|
|
234
|
-
@property
|
233
|
+
@_builtins.property
|
235
234
|
@pulumi.getter(name="importCloudWatch")
|
236
|
-
def import_cloud_watch(self) -> Optional[pulumi.Input[
|
235
|
+
def import_cloud_watch(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
237
236
|
"""
|
238
237
|
Flag that controls how Splunk Observability Cloud imports Cloud Watch metrics. If true, Splunk Observability Cloud imports Cloud Watch metrics from AWS.
|
239
238
|
"""
|
240
239
|
return pulumi.get(self, "import_cloud_watch")
|
241
240
|
|
242
241
|
@import_cloud_watch.setter
|
243
|
-
def import_cloud_watch(self, value: Optional[pulumi.Input[
|
242
|
+
def import_cloud_watch(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
244
243
|
pulumi.set(self, "import_cloud_watch", value)
|
245
244
|
|
246
|
-
@property
|
245
|
+
@_builtins.property
|
247
246
|
@pulumi.getter
|
248
|
-
def key(self) -> Optional[pulumi.Input[
|
247
|
+
def key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
249
248
|
"""
|
250
249
|
If you specify `auth_method = \\"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).
|
251
250
|
"""
|
252
251
|
return pulumi.get(self, "key")
|
253
252
|
|
254
253
|
@key.setter
|
255
|
-
def key(self, value: Optional[pulumi.Input[
|
254
|
+
def key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
256
255
|
pulumi.set(self, "key", value)
|
257
256
|
|
258
|
-
@property
|
257
|
+
@_builtins.property
|
259
258
|
@pulumi.getter(name="metricStatsToSyncs")
|
260
259
|
def metric_stats_to_syncs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationMetricStatsToSyncArgs']]]]:
|
261
260
|
"""
|
@@ -267,31 +266,31 @@ class IntegrationArgs:
|
|
267
266
|
def metric_stats_to_syncs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationMetricStatsToSyncArgs']]]]):
|
268
267
|
pulumi.set(self, "metric_stats_to_syncs", value)
|
269
268
|
|
270
|
-
@property
|
269
|
+
@_builtins.property
|
271
270
|
@pulumi.getter(name="metricStreamsManagedExternally")
|
272
|
-
def metric_streams_managed_externally(self) -> Optional[pulumi.Input[
|
271
|
+
def metric_streams_managed_externally(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
273
272
|
"""
|
274
273
|
If set to true, Splunk Observability Cloud accepts data from Metric Streams managed from the AWS console. The AWS account sending the Metric Streams and the AWS account in the Splunk Observability Cloud integration have to match. Requires `use_metric_streams_sync` set to true to work.
|
275
274
|
"""
|
276
275
|
return pulumi.get(self, "metric_streams_managed_externally")
|
277
276
|
|
278
277
|
@metric_streams_managed_externally.setter
|
279
|
-
def metric_streams_managed_externally(self, value: Optional[pulumi.Input[
|
278
|
+
def metric_streams_managed_externally(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
280
279
|
pulumi.set(self, "metric_streams_managed_externally", value)
|
281
280
|
|
282
|
-
@property
|
281
|
+
@_builtins.property
|
283
282
|
@pulumi.getter(name="namedToken")
|
284
|
-
def named_token(self) -> Optional[pulumi.Input[
|
283
|
+
def named_token(self) -> Optional[pulumi.Input[_builtins.str]]:
|
285
284
|
"""
|
286
285
|
Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
287
286
|
"""
|
288
287
|
return pulumi.get(self, "named_token")
|
289
288
|
|
290
289
|
@named_token.setter
|
291
|
-
def named_token(self, value: Optional[pulumi.Input[
|
290
|
+
def named_token(self, value: Optional[pulumi.Input[_builtins.str]]):
|
292
291
|
pulumi.set(self, "named_token", value)
|
293
292
|
|
294
|
-
@property
|
293
|
+
@_builtins.property
|
295
294
|
@pulumi.getter(name="namespaceSyncRules")
|
296
295
|
def namespace_sync_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationNamespaceSyncRuleArgs']]]]:
|
297
296
|
"""
|
@@ -303,133 +302,133 @@ class IntegrationArgs:
|
|
303
302
|
def namespace_sync_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationNamespaceSyncRuleArgs']]]]):
|
304
303
|
pulumi.set(self, "namespace_sync_rules", value)
|
305
304
|
|
306
|
-
@property
|
305
|
+
@_builtins.property
|
307
306
|
@pulumi.getter(name="pollRate")
|
308
|
-
def poll_rate(self) -> Optional[pulumi.Input[
|
307
|
+
def poll_rate(self) -> Optional[pulumi.Input[_builtins.int]]:
|
309
308
|
"""
|
310
309
|
AWS poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
311
310
|
"""
|
312
311
|
return pulumi.get(self, "poll_rate")
|
313
312
|
|
314
313
|
@poll_rate.setter
|
315
|
-
def poll_rate(self, value: Optional[pulumi.Input[
|
314
|
+
def poll_rate(self, value: Optional[pulumi.Input[_builtins.int]]):
|
316
315
|
pulumi.set(self, "poll_rate", value)
|
317
316
|
|
318
|
-
@property
|
317
|
+
@_builtins.property
|
319
318
|
@pulumi.getter(name="roleArn")
|
320
|
-
def role_arn(self) -> Optional[pulumi.Input[
|
319
|
+
def role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
321
320
|
"""
|
322
321
|
Role ARN that you add to an existing AWS integration object. **Note**: Ensure you use the `arn` property of your role, not the id!
|
323
322
|
"""
|
324
323
|
return pulumi.get(self, "role_arn")
|
325
324
|
|
326
325
|
@role_arn.setter
|
327
|
-
def role_arn(self, value: Optional[pulumi.Input[
|
326
|
+
def role_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
328
327
|
pulumi.set(self, "role_arn", value)
|
329
328
|
|
330
|
-
@property
|
329
|
+
@_builtins.property
|
331
330
|
@pulumi.getter
|
332
|
-
def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
331
|
+
def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
333
332
|
"""
|
334
333
|
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 `namespace_sync_rule`. See [Amazon Web Services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#amazon-web-services) for a list of valid values.
|
335
334
|
"""
|
336
335
|
return pulumi.get(self, "services")
|
337
336
|
|
338
337
|
@services.setter
|
339
|
-
def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
338
|
+
def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
340
339
|
pulumi.set(self, "services", value)
|
341
340
|
|
342
|
-
@property
|
341
|
+
@_builtins.property
|
343
342
|
@pulumi.getter(name="syncCustomNamespacesOnly")
|
344
|
-
def sync_custom_namespaces_only(self) -> Optional[pulumi.Input[
|
343
|
+
def sync_custom_namespaces_only(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
345
344
|
"""
|
346
345
|
Indicates that Splunk Observability Cloud should sync metrics and metadata from custom AWS namespaces only (see the `custom_namespace_sync_rule` above). Defaults to `false`.
|
347
346
|
"""
|
348
347
|
return pulumi.get(self, "sync_custom_namespaces_only")
|
349
348
|
|
350
349
|
@sync_custom_namespaces_only.setter
|
351
|
-
def sync_custom_namespaces_only(self, value: Optional[pulumi.Input[
|
350
|
+
def sync_custom_namespaces_only(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
352
351
|
pulumi.set(self, "sync_custom_namespaces_only", value)
|
353
352
|
|
354
|
-
@property
|
353
|
+
@_builtins.property
|
355
354
|
@pulumi.getter
|
356
|
-
def token(self) -> Optional[pulumi.Input[
|
355
|
+
def token(self) -> Optional[pulumi.Input[_builtins.str]]:
|
357
356
|
"""
|
358
357
|
If you specify `auth_method = \\"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).
|
359
358
|
"""
|
360
359
|
return pulumi.get(self, "token")
|
361
360
|
|
362
361
|
@token.setter
|
363
|
-
def token(self, value: Optional[pulumi.Input[
|
362
|
+
def token(self, value: Optional[pulumi.Input[_builtins.str]]):
|
364
363
|
pulumi.set(self, "token", value)
|
365
364
|
|
366
|
-
@property
|
365
|
+
@_builtins.property
|
367
366
|
@pulumi.getter(name="useMetricStreamsSync")
|
368
|
-
def use_metric_streams_sync(self) -> Optional[pulumi.Input[
|
367
|
+
def use_metric_streams_sync(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
369
368
|
"""
|
370
369
|
Enable the use of Amazon Cloudwatch Metric Streams for ingesting metrics.<br> Note that this requires the inclusion of `"cloudwatch:ListMetricStreams"`,`"cloudwatch:GetMetricStream"`, `"cloudwatch:PutMetricStream"`, `"cloudwatch:DeleteMetricStream"`, `"cloudwatch:StartMetricStreams"`, `"cloudwatch:StopMetricStreams"` and `"iam:PassRole"` permissions.<br> 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.
|
371
370
|
"""
|
372
371
|
return pulumi.get(self, "use_metric_streams_sync")
|
373
372
|
|
374
373
|
@use_metric_streams_sync.setter
|
375
|
-
def use_metric_streams_sync(self, value: Optional[pulumi.Input[
|
374
|
+
def use_metric_streams_sync(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
376
375
|
pulumi.set(self, "use_metric_streams_sync", value)
|
377
376
|
|
378
377
|
|
379
378
|
@pulumi.input_type
|
380
379
|
class _IntegrationState:
|
381
380
|
def __init__(__self__, *,
|
382
|
-
auth_method: Optional[pulumi.Input[
|
383
|
-
collect_only_recommended_stats: Optional[pulumi.Input[
|
384
|
-
custom_cloudwatch_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[
|
381
|
+
auth_method: Optional[pulumi.Input[_builtins.str]] = None,
|
382
|
+
collect_only_recommended_stats: Optional[pulumi.Input[_builtins.bool]] = None,
|
383
|
+
custom_cloudwatch_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
385
384
|
custom_namespace_sync_rules: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationCustomNamespaceSyncRuleArgs']]]] = None,
|
386
|
-
enable_aws_usage: Optional[pulumi.Input[
|
387
|
-
enable_check_large_volume: Optional[pulumi.Input[
|
388
|
-
enable_logs_sync: Optional[pulumi.Input[
|
389
|
-
enabled: Optional[pulumi.Input[
|
390
|
-
external_id: Optional[pulumi.Input[
|
391
|
-
import_cloud_watch: Optional[pulumi.Input[
|
392
|
-
integration_id: Optional[pulumi.Input[
|
393
|
-
key: Optional[pulumi.Input[
|
385
|
+
enable_aws_usage: Optional[pulumi.Input[_builtins.bool]] = None,
|
386
|
+
enable_check_large_volume: Optional[pulumi.Input[_builtins.bool]] = None,
|
387
|
+
enable_logs_sync: Optional[pulumi.Input[_builtins.bool]] = None,
|
388
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
389
|
+
external_id: Optional[pulumi.Input[_builtins.str]] = None,
|
390
|
+
import_cloud_watch: Optional[pulumi.Input[_builtins.bool]] = None,
|
391
|
+
integration_id: Optional[pulumi.Input[_builtins.str]] = None,
|
392
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
394
393
|
metric_stats_to_syncs: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationMetricStatsToSyncArgs']]]] = None,
|
395
|
-
metric_streams_managed_externally: Optional[pulumi.Input[
|
396
|
-
name: Optional[pulumi.Input[
|
397
|
-
named_token: Optional[pulumi.Input[
|
394
|
+
metric_streams_managed_externally: Optional[pulumi.Input[_builtins.bool]] = None,
|
395
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
396
|
+
named_token: Optional[pulumi.Input[_builtins.str]] = None,
|
398
397
|
namespace_sync_rules: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationNamespaceSyncRuleArgs']]]] = None,
|
399
|
-
poll_rate: Optional[pulumi.Input[
|
400
|
-
regions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
401
|
-
role_arn: Optional[pulumi.Input[
|
402
|
-
services: Optional[pulumi.Input[Sequence[pulumi.Input[
|
403
|
-
sync_custom_namespaces_only: Optional[pulumi.Input[
|
404
|
-
token: Optional[pulumi.Input[
|
405
|
-
use_metric_streams_sync: Optional[pulumi.Input[
|
398
|
+
poll_rate: Optional[pulumi.Input[_builtins.int]] = None,
|
399
|
+
regions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
400
|
+
role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
401
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
402
|
+
sync_custom_namespaces_only: Optional[pulumi.Input[_builtins.bool]] = None,
|
403
|
+
token: Optional[pulumi.Input[_builtins.str]] = None,
|
404
|
+
use_metric_streams_sync: Optional[pulumi.Input[_builtins.bool]] = None):
|
406
405
|
"""
|
407
406
|
Input properties used for looking up and filtering Integration resources.
|
408
|
-
:param pulumi.Input[
|
407
|
+
:param pulumi.Input[_builtins.str] auth_method: The mechanism used to authenticate with AWS. Use one of `aws.ExternalIntegration` or `aws.TokenIntegration` to define
|
409
408
|
this
|
410
|
-
:param pulumi.Input[
|
411
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
409
|
+
:param pulumi.Input[_builtins.bool] collect_only_recommended_stats: The integration will only ingest the recommended statistics published by AWS
|
410
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] custom_cloudwatch_namespaces: 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.
|
412
411
|
:param pulumi.Input[Sequence[pulumi.Input['IntegrationCustomNamespaceSyncRuleArgs']]] custom_namespace_sync_rules: Each element controls the data collected by Splunk Observability Cloud for the specified namespace. Conflicts with the `custom_cloudwatch_namespaces` property.
|
413
|
-
:param pulumi.Input[
|
414
|
-
:param pulumi.Input[
|
415
|
-
:param pulumi.Input[
|
416
|
-
:param pulumi.Input[
|
417
|
-
:param pulumi.Input[
|
418
|
-
:param pulumi.Input[
|
419
|
-
:param pulumi.Input[
|
420
|
-
:param pulumi.Input[
|
412
|
+
:param pulumi.Input[_builtins.bool] enable_aws_usage: 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.
|
413
|
+
:param pulumi.Input[_builtins.bool] enable_check_large_volume: 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.
|
414
|
+
:param pulumi.Input[_builtins.bool] enable_logs_sync: 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.
|
415
|
+
:param pulumi.Input[_builtins.bool] enabled: Whether the integration is enabled.
|
416
|
+
:param pulumi.Input[_builtins.str] external_id: The `external_id` property from one of a `aws.ExternalIntegration` or `aws.TokenIntegration`
|
417
|
+
:param pulumi.Input[_builtins.bool] import_cloud_watch: Flag that controls how Splunk Observability Cloud imports Cloud Watch metrics. If true, Splunk Observability Cloud imports Cloud Watch metrics from AWS.
|
418
|
+
:param pulumi.Input[_builtins.str] integration_id: The id of one of a `aws.ExternalIntegration` or `aws.TokenIntegration`.
|
419
|
+
:param pulumi.Input[_builtins.str] key: If you specify `auth_method = \\"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).
|
421
420
|
:param pulumi.Input[Sequence[pulumi.Input['IntegrationMetricStatsToSyncArgs']]] metric_stats_to_syncs: 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.
|
422
|
-
:param pulumi.Input[
|
423
|
-
:param pulumi.Input[
|
424
|
-
:param pulumi.Input[
|
421
|
+
:param pulumi.Input[_builtins.bool] metric_streams_managed_externally: If set to true, Splunk Observability Cloud accepts data from Metric Streams managed from the AWS console. The AWS account sending the Metric Streams and the AWS account in the Splunk Observability Cloud integration have to match. Requires `use_metric_streams_sync` set to true to work.
|
422
|
+
:param pulumi.Input[_builtins.str] name: Name of the integration.
|
423
|
+
:param pulumi.Input[_builtins.str] named_token: Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
425
424
|
:param pulumi.Input[Sequence[pulumi.Input['IntegrationNamespaceSyncRuleArgs']]] namespace_sync_rules: 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.
|
426
|
-
:param pulumi.Input[
|
427
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
428
|
-
:param pulumi.Input[
|
429
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
430
|
-
:param pulumi.Input[
|
431
|
-
:param pulumi.Input[
|
432
|
-
:param pulumi.Input[
|
425
|
+
:param pulumi.Input[_builtins.int] poll_rate: AWS poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
426
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] regions: List of AWS regions that Splunk Observability Cloud should monitor. It cannot be empty.
|
427
|
+
:param pulumi.Input[_builtins.str] role_arn: Role ARN that you add to an existing AWS integration object. **Note**: Ensure you use the `arn` property of your role, not the id!
|
428
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] services: 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 `namespace_sync_rule`. See [Amazon Web Services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#amazon-web-services) for a list of valid values.
|
429
|
+
:param pulumi.Input[_builtins.bool] sync_custom_namespaces_only: Indicates that Splunk Observability Cloud should sync metrics and metadata from custom AWS namespaces only (see the `custom_namespace_sync_rule` above). Defaults to `false`.
|
430
|
+
:param pulumi.Input[_builtins.str] token: If you specify `auth_method = \\"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).
|
431
|
+
:param pulumi.Input[_builtins.bool] use_metric_streams_sync: Enable the use of Amazon Cloudwatch Metric Streams for ingesting metrics.<br> Note that this requires the inclusion of `"cloudwatch:ListMetricStreams"`,`"cloudwatch:GetMetricStream"`, `"cloudwatch:PutMetricStream"`, `"cloudwatch:DeleteMetricStream"`, `"cloudwatch:StartMetricStreams"`, `"cloudwatch:StopMetricStreams"` and `"iam:PassRole"` permissions.<br> 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.
|
433
432
|
"""
|
434
433
|
if auth_method is not None:
|
435
434
|
pulumi.set(__self__, "auth_method", auth_method)
|
@@ -480,9 +479,9 @@ class _IntegrationState:
|
|
480
479
|
if use_metric_streams_sync is not None:
|
481
480
|
pulumi.set(__self__, "use_metric_streams_sync", use_metric_streams_sync)
|
482
481
|
|
483
|
-
@property
|
482
|
+
@_builtins.property
|
484
483
|
@pulumi.getter(name="authMethod")
|
485
|
-
def auth_method(self) -> Optional[pulumi.Input[
|
484
|
+
def auth_method(self) -> Optional[pulumi.Input[_builtins.str]]:
|
486
485
|
"""
|
487
486
|
The mechanism used to authenticate with AWS. Use one of `aws.ExternalIntegration` or `aws.TokenIntegration` to define
|
488
487
|
this
|
@@ -490,34 +489,34 @@ class _IntegrationState:
|
|
490
489
|
return pulumi.get(self, "auth_method")
|
491
490
|
|
492
491
|
@auth_method.setter
|
493
|
-
def auth_method(self, value: Optional[pulumi.Input[
|
492
|
+
def auth_method(self, value: Optional[pulumi.Input[_builtins.str]]):
|
494
493
|
pulumi.set(self, "auth_method", value)
|
495
494
|
|
496
|
-
@property
|
495
|
+
@_builtins.property
|
497
496
|
@pulumi.getter(name="collectOnlyRecommendedStats")
|
498
|
-
def collect_only_recommended_stats(self) -> Optional[pulumi.Input[
|
497
|
+
def collect_only_recommended_stats(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
499
498
|
"""
|
500
499
|
The integration will only ingest the recommended statistics published by AWS
|
501
500
|
"""
|
502
501
|
return pulumi.get(self, "collect_only_recommended_stats")
|
503
502
|
|
504
503
|
@collect_only_recommended_stats.setter
|
505
|
-
def collect_only_recommended_stats(self, value: Optional[pulumi.Input[
|
504
|
+
def collect_only_recommended_stats(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
506
505
|
pulumi.set(self, "collect_only_recommended_stats", value)
|
507
506
|
|
508
|
-
@property
|
507
|
+
@_builtins.property
|
509
508
|
@pulumi.getter(name="customCloudwatchNamespaces")
|
510
|
-
def custom_cloudwatch_namespaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
509
|
+
def custom_cloudwatch_namespaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
511
510
|
"""
|
512
511
|
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.
|
513
512
|
"""
|
514
513
|
return pulumi.get(self, "custom_cloudwatch_namespaces")
|
515
514
|
|
516
515
|
@custom_cloudwatch_namespaces.setter
|
517
|
-
def custom_cloudwatch_namespaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
516
|
+
def custom_cloudwatch_namespaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
518
517
|
pulumi.set(self, "custom_cloudwatch_namespaces", value)
|
519
518
|
|
520
|
-
@property
|
519
|
+
@_builtins.property
|
521
520
|
@pulumi.getter(name="customNamespaceSyncRules")
|
522
521
|
def custom_namespace_sync_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationCustomNamespaceSyncRuleArgs']]]]:
|
523
522
|
"""
|
@@ -529,103 +528,103 @@ class _IntegrationState:
|
|
529
528
|
def custom_namespace_sync_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationCustomNamespaceSyncRuleArgs']]]]):
|
530
529
|
pulumi.set(self, "custom_namespace_sync_rules", value)
|
531
530
|
|
532
|
-
@property
|
531
|
+
@_builtins.property
|
533
532
|
@pulumi.getter(name="enableAwsUsage")
|
534
|
-
def enable_aws_usage(self) -> Optional[pulumi.Input[
|
533
|
+
def enable_aws_usage(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
535
534
|
"""
|
536
535
|
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.
|
537
536
|
"""
|
538
537
|
return pulumi.get(self, "enable_aws_usage")
|
539
538
|
|
540
539
|
@enable_aws_usage.setter
|
541
|
-
def enable_aws_usage(self, value: Optional[pulumi.Input[
|
540
|
+
def enable_aws_usage(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
542
541
|
pulumi.set(self, "enable_aws_usage", value)
|
543
542
|
|
544
|
-
@property
|
543
|
+
@_builtins.property
|
545
544
|
@pulumi.getter(name="enableCheckLargeVolume")
|
546
|
-
def enable_check_large_volume(self) -> Optional[pulumi.Input[
|
545
|
+
def enable_check_large_volume(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
547
546
|
"""
|
548
547
|
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.
|
549
548
|
"""
|
550
549
|
return pulumi.get(self, "enable_check_large_volume")
|
551
550
|
|
552
551
|
@enable_check_large_volume.setter
|
553
|
-
def enable_check_large_volume(self, value: Optional[pulumi.Input[
|
552
|
+
def enable_check_large_volume(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
554
553
|
pulumi.set(self, "enable_check_large_volume", value)
|
555
554
|
|
556
|
-
@property
|
555
|
+
@_builtins.property
|
557
556
|
@pulumi.getter(name="enableLogsSync")
|
558
|
-
def enable_logs_sync(self) -> Optional[pulumi.Input[
|
557
|
+
def enable_logs_sync(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
559
558
|
"""
|
560
559
|
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.
|
561
560
|
"""
|
562
561
|
return pulumi.get(self, "enable_logs_sync")
|
563
562
|
|
564
563
|
@enable_logs_sync.setter
|
565
|
-
def enable_logs_sync(self, value: Optional[pulumi.Input[
|
564
|
+
def enable_logs_sync(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
566
565
|
pulumi.set(self, "enable_logs_sync", value)
|
567
566
|
|
568
|
-
@property
|
567
|
+
@_builtins.property
|
569
568
|
@pulumi.getter
|
570
|
-
def enabled(self) -> Optional[pulumi.Input[
|
569
|
+
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
571
570
|
"""
|
572
571
|
Whether the integration is enabled.
|
573
572
|
"""
|
574
573
|
return pulumi.get(self, "enabled")
|
575
574
|
|
576
575
|
@enabled.setter
|
577
|
-
def enabled(self, value: Optional[pulumi.Input[
|
576
|
+
def enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
578
577
|
pulumi.set(self, "enabled", value)
|
579
578
|
|
580
|
-
@property
|
579
|
+
@_builtins.property
|
581
580
|
@pulumi.getter(name="externalId")
|
582
|
-
def external_id(self) -> Optional[pulumi.Input[
|
581
|
+
def external_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
583
582
|
"""
|
584
583
|
The `external_id` property from one of a `aws.ExternalIntegration` or `aws.TokenIntegration`
|
585
584
|
"""
|
586
585
|
return pulumi.get(self, "external_id")
|
587
586
|
|
588
587
|
@external_id.setter
|
589
|
-
def external_id(self, value: Optional[pulumi.Input[
|
588
|
+
def external_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
590
589
|
pulumi.set(self, "external_id", value)
|
591
590
|
|
592
|
-
@property
|
591
|
+
@_builtins.property
|
593
592
|
@pulumi.getter(name="importCloudWatch")
|
594
|
-
def import_cloud_watch(self) -> Optional[pulumi.Input[
|
593
|
+
def import_cloud_watch(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
595
594
|
"""
|
596
595
|
Flag that controls how Splunk Observability Cloud imports Cloud Watch metrics. If true, Splunk Observability Cloud imports Cloud Watch metrics from AWS.
|
597
596
|
"""
|
598
597
|
return pulumi.get(self, "import_cloud_watch")
|
599
598
|
|
600
599
|
@import_cloud_watch.setter
|
601
|
-
def import_cloud_watch(self, value: Optional[pulumi.Input[
|
600
|
+
def import_cloud_watch(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
602
601
|
pulumi.set(self, "import_cloud_watch", value)
|
603
602
|
|
604
|
-
@property
|
603
|
+
@_builtins.property
|
605
604
|
@pulumi.getter(name="integrationId")
|
606
|
-
def integration_id(self) -> Optional[pulumi.Input[
|
605
|
+
def integration_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
607
606
|
"""
|
608
607
|
The id of one of a `aws.ExternalIntegration` or `aws.TokenIntegration`.
|
609
608
|
"""
|
610
609
|
return pulumi.get(self, "integration_id")
|
611
610
|
|
612
611
|
@integration_id.setter
|
613
|
-
def integration_id(self, value: Optional[pulumi.Input[
|
612
|
+
def integration_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
614
613
|
pulumi.set(self, "integration_id", value)
|
615
614
|
|
616
|
-
@property
|
615
|
+
@_builtins.property
|
617
616
|
@pulumi.getter
|
618
|
-
def key(self) -> Optional[pulumi.Input[
|
617
|
+
def key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
619
618
|
"""
|
620
619
|
If you specify `auth_method = \\"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).
|
621
620
|
"""
|
622
621
|
return pulumi.get(self, "key")
|
623
622
|
|
624
623
|
@key.setter
|
625
|
-
def key(self, value: Optional[pulumi.Input[
|
624
|
+
def key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
626
625
|
pulumi.set(self, "key", value)
|
627
626
|
|
628
|
-
@property
|
627
|
+
@_builtins.property
|
629
628
|
@pulumi.getter(name="metricStatsToSyncs")
|
630
629
|
def metric_stats_to_syncs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationMetricStatsToSyncArgs']]]]:
|
631
630
|
"""
|
@@ -637,43 +636,43 @@ class _IntegrationState:
|
|
637
636
|
def metric_stats_to_syncs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationMetricStatsToSyncArgs']]]]):
|
638
637
|
pulumi.set(self, "metric_stats_to_syncs", value)
|
639
638
|
|
640
|
-
@property
|
639
|
+
@_builtins.property
|
641
640
|
@pulumi.getter(name="metricStreamsManagedExternally")
|
642
|
-
def metric_streams_managed_externally(self) -> Optional[pulumi.Input[
|
641
|
+
def metric_streams_managed_externally(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
643
642
|
"""
|
644
643
|
If set to true, Splunk Observability Cloud accepts data from Metric Streams managed from the AWS console. The AWS account sending the Metric Streams and the AWS account in the Splunk Observability Cloud integration have to match. Requires `use_metric_streams_sync` set to true to work.
|
645
644
|
"""
|
646
645
|
return pulumi.get(self, "metric_streams_managed_externally")
|
647
646
|
|
648
647
|
@metric_streams_managed_externally.setter
|
649
|
-
def metric_streams_managed_externally(self, value: Optional[pulumi.Input[
|
648
|
+
def metric_streams_managed_externally(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
650
649
|
pulumi.set(self, "metric_streams_managed_externally", value)
|
651
650
|
|
652
|
-
@property
|
651
|
+
@_builtins.property
|
653
652
|
@pulumi.getter
|
654
|
-
def name(self) -> Optional[pulumi.Input[
|
653
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
655
654
|
"""
|
656
655
|
Name of the integration.
|
657
656
|
"""
|
658
657
|
return pulumi.get(self, "name")
|
659
658
|
|
660
659
|
@name.setter
|
661
|
-
def name(self, value: Optional[pulumi.Input[
|
660
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
662
661
|
pulumi.set(self, "name", value)
|
663
662
|
|
664
|
-
@property
|
663
|
+
@_builtins.property
|
665
664
|
@pulumi.getter(name="namedToken")
|
666
|
-
def named_token(self) -> Optional[pulumi.Input[
|
665
|
+
def named_token(self) -> Optional[pulumi.Input[_builtins.str]]:
|
667
666
|
"""
|
668
667
|
Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
669
668
|
"""
|
670
669
|
return pulumi.get(self, "named_token")
|
671
670
|
|
672
671
|
@named_token.setter
|
673
|
-
def named_token(self, value: Optional[pulumi.Input[
|
672
|
+
def named_token(self, value: Optional[pulumi.Input[_builtins.str]]):
|
674
673
|
pulumi.set(self, "named_token", value)
|
675
674
|
|
676
|
-
@property
|
675
|
+
@_builtins.property
|
677
676
|
@pulumi.getter(name="namespaceSyncRules")
|
678
677
|
def namespace_sync_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationNamespaceSyncRuleArgs']]]]:
|
679
678
|
"""
|
@@ -685,88 +684,88 @@ class _IntegrationState:
|
|
685
684
|
def namespace_sync_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationNamespaceSyncRuleArgs']]]]):
|
686
685
|
pulumi.set(self, "namespace_sync_rules", value)
|
687
686
|
|
688
|
-
@property
|
687
|
+
@_builtins.property
|
689
688
|
@pulumi.getter(name="pollRate")
|
690
|
-
def poll_rate(self) -> Optional[pulumi.Input[
|
689
|
+
def poll_rate(self) -> Optional[pulumi.Input[_builtins.int]]:
|
691
690
|
"""
|
692
691
|
AWS poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
693
692
|
"""
|
694
693
|
return pulumi.get(self, "poll_rate")
|
695
694
|
|
696
695
|
@poll_rate.setter
|
697
|
-
def poll_rate(self, value: Optional[pulumi.Input[
|
696
|
+
def poll_rate(self, value: Optional[pulumi.Input[_builtins.int]]):
|
698
697
|
pulumi.set(self, "poll_rate", value)
|
699
698
|
|
700
|
-
@property
|
699
|
+
@_builtins.property
|
701
700
|
@pulumi.getter
|
702
|
-
def regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
701
|
+
def regions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
703
702
|
"""
|
704
703
|
List of AWS regions that Splunk Observability Cloud should monitor. It cannot be empty.
|
705
704
|
"""
|
706
705
|
return pulumi.get(self, "regions")
|
707
706
|
|
708
707
|
@regions.setter
|
709
|
-
def regions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
708
|
+
def regions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
710
709
|
pulumi.set(self, "regions", value)
|
711
710
|
|
712
|
-
@property
|
711
|
+
@_builtins.property
|
713
712
|
@pulumi.getter(name="roleArn")
|
714
|
-
def role_arn(self) -> Optional[pulumi.Input[
|
713
|
+
def role_arn(self) -> Optional[pulumi.Input[_builtins.str]]:
|
715
714
|
"""
|
716
715
|
Role ARN that you add to an existing AWS integration object. **Note**: Ensure you use the `arn` property of your role, not the id!
|
717
716
|
"""
|
718
717
|
return pulumi.get(self, "role_arn")
|
719
718
|
|
720
719
|
@role_arn.setter
|
721
|
-
def role_arn(self, value: Optional[pulumi.Input[
|
720
|
+
def role_arn(self, value: Optional[pulumi.Input[_builtins.str]]):
|
722
721
|
pulumi.set(self, "role_arn", value)
|
723
722
|
|
724
|
-
@property
|
723
|
+
@_builtins.property
|
725
724
|
@pulumi.getter
|
726
|
-
def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
725
|
+
def services(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
727
726
|
"""
|
728
727
|
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 `namespace_sync_rule`. See [Amazon Web Services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#amazon-web-services) for a list of valid values.
|
729
728
|
"""
|
730
729
|
return pulumi.get(self, "services")
|
731
730
|
|
732
731
|
@services.setter
|
733
|
-
def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
732
|
+
def services(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
734
733
|
pulumi.set(self, "services", value)
|
735
734
|
|
736
|
-
@property
|
735
|
+
@_builtins.property
|
737
736
|
@pulumi.getter(name="syncCustomNamespacesOnly")
|
738
|
-
def sync_custom_namespaces_only(self) -> Optional[pulumi.Input[
|
737
|
+
def sync_custom_namespaces_only(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
739
738
|
"""
|
740
739
|
Indicates that Splunk Observability Cloud should sync metrics and metadata from custom AWS namespaces only (see the `custom_namespace_sync_rule` above). Defaults to `false`.
|
741
740
|
"""
|
742
741
|
return pulumi.get(self, "sync_custom_namespaces_only")
|
743
742
|
|
744
743
|
@sync_custom_namespaces_only.setter
|
745
|
-
def sync_custom_namespaces_only(self, value: Optional[pulumi.Input[
|
744
|
+
def sync_custom_namespaces_only(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
746
745
|
pulumi.set(self, "sync_custom_namespaces_only", value)
|
747
746
|
|
748
|
-
@property
|
747
|
+
@_builtins.property
|
749
748
|
@pulumi.getter
|
750
|
-
def token(self) -> Optional[pulumi.Input[
|
749
|
+
def token(self) -> Optional[pulumi.Input[_builtins.str]]:
|
751
750
|
"""
|
752
751
|
If you specify `auth_method = \\"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).
|
753
752
|
"""
|
754
753
|
return pulumi.get(self, "token")
|
755
754
|
|
756
755
|
@token.setter
|
757
|
-
def token(self, value: Optional[pulumi.Input[
|
756
|
+
def token(self, value: Optional[pulumi.Input[_builtins.str]]):
|
758
757
|
pulumi.set(self, "token", value)
|
759
758
|
|
760
|
-
@property
|
759
|
+
@_builtins.property
|
761
760
|
@pulumi.getter(name="useMetricStreamsSync")
|
762
|
-
def use_metric_streams_sync(self) -> Optional[pulumi.Input[
|
761
|
+
def use_metric_streams_sync(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
763
762
|
"""
|
764
763
|
Enable the use of Amazon Cloudwatch Metric Streams for ingesting metrics.<br> Note that this requires the inclusion of `"cloudwatch:ListMetricStreams"`,`"cloudwatch:GetMetricStream"`, `"cloudwatch:PutMetricStream"`, `"cloudwatch:DeleteMetricStream"`, `"cloudwatch:StartMetricStreams"`, `"cloudwatch:StopMetricStreams"` and `"iam:PassRole"` permissions.<br> 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.
|
765
764
|
"""
|
766
765
|
return pulumi.get(self, "use_metric_streams_sync")
|
767
766
|
|
768
767
|
@use_metric_streams_sync.setter
|
769
|
-
def use_metric_streams_sync(self, value: Optional[pulumi.Input[
|
768
|
+
def use_metric_streams_sync(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
770
769
|
pulumi.set(self, "use_metric_streams_sync", value)
|
771
770
|
|
772
771
|
|
@@ -776,28 +775,28 @@ class Integration(pulumi.CustomResource):
|
|
776
775
|
def __init__(__self__,
|
777
776
|
resource_name: str,
|
778
777
|
opts: Optional[pulumi.ResourceOptions] = None,
|
779
|
-
collect_only_recommended_stats: Optional[pulumi.Input[
|
780
|
-
custom_cloudwatch_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[
|
778
|
+
collect_only_recommended_stats: Optional[pulumi.Input[_builtins.bool]] = None,
|
779
|
+
custom_cloudwatch_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
781
780
|
custom_namespace_sync_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationCustomNamespaceSyncRuleArgs', 'IntegrationCustomNamespaceSyncRuleArgsDict']]]]] = None,
|
782
|
-
enable_aws_usage: Optional[pulumi.Input[
|
783
|
-
enable_check_large_volume: Optional[pulumi.Input[
|
784
|
-
enable_logs_sync: Optional[pulumi.Input[
|
785
|
-
enabled: Optional[pulumi.Input[
|
786
|
-
external_id: Optional[pulumi.Input[
|
787
|
-
import_cloud_watch: Optional[pulumi.Input[
|
788
|
-
integration_id: Optional[pulumi.Input[
|
789
|
-
key: Optional[pulumi.Input[
|
781
|
+
enable_aws_usage: Optional[pulumi.Input[_builtins.bool]] = None,
|
782
|
+
enable_check_large_volume: Optional[pulumi.Input[_builtins.bool]] = None,
|
783
|
+
enable_logs_sync: Optional[pulumi.Input[_builtins.bool]] = None,
|
784
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
785
|
+
external_id: Optional[pulumi.Input[_builtins.str]] = None,
|
786
|
+
import_cloud_watch: Optional[pulumi.Input[_builtins.bool]] = None,
|
787
|
+
integration_id: Optional[pulumi.Input[_builtins.str]] = None,
|
788
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
790
789
|
metric_stats_to_syncs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationMetricStatsToSyncArgs', 'IntegrationMetricStatsToSyncArgsDict']]]]] = None,
|
791
|
-
metric_streams_managed_externally: Optional[pulumi.Input[
|
792
|
-
named_token: Optional[pulumi.Input[
|
790
|
+
metric_streams_managed_externally: Optional[pulumi.Input[_builtins.bool]] = None,
|
791
|
+
named_token: Optional[pulumi.Input[_builtins.str]] = None,
|
793
792
|
namespace_sync_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationNamespaceSyncRuleArgs', 'IntegrationNamespaceSyncRuleArgsDict']]]]] = None,
|
794
|
-
poll_rate: Optional[pulumi.Input[
|
795
|
-
regions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
796
|
-
role_arn: Optional[pulumi.Input[
|
797
|
-
services: Optional[pulumi.Input[Sequence[pulumi.Input[
|
798
|
-
sync_custom_namespaces_only: Optional[pulumi.Input[
|
799
|
-
token: Optional[pulumi.Input[
|
800
|
-
use_metric_streams_sync: Optional[pulumi.Input[
|
793
|
+
poll_rate: Optional[pulumi.Input[_builtins.int]] = None,
|
794
|
+
regions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
795
|
+
role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
796
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
797
|
+
sync_custom_namespaces_only: Optional[pulumi.Input[_builtins.bool]] = None,
|
798
|
+
token: Optional[pulumi.Input[_builtins.str]] = None,
|
799
|
+
use_metric_streams_sync: Optional[pulumi.Input[_builtins.bool]] = None,
|
801
800
|
__props__=None):
|
802
801
|
"""
|
803
802
|
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).
|
@@ -847,28 +846,28 @@ class Integration(pulumi.CustomResource):
|
|
847
846
|
|
848
847
|
:param str resource_name: The name of the resource.
|
849
848
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
850
|
-
:param pulumi.Input[
|
851
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
849
|
+
:param pulumi.Input[_builtins.bool] collect_only_recommended_stats: The integration will only ingest the recommended statistics published by AWS
|
850
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] custom_cloudwatch_namespaces: 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.
|
852
851
|
:param pulumi.Input[Sequence[pulumi.Input[Union['IntegrationCustomNamespaceSyncRuleArgs', 'IntegrationCustomNamespaceSyncRuleArgsDict']]]] custom_namespace_sync_rules: Each element controls the data collected by Splunk Observability Cloud for the specified namespace. Conflicts with the `custom_cloudwatch_namespaces` property.
|
853
|
-
:param pulumi.Input[
|
854
|
-
:param pulumi.Input[
|
855
|
-
:param pulumi.Input[
|
856
|
-
:param pulumi.Input[
|
857
|
-
:param pulumi.Input[
|
858
|
-
:param pulumi.Input[
|
859
|
-
:param pulumi.Input[
|
860
|
-
:param pulumi.Input[
|
852
|
+
:param pulumi.Input[_builtins.bool] enable_aws_usage: 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.
|
853
|
+
:param pulumi.Input[_builtins.bool] enable_check_large_volume: 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.
|
854
|
+
:param pulumi.Input[_builtins.bool] enable_logs_sync: 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.
|
855
|
+
:param pulumi.Input[_builtins.bool] enabled: Whether the integration is enabled.
|
856
|
+
:param pulumi.Input[_builtins.str] external_id: The `external_id` property from one of a `aws.ExternalIntegration` or `aws.TokenIntegration`
|
857
|
+
:param pulumi.Input[_builtins.bool] import_cloud_watch: Flag that controls how Splunk Observability Cloud imports Cloud Watch metrics. If true, Splunk Observability Cloud imports Cloud Watch metrics from AWS.
|
858
|
+
:param pulumi.Input[_builtins.str] integration_id: The id of one of a `aws.ExternalIntegration` or `aws.TokenIntegration`.
|
859
|
+
:param pulumi.Input[_builtins.str] key: If you specify `auth_method = \\"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).
|
861
860
|
:param pulumi.Input[Sequence[pulumi.Input[Union['IntegrationMetricStatsToSyncArgs', 'IntegrationMetricStatsToSyncArgsDict']]]] metric_stats_to_syncs: 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.
|
862
|
-
:param pulumi.Input[
|
863
|
-
:param pulumi.Input[
|
861
|
+
:param pulumi.Input[_builtins.bool] metric_streams_managed_externally: If set to true, Splunk Observability Cloud accepts data from Metric Streams managed from the AWS console. The AWS account sending the Metric Streams and the AWS account in the Splunk Observability Cloud integration have to match. Requires `use_metric_streams_sync` set to true to work.
|
862
|
+
:param pulumi.Input[_builtins.str] named_token: Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
864
863
|
:param pulumi.Input[Sequence[pulumi.Input[Union['IntegrationNamespaceSyncRuleArgs', 'IntegrationNamespaceSyncRuleArgsDict']]]] namespace_sync_rules: 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.
|
865
|
-
:param pulumi.Input[
|
866
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
867
|
-
:param pulumi.Input[
|
868
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
869
|
-
:param pulumi.Input[
|
870
|
-
:param pulumi.Input[
|
871
|
-
:param pulumi.Input[
|
864
|
+
:param pulumi.Input[_builtins.int] poll_rate: AWS poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
865
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] regions: List of AWS regions that Splunk Observability Cloud should monitor. It cannot be empty.
|
866
|
+
:param pulumi.Input[_builtins.str] role_arn: Role ARN that you add to an existing AWS integration object. **Note**: Ensure you use the `arn` property of your role, not the id!
|
867
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] services: 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 `namespace_sync_rule`. See [Amazon Web Services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#amazon-web-services) for a list of valid values.
|
868
|
+
:param pulumi.Input[_builtins.bool] sync_custom_namespaces_only: Indicates that Splunk Observability Cloud should sync metrics and metadata from custom AWS namespaces only (see the `custom_namespace_sync_rule` above). Defaults to `false`.
|
869
|
+
:param pulumi.Input[_builtins.str] token: If you specify `auth_method = \\"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).
|
870
|
+
:param pulumi.Input[_builtins.bool] use_metric_streams_sync: Enable the use of Amazon Cloudwatch Metric Streams for ingesting metrics.<br> Note that this requires the inclusion of `"cloudwatch:ListMetricStreams"`,`"cloudwatch:GetMetricStream"`, `"cloudwatch:PutMetricStream"`, `"cloudwatch:DeleteMetricStream"`, `"cloudwatch:StartMetricStreams"`, `"cloudwatch:StopMetricStreams"` and `"iam:PassRole"` permissions.<br> 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.
|
872
871
|
"""
|
873
872
|
...
|
874
873
|
@overload
|
@@ -937,28 +936,28 @@ class Integration(pulumi.CustomResource):
|
|
937
936
|
def _internal_init(__self__,
|
938
937
|
resource_name: str,
|
939
938
|
opts: Optional[pulumi.ResourceOptions] = None,
|
940
|
-
collect_only_recommended_stats: Optional[pulumi.Input[
|
941
|
-
custom_cloudwatch_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[
|
939
|
+
collect_only_recommended_stats: Optional[pulumi.Input[_builtins.bool]] = None,
|
940
|
+
custom_cloudwatch_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
942
941
|
custom_namespace_sync_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationCustomNamespaceSyncRuleArgs', 'IntegrationCustomNamespaceSyncRuleArgsDict']]]]] = None,
|
943
|
-
enable_aws_usage: Optional[pulumi.Input[
|
944
|
-
enable_check_large_volume: Optional[pulumi.Input[
|
945
|
-
enable_logs_sync: Optional[pulumi.Input[
|
946
|
-
enabled: Optional[pulumi.Input[
|
947
|
-
external_id: Optional[pulumi.Input[
|
948
|
-
import_cloud_watch: Optional[pulumi.Input[
|
949
|
-
integration_id: Optional[pulumi.Input[
|
950
|
-
key: Optional[pulumi.Input[
|
942
|
+
enable_aws_usage: Optional[pulumi.Input[_builtins.bool]] = None,
|
943
|
+
enable_check_large_volume: Optional[pulumi.Input[_builtins.bool]] = None,
|
944
|
+
enable_logs_sync: Optional[pulumi.Input[_builtins.bool]] = None,
|
945
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
946
|
+
external_id: Optional[pulumi.Input[_builtins.str]] = None,
|
947
|
+
import_cloud_watch: Optional[pulumi.Input[_builtins.bool]] = None,
|
948
|
+
integration_id: Optional[pulumi.Input[_builtins.str]] = None,
|
949
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
951
950
|
metric_stats_to_syncs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationMetricStatsToSyncArgs', 'IntegrationMetricStatsToSyncArgsDict']]]]] = None,
|
952
|
-
metric_streams_managed_externally: Optional[pulumi.Input[
|
953
|
-
named_token: Optional[pulumi.Input[
|
951
|
+
metric_streams_managed_externally: Optional[pulumi.Input[_builtins.bool]] = None,
|
952
|
+
named_token: Optional[pulumi.Input[_builtins.str]] = None,
|
954
953
|
namespace_sync_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationNamespaceSyncRuleArgs', 'IntegrationNamespaceSyncRuleArgsDict']]]]] = None,
|
955
|
-
poll_rate: Optional[pulumi.Input[
|
956
|
-
regions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
957
|
-
role_arn: Optional[pulumi.Input[
|
958
|
-
services: Optional[pulumi.Input[Sequence[pulumi.Input[
|
959
|
-
sync_custom_namespaces_only: Optional[pulumi.Input[
|
960
|
-
token: Optional[pulumi.Input[
|
961
|
-
use_metric_streams_sync: Optional[pulumi.Input[
|
954
|
+
poll_rate: Optional[pulumi.Input[_builtins.int]] = None,
|
955
|
+
regions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
956
|
+
role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
957
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
958
|
+
sync_custom_namespaces_only: Optional[pulumi.Input[_builtins.bool]] = None,
|
959
|
+
token: Optional[pulumi.Input[_builtins.str]] = None,
|
960
|
+
use_metric_streams_sync: Optional[pulumi.Input[_builtins.bool]] = None,
|
962
961
|
__props__=None):
|
963
962
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
964
963
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -1010,30 +1009,30 @@ class Integration(pulumi.CustomResource):
|
|
1010
1009
|
def get(resource_name: str,
|
1011
1010
|
id: pulumi.Input[str],
|
1012
1011
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1013
|
-
auth_method: Optional[pulumi.Input[
|
1014
|
-
collect_only_recommended_stats: Optional[pulumi.Input[
|
1015
|
-
custom_cloudwatch_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1012
|
+
auth_method: Optional[pulumi.Input[_builtins.str]] = None,
|
1013
|
+
collect_only_recommended_stats: Optional[pulumi.Input[_builtins.bool]] = None,
|
1014
|
+
custom_cloudwatch_namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1016
1015
|
custom_namespace_sync_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationCustomNamespaceSyncRuleArgs', 'IntegrationCustomNamespaceSyncRuleArgsDict']]]]] = None,
|
1017
|
-
enable_aws_usage: Optional[pulumi.Input[
|
1018
|
-
enable_check_large_volume: Optional[pulumi.Input[
|
1019
|
-
enable_logs_sync: Optional[pulumi.Input[
|
1020
|
-
enabled: Optional[pulumi.Input[
|
1021
|
-
external_id: Optional[pulumi.Input[
|
1022
|
-
import_cloud_watch: Optional[pulumi.Input[
|
1023
|
-
integration_id: Optional[pulumi.Input[
|
1024
|
-
key: Optional[pulumi.Input[
|
1016
|
+
enable_aws_usage: Optional[pulumi.Input[_builtins.bool]] = None,
|
1017
|
+
enable_check_large_volume: Optional[pulumi.Input[_builtins.bool]] = None,
|
1018
|
+
enable_logs_sync: Optional[pulumi.Input[_builtins.bool]] = None,
|
1019
|
+
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
1020
|
+
external_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1021
|
+
import_cloud_watch: Optional[pulumi.Input[_builtins.bool]] = None,
|
1022
|
+
integration_id: Optional[pulumi.Input[_builtins.str]] = None,
|
1023
|
+
key: Optional[pulumi.Input[_builtins.str]] = None,
|
1025
1024
|
metric_stats_to_syncs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationMetricStatsToSyncArgs', 'IntegrationMetricStatsToSyncArgsDict']]]]] = None,
|
1026
|
-
metric_streams_managed_externally: Optional[pulumi.Input[
|
1027
|
-
name: Optional[pulumi.Input[
|
1028
|
-
named_token: Optional[pulumi.Input[
|
1025
|
+
metric_streams_managed_externally: Optional[pulumi.Input[_builtins.bool]] = None,
|
1026
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
1027
|
+
named_token: Optional[pulumi.Input[_builtins.str]] = None,
|
1029
1028
|
namespace_sync_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IntegrationNamespaceSyncRuleArgs', 'IntegrationNamespaceSyncRuleArgsDict']]]]] = None,
|
1030
|
-
poll_rate: Optional[pulumi.Input[
|
1031
|
-
regions: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1032
|
-
role_arn: Optional[pulumi.Input[
|
1033
|
-
services: Optional[pulumi.Input[Sequence[pulumi.Input[
|
1034
|
-
sync_custom_namespaces_only: Optional[pulumi.Input[
|
1035
|
-
token: Optional[pulumi.Input[
|
1036
|
-
use_metric_streams_sync: Optional[pulumi.Input[
|
1029
|
+
poll_rate: Optional[pulumi.Input[_builtins.int]] = None,
|
1030
|
+
regions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1031
|
+
role_arn: Optional[pulumi.Input[_builtins.str]] = None,
|
1032
|
+
services: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
1033
|
+
sync_custom_namespaces_only: Optional[pulumi.Input[_builtins.bool]] = None,
|
1034
|
+
token: Optional[pulumi.Input[_builtins.str]] = None,
|
1035
|
+
use_metric_streams_sync: Optional[pulumi.Input[_builtins.bool]] = None) -> 'Integration':
|
1037
1036
|
"""
|
1038
1037
|
Get an existing Integration resource's state with the given name, id, and optional extra
|
1039
1038
|
properties used to qualify the lookup.
|
@@ -1041,31 +1040,31 @@ class Integration(pulumi.CustomResource):
|
|
1041
1040
|
:param str resource_name: The unique name of the resulting resource.
|
1042
1041
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1043
1042
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1044
|
-
:param pulumi.Input[
|
1043
|
+
:param pulumi.Input[_builtins.str] auth_method: The mechanism used to authenticate with AWS. Use one of `aws.ExternalIntegration` or `aws.TokenIntegration` to define
|
1045
1044
|
this
|
1046
|
-
:param pulumi.Input[
|
1047
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1045
|
+
:param pulumi.Input[_builtins.bool] collect_only_recommended_stats: The integration will only ingest the recommended statistics published by AWS
|
1046
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] custom_cloudwatch_namespaces: 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.
|
1048
1047
|
:param pulumi.Input[Sequence[pulumi.Input[Union['IntegrationCustomNamespaceSyncRuleArgs', 'IntegrationCustomNamespaceSyncRuleArgsDict']]]] custom_namespace_sync_rules: Each element controls the data collected by Splunk Observability Cloud for the specified namespace. Conflicts with the `custom_cloudwatch_namespaces` property.
|
1049
|
-
:param pulumi.Input[
|
1050
|
-
:param pulumi.Input[
|
1051
|
-
:param pulumi.Input[
|
1052
|
-
:param pulumi.Input[
|
1053
|
-
:param pulumi.Input[
|
1054
|
-
:param pulumi.Input[
|
1055
|
-
:param pulumi.Input[
|
1056
|
-
:param pulumi.Input[
|
1048
|
+
:param pulumi.Input[_builtins.bool] enable_aws_usage: 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.
|
1049
|
+
:param pulumi.Input[_builtins.bool] enable_check_large_volume: 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.
|
1050
|
+
:param pulumi.Input[_builtins.bool] enable_logs_sync: 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.
|
1051
|
+
:param pulumi.Input[_builtins.bool] enabled: Whether the integration is enabled.
|
1052
|
+
:param pulumi.Input[_builtins.str] external_id: The `external_id` property from one of a `aws.ExternalIntegration` or `aws.TokenIntegration`
|
1053
|
+
:param pulumi.Input[_builtins.bool] import_cloud_watch: Flag that controls how Splunk Observability Cloud imports Cloud Watch metrics. If true, Splunk Observability Cloud imports Cloud Watch metrics from AWS.
|
1054
|
+
:param pulumi.Input[_builtins.str] integration_id: The id of one of a `aws.ExternalIntegration` or `aws.TokenIntegration`.
|
1055
|
+
:param pulumi.Input[_builtins.str] key: If you specify `auth_method = \\"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).
|
1057
1056
|
:param pulumi.Input[Sequence[pulumi.Input[Union['IntegrationMetricStatsToSyncArgs', 'IntegrationMetricStatsToSyncArgsDict']]]] metric_stats_to_syncs: 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.
|
1058
|
-
:param pulumi.Input[
|
1059
|
-
:param pulumi.Input[
|
1060
|
-
:param pulumi.Input[
|
1057
|
+
:param pulumi.Input[_builtins.bool] metric_streams_managed_externally: If set to true, Splunk Observability Cloud accepts data from Metric Streams managed from the AWS console. The AWS account sending the Metric Streams and the AWS account in the Splunk Observability Cloud integration have to match. Requires `use_metric_streams_sync` set to true to work.
|
1058
|
+
:param pulumi.Input[_builtins.str] name: Name of the integration.
|
1059
|
+
:param pulumi.Input[_builtins.str] named_token: Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
1061
1060
|
:param pulumi.Input[Sequence[pulumi.Input[Union['IntegrationNamespaceSyncRuleArgs', 'IntegrationNamespaceSyncRuleArgsDict']]]] namespace_sync_rules: 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.
|
1062
|
-
:param pulumi.Input[
|
1063
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1064
|
-
:param pulumi.Input[
|
1065
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
1066
|
-
:param pulumi.Input[
|
1067
|
-
:param pulumi.Input[
|
1068
|
-
:param pulumi.Input[
|
1061
|
+
:param pulumi.Input[_builtins.int] poll_rate: AWS poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
1062
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] regions: List of AWS regions that Splunk Observability Cloud should monitor. It cannot be empty.
|
1063
|
+
:param pulumi.Input[_builtins.str] role_arn: Role ARN that you add to an existing AWS integration object. **Note**: Ensure you use the `arn` property of your role, not the id!
|
1064
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] services: 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 `namespace_sync_rule`. See [Amazon Web Services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#amazon-web-services) for a list of valid values.
|
1065
|
+
:param pulumi.Input[_builtins.bool] sync_custom_namespaces_only: Indicates that Splunk Observability Cloud should sync metrics and metadata from custom AWS namespaces only (see the `custom_namespace_sync_rule` above). Defaults to `false`.
|
1066
|
+
:param pulumi.Input[_builtins.str] token: If you specify `auth_method = \\"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).
|
1067
|
+
:param pulumi.Input[_builtins.bool] use_metric_streams_sync: Enable the use of Amazon Cloudwatch Metric Streams for ingesting metrics.<br> Note that this requires the inclusion of `"cloudwatch:ListMetricStreams"`,`"cloudwatch:GetMetricStream"`, `"cloudwatch:PutMetricStream"`, `"cloudwatch:DeleteMetricStream"`, `"cloudwatch:StartMetricStreams"`, `"cloudwatch:StopMetricStreams"` and `"iam:PassRole"` permissions.<br> 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.
|
1069
1068
|
"""
|
1070
1069
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
1071
1070
|
|
@@ -1097,32 +1096,32 @@ class Integration(pulumi.CustomResource):
|
|
1097
1096
|
__props__.__dict__["use_metric_streams_sync"] = use_metric_streams_sync
|
1098
1097
|
return Integration(resource_name, opts=opts, __props__=__props__)
|
1099
1098
|
|
1100
|
-
@property
|
1099
|
+
@_builtins.property
|
1101
1100
|
@pulumi.getter(name="authMethod")
|
1102
|
-
def auth_method(self) -> pulumi.Output[
|
1101
|
+
def auth_method(self) -> pulumi.Output[_builtins.str]:
|
1103
1102
|
"""
|
1104
1103
|
The mechanism used to authenticate with AWS. Use one of `aws.ExternalIntegration` or `aws.TokenIntegration` to define
|
1105
1104
|
this
|
1106
1105
|
"""
|
1107
1106
|
return pulumi.get(self, "auth_method")
|
1108
1107
|
|
1109
|
-
@property
|
1108
|
+
@_builtins.property
|
1110
1109
|
@pulumi.getter(name="collectOnlyRecommendedStats")
|
1111
|
-
def collect_only_recommended_stats(self) -> pulumi.Output[Optional[
|
1110
|
+
def collect_only_recommended_stats(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1112
1111
|
"""
|
1113
1112
|
The integration will only ingest the recommended statistics published by AWS
|
1114
1113
|
"""
|
1115
1114
|
return pulumi.get(self, "collect_only_recommended_stats")
|
1116
1115
|
|
1117
|
-
@property
|
1116
|
+
@_builtins.property
|
1118
1117
|
@pulumi.getter(name="customCloudwatchNamespaces")
|
1119
|
-
def custom_cloudwatch_namespaces(self) -> pulumi.Output[Optional[Sequence[
|
1118
|
+
def custom_cloudwatch_namespaces(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
1120
1119
|
"""
|
1121
1120
|
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.
|
1122
1121
|
"""
|
1123
1122
|
return pulumi.get(self, "custom_cloudwatch_namespaces")
|
1124
1123
|
|
1125
|
-
@property
|
1124
|
+
@_builtins.property
|
1126
1125
|
@pulumi.getter(name="customNamespaceSyncRules")
|
1127
1126
|
def custom_namespace_sync_rules(self) -> pulumi.Output[Optional[Sequence['outputs.IntegrationCustomNamespaceSyncRule']]]:
|
1128
1127
|
"""
|
@@ -1130,71 +1129,71 @@ class Integration(pulumi.CustomResource):
|
|
1130
1129
|
"""
|
1131
1130
|
return pulumi.get(self, "custom_namespace_sync_rules")
|
1132
1131
|
|
1133
|
-
@property
|
1132
|
+
@_builtins.property
|
1134
1133
|
@pulumi.getter(name="enableAwsUsage")
|
1135
|
-
def enable_aws_usage(self) -> pulumi.Output[Optional[
|
1134
|
+
def enable_aws_usage(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1136
1135
|
"""
|
1137
1136
|
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.
|
1138
1137
|
"""
|
1139
1138
|
return pulumi.get(self, "enable_aws_usage")
|
1140
1139
|
|
1141
|
-
@property
|
1140
|
+
@_builtins.property
|
1142
1141
|
@pulumi.getter(name="enableCheckLargeVolume")
|
1143
|
-
def enable_check_large_volume(self) -> pulumi.Output[Optional[
|
1142
|
+
def enable_check_large_volume(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1144
1143
|
"""
|
1145
1144
|
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.
|
1146
1145
|
"""
|
1147
1146
|
return pulumi.get(self, "enable_check_large_volume")
|
1148
1147
|
|
1149
|
-
@property
|
1148
|
+
@_builtins.property
|
1150
1149
|
@pulumi.getter(name="enableLogsSync")
|
1151
|
-
def enable_logs_sync(self) -> pulumi.Output[
|
1150
|
+
def enable_logs_sync(self) -> pulumi.Output[_builtins.bool]:
|
1152
1151
|
"""
|
1153
1152
|
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.
|
1154
1153
|
"""
|
1155
1154
|
return pulumi.get(self, "enable_logs_sync")
|
1156
1155
|
|
1157
|
-
@property
|
1156
|
+
@_builtins.property
|
1158
1157
|
@pulumi.getter
|
1159
|
-
def enabled(self) -> pulumi.Output[
|
1158
|
+
def enabled(self) -> pulumi.Output[_builtins.bool]:
|
1160
1159
|
"""
|
1161
1160
|
Whether the integration is enabled.
|
1162
1161
|
"""
|
1163
1162
|
return pulumi.get(self, "enabled")
|
1164
1163
|
|
1165
|
-
@property
|
1164
|
+
@_builtins.property
|
1166
1165
|
@pulumi.getter(name="externalId")
|
1167
|
-
def external_id(self) -> pulumi.Output[Optional[
|
1166
|
+
def external_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1168
1167
|
"""
|
1169
1168
|
The `external_id` property from one of a `aws.ExternalIntegration` or `aws.TokenIntegration`
|
1170
1169
|
"""
|
1171
1170
|
return pulumi.get(self, "external_id")
|
1172
1171
|
|
1173
|
-
@property
|
1172
|
+
@_builtins.property
|
1174
1173
|
@pulumi.getter(name="importCloudWatch")
|
1175
|
-
def import_cloud_watch(self) -> pulumi.Output[Optional[
|
1174
|
+
def import_cloud_watch(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1176
1175
|
"""
|
1177
1176
|
Flag that controls how Splunk Observability Cloud imports Cloud Watch metrics. If true, Splunk Observability Cloud imports Cloud Watch metrics from AWS.
|
1178
1177
|
"""
|
1179
1178
|
return pulumi.get(self, "import_cloud_watch")
|
1180
1179
|
|
1181
|
-
@property
|
1180
|
+
@_builtins.property
|
1182
1181
|
@pulumi.getter(name="integrationId")
|
1183
|
-
def integration_id(self) -> pulumi.Output[
|
1182
|
+
def integration_id(self) -> pulumi.Output[_builtins.str]:
|
1184
1183
|
"""
|
1185
1184
|
The id of one of a `aws.ExternalIntegration` or `aws.TokenIntegration`.
|
1186
1185
|
"""
|
1187
1186
|
return pulumi.get(self, "integration_id")
|
1188
1187
|
|
1189
|
-
@property
|
1188
|
+
@_builtins.property
|
1190
1189
|
@pulumi.getter
|
1191
|
-
def key(self) -> pulumi.Output[Optional[
|
1190
|
+
def key(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1192
1191
|
"""
|
1193
1192
|
If you specify `auth_method = \\"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).
|
1194
1193
|
"""
|
1195
1194
|
return pulumi.get(self, "key")
|
1196
1195
|
|
1197
|
-
@property
|
1196
|
+
@_builtins.property
|
1198
1197
|
@pulumi.getter(name="metricStatsToSyncs")
|
1199
1198
|
def metric_stats_to_syncs(self) -> pulumi.Output[Optional[Sequence['outputs.IntegrationMetricStatsToSync']]]:
|
1200
1199
|
"""
|
@@ -1202,31 +1201,31 @@ class Integration(pulumi.CustomResource):
|
|
1202
1201
|
"""
|
1203
1202
|
return pulumi.get(self, "metric_stats_to_syncs")
|
1204
1203
|
|
1205
|
-
@property
|
1204
|
+
@_builtins.property
|
1206
1205
|
@pulumi.getter(name="metricStreamsManagedExternally")
|
1207
|
-
def metric_streams_managed_externally(self) -> pulumi.Output[Optional[
|
1206
|
+
def metric_streams_managed_externally(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1208
1207
|
"""
|
1209
1208
|
If set to true, Splunk Observability Cloud accepts data from Metric Streams managed from the AWS console. The AWS account sending the Metric Streams and the AWS account in the Splunk Observability Cloud integration have to match. Requires `use_metric_streams_sync` set to true to work.
|
1210
1209
|
"""
|
1211
1210
|
return pulumi.get(self, "metric_streams_managed_externally")
|
1212
1211
|
|
1213
|
-
@property
|
1212
|
+
@_builtins.property
|
1214
1213
|
@pulumi.getter
|
1215
|
-
def name(self) -> pulumi.Output[
|
1214
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
1216
1215
|
"""
|
1217
1216
|
Name of the integration.
|
1218
1217
|
"""
|
1219
1218
|
return pulumi.get(self, "name")
|
1220
1219
|
|
1221
|
-
@property
|
1220
|
+
@_builtins.property
|
1222
1221
|
@pulumi.getter(name="namedToken")
|
1223
|
-
def named_token(self) -> pulumi.Output[Optional[
|
1222
|
+
def named_token(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1224
1223
|
"""
|
1225
1224
|
Name of the org token to be used for data ingestion. If not specified then default access token is used.
|
1226
1225
|
"""
|
1227
1226
|
return pulumi.get(self, "named_token")
|
1228
1227
|
|
1229
|
-
@property
|
1228
|
+
@_builtins.property
|
1230
1229
|
@pulumi.getter(name="namespaceSyncRules")
|
1231
1230
|
def namespace_sync_rules(self) -> pulumi.Output[Optional[Sequence['outputs.IntegrationNamespaceSyncRule']]]:
|
1232
1231
|
"""
|
@@ -1234,57 +1233,57 @@ class Integration(pulumi.CustomResource):
|
|
1234
1233
|
"""
|
1235
1234
|
return pulumi.get(self, "namespace_sync_rules")
|
1236
1235
|
|
1237
|
-
@property
|
1236
|
+
@_builtins.property
|
1238
1237
|
@pulumi.getter(name="pollRate")
|
1239
|
-
def poll_rate(self) -> pulumi.Output[Optional[
|
1238
|
+
def poll_rate(self) -> pulumi.Output[Optional[_builtins.int]]:
|
1240
1239
|
"""
|
1241
1240
|
AWS poll rate (in seconds). Value between `60` and `600`. Default: `300`.
|
1242
1241
|
"""
|
1243
1242
|
return pulumi.get(self, "poll_rate")
|
1244
1243
|
|
1245
|
-
@property
|
1244
|
+
@_builtins.property
|
1246
1245
|
@pulumi.getter
|
1247
|
-
def regions(self) -> pulumi.Output[Sequence[
|
1246
|
+
def regions(self) -> pulumi.Output[Sequence[_builtins.str]]:
|
1248
1247
|
"""
|
1249
1248
|
List of AWS regions that Splunk Observability Cloud should monitor. It cannot be empty.
|
1250
1249
|
"""
|
1251
1250
|
return pulumi.get(self, "regions")
|
1252
1251
|
|
1253
|
-
@property
|
1252
|
+
@_builtins.property
|
1254
1253
|
@pulumi.getter(name="roleArn")
|
1255
|
-
def role_arn(self) -> pulumi.Output[Optional[
|
1254
|
+
def role_arn(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1256
1255
|
"""
|
1257
1256
|
Role ARN that you add to an existing AWS integration object. **Note**: Ensure you use the `arn` property of your role, not the id!
|
1258
1257
|
"""
|
1259
1258
|
return pulumi.get(self, "role_arn")
|
1260
1259
|
|
1261
|
-
@property
|
1260
|
+
@_builtins.property
|
1262
1261
|
@pulumi.getter
|
1263
|
-
def services(self) -> pulumi.Output[Optional[Sequence[
|
1262
|
+
def services(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
1264
1263
|
"""
|
1265
1264
|
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 `namespace_sync_rule`. See [Amazon Web Services](https://docs.splunk.com/Observability/gdi/get-data-in/integrations.html#amazon-web-services) for a list of valid values.
|
1266
1265
|
"""
|
1267
1266
|
return pulumi.get(self, "services")
|
1268
1267
|
|
1269
|
-
@property
|
1268
|
+
@_builtins.property
|
1270
1269
|
@pulumi.getter(name="syncCustomNamespacesOnly")
|
1271
|
-
def sync_custom_namespaces_only(self) -> pulumi.Output[Optional[
|
1270
|
+
def sync_custom_namespaces_only(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
1272
1271
|
"""
|
1273
1272
|
Indicates that Splunk Observability Cloud should sync metrics and metadata from custom AWS namespaces only (see the `custom_namespace_sync_rule` above). Defaults to `false`.
|
1274
1273
|
"""
|
1275
1274
|
return pulumi.get(self, "sync_custom_namespaces_only")
|
1276
1275
|
|
1277
|
-
@property
|
1276
|
+
@_builtins.property
|
1278
1277
|
@pulumi.getter
|
1279
|
-
def token(self) -> pulumi.Output[Optional[
|
1278
|
+
def token(self) -> pulumi.Output[Optional[_builtins.str]]:
|
1280
1279
|
"""
|
1281
1280
|
If you specify `auth_method = \\"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).
|
1282
1281
|
"""
|
1283
1282
|
return pulumi.get(self, "token")
|
1284
1283
|
|
1285
|
-
@property
|
1284
|
+
@_builtins.property
|
1286
1285
|
@pulumi.getter(name="useMetricStreamsSync")
|
1287
|
-
def use_metric_streams_sync(self) -> pulumi.Output[
|
1286
|
+
def use_metric_streams_sync(self) -> pulumi.Output[_builtins.bool]:
|
1288
1287
|
"""
|
1289
1288
|
Enable the use of Amazon Cloudwatch Metric Streams for ingesting metrics.<br> Note that this requires the inclusion of `"cloudwatch:ListMetricStreams"`,`"cloudwatch:GetMetricStream"`, `"cloudwatch:PutMetricStream"`, `"cloudwatch:DeleteMetricStream"`, `"cloudwatch:StartMetricStreams"`, `"cloudwatch:StopMetricStreams"` and `"iam:PassRole"` permissions.<br> 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.
|
1290
1289
|
"""
|