@pulumi/datadog 4.7.0-alpha.1646160203 → 4.7.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.
@@ -0,0 +1,100 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Datadog AuthN Mappings resource. This feature lets you automatically assign roles to users based on their SAML attributes.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as datadog from "@pulumi/datadog";
10
+ *
11
+ * const roRole = datadog.getRole({
12
+ * filter: "Datadog Read Only Role",
13
+ * });
14
+ * // Create a new AuthN mapping
15
+ * const devRoRoleMapping = new datadog.AuthnMapping("devRoRoleMapping", {
16
+ * key: "Member-of",
17
+ * value: "Development",
18
+ * role: roRole.then(roRole => roRole.id),
19
+ * });
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * # AuthN mappings can be imported using their ID, e.g.
25
+ *
26
+ * ```sh
27
+ * $ pulumi import datadog:index/authnMapping:AuthnMapping dev_ro_mapping 000000-0000-0000-0000-000000000000
28
+ * ```
29
+ */
30
+ export declare class AuthnMapping extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing AuthnMapping resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AuthnMappingState, opts?: pulumi.CustomResourceOptions): AuthnMapping;
41
+ /**
42
+ * Returns true if the given object is an instance of AuthnMapping. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is AuthnMapping;
46
+ /**
47
+ * Identity provider key.
48
+ */
49
+ readonly key: pulumi.Output<string>;
50
+ /**
51
+ * The ID of a role to attach to all users with the corresponding key and value.
52
+ */
53
+ readonly role: pulumi.Output<string>;
54
+ /**
55
+ * Identity provider value.
56
+ */
57
+ readonly value: pulumi.Output<string>;
58
+ /**
59
+ * Create a AuthnMapping resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name: string, args: AuthnMappingArgs, opts?: pulumi.CustomResourceOptions);
66
+ }
67
+ /**
68
+ * Input properties used for looking up and filtering AuthnMapping resources.
69
+ */
70
+ export interface AuthnMappingState {
71
+ /**
72
+ * Identity provider key.
73
+ */
74
+ key?: pulumi.Input<string>;
75
+ /**
76
+ * The ID of a role to attach to all users with the corresponding key and value.
77
+ */
78
+ role?: pulumi.Input<string>;
79
+ /**
80
+ * Identity provider value.
81
+ */
82
+ value?: pulumi.Input<string>;
83
+ }
84
+ /**
85
+ * The set of arguments for constructing a AuthnMapping resource.
86
+ */
87
+ export interface AuthnMappingArgs {
88
+ /**
89
+ * Identity provider key.
90
+ */
91
+ key: pulumi.Input<string>;
92
+ /**
93
+ * The ID of a role to attach to all users with the corresponding key and value.
94
+ */
95
+ role: pulumi.Input<string>;
96
+ /**
97
+ * Identity provider value.
98
+ */
99
+ value: pulumi.Input<string>;
100
+ }
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.AuthnMapping = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a Datadog AuthN Mappings resource. This feature lets you automatically assign roles to users based on their SAML attributes.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as datadog from "@pulumi/datadog";
16
+ *
17
+ * const roRole = datadog.getRole({
18
+ * filter: "Datadog Read Only Role",
19
+ * });
20
+ * // Create a new AuthN mapping
21
+ * const devRoRoleMapping = new datadog.AuthnMapping("devRoRoleMapping", {
22
+ * key: "Member-of",
23
+ * value: "Development",
24
+ * role: roRole.then(roRole => roRole.id),
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * # AuthN mappings can be imported using their ID, e.g.
31
+ *
32
+ * ```sh
33
+ * $ pulumi import datadog:index/authnMapping:AuthnMapping dev_ro_mapping 000000-0000-0000-0000-000000000000
34
+ * ```
35
+ */
36
+ class AuthnMapping extends pulumi.CustomResource {
37
+ constructor(name, argsOrState, opts) {
38
+ let resourceInputs = {};
39
+ opts = opts || {};
40
+ if (opts.id) {
41
+ const state = argsOrState;
42
+ resourceInputs["key"] = state ? state.key : undefined;
43
+ resourceInputs["role"] = state ? state.role : undefined;
44
+ resourceInputs["value"] = state ? state.value : undefined;
45
+ }
46
+ else {
47
+ const args = argsOrState;
48
+ if ((!args || args.key === undefined) && !opts.urn) {
49
+ throw new Error("Missing required property 'key'");
50
+ }
51
+ if ((!args || args.role === undefined) && !opts.urn) {
52
+ throw new Error("Missing required property 'role'");
53
+ }
54
+ if ((!args || args.value === undefined) && !opts.urn) {
55
+ throw new Error("Missing required property 'value'");
56
+ }
57
+ resourceInputs["key"] = args ? args.key : undefined;
58
+ resourceInputs["role"] = args ? args.role : undefined;
59
+ resourceInputs["value"] = args ? args.value : undefined;
60
+ }
61
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
62
+ super(AuthnMapping.__pulumiType, name, resourceInputs, opts);
63
+ }
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
+ }
87
+ exports.AuthnMapping = AuthnMapping;
88
+ /** @internal */
89
+ AuthnMapping.__pulumiType = 'datadog:index/authnMapping:AuthnMapping';
90
+ //# sourceMappingURL=authnMapping.js.map
@@ -0,0 +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;IAiDnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,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;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;aAAM;YACH,MAAM,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IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCA2EC;AA7DG,gBAAgB;AACO,yBAAY,GAAG,yCAAyC,CAAC"}
@@ -66,6 +66,10 @@ export declare class Integration extends pulumi.CustomResource {
66
66
  readonly accountSpecificNamespaceRules: pulumi.Output<{
67
67
  [key: string]: any;
68
68
  } | undefined>;
69
+ /**
70
+ * Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general resource_collection.
71
+ */
72
+ readonly cspmResourceCollectionEnabled: pulumi.Output<string>;
69
73
  /**
70
74
  * An array of AWS regions to exclude from metrics collection.
71
75
  */
@@ -83,6 +87,14 @@ export declare class Integration extends pulumi.CustomResource {
83
87
  * Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration.
84
88
  */
85
89
  readonly hostTags: pulumi.Output<string[] | undefined>;
90
+ /**
91
+ * Whether Datadog collects metrics for this AWS account.
92
+ */
93
+ readonly metricsCollectionEnabled: pulumi.Output<string>;
94
+ /**
95
+ * Whether Datadog collects a standard set of resources from your AWS account.
96
+ */
97
+ readonly resourceCollectionEnabled: pulumi.Output<string>;
86
98
  /**
87
99
  * Your Datadog role delegation name.
88
100
  */
@@ -118,6 +130,10 @@ export interface IntegrationState {
118
130
  accountSpecificNamespaceRules?: pulumi.Input<{
119
131
  [key: string]: any;
120
132
  }>;
133
+ /**
134
+ * Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general resource_collection.
135
+ */
136
+ cspmResourceCollectionEnabled?: pulumi.Input<string>;
121
137
  /**
122
138
  * An array of AWS regions to exclude from metrics collection.
123
139
  */
@@ -135,6 +151,14 @@ export interface IntegrationState {
135
151
  * Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration.
136
152
  */
137
153
  hostTags?: pulumi.Input<pulumi.Input<string>[]>;
154
+ /**
155
+ * Whether Datadog collects metrics for this AWS account.
156
+ */
157
+ metricsCollectionEnabled?: pulumi.Input<string>;
158
+ /**
159
+ * Whether Datadog collects a standard set of resources from your AWS account.
160
+ */
161
+ resourceCollectionEnabled?: pulumi.Input<string>;
138
162
  /**
139
163
  * Your Datadog role delegation name.
140
164
  */
@@ -162,6 +186,10 @@ export interface IntegrationArgs {
162
186
  accountSpecificNamespaceRules?: pulumi.Input<{
163
187
  [key: string]: any;
164
188
  }>;
189
+ /**
190
+ * Whether Datadog collects cloud security posture management resources from your AWS account. This includes additional resources not covered under the general resource_collection.
191
+ */
192
+ cspmResourceCollectionEnabled?: pulumi.Input<string>;
165
193
  /**
166
194
  * An array of AWS regions to exclude from metrics collection.
167
195
  */
@@ -174,6 +202,14 @@ export interface IntegrationArgs {
174
202
  * Array of tags (in the form `key:value`) to add to all hosts and metrics reporting through this integration.
175
203
  */
176
204
  hostTags?: pulumi.Input<pulumi.Input<string>[]>;
205
+ /**
206
+ * Whether Datadog collects metrics for this AWS account.
207
+ */
208
+ metricsCollectionEnabled?: pulumi.Input<string>;
209
+ /**
210
+ * Whether Datadog collects a standard set of resources from your AWS account.
211
+ */
212
+ resourceCollectionEnabled?: pulumi.Input<string>;
177
213
  /**
178
214
  * Your Datadog role delegation name.
179
215
  */
@@ -51,10 +51,13 @@ class Integration extends pulumi.CustomResource {
51
51
  resourceInputs["accessKeyId"] = state ? state.accessKeyId : undefined;
52
52
  resourceInputs["accountId"] = state ? state.accountId : undefined;
53
53
  resourceInputs["accountSpecificNamespaceRules"] = state ? state.accountSpecificNamespaceRules : undefined;
54
+ resourceInputs["cspmResourceCollectionEnabled"] = state ? state.cspmResourceCollectionEnabled : undefined;
54
55
  resourceInputs["excludedRegions"] = state ? state.excludedRegions : undefined;
55
56
  resourceInputs["externalId"] = state ? state.externalId : undefined;
56
57
  resourceInputs["filterTags"] = state ? state.filterTags : undefined;
57
58
  resourceInputs["hostTags"] = state ? state.hostTags : undefined;
59
+ resourceInputs["metricsCollectionEnabled"] = state ? state.metricsCollectionEnabled : undefined;
60
+ resourceInputs["resourceCollectionEnabled"] = state ? state.resourceCollectionEnabled : undefined;
58
61
  resourceInputs["roleName"] = state ? state.roleName : undefined;
59
62
  resourceInputs["secretAccessKey"] = state ? state.secretAccessKey : undefined;
60
63
  }
@@ -63,9 +66,12 @@ class Integration extends pulumi.CustomResource {
63
66
  resourceInputs["accessKeyId"] = args ? args.accessKeyId : undefined;
64
67
  resourceInputs["accountId"] = args ? args.accountId : undefined;
65
68
  resourceInputs["accountSpecificNamespaceRules"] = args ? args.accountSpecificNamespaceRules : undefined;
69
+ resourceInputs["cspmResourceCollectionEnabled"] = args ? args.cspmResourceCollectionEnabled : undefined;
66
70
  resourceInputs["excludedRegions"] = args ? args.excludedRegions : undefined;
67
71
  resourceInputs["filterTags"] = args ? args.filterTags : undefined;
68
72
  resourceInputs["hostTags"] = args ? args.hostTags : undefined;
73
+ resourceInputs["metricsCollectionEnabled"] = args ? args.metricsCollectionEnabled : undefined;
74
+ resourceInputs["resourceCollectionEnabled"] = args ? args.resourceCollectionEnabled : undefined;
69
75
  resourceInputs["roleName"] = args ? args.roleName : undefined;
70
76
  resourceInputs["secretAccessKey"] = args ? args.secretAccessKey : undefined;
71
77
  resourceInputs["externalId"] = undefined /*out*/;
@@ -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;IA0ElD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;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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;;AA1BL,kCAyHC;AA3GG,gBAAgB;AACO,wBAAY,GAAG,qCAAqC,CAAC"}
@@ -0,0 +1,109 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as datadog from "@pulumi/datadog";
10
+ *
11
+ * const myAgentRule = new datadog.CloudWorkloadSecurityAgentRule("my_agent_rule", {
12
+ * description: "My agent rule",
13
+ * enabled: true,
14
+ * expression: "exec.file.name == \"java\"",
15
+ * name: "my_agent_rule",
16
+ * });
17
+ * ```
18
+ *
19
+ * ## Import
20
+ *
21
+ * # Cloud Workload Security Agent rules can be imported using ID, e.g.
22
+ *
23
+ * ```sh
24
+ * $ pulumi import datadog:index/cloudWorkloadSecurityAgentRule:CloudWorkloadSecurityAgentRule my_agent_rule m0o-hto-lkb
25
+ * ```
26
+ */
27
+ export declare class CloudWorkloadSecurityAgentRule extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing CloudWorkloadSecurityAgentRule resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CloudWorkloadSecurityAgentRuleState, opts?: pulumi.CustomResourceOptions): CloudWorkloadSecurityAgentRule;
38
+ /**
39
+ * Returns true if the given object is an instance of CloudWorkloadSecurityAgentRule. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is CloudWorkloadSecurityAgentRule;
43
+ /**
44
+ * The description of the Agent rule.
45
+ */
46
+ readonly description: pulumi.Output<string | undefined>;
47
+ /**
48
+ * Whether the Agent rule is enabled.
49
+ */
50
+ readonly enabled: pulumi.Output<boolean | undefined>;
51
+ /**
52
+ * The SECL expression of the Agent rule.
53
+ */
54
+ readonly expression: pulumi.Output<string>;
55
+ /**
56
+ * The name of the Agent rule.
57
+ */
58
+ readonly name: pulumi.Output<string>;
59
+ /**
60
+ * Create a CloudWorkloadSecurityAgentRule resource with the given unique name, arguments, and options.
61
+ *
62
+ * @param name The _unique_ name of the resource.
63
+ * @param args The arguments to use to populate this resource's properties.
64
+ * @param opts A bag of options that control this resource's behavior.
65
+ */
66
+ constructor(name: string, args: CloudWorkloadSecurityAgentRuleArgs, opts?: pulumi.CustomResourceOptions);
67
+ }
68
+ /**
69
+ * Input properties used for looking up and filtering CloudWorkloadSecurityAgentRule resources.
70
+ */
71
+ export interface CloudWorkloadSecurityAgentRuleState {
72
+ /**
73
+ * The description of the Agent rule.
74
+ */
75
+ description?: pulumi.Input<string>;
76
+ /**
77
+ * Whether the Agent rule is enabled.
78
+ */
79
+ enabled?: pulumi.Input<boolean>;
80
+ /**
81
+ * The SECL expression of the Agent rule.
82
+ */
83
+ expression?: pulumi.Input<string>;
84
+ /**
85
+ * The name of the Agent rule.
86
+ */
87
+ name?: pulumi.Input<string>;
88
+ }
89
+ /**
90
+ * The set of arguments for constructing a CloudWorkloadSecurityAgentRule resource.
91
+ */
92
+ export interface CloudWorkloadSecurityAgentRuleArgs {
93
+ /**
94
+ * The description of the Agent rule.
95
+ */
96
+ description?: pulumi.Input<string>;
97
+ /**
98
+ * Whether the Agent rule is enabled.
99
+ */
100
+ enabled?: pulumi.Input<boolean>;
101
+ /**
102
+ * The SECL expression of the Agent rule.
103
+ */
104
+ expression: pulumi.Input<string>;
105
+ /**
106
+ * The name of the Agent rule.
107
+ */
108
+ name: pulumi.Input<string>;
109
+ }
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.CloudWorkloadSecurityAgentRule = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Provides a Datadog Cloud Workload Security Agent Rule API resource for agent rules.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as datadog from "@pulumi/datadog";
16
+ *
17
+ * const myAgentRule = new datadog.CloudWorkloadSecurityAgentRule("my_agent_rule", {
18
+ * description: "My agent rule",
19
+ * enabled: true,
20
+ * expression: "exec.file.name == \"java\"",
21
+ * name: "my_agent_rule",
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * # Cloud Workload Security Agent rules can be imported using ID, e.g.
28
+ *
29
+ * ```sh
30
+ * $ pulumi import datadog:index/cloudWorkloadSecurityAgentRule:CloudWorkloadSecurityAgentRule my_agent_rule m0o-hto-lkb
31
+ * ```
32
+ */
33
+ class CloudWorkloadSecurityAgentRule extends pulumi.CustomResource {
34
+ constructor(name, argsOrState, opts) {
35
+ let resourceInputs = {};
36
+ opts = opts || {};
37
+ if (opts.id) {
38
+ const state = argsOrState;
39
+ resourceInputs["description"] = state ? state.description : undefined;
40
+ resourceInputs["enabled"] = state ? state.enabled : undefined;
41
+ resourceInputs["expression"] = state ? state.expression : undefined;
42
+ resourceInputs["name"] = state ? state.name : undefined;
43
+ }
44
+ else {
45
+ const args = argsOrState;
46
+ if ((!args || args.expression === undefined) && !opts.urn) {
47
+ throw new Error("Missing required property 'expression'");
48
+ }
49
+ if ((!args || args.name === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'name'");
51
+ }
52
+ resourceInputs["description"] = args ? args.description : undefined;
53
+ resourceInputs["enabled"] = args ? args.enabled : undefined;
54
+ resourceInputs["expression"] = args ? args.expression : undefined;
55
+ resourceInputs["name"] = args ? args.name : undefined;
56
+ }
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
58
+ super(CloudWorkloadSecurityAgentRule.__pulumiType, name, resourceInputs, opts);
59
+ }
60
+ /**
61
+ * Get an existing CloudWorkloadSecurityAgentRule resource's state with the given name, ID, and optional extra
62
+ * properties used to qualify the lookup.
63
+ *
64
+ * @param name The _unique_ name of the resulting resource.
65
+ * @param id The _unique_ provider ID of the resource to lookup.
66
+ * @param state Any extra arguments used during the lookup.
67
+ * @param opts Optional settings to control the behavior of the CustomResource.
68
+ */
69
+ static get(name, id, state, opts) {
70
+ return new CloudWorkloadSecurityAgentRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
71
+ }
72
+ /**
73
+ * Returns true if the given object is an instance of CloudWorkloadSecurityAgentRule. This is designed to work even
74
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
75
+ */
76
+ static isInstance(obj) {
77
+ if (obj === undefined || obj === null) {
78
+ return false;
79
+ }
80
+ return obj['__pulumiType'] === CloudWorkloadSecurityAgentRule.__pulumiType;
81
+ }
82
+ }
83
+ exports.CloudWorkloadSecurityAgentRule = CloudWorkloadSecurityAgentRule;
84
+ /** @internal */
85
+ CloudWorkloadSecurityAgentRule.__pulumiType = 'datadog:index/cloudWorkloadSecurityAgentRule:CloudWorkloadSecurityAgentRule';
86
+ //# sourceMappingURL=cloudWorkloadSecurityAgentRule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudWorkloadSecurityAgentRule.js","s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CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;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;IA5ED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2C,EAAE,IAAmC;QACzI,OAAO,IAAI,8BAA8B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,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;;AA1BL,wEA8EC;AAhEG,gBAAgB;AACO,2CAAY,GAAG,6EAA6E,CAAC"}
@@ -0,0 +1,28 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
3
+ /**
4
+ * Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as datadog from "@pulumi/datadog";
11
+ *
12
+ * const test = pulumi.output(datadog.getCloudWorkloadSecurityAgentRules());
13
+ * ```
14
+ */
15
+ export declare function getCloudWorkloadSecurityAgentRules(opts?: pulumi.InvokeOptions): Promise<GetCloudWorkloadSecurityAgentRulesResult>;
16
+ /**
17
+ * A collection of values returned by getCloudWorkloadSecurityAgentRules.
18
+ */
19
+ export interface GetCloudWorkloadSecurityAgentRulesResult {
20
+ /**
21
+ * List of Agent rules.
22
+ */
23
+ readonly agentRules: outputs.GetCloudWorkloadSecurityAgentRulesAgentRule[];
24
+ /**
25
+ * The provider-assigned unique ID for this managed resource.
26
+ */
27
+ readonly id: string;
28
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getCloudWorkloadSecurityAgentRules = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to retrieve information about existing Cloud Workload Security Agent Rules for use in other resources.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as datadog from "@pulumi/datadog";
16
+ *
17
+ * const test = pulumi.output(datadog.getCloudWorkloadSecurityAgentRules());
18
+ * ```
19
+ */
20
+ function getCloudWorkloadSecurityAgentRules(opts) {
21
+ if (!opts) {
22
+ opts = {};
23
+ }
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
25
+ return pulumi.runtime.invoke("datadog:index/getCloudWorkloadSecurityAgentRules:getCloudWorkloadSecurityAgentRules", {}, opts);
26
+ }
27
+ exports.getCloudWorkloadSecurityAgentRules = getCloudWorkloadSecurityAgentRules;
28
+ //# sourceMappingURL=getCloudWorkloadSecurityAgentRules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCloudWorkloadSecurityAgentRules.js","sourceRoot":"","sources":["../getCloudWorkloadSecurityAgentRules.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,kCAAkC,CAAC,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qFAAqF,EAAE,EACnH,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gFAQC"}
@@ -0,0 +1,28 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
3
+ /**
4
+ * Use this data source to list several existing logs indexes for use in other resources.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as datadog from "@pulumi/datadog";
11
+ *
12
+ * const test = pulumi.output(datadog.getLogsIndexes());
13
+ * ```
14
+ */
15
+ export declare function getLogsIndexes(opts?: pulumi.InvokeOptions): Promise<GetLogsIndexesResult>;
16
+ /**
17
+ * A collection of values returned by getLogsIndexes.
18
+ */
19
+ export interface GetLogsIndexesResult {
20
+ /**
21
+ * The provider-assigned unique ID for this managed resource.
22
+ */
23
+ readonly id: string;
24
+ /**
25
+ * List of logs indexes
26
+ */
27
+ readonly logsIndexes: outputs.GetLogsIndexesLogsIndex[];
28
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getLogsIndexes = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Use this data source to list several existing logs indexes for use in other resources.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as datadog from "@pulumi/datadog";
16
+ *
17
+ * const test = pulumi.output(datadog.getLogsIndexes());
18
+ * ```
19
+ */
20
+ function getLogsIndexes(opts) {
21
+ if (!opts) {
22
+ opts = {};
23
+ }
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
25
+ return pulumi.runtime.invoke("datadog:index/getLogsIndexes:getLogsIndexes", {}, opts);
26
+ }
27
+ exports.getLogsIndexes = getLogsIndexes;
28
+ //# sourceMappingURL=getLogsIndexes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getLogsIndexes.js","sourceRoot":"","sources":["../getLogsIndexes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,cAAc,CAAC,IAA2B;IACtD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE,EAC3E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC"}
package/index.d.ts CHANGED
@@ -1,15 +1,19 @@
1
1
  export * from "./apiKey";
2
2
  export * from "./applicationKey";
3
+ export * from "./authnMapping";
3
4
  export * from "./childOrganization";
5
+ export * from "./cloudWorkloadSecurityAgentRule";
4
6
  export * from "./dashboard";
5
7
  export * from "./dashboardJson";
6
8
  export * from "./dashboardList";
7
9
  export * from "./downtime";
8
10
  export * from "./getApiKey";
9
11
  export * from "./getApplicationKey";
12
+ export * from "./getCloudWorkloadSecurityAgentRules";
10
13
  export * from "./getDashboard";
11
14
  export * from "./getDashboardList";
12
15
  export * from "./getIpRanges";
16
+ export * from "./getLogsIndexes";
13
17
  export * from "./getLogsIndexesOrder";
14
18
  export * from "./getMonitor";
15
19
  export * from "./getMonitors";