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