@pulumi/datadog 4.12.0 → 4.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apiKey.d.ts +1 -3
- package/apiKey.js +22 -22
- package/apiKey.js.map +1 -1
- package/applicationKey.d.ts +1 -3
- package/applicationKey.js +22 -22
- package/applicationKey.js.map +1 -1
- package/authnMapping.d.ts +1 -1
- package/authnMapping.js +23 -23
- package/authnMapping.js.map +1 -1
- package/aws/index.d.ts +12 -4
- package/aws/index.js +13 -28
- package/aws/index.js.map +1 -1
- package/aws/integration.d.ts +10 -28
- package/aws/integration.js +26 -24
- package/aws/integration.js.map +1 -1
- package/aws/integrationLambdaArn.d.ts +5 -5
- package/aws/integrationLambdaArn.js +24 -24
- package/aws/integrationLambdaArn.js.map +1 -1
- package/aws/integrationLogCollection.d.ts +7 -13
- package/aws/integrationLogCollection.js +23 -23
- package/aws/integrationLogCollection.js.map +1 -1
- package/aws/integrationTagFilter.d.ts +7 -7
- package/aws/integrationTagFilter.js +23 -23
- package/aws/integrationTagFilter.js.map +1 -1
- package/azure/index.d.ts +3 -1
- package/azure/index.js +4 -19
- package/azure/index.js.map +1 -1
- package/azure/integration.d.ts +4 -10
- package/azure/integration.js +26 -24
- package/azure/integration.js.map +1 -1
- package/childOrganization.d.ts +5 -6
- package/childOrganization.js +23 -25
- package/childOrganization.js.map +1 -1
- package/cloudWorkloadSecurityAgentRule.d.ts +2 -2
- package/cloudWorkloadSecurityAgentRule.js +24 -24
- package/cloudWorkloadSecurityAgentRule.js.map +1 -1
- package/dashboard.d.ts +11 -707
- package/dashboard.js +22 -716
- package/dashboard.js.map +1 -1
- package/dashboardJson.d.ts +9 -4
- package/dashboardJson.js +31 -26
- package/dashboardJson.js.map +1 -1
- package/dashboardList.d.ts +2 -1
- package/dashboardList.js +19 -19
- package/dashboardList.js.map +1 -1
- package/downtime.d.ts +16 -20
- package/downtime.js +22 -22
- package/downtime.js.map +1 -1
- package/gcp/index.d.ts +3 -1
- package/gcp/index.js +4 -19
- package/gcp/index.js.map +1 -1
- package/gcp/integration.d.ts +4 -7
- package/gcp/integration.js +26 -24
- package/gcp/integration.js.map +1 -1
- package/getApiKey.d.ts +37 -2
- package/getApiKey.js +18 -7
- package/getApiKey.js.map +1 -1
- package/getApplicationKey.d.ts +37 -2
- package/getApplicationKey.js +18 -7
- package/getApplicationKey.js.map +1 -1
- package/getCloudWorkloadSecurityAgentRules.d.ts +5 -2
- package/getCloudWorkloadSecurityAgentRules.js +2 -5
- package/getCloudWorkloadSecurityAgentRules.js.map +1 -1
- package/getDashboard.d.ts +31 -2
- package/getDashboard.js +18 -7
- package/getDashboard.js.map +1 -1
- package/getDashboardList.d.ts +42 -3
- package/getDashboardList.js +35 -8
- package/getDashboardList.js.map +1 -1
- package/getIpRanges.d.ts +49 -1
- package/getIpRanges.js +2 -5
- package/getIpRanges.js.map +1 -1
- package/getLogsArchivesOrder.d.ts +18 -0
- package/getLogsArchivesOrder.js +16 -0
- package/getLogsArchivesOrder.js.map +1 -0
- package/getLogsIndexes.d.ts +5 -2
- package/getLogsIndexes.js +2 -5
- package/getLogsIndexes.js.map +1 -1
- package/getLogsIndexesOrder.d.ts +4 -1
- package/getLogsIndexesOrder.js +2 -5
- package/getLogsIndexesOrder.js.map +1 -1
- package/getLogsPipelines.d.ts +16 -1
- package/getLogsPipelines.js +5 -5
- package/getLogsPipelines.js.map +1 -1
- package/getMonitor.d.ts +132 -3
- package/getMonitor.js +19 -7
- package/getMonitor.js.map +1 -1
- package/getMonitors.d.ts +34 -1
- package/getMonitors.js +5 -5
- package/getMonitors.js.map +1 -1
- package/getPermissions.d.ts +4 -1
- package/getPermissions.js +2 -5
- package/getPermissions.js.map +1 -1
- package/getRole.d.ts +31 -2
- package/getRole.js +18 -7
- package/getRole.js.map +1 -1
- package/getRoles.d.ts +29 -3
- package/getRoles.js +18 -7
- package/getRoles.js.map +1 -1
- package/getRumApplication.d.ts +72 -0
- package/getRumApplication.js +28 -0
- package/getRumApplication.js.map +1 -0
- package/getSecurityMonitoringFilters.d.ts +8 -2
- package/getSecurityMonitoringFilters.js +2 -5
- package/getSecurityMonitoringFilters.js.map +1 -1
- package/getSecurityMonitoringRules.d.ts +61 -3
- package/getSecurityMonitoringRules.js +20 -7
- package/getSecurityMonitoringRules.js.map +1 -1
- package/getServiceLevelObjective.d.ts +60 -0
- package/getServiceLevelObjective.js +20 -5
- package/getServiceLevelObjective.js.map +1 -1
- package/getServiceLevelObjectives.d.ts +56 -3
- package/getServiceLevelObjectives.js +18 -7
- package/getServiceLevelObjectives.js.map +1 -1
- package/getSyntheticsGlobalVariable.d.ts +15 -0
- package/getSyntheticsGlobalVariable.js +5 -5
- package/getSyntheticsGlobalVariable.js.map +1 -1
- package/getSyntheticsLocations.d.ts +3 -0
- package/getSyntheticsLocations.js +1 -4
- package/getSyntheticsLocations.js.map +1 -1
- package/getSyntheticsTest.d.ts +21 -0
- package/getSyntheticsTest.js +5 -5
- package/getSyntheticsTest.js.map +1 -1
- package/getUser.d.ts +18 -0
- package/getUser.js +5 -5
- package/getUser.js.map +1 -1
- package/index.d.ts +175 -59
- package/index.js +177 -150
- package/index.js.map +1 -1
- package/logsArchive.d.ts +6 -8
- package/logsArchive.js +23 -23
- package/logsArchive.js.map +1 -1
- package/logsArchiveOrder.d.ts +4 -10
- package/logsArchiveOrder.js +15 -15
- package/logsArchiveOrder.js.map +1 -1
- package/logsCustomPipeline.d.ts +3 -174
- package/logsCustomPipeline.js +23 -195
- package/logsCustomPipeline.js.map +1 -1
- package/logsIndex.d.ts +6 -8
- package/logsIndex.js +23 -23
- package/logsIndex.js.map +1 -1
- package/logsIndexOrder.d.ts +4 -7
- package/logsIndexOrder.js +23 -23
- package/logsIndexOrder.js.map +1 -1
- package/logsIntegrationPipeline.d.ts +2 -4
- package/logsIntegrationPipeline.js +16 -18
- package/logsIntegrationPipeline.js.map +1 -1
- package/logsMetric.d.ts +3 -2
- package/logsMetric.js +23 -23
- package/logsMetric.js.map +1 -1
- package/logsPipelineOrder.d.ts +4 -10
- package/logsPipelineOrder.js +23 -23
- package/logsPipelineOrder.js.map +1 -1
- package/metricMetadata.d.ts +1 -1
- package/metricMetadata.js +23 -23
- package/metricMetadata.js.map +1 -1
- package/metricTagConfiguration.d.ts +13 -21
- package/metricTagConfiguration.js +24 -24
- package/metricTagConfiguration.js.map +1 -1
- package/monitor.d.ts +51 -7
- package/monitor.js +28 -22
- package/monitor.js.map +1 -1
- package/monitorJson.js +19 -19
- package/monitorJson.js.map +1 -1
- package/opsgenie/index.d.ts +3 -1
- package/opsgenie/index.js +4 -19
- package/opsgenie/index.js.map +1 -1
- package/opsgenie/serviceObject.d.ts +5 -5
- package/opsgenie/serviceObject.js +27 -25
- package/opsgenie/serviceObject.js.map +1 -1
- package/organizationSettings.d.ts +5 -6
- package/organizationSettings.js +21 -23
- package/organizationSettings.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/pagerduty/index.d.ts +6 -2
- package/pagerduty/index.js +7 -22
- package/pagerduty/index.js.map +1 -1
- package/pagerduty/integration.d.ts +8 -4
- package/pagerduty/integration.js +31 -25
- package/pagerduty/integration.js.map +1 -1
- package/pagerduty/serviceObject.d.ts +5 -14
- package/pagerduty/serviceObject.js +26 -24
- package/pagerduty/serviceObject.js.map +1 -1
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/role.d.ts +3 -2
- package/role.js +22 -22
- package/role.js.map +1 -1
- package/rumApplication.d.ts +1 -1
- package/rumApplication.js +22 -22
- package/rumApplication.js.map +1 -1
- package/securityMonitoringDefaultRule.d.ts +3 -3
- package/securityMonitoringDefaultRule.js +23 -24
- package/securityMonitoringDefaultRule.js.map +1 -1
- package/securityMonitoringFilter.d.ts +7 -6
- package/securityMonitoringFilter.js +24 -24
- package/securityMonitoringFilter.js.map +1 -1
- package/securityMonitoringRule.d.ts +20 -7
- package/securityMonitoringRule.js +25 -26
- package/securityMonitoringRule.js.map +1 -1
- package/serviceDefinitionYaml.d.ts +3 -4
- package/serviceDefinitionYaml.js +20 -21
- package/serviceDefinitionYaml.js.map +1 -1
- package/serviceLevelObjective.d.ts +9 -20
- package/serviceLevelObjective.js +23 -23
- package/serviceLevelObjective.js.map +1 -1
- package/slack/channel.d.ts +4 -3
- package/slack/channel.js +24 -24
- package/slack/channel.js.map +1 -1
- package/slack/index.d.ts +3 -1
- package/slack/index.js +4 -19
- package/slack/index.js.map +1 -1
- package/sloCorrection.d.ts +6 -9
- package/sloCorrection.js +22 -22
- package/sloCorrection.js.map +1 -1
- package/syntheticsGlobalVariable.d.ts +4 -3
- package/syntheticsGlobalVariable.js +27 -25
- package/syntheticsGlobalVariable.js.map +1 -1
- package/syntheticsPrivateLocation.d.ts +6 -7
- package/syntheticsPrivateLocation.js +26 -24
- package/syntheticsPrivateLocation.js.map +1 -1
- package/syntheticsTest.d.ts +35 -46
- package/syntheticsTest.js +28 -28
- package/syntheticsTest.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +1398 -3
- package/types/output.d.ts +1438 -5
- package/user.js +22 -22
- package/user.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/webhook.d.ts +3 -3
- package/webhook.js +22 -22
- package/webhook.js.map +1 -1
- package/webhookCustomVariable.js +25 -23
- package/webhookCustomVariable.js.map +1 -1
package/apiKey.d.ts
CHANGED
|
@@ -9,9 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as datadog from "@pulumi/datadog";
|
|
10
10
|
*
|
|
11
11
|
* // Create a new Datadog API Key
|
|
12
|
-
* const foo = new datadog.ApiKey("foo", {
|
|
13
|
-
* name: "foo-application",
|
|
14
|
-
* });
|
|
12
|
+
* const foo = new datadog.ApiKey("foo", {name: "foo-application"});
|
|
15
13
|
* ```
|
|
16
14
|
*
|
|
17
15
|
* ## Import
|
package/apiKey.js
CHANGED
|
@@ -15,9 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as datadog from "@pulumi/datadog";
|
|
16
16
|
*
|
|
17
17
|
* // Create a new Datadog API Key
|
|
18
|
-
* const foo = new datadog.ApiKey("foo", {
|
|
19
|
-
* name: "foo-application",
|
|
20
|
-
* });
|
|
18
|
+
* const foo = new datadog.ApiKey("foo", {name: "foo-application"});
|
|
21
19
|
* ```
|
|
22
20
|
*
|
|
23
21
|
* ## Import
|
|
@@ -27,25 +25,6 @@ const utilities = require("./utilities");
|
|
|
27
25
|
* ```
|
|
28
26
|
*/
|
|
29
27
|
class ApiKey extends pulumi.CustomResource {
|
|
30
|
-
constructor(name, argsOrState, opts) {
|
|
31
|
-
let resourceInputs = {};
|
|
32
|
-
opts = opts || {};
|
|
33
|
-
if (opts.id) {
|
|
34
|
-
const state = argsOrState;
|
|
35
|
-
resourceInputs["key"] = state ? state.key : undefined;
|
|
36
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
const args = argsOrState;
|
|
40
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
41
|
-
throw new Error("Missing required property 'name'");
|
|
42
|
-
}
|
|
43
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
44
|
-
resourceInputs["key"] = undefined /*out*/;
|
|
45
|
-
}
|
|
46
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
47
|
-
super(ApiKey.__pulumiType, name, resourceInputs, opts);
|
|
48
|
-
}
|
|
49
28
|
/**
|
|
50
29
|
* Get an existing ApiKey resource's state with the given name, ID, and optional extra
|
|
51
30
|
* properties used to qualify the lookup.
|
|
@@ -68,6 +47,27 @@ class ApiKey extends pulumi.CustomResource {
|
|
|
68
47
|
}
|
|
69
48
|
return obj['__pulumiType'] === ApiKey.__pulumiType;
|
|
70
49
|
}
|
|
50
|
+
constructor(name, argsOrState, opts) {
|
|
51
|
+
let resourceInputs = {};
|
|
52
|
+
opts = opts || {};
|
|
53
|
+
if (opts.id) {
|
|
54
|
+
const state = argsOrState;
|
|
55
|
+
resourceInputs["key"] = state ? state.key : undefined;
|
|
56
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
const args = argsOrState;
|
|
60
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'name'");
|
|
62
|
+
}
|
|
63
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
64
|
+
resourceInputs["key"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
const secretOpts = { additionalSecretOutputs: ["key"] };
|
|
68
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
69
|
+
super(ApiKey.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
71
|
}
|
|
72
72
|
exports.ApiKey = ApiKey;
|
|
73
73
|
/** @internal */
|
package/apiKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OA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UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAhEL,wBAiEC;AAnDG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
package/applicationKey.d.ts
CHANGED
|
@@ -9,9 +9,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as datadog from "@pulumi/datadog";
|
|
10
10
|
*
|
|
11
11
|
* // Create a new Datadog Application Key
|
|
12
|
-
* const foo = new datadog.ApplicationKey("foo", {
|
|
13
|
-
* name: "foo-application",
|
|
14
|
-
* });
|
|
12
|
+
* const foo = new datadog.ApplicationKey("foo", {name: "foo-application"});
|
|
15
13
|
* ```
|
|
16
14
|
*
|
|
17
15
|
* ## Import
|
package/applicationKey.js
CHANGED
|
@@ -15,9 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as datadog from "@pulumi/datadog";
|
|
16
16
|
*
|
|
17
17
|
* // Create a new Datadog Application Key
|
|
18
|
-
* const foo = new datadog.ApplicationKey("foo", {
|
|
19
|
-
* name: "foo-application",
|
|
20
|
-
* });
|
|
18
|
+
* const foo = new datadog.ApplicationKey("foo", {name: "foo-application"});
|
|
21
19
|
* ```
|
|
22
20
|
*
|
|
23
21
|
* ## Import
|
|
@@ -27,25 +25,6 @@ const utilities = require("./utilities");
|
|
|
27
25
|
* ```
|
|
28
26
|
*/
|
|
29
27
|
class ApplicationKey extends pulumi.CustomResource {
|
|
30
|
-
constructor(name, argsOrState, opts) {
|
|
31
|
-
let resourceInputs = {};
|
|
32
|
-
opts = opts || {};
|
|
33
|
-
if (opts.id) {
|
|
34
|
-
const state = argsOrState;
|
|
35
|
-
resourceInputs["key"] = state ? state.key : undefined;
|
|
36
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
const args = argsOrState;
|
|
40
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
41
|
-
throw new Error("Missing required property 'name'");
|
|
42
|
-
}
|
|
43
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
44
|
-
resourceInputs["key"] = undefined /*out*/;
|
|
45
|
-
}
|
|
46
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
47
|
-
super(ApplicationKey.__pulumiType, name, resourceInputs, opts);
|
|
48
|
-
}
|
|
49
28
|
/**
|
|
50
29
|
* Get an existing ApplicationKey resource's state with the given name, ID, and optional extra
|
|
51
30
|
* properties used to qualify the lookup.
|
|
@@ -68,6 +47,27 @@ class ApplicationKey extends pulumi.CustomResource {
|
|
|
68
47
|
}
|
|
69
48
|
return obj['__pulumiType'] === ApplicationKey.__pulumiType;
|
|
70
49
|
}
|
|
50
|
+
constructor(name, argsOrState, opts) {
|
|
51
|
+
let resourceInputs = {};
|
|
52
|
+
opts = opts || {};
|
|
53
|
+
if (opts.id) {
|
|
54
|
+
const state = argsOrState;
|
|
55
|
+
resourceInputs["key"] = state ? state.key : undefined;
|
|
56
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
const args = argsOrState;
|
|
60
|
+
if ((!args || args.name === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'name'");
|
|
62
|
+
}
|
|
63
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
64
|
+
resourceInputs["key"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
const secretOpts = { additionalSecretOutputs: ["key"] };
|
|
68
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
69
|
+
super(ApplicationKey.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
71
|
}
|
|
72
72
|
exports.ApplicationKey = ApplicationKey;
|
|
73
73
|
/** @internal */
|
package/applicationKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationKey.js","sourceRoot":"","sources":["../applicationKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"applicationKey.js","sourceRoot":"","sources":["../applicationKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAA6C,CAAC;YAC3D,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;QACxD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAhEL,wCAiEC;AAnDG,gBAAgB;AACO,2BAAY,GAAG,6CAA6C,CAAC"}
|
package/authnMapping.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
21
|
*
|
|
22
22
|
* ## Import
|
|
23
23
|
*
|
|
24
|
-
*
|
|
24
|
+
* AuthN mappings can be imported using their ID, e.g.
|
|
25
25
|
*
|
|
26
26
|
* ```sh
|
|
27
27
|
* $ pulumi import datadog:index/authnMapping:AuthnMapping dev_ro_mapping 000000-0000-0000-0000-000000000000
|
package/authnMapping.js
CHANGED
|
@@ -27,13 +27,35 @@ const utilities = require("./utilities");
|
|
|
27
27
|
*
|
|
28
28
|
* ## Import
|
|
29
29
|
*
|
|
30
|
-
*
|
|
30
|
+
* AuthN mappings can be imported using their ID, e.g.
|
|
31
31
|
*
|
|
32
32
|
* ```sh
|
|
33
33
|
* $ pulumi import datadog:index/authnMapping:AuthnMapping dev_ro_mapping 000000-0000-0000-0000-000000000000
|
|
34
34
|
* ```
|
|
35
35
|
*/
|
|
36
36
|
class AuthnMapping extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing AuthnMapping resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name, id, state, opts) {
|
|
47
|
+
return new AuthnMapping(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of AuthnMapping. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === AuthnMapping.__pulumiType;
|
|
58
|
+
}
|
|
37
59
|
constructor(name, argsOrState, opts) {
|
|
38
60
|
let resourceInputs = {};
|
|
39
61
|
opts = opts || {};
|
|
@@ -61,28 +83,6 @@ class AuthnMapping extends pulumi.CustomResource {
|
|
|
61
83
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
62
84
|
super(AuthnMapping.__pulumiType, name, resourceInputs, opts);
|
|
63
85
|
}
|
|
64
|
-
/**
|
|
65
|
-
* Get an existing AuthnMapping resource's state with the given name, ID, and optional extra
|
|
66
|
-
* properties used to qualify the lookup.
|
|
67
|
-
*
|
|
68
|
-
* @param name The _unique_ name of the resulting resource.
|
|
69
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
70
|
-
* @param state Any extra arguments used during the lookup.
|
|
71
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
72
|
-
*/
|
|
73
|
-
static get(name, id, state, opts) {
|
|
74
|
-
return new AuthnMapping(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Returns true if the given object is an instance of AuthnMapping. This is designed to work even
|
|
78
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
79
|
-
*/
|
|
80
|
-
static isInstance(obj) {
|
|
81
|
-
if (obj === undefined || obj === null) {
|
|
82
|
-
return false;
|
|
83
|
-
}
|
|
84
|
-
return obj['__pulumiType'] === AuthnMapping.__pulumiType;
|
|
85
|
-
}
|
|
86
86
|
}
|
|
87
87
|
exports.AuthnMapping = AuthnMapping;
|
|
88
88
|
/** @internal */
|
package/authnMapping.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authnMapping.js","sourceRoot":"","sources":["../authnMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"authnMapping.js","sourceRoot":"","sources":["../authnMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI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,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AA1EL,oCA2EC;AA7DG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
|
package/aws/index.d.ts
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export { IntegrationArgs, IntegrationState } from "./integration";
|
|
2
|
+
export type Integration = import("./integration").Integration;
|
|
3
|
+
export declare const Integration: typeof import("./integration").Integration;
|
|
4
|
+
export { IntegrationLambdaArnArgs, IntegrationLambdaArnState } from "./integrationLambdaArn";
|
|
5
|
+
export type IntegrationLambdaArn = import("./integrationLambdaArn").IntegrationLambdaArn;
|
|
6
|
+
export declare const IntegrationLambdaArn: typeof import("./integrationLambdaArn").IntegrationLambdaArn;
|
|
7
|
+
export { IntegrationLogCollectionArgs, IntegrationLogCollectionState } from "./integrationLogCollection";
|
|
8
|
+
export type IntegrationLogCollection = import("./integrationLogCollection").IntegrationLogCollection;
|
|
9
|
+
export declare const IntegrationLogCollection: typeof import("./integrationLogCollection").IntegrationLogCollection;
|
|
10
|
+
export { IntegrationTagFilterArgs, IntegrationTagFilterState } from "./integrationTagFilter";
|
|
11
|
+
export type IntegrationTagFilter = import("./integrationTagFilter").IntegrationTagFilter;
|
|
12
|
+
export declare const IntegrationTagFilter: typeof import("./integrationTagFilter").IntegrationTagFilter;
|
package/aws/index.js
CHANGED
|
@@ -1,45 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
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
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
-
};
|
|
18
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.IntegrationTagFilter = exports.IntegrationLogCollection = exports.IntegrationLambdaArn = exports.Integration = void 0;
|
|
19
6
|
const pulumi = require("@pulumi/pulumi");
|
|
20
7
|
const utilities = require("../utilities");
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const integrationLogCollection_1 = require("./integrationLogCollection");
|
|
30
|
-
const integrationTagFilter_1 = require("./integrationTagFilter");
|
|
8
|
+
exports.Integration = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Integration"], () => require("./integration"));
|
|
10
|
+
exports.IntegrationLambdaArn = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["IntegrationLambdaArn"], () => require("./integrationLambdaArn"));
|
|
12
|
+
exports.IntegrationLogCollection = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["IntegrationLogCollection"], () => require("./integrationLogCollection"));
|
|
14
|
+
exports.IntegrationTagFilter = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["IntegrationTagFilter"], () => require("./integrationTagFilter"));
|
|
31
16
|
const _module = {
|
|
32
17
|
version: utilities.getVersion(),
|
|
33
18
|
construct: (name, type, urn) => {
|
|
34
19
|
switch (type) {
|
|
35
20
|
case "datadog:aws/integration:Integration":
|
|
36
|
-
return new
|
|
21
|
+
return new exports.Integration(name, undefined, { urn });
|
|
37
22
|
case "datadog:aws/integrationLambdaArn:IntegrationLambdaArn":
|
|
38
|
-
return new
|
|
23
|
+
return new exports.IntegrationLambdaArn(name, undefined, { urn });
|
|
39
24
|
case "datadog:aws/integrationLogCollection:IntegrationLogCollection":
|
|
40
|
-
return new
|
|
25
|
+
return new exports.IntegrationLogCollection(name, undefined, { urn });
|
|
41
26
|
case "datadog:aws/integrationTagFilter:IntegrationTagFilter":
|
|
42
|
-
return new
|
|
27
|
+
return new exports.IntegrationTagFilter(name, undefined, { urn });
|
|
43
28
|
default:
|
|
44
29
|
throw new Error(`unknown resource type ${type}`);
|
|
45
30
|
}
|
package/aws/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../aws/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../aws/index.ts"],"names":[],"mappings":";AAAA,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OAAO,IAAI,4BAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AACzF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
|
package/aws/integration.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
30
30
|
*
|
|
31
31
|
* ## Import
|
|
32
32
|
*
|
|
33
|
-
*
|
|
33
|
+
* Amazon Web Services integrations can be imported using their account ID and role name separated with a colon (:), while the external_id should be passed by setting an environment variable called EXTERNAL_ID
|
|
34
34
|
*
|
|
35
35
|
* ```sh
|
|
36
36
|
* $ pulumi import datadog:aws/integration:Integration EXTERNAL_ID=${external_id} datadog_integration_aws.test ${account_id}:${role_name}
|
|
@@ -61,16 +61,13 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
61
61
|
*/
|
|
62
62
|
readonly accountId: pulumi.Output<string | undefined>;
|
|
63
63
|
/**
|
|
64
|
-
* Enables or disables metric collection for specific AWS namespaces for this AWS account only. A list of namespaces can be
|
|
65
|
-
* found at the [available namespace rules API
|
|
66
|
-
* endpoint](https://docs.datadoghq.com/api/v1/aws-integration/#list-namespace-rules).
|
|
64
|
+
* Enables or disables metric collection for specific AWS namespaces for this AWS account only. A list of namespaces can be found at the [available namespace rules API endpoint](https://docs.datadoghq.com/api/v1/aws-integration/#list-namespace-rules).
|
|
67
65
|
*/
|
|
68
66
|
readonly accountSpecificNamespaceRules: pulumi.Output<{
|
|
69
67
|
[key: string]: any;
|
|
70
68
|
} | undefined>;
|
|
71
69
|
/**
|
|
72
|
-
* Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional
|
|
73
|
-
* resources not covered under the general resource_collection.
|
|
70
|
+
* Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general resource_collection.
|
|
74
71
|
*/
|
|
75
72
|
readonly cspmResourceCollectionEnabled: pulumi.Output<string>;
|
|
76
73
|
/**
|
|
@@ -83,10 +80,7 @@ export declare class Integration extends pulumi.CustomResource {
|
|
|
83
80
|
*/
|
|
84
81
|
readonly externalId: pulumi.Output<string>;
|
|
85
82
|
/**
|
|
86
|
-
* Array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2.
|
|
87
|
-
* Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match
|
|
88
|
-
* one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be
|
|
89
|
-
* excluded by adding `!` before the tag. e.x. `env:production,instance-type:c1.*,!region:us-east-1`.
|
|
83
|
+
* Array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. e.x. `env:production,instance-type:c1.*,!region:us-east-1`.
|
|
90
84
|
*/
|
|
91
85
|
readonly filterTags: pulumi.Output<string[] | undefined>;
|
|
92
86
|
/**
|
|
@@ -131,16 +125,13 @@ export interface IntegrationState {
|
|
|
131
125
|
*/
|
|
132
126
|
accountId?: pulumi.Input<string>;
|
|
133
127
|
/**
|
|
134
|
-
* Enables or disables metric collection for specific AWS namespaces for this AWS account only. A list of namespaces can be
|
|
135
|
-
* found at the [available namespace rules API
|
|
136
|
-
* endpoint](https://docs.datadoghq.com/api/v1/aws-integration/#list-namespace-rules).
|
|
128
|
+
* Enables or disables metric collection for specific AWS namespaces for this AWS account only. A list of namespaces can be found at the [available namespace rules API endpoint](https://docs.datadoghq.com/api/v1/aws-integration/#list-namespace-rules).
|
|
137
129
|
*/
|
|
138
130
|
accountSpecificNamespaceRules?: pulumi.Input<{
|
|
139
131
|
[key: string]: any;
|
|
140
132
|
}>;
|
|
141
133
|
/**
|
|
142
|
-
* Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional
|
|
143
|
-
* resources not covered under the general resource_collection.
|
|
134
|
+
* Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general resource_collection.
|
|
144
135
|
*/
|
|
145
136
|
cspmResourceCollectionEnabled?: pulumi.Input<string>;
|
|
146
137
|
/**
|
|
@@ -153,10 +144,7 @@ export interface IntegrationState {
|
|
|
153
144
|
*/
|
|
154
145
|
externalId?: pulumi.Input<string>;
|
|
155
146
|
/**
|
|
156
|
-
* Array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2.
|
|
157
|
-
* Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match
|
|
158
|
-
* one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be
|
|
159
|
-
* excluded by adding `!` before the tag. e.x. `env:production,instance-type:c1.*,!region:us-east-1`.
|
|
147
|
+
* Array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. e.x. `env:production,instance-type:c1.*,!region:us-east-1`.
|
|
160
148
|
*/
|
|
161
149
|
filterTags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
162
150
|
/**
|
|
@@ -193,16 +181,13 @@ export interface IntegrationArgs {
|
|
|
193
181
|
*/
|
|
194
182
|
accountId?: pulumi.Input<string>;
|
|
195
183
|
/**
|
|
196
|
-
* Enables or disables metric collection for specific AWS namespaces for this AWS account only. A list of namespaces can be
|
|
197
|
-
* found at the [available namespace rules API
|
|
198
|
-
* endpoint](https://docs.datadoghq.com/api/v1/aws-integration/#list-namespace-rules).
|
|
184
|
+
* Enables or disables metric collection for specific AWS namespaces for this AWS account only. A list of namespaces can be found at the [available namespace rules API endpoint](https://docs.datadoghq.com/api/v1/aws-integration/#list-namespace-rules).
|
|
199
185
|
*/
|
|
200
186
|
accountSpecificNamespaceRules?: pulumi.Input<{
|
|
201
187
|
[key: string]: any;
|
|
202
188
|
}>;
|
|
203
189
|
/**
|
|
204
|
-
* Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional
|
|
205
|
-
* resources not covered under the general resource_collection.
|
|
190
|
+
* Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general resource_collection.
|
|
206
191
|
*/
|
|
207
192
|
cspmResourceCollectionEnabled?: pulumi.Input<string>;
|
|
208
193
|
/**
|
|
@@ -210,10 +195,7 @@ export interface IntegrationArgs {
|
|
|
210
195
|
*/
|
|
211
196
|
excludedRegions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
212
197
|
/**
|
|
213
|
-
* Array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2.
|
|
214
|
-
* Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match
|
|
215
|
-
* one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be
|
|
216
|
-
* excluded by adding `!` before the tag. e.x. `env:production,instance-type:c1.*,!region:us-east-1`.
|
|
198
|
+
* Array of EC2 tags (in the form `key:value`) defines a filter that Datadog uses when collecting metrics from EC2. Wildcards, such as `?` (for single characters) and `*` (for multiple characters) can also be used. Only hosts that match one of the defined tags will be imported into Datadog. The rest will be ignored. Host matching a given tag can also be excluded by adding `!` before the tag. e.x. `env:production,instance-type:c1.*,!region:us-east-1`.
|
|
217
199
|
*/
|
|
218
200
|
filterTags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
219
201
|
/**
|
package/aws/integration.js
CHANGED
|
@@ -36,13 +36,35 @@ const utilities = require("../utilities");
|
|
|
36
36
|
*
|
|
37
37
|
* ## Import
|
|
38
38
|
*
|
|
39
|
-
*
|
|
39
|
+
* Amazon Web Services integrations can be imported using their account ID and role name separated with a colon (:), while the external_id should be passed by setting an environment variable called EXTERNAL_ID
|
|
40
40
|
*
|
|
41
41
|
* ```sh
|
|
42
42
|
* $ pulumi import datadog:aws/integration:Integration EXTERNAL_ID=${external_id} datadog_integration_aws.test ${account_id}:${role_name}
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
45
|
class Integration extends pulumi.CustomResource {
|
|
46
|
+
/**
|
|
47
|
+
* Get an existing Integration resource's state with the given name, ID, and optional extra
|
|
48
|
+
* properties used to qualify the lookup.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resulting resource.
|
|
51
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
52
|
+
* @param state Any extra arguments used during the lookup.
|
|
53
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
54
|
+
*/
|
|
55
|
+
static get(name, id, state, opts) {
|
|
56
|
+
return new Integration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of Integration. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === Integration.__pulumiType;
|
|
67
|
+
}
|
|
46
68
|
constructor(name, argsOrState, opts) {
|
|
47
69
|
let resourceInputs = {};
|
|
48
70
|
opts = opts || {};
|
|
@@ -73,34 +95,14 @@ class Integration extends pulumi.CustomResource {
|
|
|
73
95
|
resourceInputs["metricsCollectionEnabled"] = args ? args.metricsCollectionEnabled : undefined;
|
|
74
96
|
resourceInputs["resourceCollectionEnabled"] = args ? args.resourceCollectionEnabled : undefined;
|
|
75
97
|
resourceInputs["roleName"] = args ? args.roleName : undefined;
|
|
76
|
-
resourceInputs["secretAccessKey"] = args ? args.secretAccessKey : undefined;
|
|
98
|
+
resourceInputs["secretAccessKey"] = (args === null || args === void 0 ? void 0 : args.secretAccessKey) ? pulumi.secret(args.secretAccessKey) : undefined;
|
|
77
99
|
resourceInputs["externalId"] = undefined /*out*/;
|
|
78
100
|
}
|
|
79
101
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
102
|
+
const secretOpts = { additionalSecretOutputs: ["secretAccessKey"] };
|
|
103
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
80
104
|
super(Integration.__pulumiType, name, resourceInputs, opts);
|
|
81
105
|
}
|
|
82
|
-
/**
|
|
83
|
-
* Get an existing Integration resource's state with the given name, ID, and optional extra
|
|
84
|
-
* properties used to qualify the lookup.
|
|
85
|
-
*
|
|
86
|
-
* @param name The _unique_ name of the resulting resource.
|
|
87
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
88
|
-
* @param state Any extra arguments used during the lookup.
|
|
89
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
90
|
-
*/
|
|
91
|
-
static get(name, id, state, opts) {
|
|
92
|
-
return new Integration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Returns true if the given object is an instance of Integration. This is designed to work even
|
|
96
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
97
|
-
*/
|
|
98
|
-
static isInstance(obj) {
|
|
99
|
-
if (obj === undefined || obj === null) {
|
|
100
|
-
return false;
|
|
101
|
-
}
|
|
102
|
-
return obj['__pulumiType'] === Integration.__pulumiType;
|
|
103
|
-
}
|
|
104
106
|
}
|
|
105
107
|
exports.Integration = Integration;
|
|
106
108
|
/** @internal */
|
package/aws/integration.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../aws/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../aws/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA4DD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,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,CAAC,iBAAiB,CAAC,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,eAAe,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5G,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA1HL,kCA2HC;AA7GG,gBAAgB;AACO,wBAAY,GAAG,qCAAqC,CAAC"}
|
|
@@ -11,7 +11,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
* import * as datadog from "@pulumi/datadog";
|
|
12
12
|
*
|
|
13
13
|
* // Create a new Datadog - Amazon Web Services integration Lambda ARN
|
|
14
|
-
* const mainCollector = new datadog.aws.IntegrationLambdaArn("
|
|
14
|
+
* const mainCollector = new datadog.aws.IntegrationLambdaArn("mainCollector", {
|
|
15
15
|
* accountId: "1234567890",
|
|
16
16
|
* lambdaArn: "arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder",
|
|
17
17
|
* });
|
|
@@ -19,7 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
*
|
|
20
20
|
* ## Import
|
|
21
21
|
*
|
|
22
|
-
*
|
|
22
|
+
* Amazon Web Services Lambda ARN integrations can be imported using their account_id and lambda_arn separated with a space (` `).
|
|
23
23
|
*
|
|
24
24
|
* ```sh
|
|
25
25
|
* $ pulumi import datadog:aws/integrationLambdaArn:IntegrationLambdaArn test "1234567890 arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder"
|
|
@@ -42,7 +42,7 @@ export declare class IntegrationLambdaArn extends pulumi.CustomResource {
|
|
|
42
42
|
*/
|
|
43
43
|
static isInstance(obj: any): obj is IntegrationLambdaArn;
|
|
44
44
|
/**
|
|
45
|
-
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `
|
|
45
|
+
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
|
|
46
46
|
*/
|
|
47
47
|
readonly accountId: pulumi.Output<string>;
|
|
48
48
|
/**
|
|
@@ -63,7 +63,7 @@ export declare class IntegrationLambdaArn extends pulumi.CustomResource {
|
|
|
63
63
|
*/
|
|
64
64
|
export interface IntegrationLambdaArnState {
|
|
65
65
|
/**
|
|
66
|
-
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `
|
|
66
|
+
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
|
|
67
67
|
*/
|
|
68
68
|
accountId?: pulumi.Input<string>;
|
|
69
69
|
/**
|
|
@@ -76,7 +76,7 @@ export interface IntegrationLambdaArnState {
|
|
|
76
76
|
*/
|
|
77
77
|
export interface IntegrationLambdaArnArgs {
|
|
78
78
|
/**
|
|
79
|
-
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `
|
|
79
|
+
* Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
|
|
80
80
|
*/
|
|
81
81
|
accountId: pulumi.Input<string>;
|
|
82
82
|
/**
|