You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: integration/model_aws_cloud_watch_integration.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ type AwsCloudWatchIntegration struct {
42
42
// Array of 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 SignalFx collects for the namespace. If you specify this property, SignalFx ignores the values in the AWS CloudWatch Integration Model \"services\" property. If you don't specify either property, SignalFx syncs all data in all AWS namespaces. To learn more, see the topic [Integrating With AWS](https://developers.signalfx.com/integrating/aws_integration_overview.html).
// Array of AWS regions that SignalFx should monitor. The API supports the following AWS regions: <br><br> **Regular AWS regions** * ap-northeast-1 * ap-northeast-2 * ap-south-1 * ap-southeast-1 * ap-southeast-2 * ca-central-1 * eu-central-1 * eu-north-1 * eu-west-1 * eu-west-2 * eu-west-3 * sa-east-1 * us-east-1 * us-east-2 * us-west-1 * us-west-2 **GovCloud AWS regions** * us-gov-east-1 * us-gov-west-1 **China AWS regions** * cn-north-1 * cn-northwest-1 If you don't specify the \"regions\" property, or if you specify `\"regions\": []`, the API adds all of the regular AWS regions to your integration. **Note:** You can't mix regions from different sets. For example, you can't specify `\"regions\": [ \"eu-west-1\", \"cn-north-1\"]`.
47
47
Regions []string`json:"regions,omitempty"`
48
48
// Role ARN that you add to an existing AWS integration object.<br> When you create an AWS integration object and specify \"ExternalId\" a he authentication method, SignalFx responds with an external ID. You provide this ID to AWS, which responds with a role ARN.<br> To finish the connection between SignalFx and AWS, you update the AWS integration object using a PUT request. In this request, you specify the \"roleArn\" property using the value you obtained from AWS. <br> **NOTE:** To ensure security, SignalFx doesn't return this property in response objects.
assert.Equal(t, `{"enabled":false,"type":"","coldPollRate":60000,"metricStreamsManagedExternally":false}`, string(payload), "payload does not match")
44
-
assert.Equal(t, int64(60000), cwIntegration.ColdPollRate, "ColdPollRate does not match")
43
+
assert.Equal(t, `{"enabled":false,"type":"","inactiveMetricsPollRate":60000,"metricStreamsManagedExternally":false}`, string(payload), "payload does not match")
44
+
assert.Equal(t, int64(60000), cwIntegration.InactiveMetricsPollRate, "InactiveMetricsPollRate does not match")
0 commit comments