This repository was archived by the owner on Mar 17, 2021. It is now read-only.
File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,10 @@ type DataSource struct {
32
32
33
33
// JSONData is a representation of the datasource `jsonData` property
34
34
type JSONData struct {
35
- AssumeRoleArn string `json:"assumeRoleArn,omitempty"`
36
- AuthType string `json:"authType,omitempty"`
37
- DefaultRegion string `json:"defaultRegion,omitempty"`
35
+ AssumeRoleArn string `json:"assumeRoleArn,omitempty"`
36
+ AuthType string `json:"authType,omitempty"`
37
+ CustomMetricsNamespaces string `json:"customMetricsNamespaces,omitempty"`
38
+ DefaultRegion string `json:"defaultRegion,omitempty"`
38
39
}
39
40
40
41
// SecureJSONData is a representation of the datasource `secureJsonData` property
Original file line number Diff line number Diff line change @@ -46,9 +46,10 @@ func TestNewDataSource(t *testing.T) {
46
46
Access : "access" ,
47
47
IsDefault : true ,
48
48
JSONData : JSONData {
49
- AssumeRoleArn : "arn:aws:iam::123:role/some-role" ,
50
- AuthType : "keys" ,
51
- DefaultRegion : "us-east-1" ,
49
+ AssumeRoleArn : "arn:aws:iam::123:role/some-role" ,
50
+ AuthType : "keys" ,
51
+ CustomMetricsNamespaces : "SomeNamespace" ,
52
+ DefaultRegion : "us-east-1" ,
52
53
},
53
54
SecureJSONData : SecureJSONData {
54
55
AccessKey : "123" ,
You can’t perform that action at this time.
0 commit comments