@pulumi/datadog 4.55.0-alpha.1756359805 → 4.55.0-alpha.1756506711
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/actionConnection.js +8 -8
- package/actionConnection.js.map +1 -1
- package/agentlessScanningAwsScanOptions.js +16 -16
- package/agentlessScanningAwsScanOptions.js.map +1 -1
- package/apiKey.js +7 -7
- package/apiKey.js.map +1 -1
- package/apmRetentionFilter.js +17 -17
- package/apmRetentionFilter.js.map +1 -1
- package/apmRetentionFilterOrder.js +4 -4
- package/apmRetentionFilterOrder.js.map +1 -1
- package/appBuilderApp.js +14 -14
- package/appBuilderApp.js.map +1 -1
- package/appKeyRegistration.js +4 -4
- package/appKeyRegistration.js.map +1 -1
- package/applicationKey.js +7 -7
- package/applicationKey.js.map +1 -1
- package/appsecWafCustomRule.js +21 -21
- package/appsecWafCustomRule.js.map +1 -1
- package/appsecWafExclusionFilter.js +21 -21
- package/appsecWafExclusionFilter.js.map +1 -1
- package/authnMapping.js +11 -11
- package/authnMapping.js.map +1 -1
- package/aws/integration.js +26 -26
- package/aws/integration.js.map +1 -1
- package/aws/integrationAccount.js +21 -21
- package/aws/integrationAccount.js.map +1 -1
- package/aws/integrationEventBridge.js +12 -12
- package/aws/integrationEventBridge.js.map +1 -1
- package/aws/integrationExternalId.js +1 -1
- package/aws/integrationExternalId.js.map +1 -1
- package/aws/integrationLambdaArn.js +7 -7
- package/aws/integrationLambdaArn.js.map +1 -1
- package/aws/integrationLogCollection.js +7 -7
- package/aws/integrationLogCollection.js.map +1 -1
- package/aws/integrationTagFilter.js +10 -10
- package/aws/integrationTagFilter.js.map +1 -1
- package/azure/integration.js +32 -32
- package/azure/integration.js.map +1 -1
- package/childOrganization.js +10 -10
- package/childOrganization.js.map +1 -1
- package/cloudConfigurationRule.js +29 -29
- package/cloudConfigurationRule.js.map +1 -1
- package/cloudWorkloadSecurityAgentRule.js +11 -11
- package/cloudWorkloadSecurityAgentRule.js.map +1 -1
- package/cloudflare/integrationAccount.js +11 -11
- package/cloudflare/integrationAccount.js.map +1 -1
- package/complianceCustomFramework.js +14 -14
- package/complianceCustomFramework.js.map +1 -1
- package/complianceResourceEvaluationFilter.d.ts +15 -12
- package/complianceResourceEvaluationFilter.js +10 -10
- package/complianceResourceEvaluationFilter.js.map +1 -1
- package/config/vars.d.ts +8 -21
- package/config/vars.js.map +1 -1
- package/confluent/integrationAccount.js +9 -9
- package/confluent/integrationAccount.js.map +1 -1
- package/confluent/integrationResource.js +13 -13
- package/confluent/integrationResource.js.map +1 -1
- package/costBudget.js +18 -18
- package/costBudget.js.map +1 -1
- package/csmThreatsAgentRule.js +17 -17
- package/csmThreatsAgentRule.js.map +1 -1
- package/csmThreatsPolicy.js +12 -12
- package/csmThreatsPolicy.js.map +1 -1
- package/dashboard.js +30 -30
- package/dashboard.js.map +1 -1
- package/dashboardJson.js +9 -9
- package/dashboardJson.js.map +1 -1
- package/dashboardList.js +6 -6
- package/dashboardList.js.map +1 -1
- package/dataset.js +11 -11
- package/dataset.js.map +1 -1
- package/domainAllowlist.js +7 -7
- package/domainAllowlist.js.map +1 -1
- package/downtime.js +27 -27
- package/downtime.js.map +1 -1
- package/downtimeSchedule.js +20 -20
- package/downtimeSchedule.js.map +1 -1
- package/fastly/integrationAccount.js +7 -7
- package/fastly/integrationAccount.js.map +1 -1
- package/fastly/integrationService.js +8 -8
- package/fastly/integrationService.js.map +1 -1
- package/gcp/integration.js +30 -30
- package/gcp/integration.js.map +1 -1
- package/gcp/integrationSts.js +25 -25
- package/gcp/integrationSts.js.map +1 -1
- package/incidentType.js +8 -8
- package/incidentType.js.map +1 -1
- package/ipAllowlist.js +6 -6
- package/ipAllowlist.js.map +1 -1
- package/logsArchive.js +19 -19
- package/logsArchive.js.map +1 -1
- package/logsArchiveOrder.js +3 -3
- package/logsArchiveOrder.js.map +1 -1
- package/logsCustomDestination.js +22 -22
- package/logsCustomDestination.js.map +1 -1
- package/logsCustomPipeline.js +15 -15
- package/logsCustomPipeline.js.map +1 -1
- package/logsIndex.js +21 -21
- package/logsIndex.js.map +1 -1
- package/logsIndexOrder.js +6 -6
- package/logsIndexOrder.js.map +1 -1
- package/logsIntegrationPipeline.js +3 -3
- package/logsIntegrationPipeline.js.map +1 -1
- package/logsMetric.js +12 -12
- package/logsMetric.js.map +1 -1
- package/logsPipelineOrder.js +7 -7
- package/logsPipelineOrder.js.map +1 -1
- package/metricMetadata.js +16 -16
- package/metricMetadata.js.map +1 -1
- package/metricTagConfiguration.js +16 -16
- package/metricTagConfiguration.js.map +1 -1
- package/monitor.d.ts +69 -144
- package/monitor.js +73 -73
- package/monitor.js.map +1 -1
- package/monitorConfigPolicy.js +6 -6
- package/monitorConfigPolicy.js.map +1 -1
- package/monitorJson.js +6 -6
- package/monitorJson.js.map +1 -1
- package/monitorNotificationRule.js +9 -9
- package/monitorNotificationRule.js.map +1 -1
- package/ms/integrationTeamsTenantBasedHandle.js +13 -13
- package/ms/integrationTeamsTenantBasedHandle.js.map +1 -1
- package/ms/integrationTeamsWorkflowsWebhookHandle.js +7 -7
- package/ms/integrationTeamsWorkflowsWebhookHandle.js.map +1 -1
- package/observabilityPipeline.js +6 -6
- package/observabilityPipeline.js.map +1 -1
- package/onCallEscalationPolicy.js +13 -13
- package/onCallEscalationPolicy.js.map +1 -1
- package/onCallSchedule.js +11 -11
- package/onCallSchedule.js.map +1 -1
- package/onCallTeamRoutingRules.js +6 -6
- package/onCallTeamRoutingRules.js.map +1 -1
- package/openapiApi.js +4 -4
- package/openapiApi.js.map +1 -1
- package/opsgenie/serviceObject.js +12 -12
- package/opsgenie/serviceObject.js.map +1 -1
- package/organizationSettings.js +9 -9
- package/organizationSettings.js.map +1 -1
- package/package.json +2 -2
- package/pagerduty/integration.js +8 -8
- package/pagerduty/integration.js.map +1 -1
- package/pagerduty/serviceObject.js +7 -7
- package/pagerduty/serviceObject.js.map +1 -1
- package/powerpack.js +17 -17
- package/powerpack.js.map +1 -1
- package/provider.d.ts +15 -40
- package/provider.js +16 -16
- package/provider.js.map +1 -1
- package/restrictionPolicy.js +6 -6
- package/restrictionPolicy.js.map +1 -1
- package/role.js +11 -11
- package/role.js.map +1 -1
- package/rumApplication.js +7 -7
- package/rumApplication.js.map +1 -1
- package/rumMetric.js +15 -15
- package/rumMetric.js.map +1 -1
- package/rumRetentionFilter.js +17 -17
- package/rumRetentionFilter.js.map +1 -1
- package/rumRetentionFiltersOrder.js +7 -7
- package/rumRetentionFiltersOrder.js.map +1 -1
- package/securityMonitoringDefaultRule.js +18 -18
- package/securityMonitoringDefaultRule.js.map +1 -1
- package/securityMonitoringFilter.js +15 -15
- package/securityMonitoringFilter.js.map +1 -1
- package/securityMonitoringRule.js +33 -33
- package/securityMonitoringRule.js.map +1 -1
- package/securityMonitoringRuleJson.js +4 -4
- package/securityMonitoringRuleJson.js.map +1 -1
- package/securityMonitoringSuppression.js +20 -20
- package/securityMonitoringSuppression.js.map +1 -1
- package/securityNotificationRule.js +20 -20
- package/securityNotificationRule.js.map +1 -1
- package/sensitiveDataScannerGroup.js +17 -17
- package/sensitiveDataScannerGroup.js.map +1 -1
- package/sensitiveDataScannerGroupOrder.js +4 -4
- package/sensitiveDataScannerGroupOrder.js.map +1 -1
- package/sensitiveDataScannerRule.js +26 -26
- package/sensitiveDataScannerRule.js.map +1 -1
- package/serviceAccount.js +10 -10
- package/serviceAccount.js.map +1 -1
- package/serviceAccountApplicationKey.js +12 -12
- package/serviceAccountApplicationKey.js.map +1 -1
- package/serviceDefinitionYaml.js +4 -4
- package/serviceDefinitionYaml.js.map +1 -1
- package/serviceLevelObjective.js +32 -32
- package/serviceLevelObjective.js.map +1 -1
- package/slack/channel.js +10 -10
- package/slack/channel.js.map +1 -1
- package/sloCorrection.js +20 -20
- package/sloCorrection.js.map +1 -1
- package/softwareCatalog.js +4 -4
- package/softwareCatalog.js.map +1 -1
- package/spansMetric.js +10 -10
- package/spansMetric.js.map +1 -1
- package/syntheticsConcurrencyCap.js +4 -4
- package/syntheticsConcurrencyCap.js.map +1 -1
- package/syntheticsGlobalVariable.js +24 -24
- package/syntheticsGlobalVariable.js.map +1 -1
- package/syntheticsPrivateLocation.js +13 -13
- package/syntheticsPrivateLocation.js.map +1 -1
- package/syntheticsTest.js +62 -62
- package/syntheticsTest.js.map +1 -1
- package/team.js +13 -13
- package/team.js.map +1 -1
- package/teamLink.js +12 -12
- package/teamLink.js.map +1 -1
- package/teamMembership.js +9 -9
- package/teamMembership.js.map +1 -1
- package/teamPermissionSetting.js +10 -10
- package/teamPermissionSetting.js.map +1 -1
- package/user.js +14 -14
- package/user.js.map +1 -1
- package/userRole.js +7 -7
- package/userRole.js.map +1 -1
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
- package/webhook.js +13 -13
- package/webhook.js.map +1 -1
- package/webhookCustomVariable.js +10 -10
- package/webhookCustomVariable.js.map +1 -1
- package/workflowAutomation.js +18 -18
- package/workflowAutomation.js.map +1 -1
package/childOrganization.js
CHANGED
|
@@ -29,7 +29,7 @@ class ChildOrganization extends pulumi.CustomResource {
|
|
|
29
29
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
30
|
*/
|
|
31
31
|
static get(name, id, state, opts) {
|
|
32
|
-
return new ChildOrganization(name, state,
|
|
32
|
+
return new ChildOrganization(name, state, { ...opts, id: id });
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Returns true if the given object is an instance of ChildOrganization. This is designed to work even
|
|
@@ -46,20 +46,20 @@ class ChildOrganization extends pulumi.CustomResource {
|
|
|
46
46
|
opts = opts || {};
|
|
47
47
|
if (opts.id) {
|
|
48
48
|
const state = argsOrState;
|
|
49
|
-
resourceInputs["apiKeys"] = state
|
|
50
|
-
resourceInputs["applicationKeys"] = state
|
|
51
|
-
resourceInputs["description"] = state
|
|
52
|
-
resourceInputs["name"] = state
|
|
53
|
-
resourceInputs["publicId"] = state
|
|
54
|
-
resourceInputs["settings"] = state
|
|
55
|
-
resourceInputs["users"] = state
|
|
49
|
+
resourceInputs["apiKeys"] = state?.apiKeys;
|
|
50
|
+
resourceInputs["applicationKeys"] = state?.applicationKeys;
|
|
51
|
+
resourceInputs["description"] = state?.description;
|
|
52
|
+
resourceInputs["name"] = state?.name;
|
|
53
|
+
resourceInputs["publicId"] = state?.publicId;
|
|
54
|
+
resourceInputs["settings"] = state?.settings;
|
|
55
|
+
resourceInputs["users"] = state?.users;
|
|
56
56
|
}
|
|
57
57
|
else {
|
|
58
58
|
const args = argsOrState;
|
|
59
|
-
if (
|
|
59
|
+
if (args?.name === undefined && !opts.urn) {
|
|
60
60
|
throw new Error("Missing required property 'name'");
|
|
61
61
|
}
|
|
62
|
-
resourceInputs["name"] = args
|
|
62
|
+
resourceInputs["name"] = args?.name;
|
|
63
63
|
resourceInputs["apiKeys"] = undefined /*out*/;
|
|
64
64
|
resourceInputs["applicationKeys"] = undefined /*out*/;
|
|
65
65
|
resourceInputs["description"] = undefined /*out*/;
|
package/childOrganization.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"childOrganization.js","sourceRoot":"","sources":["../childOrganization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"childOrganization.js","sourceRoot":"","sources":["../childOrganization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAA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YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA5FL,8CA6FC;AA/EG,gBAAgB;AACO,8BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -73,7 +73,7 @@ class CloudConfigurationRule extends pulumi.CustomResource {
|
|
|
73
73
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
74
74
|
*/
|
|
75
75
|
static get(name, id, state, opts) {
|
|
76
|
-
return new CloudConfigurationRule(name, state,
|
|
76
|
+
return new CloudConfigurationRule(name, state, { ...opts, id: id });
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
79
|
* Returns true if the given object is an instance of CloudConfigurationRule. This is designed to work even
|
|
@@ -90,49 +90,49 @@ class CloudConfigurationRule extends pulumi.CustomResource {
|
|
|
90
90
|
opts = opts || {};
|
|
91
91
|
if (opts.id) {
|
|
92
92
|
const state = argsOrState;
|
|
93
|
-
resourceInputs["enabled"] = state
|
|
94
|
-
resourceInputs["filters"] = state
|
|
95
|
-
resourceInputs["groupBies"] = state
|
|
96
|
-
resourceInputs["message"] = state
|
|
97
|
-
resourceInputs["name"] = state
|
|
98
|
-
resourceInputs["notifications"] = state
|
|
99
|
-
resourceInputs["policy"] = state
|
|
100
|
-
resourceInputs["relatedResourceTypes"] = state
|
|
101
|
-
resourceInputs["resourceType"] = state
|
|
102
|
-
resourceInputs["severity"] = state
|
|
103
|
-
resourceInputs["tags"] = state
|
|
93
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
94
|
+
resourceInputs["filters"] = state?.filters;
|
|
95
|
+
resourceInputs["groupBies"] = state?.groupBies;
|
|
96
|
+
resourceInputs["message"] = state?.message;
|
|
97
|
+
resourceInputs["name"] = state?.name;
|
|
98
|
+
resourceInputs["notifications"] = state?.notifications;
|
|
99
|
+
resourceInputs["policy"] = state?.policy;
|
|
100
|
+
resourceInputs["relatedResourceTypes"] = state?.relatedResourceTypes;
|
|
101
|
+
resourceInputs["resourceType"] = state?.resourceType;
|
|
102
|
+
resourceInputs["severity"] = state?.severity;
|
|
103
|
+
resourceInputs["tags"] = state?.tags;
|
|
104
104
|
}
|
|
105
105
|
else {
|
|
106
106
|
const args = argsOrState;
|
|
107
|
-
if (
|
|
107
|
+
if (args?.enabled === undefined && !opts.urn) {
|
|
108
108
|
throw new Error("Missing required property 'enabled'");
|
|
109
109
|
}
|
|
110
|
-
if (
|
|
110
|
+
if (args?.message === undefined && !opts.urn) {
|
|
111
111
|
throw new Error("Missing required property 'message'");
|
|
112
112
|
}
|
|
113
|
-
if (
|
|
113
|
+
if (args?.name === undefined && !opts.urn) {
|
|
114
114
|
throw new Error("Missing required property 'name'");
|
|
115
115
|
}
|
|
116
|
-
if (
|
|
116
|
+
if (args?.policy === undefined && !opts.urn) {
|
|
117
117
|
throw new Error("Missing required property 'policy'");
|
|
118
118
|
}
|
|
119
|
-
if (
|
|
119
|
+
if (args?.resourceType === undefined && !opts.urn) {
|
|
120
120
|
throw new Error("Missing required property 'resourceType'");
|
|
121
121
|
}
|
|
122
|
-
if (
|
|
122
|
+
if (args?.severity === undefined && !opts.urn) {
|
|
123
123
|
throw new Error("Missing required property 'severity'");
|
|
124
124
|
}
|
|
125
|
-
resourceInputs["enabled"] = args
|
|
126
|
-
resourceInputs["filters"] = args
|
|
127
|
-
resourceInputs["groupBies"] = args
|
|
128
|
-
resourceInputs["message"] = args
|
|
129
|
-
resourceInputs["name"] = args
|
|
130
|
-
resourceInputs["notifications"] = args
|
|
131
|
-
resourceInputs["policy"] = args
|
|
132
|
-
resourceInputs["relatedResourceTypes"] = args
|
|
133
|
-
resourceInputs["resourceType"] = args
|
|
134
|
-
resourceInputs["severity"] = args
|
|
135
|
-
resourceInputs["tags"] = args
|
|
125
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
126
|
+
resourceInputs["filters"] = args?.filters;
|
|
127
|
+
resourceInputs["groupBies"] = args?.groupBies;
|
|
128
|
+
resourceInputs["message"] = args?.message;
|
|
129
|
+
resourceInputs["name"] = args?.name;
|
|
130
|
+
resourceInputs["notifications"] = args?.notifications;
|
|
131
|
+
resourceInputs["policy"] = args?.policy;
|
|
132
|
+
resourceInputs["relatedResourceTypes"] = args?.relatedResourceTypes;
|
|
133
|
+
resourceInputs["resourceType"] = args?.resourceType;
|
|
134
|
+
resourceInputs["severity"] = args?.severity;
|
|
135
|
+
resourceInputs["tags"] = args?.tags;
|
|
136
136
|
}
|
|
137
137
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
138
138
|
super(CloudConfigurationRule.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudConfigurationRule.js","sourceRoot":"","sources":["../cloudConfigurationRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;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D,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAnIL,wDAoIC;AAtHG,gBAAgB;AACO,mCAAY,GAAG,6DAA6D,CAAC"}
|
|
@@ -41,7 +41,7 @@ class CloudWorkloadSecurityAgentRule extends pulumi.CustomResource {
|
|
|
41
41
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
42
|
*/
|
|
43
43
|
static get(name, id, state, opts) {
|
|
44
|
-
return new CloudWorkloadSecurityAgentRule(name, state,
|
|
44
|
+
return new CloudWorkloadSecurityAgentRule(name, state, { ...opts, id: id });
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Returns true if the given object is an instance of CloudWorkloadSecurityAgentRule. This is designed to work even
|
|
@@ -58,23 +58,23 @@ class CloudWorkloadSecurityAgentRule extends pulumi.CustomResource {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
if (opts.id) {
|
|
60
60
|
const state = argsOrState;
|
|
61
|
-
resourceInputs["description"] = state
|
|
62
|
-
resourceInputs["enabled"] = state
|
|
63
|
-
resourceInputs["expression"] = state
|
|
64
|
-
resourceInputs["name"] = state
|
|
61
|
+
resourceInputs["description"] = state?.description;
|
|
62
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
63
|
+
resourceInputs["expression"] = state?.expression;
|
|
64
|
+
resourceInputs["name"] = state?.name;
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
67
67
|
const args = argsOrState;
|
|
68
|
-
if (
|
|
68
|
+
if (args?.expression === undefined && !opts.urn) {
|
|
69
69
|
throw new Error("Missing required property 'expression'");
|
|
70
70
|
}
|
|
71
|
-
if (
|
|
71
|
+
if (args?.name === undefined && !opts.urn) {
|
|
72
72
|
throw new Error("Missing required property 'name'");
|
|
73
73
|
}
|
|
74
|
-
resourceInputs["description"] = args
|
|
75
|
-
resourceInputs["enabled"] = args
|
|
76
|
-
resourceInputs["expression"] = args
|
|
77
|
-
resourceInputs["name"] = args
|
|
74
|
+
resourceInputs["description"] = args?.description;
|
|
75
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
76
|
+
resourceInputs["expression"] = args?.expression;
|
|
77
|
+
resourceInputs["name"] = args?.name;
|
|
78
78
|
}
|
|
79
79
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
80
|
super(CloudWorkloadSecurityAgentRule.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloudWorkloadSecurityAgentRule.js","sourceRoot":"","sources":["../cloudWorkloadSecurityAgentRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"cloudWorkloadSecurityAgentRule.js","sourceRoot":"","sources":["../cloudWorkloadSecurityAgentRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IACrE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrF,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,8BAA8B,CAAC,YAAY,CAAC;IAC/E,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAsF,EAAE,IAAmC;QACjJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8D,CAAC;YAC7E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAA6D,CAAC;YAC3E,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,8BAA8B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnF,CAAC;;AA7EL,wEA8EC;AAhEG,gBAAgB;AACO,2CAAY,GAAG,6EAA6E,CAAC"}
|
|
@@ -41,7 +41,7 @@ class IntegrationAccount extends pulumi.CustomResource {
|
|
|
41
41
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
42
|
*/
|
|
43
43
|
static get(name, id, state, opts) {
|
|
44
|
-
return new IntegrationAccount(name, state,
|
|
44
|
+
return new IntegrationAccount(name, state, { ...opts, id: id });
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Returns true if the given object is an instance of IntegrationAccount. This is designed to work even
|
|
@@ -58,23 +58,23 @@ class IntegrationAccount extends pulumi.CustomResource {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
if (opts.id) {
|
|
60
60
|
const state = argsOrState;
|
|
61
|
-
resourceInputs["apiKey"] = state
|
|
62
|
-
resourceInputs["email"] = state
|
|
63
|
-
resourceInputs["name"] = state
|
|
64
|
-
resourceInputs["resources"] = state
|
|
61
|
+
resourceInputs["apiKey"] = state?.apiKey;
|
|
62
|
+
resourceInputs["email"] = state?.email;
|
|
63
|
+
resourceInputs["name"] = state?.name;
|
|
64
|
+
resourceInputs["resources"] = state?.resources;
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
67
67
|
const args = argsOrState;
|
|
68
|
-
if (
|
|
68
|
+
if (args?.apiKey === undefined && !opts.urn) {
|
|
69
69
|
throw new Error("Missing required property 'apiKey'");
|
|
70
70
|
}
|
|
71
|
-
if (
|
|
71
|
+
if (args?.name === undefined && !opts.urn) {
|
|
72
72
|
throw new Error("Missing required property 'name'");
|
|
73
73
|
}
|
|
74
|
-
resourceInputs["apiKey"] =
|
|
75
|
-
resourceInputs["email"] = args
|
|
76
|
-
resourceInputs["name"] = args
|
|
77
|
-
resourceInputs["resources"] = args
|
|
74
|
+
resourceInputs["apiKey"] = args?.apiKey ? pulumi.secret(args.apiKey) : undefined;
|
|
75
|
+
resourceInputs["email"] = args?.email;
|
|
76
|
+
resourceInputs["name"] = args?.name;
|
|
77
|
+
resourceInputs["resources"] = args?.resources;
|
|
78
78
|
}
|
|
79
79
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
80
|
const secretOpts = { additionalSecretOutputs: ["apiKey"] };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationAccount.js","sourceRoot":"","sources":["../../cloudflare/integrationAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"integrationAccount.js","sourceRoot":"","sources":["../../cloudflare/integrationAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAA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AE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA/EL,gDAgFC;AAlEG,gBAAgB;AACO,+BAAY,GAAG,0DAA0D,CAAC"}
|
|
@@ -80,7 +80,7 @@ class ComplianceCustomFramework extends pulumi.CustomResource {
|
|
|
80
80
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
81
81
|
*/
|
|
82
82
|
static get(name, id, state, opts) {
|
|
83
|
-
return new ComplianceCustomFramework(name, state,
|
|
83
|
+
return new ComplianceCustomFramework(name, state, { ...opts, id: id });
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
86
|
* Returns true if the given object is an instance of ComplianceCustomFramework. This is designed to work even
|
|
@@ -97,28 +97,28 @@ class ComplianceCustomFramework extends pulumi.CustomResource {
|
|
|
97
97
|
opts = opts || {};
|
|
98
98
|
if (opts.id) {
|
|
99
99
|
const state = argsOrState;
|
|
100
|
-
resourceInputs["handle"] = state
|
|
101
|
-
resourceInputs["iconUrl"] = state
|
|
102
|
-
resourceInputs["name"] = state
|
|
103
|
-
resourceInputs["requirements"] = state
|
|
104
|
-
resourceInputs["version"] = state
|
|
100
|
+
resourceInputs["handle"] = state?.handle;
|
|
101
|
+
resourceInputs["iconUrl"] = state?.iconUrl;
|
|
102
|
+
resourceInputs["name"] = state?.name;
|
|
103
|
+
resourceInputs["requirements"] = state?.requirements;
|
|
104
|
+
resourceInputs["version"] = state?.version;
|
|
105
105
|
}
|
|
106
106
|
else {
|
|
107
107
|
const args = argsOrState;
|
|
108
|
-
if (
|
|
108
|
+
if (args?.handle === undefined && !opts.urn) {
|
|
109
109
|
throw new Error("Missing required property 'handle'");
|
|
110
110
|
}
|
|
111
|
-
if (
|
|
111
|
+
if (args?.name === undefined && !opts.urn) {
|
|
112
112
|
throw new Error("Missing required property 'name'");
|
|
113
113
|
}
|
|
114
|
-
if (
|
|
114
|
+
if (args?.version === undefined && !opts.urn) {
|
|
115
115
|
throw new Error("Missing required property 'version'");
|
|
116
116
|
}
|
|
117
|
-
resourceInputs["handle"] = args
|
|
118
|
-
resourceInputs["iconUrl"] = args
|
|
119
|
-
resourceInputs["name"] = args
|
|
120
|
-
resourceInputs["requirements"] = args
|
|
121
|
-
resourceInputs["version"] = args
|
|
117
|
+
resourceInputs["handle"] = args?.handle;
|
|
118
|
+
resourceInputs["iconUrl"] = args?.iconUrl;
|
|
119
|
+
resourceInputs["name"] = args?.name;
|
|
120
|
+
resourceInputs["requirements"] = args?.requirements;
|
|
121
|
+
resourceInputs["version"] = args?.version;
|
|
122
122
|
}
|
|
123
123
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
124
124
|
super(ComplianceCustomFramework.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complianceCustomFramework.js","sourceRoot":"","sources":["../complianceCustomFramework.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"complianceCustomFramework.js","sourceRoot":"","sources":["../complianceCustomFramework.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,E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,OAAO,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1C,MAAM,IAAI,KAAK,CAAC,qCAAqC,CAAC,CAAC;aAC1D;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAtFL,8DAuFC;AAzEG,gBAAgB;AACO,sCAAY,GAAG,mEAAmE,CAAC"}
|
|
@@ -41,13 +41,14 @@ export declare class ComplianceResourceEvaluationFilter extends pulumi.CustomRes
|
|
|
41
41
|
*/
|
|
42
42
|
static isInstance(obj: any): obj is ComplianceResourceEvaluationFilter;
|
|
43
43
|
/**
|
|
44
|
-
* The cloud provider of the filter's targeted resource. Only `aws`, `gcp`, or `azure` are considered valid cloud
|
|
45
|
-
* providers.
|
|
44
|
+
* The cloud provider of the filter's targeted resource. Only `aws`, `gcp`, or `azure` are considered valid cloud providers.
|
|
46
45
|
*/
|
|
47
46
|
readonly cloudProvider: pulumi.Output<string>;
|
|
48
47
|
/**
|
|
49
|
-
* The ID of the of the filter's targeted resource. Different cloud providers target different resource IDs:
|
|
50
|
-
*
|
|
48
|
+
* The ID of the of the filter's targeted resource. Different cloud providers target different resource IDs:
|
|
49
|
+
* - `aws`: account ID
|
|
50
|
+
* - `gcp`: project ID
|
|
51
|
+
* - `azure`: subscription ID
|
|
51
52
|
*/
|
|
52
53
|
readonly resourceId: pulumi.Output<string>;
|
|
53
54
|
/**
|
|
@@ -68,13 +69,14 @@ export declare class ComplianceResourceEvaluationFilter extends pulumi.CustomRes
|
|
|
68
69
|
*/
|
|
69
70
|
export interface ComplianceResourceEvaluationFilterState {
|
|
70
71
|
/**
|
|
71
|
-
* The cloud provider of the filter's targeted resource. Only `aws`, `gcp`, or `azure` are considered valid cloud
|
|
72
|
-
* providers.
|
|
72
|
+
* The cloud provider of the filter's targeted resource. Only `aws`, `gcp`, or `azure` are considered valid cloud providers.
|
|
73
73
|
*/
|
|
74
74
|
cloudProvider?: pulumi.Input<string>;
|
|
75
75
|
/**
|
|
76
|
-
* The ID of the of the filter's targeted resource. Different cloud providers target different resource IDs:
|
|
77
|
-
*
|
|
76
|
+
* The ID of the of the filter's targeted resource. Different cloud providers target different resource IDs:
|
|
77
|
+
* - `aws`: account ID
|
|
78
|
+
* - `gcp`: project ID
|
|
79
|
+
* - `azure`: subscription ID
|
|
78
80
|
*/
|
|
79
81
|
resourceId?: pulumi.Input<string>;
|
|
80
82
|
/**
|
|
@@ -87,13 +89,14 @@ export interface ComplianceResourceEvaluationFilterState {
|
|
|
87
89
|
*/
|
|
88
90
|
export interface ComplianceResourceEvaluationFilterArgs {
|
|
89
91
|
/**
|
|
90
|
-
* The cloud provider of the filter's targeted resource. Only `aws`, `gcp`, or `azure` are considered valid cloud
|
|
91
|
-
* providers.
|
|
92
|
+
* The cloud provider of the filter's targeted resource. Only `aws`, `gcp`, or `azure` are considered valid cloud providers.
|
|
92
93
|
*/
|
|
93
94
|
cloudProvider: pulumi.Input<string>;
|
|
94
95
|
/**
|
|
95
|
-
* The ID of the of the filter's targeted resource. Different cloud providers target different resource IDs:
|
|
96
|
-
*
|
|
96
|
+
* The ID of the of the filter's targeted resource. Different cloud providers target different resource IDs:
|
|
97
|
+
* - `aws`: account ID
|
|
98
|
+
* - `gcp`: project ID
|
|
99
|
+
* - `azure`: subscription ID
|
|
97
100
|
*/
|
|
98
101
|
resourceId: pulumi.Input<string>;
|
|
99
102
|
/**
|
|
@@ -41,7 +41,7 @@ class ComplianceResourceEvaluationFilter extends pulumi.CustomResource {
|
|
|
41
41
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
42
|
*/
|
|
43
43
|
static get(name, id, state, opts) {
|
|
44
|
-
return new ComplianceResourceEvaluationFilter(name, state,
|
|
44
|
+
return new ComplianceResourceEvaluationFilter(name, state, { ...opts, id: id });
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Returns true if the given object is an instance of ComplianceResourceEvaluationFilter. This is designed to work even
|
|
@@ -58,24 +58,24 @@ class ComplianceResourceEvaluationFilter extends pulumi.CustomResource {
|
|
|
58
58
|
opts = opts || {};
|
|
59
59
|
if (opts.id) {
|
|
60
60
|
const state = argsOrState;
|
|
61
|
-
resourceInputs["cloudProvider"] = state
|
|
62
|
-
resourceInputs["resourceId"] = state
|
|
63
|
-
resourceInputs["tags"] = state
|
|
61
|
+
resourceInputs["cloudProvider"] = state?.cloudProvider;
|
|
62
|
+
resourceInputs["resourceId"] = state?.resourceId;
|
|
63
|
+
resourceInputs["tags"] = state?.tags;
|
|
64
64
|
}
|
|
65
65
|
else {
|
|
66
66
|
const args = argsOrState;
|
|
67
|
-
if (
|
|
67
|
+
if (args?.cloudProvider === undefined && !opts.urn) {
|
|
68
68
|
throw new Error("Missing required property 'cloudProvider'");
|
|
69
69
|
}
|
|
70
|
-
if (
|
|
70
|
+
if (args?.resourceId === undefined && !opts.urn) {
|
|
71
71
|
throw new Error("Missing required property 'resourceId'");
|
|
72
72
|
}
|
|
73
|
-
if (
|
|
73
|
+
if (args?.tags === undefined && !opts.urn) {
|
|
74
74
|
throw new Error("Missing required property 'tags'");
|
|
75
75
|
}
|
|
76
|
-
resourceInputs["cloudProvider"] = args
|
|
77
|
-
resourceInputs["resourceId"] = args
|
|
78
|
-
resourceInputs["tags"] = args
|
|
76
|
+
resourceInputs["cloudProvider"] = args?.cloudProvider;
|
|
77
|
+
resourceInputs["resourceId"] = args?.resourceId;
|
|
78
|
+
resourceInputs["tags"] = args?.tags;
|
|
79
79
|
}
|
|
80
80
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
81
|
super(ComplianceResourceEvaluationFilter.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complianceResourceEvaluationFilter.js","sourceRoot":"","sources":["../complianceResourceEvaluationFilter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"complianceResourceEvaluationFilter.js","sourceRoot":"","sources":["../complianceResourceEvaluationFilter.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI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nE,KAAK,CAAC,kCAAkC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvF,CAAC;;AA7EL,gFA8EC;AAhEG,gBAAgB;AACO,+CAAY,GAAG,qFAAqF,CAAC"}
|
package/config/vars.d.ts
CHANGED
|
@@ -4,12 +4,7 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const apiKey: string | undefined;
|
|
6
6
|
/**
|
|
7
|
-
* The API URL. This can also be set via the DD_HOST environment variable, and defaults to `https://api.datadoghq.com`.
|
|
8
|
-
* Note that this URL must not end with the `/api/` path. For example, `https://api.datadoghq.com/` is a correct value,
|
|
9
|
-
* while `https://api.datadoghq.com/api/` is not. And if you're working with "EU" version of Datadog, use
|
|
10
|
-
* `https://api.datadoghq.eu/`. Other Datadog region examples: `https://api.us5.datadoghq.com/`,
|
|
11
|
-
* `https://api.us3.datadoghq.com/` and `https://api.ddog-gov.com/`. See https://docs.datadoghq.com/getting_started/site/
|
|
12
|
-
* for all available regions.
|
|
7
|
+
* The API URL. This can also be set via the DD_HOST environment variable, and defaults to `https://api.datadoghq.com`. Note that this URL must not end with the `/api/` path. For example, `https://api.datadoghq.com/` is a correct value, while `https://api.datadoghq.com/api/` is not. And if you're working with "EU" version of Datadog, use `https://api.datadoghq.eu/`. Other Datadog region examples: `https://api.us5.datadoghq.com/`, `https://api.us3.datadoghq.com/` and `https://api.ddog-gov.com/`. See https://docs.datadoghq.com/getting_started/site/ for all available regions.
|
|
13
8
|
*/
|
|
14
9
|
export declare const apiUrl: string | undefined;
|
|
15
10
|
/**
|
|
@@ -17,18 +12,15 @@ export declare const apiUrl: string | undefined;
|
|
|
17
12
|
*/
|
|
18
13
|
export declare const appKey: string | undefined;
|
|
19
14
|
/**
|
|
20
|
-
* The AWS access key ID; used for cloud-provider-based authentication. This can also be set using the `AWS_ACCESS_KEY_ID`
|
|
21
|
-
* environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
15
|
+
* The AWS access key ID; used for cloud-provider-based authentication. This can also be set using the `AWS_ACCESS_KEY_ID` environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
22
16
|
*/
|
|
23
17
|
export declare const awsAccessKeyId: string | undefined;
|
|
24
18
|
/**
|
|
25
|
-
* The AWS secret access key; used for cloud-provider-based authentication. This can also be set using the
|
|
26
|
-
* `AWS_SECRET_ACCESS_KEY` environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
19
|
+
* The AWS secret access key; used for cloud-provider-based authentication. This can also be set using the `AWS_SECRET_ACCESS_KEY` environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
27
20
|
*/
|
|
28
21
|
export declare const awsSecretAccessKey: string | undefined;
|
|
29
22
|
/**
|
|
30
|
-
* The AWS session token; used for cloud-provider-based authentication. This can also be set using the `AWS_SESSION_TOKEN`
|
|
31
|
-
* environment variable. Required when using `cloudProviderType` set to `aws` and using temporary credentials.
|
|
23
|
+
* The AWS session token; used for cloud-provider-based authentication. This can also be set using the `AWS_SESSION_TOKEN` environment variable. Required when using `cloudProviderType` set to `aws` and using temporary credentials.
|
|
32
24
|
*/
|
|
33
25
|
export declare const awsSessionToken: string | undefined;
|
|
34
26
|
/**
|
|
@@ -36,14 +28,11 @@ export declare const awsSessionToken: string | undefined;
|
|
|
36
28
|
*/
|
|
37
29
|
export declare const cloudProviderRegion: string | undefined;
|
|
38
30
|
/**
|
|
39
|
-
* Specifies the cloud provider used for cloud-provider-based authentication, enabling keyless access without API or app
|
|
40
|
-
* keys. Only [`aws`] is supported. This feature is in Preview. If you'd like to enable it for your organization, contact
|
|
41
|
-
* [support](https://docs.datadoghq.com/help/).
|
|
31
|
+
* Specifies the cloud provider used for cloud-provider-based authentication, enabling keyless access without API or app keys. Only [`aws`] is supported. This feature is in Preview. If you'd like to enable it for your organization, contact [support](https://docs.datadoghq.com/help/).
|
|
42
32
|
*/
|
|
43
33
|
export declare const cloudProviderType: string | undefined;
|
|
44
34
|
/**
|
|
45
|
-
* [Experimental - Logs Pipelines, Monitors Security Monitoring Rules, and Service Level Objectives only] Configuration
|
|
46
|
-
* block containing settings to apply default resource tags across all resources.
|
|
35
|
+
* [Experimental - Logs Pipelines, Monitors Security Monitoring Rules, and Service Level Objectives only] Configuration block containing settings to apply default resource tags across all resources.
|
|
47
36
|
*/
|
|
48
37
|
export declare const defaultTags: outputs.config.DefaultTags | undefined;
|
|
49
38
|
/**
|
|
@@ -67,12 +56,10 @@ export declare const httpClientRetryMaxRetries: number | undefined;
|
|
|
67
56
|
*/
|
|
68
57
|
export declare const httpClientRetryTimeout: number | undefined;
|
|
69
58
|
/**
|
|
70
|
-
* The organization UUID; used for cloud-provider-based authentication. See the [Datadog API
|
|
71
|
-
* documentation](https://docs.datadoghq.com/api/v1/organizations/) for more information.
|
|
59
|
+
* The organization UUID; used for cloud-provider-based authentication. See the [Datadog API documentation](https://docs.datadoghq.com/api/v1/organizations/) for more information.
|
|
72
60
|
*/
|
|
73
61
|
export declare const orgUuid: string | undefined;
|
|
74
62
|
/**
|
|
75
|
-
* Enables validation of the provided API key during provider initialization. Valid values are [`true`, `false`]. Default
|
|
76
|
-
* is true. When false, apiKey won't be checked.
|
|
63
|
+
* Enables validation of the provided API key during provider initialization. Valid values are [`true`, `false`]. Default is true. When false, apiKey won't be checked.
|
|
77
64
|
*/
|
|
78
65
|
export declare const validate: string | undefined;
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAMzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;AAM9C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAClC,CAAC;IACD,UAAU,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AS,2BAA2B,CAAC,CAAC;IACnE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,wBAAwB,EAAE;IACrD,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,wBAAwB,CAAC,CAAC;IAChE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
@@ -48,7 +48,7 @@ class IntegrationAccount extends pulumi.CustomResource {
|
|
|
48
48
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
49
|
*/
|
|
50
50
|
static get(name, id, state, opts) {
|
|
51
|
-
return new IntegrationAccount(name, state,
|
|
51
|
+
return new IntegrationAccount(name, state, { ...opts, id: id });
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* Returns true if the given object is an instance of IntegrationAccount. This is designed to work even
|
|
@@ -65,21 +65,21 @@ class IntegrationAccount extends pulumi.CustomResource {
|
|
|
65
65
|
opts = opts || {};
|
|
66
66
|
if (opts.id) {
|
|
67
67
|
const state = argsOrState;
|
|
68
|
-
resourceInputs["apiKey"] = state
|
|
69
|
-
resourceInputs["apiSecret"] = state
|
|
70
|
-
resourceInputs["tags"] = state
|
|
68
|
+
resourceInputs["apiKey"] = state?.apiKey;
|
|
69
|
+
resourceInputs["apiSecret"] = state?.apiSecret;
|
|
70
|
+
resourceInputs["tags"] = state?.tags;
|
|
71
71
|
}
|
|
72
72
|
else {
|
|
73
73
|
const args = argsOrState;
|
|
74
|
-
if (
|
|
74
|
+
if (args?.apiKey === undefined && !opts.urn) {
|
|
75
75
|
throw new Error("Missing required property 'apiKey'");
|
|
76
76
|
}
|
|
77
|
-
if (
|
|
77
|
+
if (args?.apiSecret === undefined && !opts.urn) {
|
|
78
78
|
throw new Error("Missing required property 'apiSecret'");
|
|
79
79
|
}
|
|
80
|
-
resourceInputs["apiKey"] = args
|
|
81
|
-
resourceInputs["apiSecret"] =
|
|
82
|
-
resourceInputs["tags"] = args
|
|
80
|
+
resourceInputs["apiKey"] = args?.apiKey;
|
|
81
|
+
resourceInputs["apiSecret"] = args?.apiSecret ? pulumi.secret(args.apiSecret) : undefined;
|
|
82
|
+
resourceInputs["tags"] = args?.tags;
|
|
83
83
|
}
|
|
84
84
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
85
|
const secretOpts = { additionalSecretOutputs: ["apiSecret"] };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationAccount.js","sourceRoot":"","sources":["../../confluent/integrationAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"integrationAccount.js","sourceRoot":"","sources":["../../confluent/integrationAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,M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