@pulumi/aws 6.5.0-alpha.1696862389 → 6.5.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/codecommit/repository.d.ts +3 -1
- package/codecommit/repository.js +3 -1
- package/codecommit/repository.js.map +1 -1
- package/guardduty/detector.d.ts +4 -4
- package/guardduty/detector.js +1 -1
- package/guardduty/detectorFeature.d.ts +108 -0
- package/guardduty/detectorFeature.js +83 -0
- package/guardduty/detectorFeature.js.map +1 -0
- package/guardduty/getDetector.d.ts +5 -0
- package/guardduty/getDetector.js.map +1 -1
- package/guardduty/index.d.ts +3 -0
- package/guardduty/index.js +6 -1
- package/guardduty/index.js.map +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +80 -29
- package/kinesis/firehoseDeliveryStream.js +39 -2
- package/kinesis/firehoseDeliveryStream.js.map +1 -1
- package/medialive/channel.d.ts +3 -3
- package/package.json +1 -1
- package/servicequotas/index.d.ts +3 -0
- package/servicequotas/index.js +6 -1
- package/servicequotas/index.js.map +1 -1
- package/servicequotas/template.d.ts +144 -0
- package/servicequotas/template.js +103 -0
- package/servicequotas/template.js.map +1 -0
- package/sesv2/accountVdmAttributes.d.ts +109 -0
- package/sesv2/accountVdmAttributes.js +85 -0
- package/sesv2/accountVdmAttributes.js.map +1 -0
- package/sesv2/index.d.ts +3 -0
- package/sesv2/index.js +6 -1
- package/sesv2/index.js.map +1 -1
- package/types/input.d.ts +226 -7
- package/types/output.d.ts +251 -8
- package/verifiedaccess/index.d.ts +3 -0
- package/verifiedaccess/index.js +6 -1
- package/verifiedaccess/index.js.map +1 -1
- package/verifiedaccess/instanceTrustProviderAttachment.d.ts +92 -0
- package/verifiedaccess/instanceTrustProviderAttachment.js +89 -0
- package/verifiedaccess/instanceTrustProviderAttachment.js.map +1 -0
|
@@ -16,7 +16,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* ## Import
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* In TODO v1.5.0 and later, use an `import` block to import CodeCommit repository using repository name. For example:
|
|
20
|
+
*
|
|
21
|
+
* Using `TODO import`, import CodeCommit repository using repository name. For example:
|
|
20
22
|
*
|
|
21
23
|
* ```sh
|
|
22
24
|
* $ pulumi import aws:codecommit/repository:Repository imported ExistingRepo
|
package/codecommit/repository.js
CHANGED
|
@@ -22,7 +22,9 @@ const utilities = require("../utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* ## Import
|
|
24
24
|
*
|
|
25
|
-
*
|
|
25
|
+
* In TODO v1.5.0 and later, use an `import` block to import CodeCommit repository using repository name. For example:
|
|
26
|
+
*
|
|
27
|
+
* Using `TODO import`, import CodeCommit repository using repository name. For example:
|
|
26
28
|
*
|
|
27
29
|
* ```sh
|
|
28
30
|
* $ pulumi import aws:codecommit/repository:Repository imported ExistingRepo
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../../codecommit/repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../../codecommit/repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GA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AAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA5GL,gCA6GC;AA/FG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
|
package/guardduty/detector.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Provides a resource to manage
|
|
5
|
+
* Provides a resource to manage an Amazon GuardDuty detector.
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Deleting this resource is equivalent to "disabling" GuardDuty for an AWS region, which removes all existing findings. You can set the `enable` attribute to `false` to instead "suspend" monitoring and feedback reporting while keeping existing data. See the [Suspending or Disabling Amazon GuardDuty documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_suspend-disable.html) for more information.
|
|
8
8
|
*
|
|
@@ -68,7 +68,7 @@ export declare class Detector extends pulumi.CustomResource {
|
|
|
68
68
|
*/
|
|
69
69
|
readonly arn: pulumi.Output<string>;
|
|
70
70
|
/**
|
|
71
|
-
* Describes which data sources will be enabled for the detector. See Data Sources below for more details.
|
|
71
|
+
* Describes which data sources will be enabled for the detector. See Data Sources below for more details. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `aws.guardduty.DetectorFeature` resources.
|
|
72
72
|
*/
|
|
73
73
|
readonly datasources: pulumi.Output<outputs.guardduty.DetectorDatasources>;
|
|
74
74
|
/**
|
|
@@ -115,7 +115,7 @@ export interface DetectorState {
|
|
|
115
115
|
*/
|
|
116
116
|
arn?: pulumi.Input<string>;
|
|
117
117
|
/**
|
|
118
|
-
* Describes which data sources will be enabled for the detector. See Data Sources below for more details.
|
|
118
|
+
* Describes which data sources will be enabled for the detector. See Data Sources below for more details. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `aws.guardduty.DetectorFeature` resources.
|
|
119
119
|
*/
|
|
120
120
|
datasources?: pulumi.Input<inputs.guardduty.DetectorDatasources>;
|
|
121
121
|
/**
|
|
@@ -146,7 +146,7 @@ export interface DetectorState {
|
|
|
146
146
|
*/
|
|
147
147
|
export interface DetectorArgs {
|
|
148
148
|
/**
|
|
149
|
-
* Describes which data sources will be enabled for the detector. See Data Sources below for more details.
|
|
149
|
+
* Describes which data sources will be enabled for the detector. See Data Sources below for more details. [Deprecated](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-feature-object-api-changes-march2023.html) in favor of `aws.guardduty.DetectorFeature` resources.
|
|
150
150
|
*/
|
|
151
151
|
datasources?: pulumi.Input<inputs.guardduty.DetectorDatasources>;
|
|
152
152
|
/**
|
package/guardduty/detector.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Detector = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a resource to manage
|
|
9
|
+
* Provides a resource to manage an Amazon GuardDuty detector.
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** Deleting this resource is equivalent to "disabling" GuardDuty for an AWS region, which removes all existing findings. You can set the `enable` attribute to `false` to instead "suspend" monitoring and feedback reporting while keeping existing data. See the [Suspending or Disabling Amazon GuardDuty documentation](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_suspend-disable.html) for more information.
|
|
12
12
|
*
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a resource to manage a single Amazon GuardDuty [detector feature](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-features-activation-model.html#guardduty-features).
|
|
6
|
+
*
|
|
7
|
+
* > **NOTE:** Deleting this resource does not disable the detector feature, the resource in simply removed from state instead.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const example = new aws.guardduty.Detector("example", {enable: true});
|
|
16
|
+
* const eksRuntimeMonitoring = new aws.guardduty.DetectorFeature("eksRuntimeMonitoring", {
|
|
17
|
+
* detectorId: example.id,
|
|
18
|
+
* status: "ENABLED",
|
|
19
|
+
* additionalConfigurations: [{
|
|
20
|
+
* name: "EKS_ADDON_MANAGEMENT",
|
|
21
|
+
* status: "ENABLED",
|
|
22
|
+
* }],
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class DetectorFeature extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing DetectorFeature resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DetectorFeatureState, opts?: pulumi.CustomResourceOptions): DetectorFeature;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of DetectorFeature. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is DetectorFeature;
|
|
42
|
+
/**
|
|
43
|
+
* Additional feature configuration block. See below.
|
|
44
|
+
*/
|
|
45
|
+
readonly additionalConfigurations: pulumi.Output<outputs.guardduty.DetectorFeatureAdditionalConfiguration[] | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Amazon GuardDuty detector ID.
|
|
48
|
+
*/
|
|
49
|
+
readonly detectorId: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The name of the detector feature. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.
|
|
52
|
+
*/
|
|
53
|
+
readonly name: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
|
|
56
|
+
*/
|
|
57
|
+
readonly status: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* Create a DetectorFeature 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: DetectorFeatureArgs, opts?: pulumi.CustomResourceOptions);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Input properties used for looking up and filtering DetectorFeature resources.
|
|
69
|
+
*/
|
|
70
|
+
export interface DetectorFeatureState {
|
|
71
|
+
/**
|
|
72
|
+
* Additional feature configuration block. See below.
|
|
73
|
+
*/
|
|
74
|
+
additionalConfigurations?: pulumi.Input<pulumi.Input<inputs.guardduty.DetectorFeatureAdditionalConfiguration>[]>;
|
|
75
|
+
/**
|
|
76
|
+
* Amazon GuardDuty detector ID.
|
|
77
|
+
*/
|
|
78
|
+
detectorId?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the detector feature. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.
|
|
81
|
+
*/
|
|
82
|
+
name?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
|
|
85
|
+
*/
|
|
86
|
+
status?: pulumi.Input<string>;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The set of arguments for constructing a DetectorFeature resource.
|
|
90
|
+
*/
|
|
91
|
+
export interface DetectorFeatureArgs {
|
|
92
|
+
/**
|
|
93
|
+
* Additional feature configuration block. See below.
|
|
94
|
+
*/
|
|
95
|
+
additionalConfigurations?: pulumi.Input<pulumi.Input<inputs.guardduty.DetectorFeatureAdditionalConfiguration>[]>;
|
|
96
|
+
/**
|
|
97
|
+
* Amazon GuardDuty detector ID.
|
|
98
|
+
*/
|
|
99
|
+
detectorId: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The name of the detector feature. Valid values: `S3_DATA_EVENTS`, `EKS_AUDIT_LOGS`, `EBS_MALWARE_PROTECTION`, `RDS_LOGIN_EVENTS`, `EKS_RUNTIME_MONITORING`, `LAMBDA_NETWORK_LOGS`.
|
|
102
|
+
*/
|
|
103
|
+
name?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The status of the detector feature. Valid values: `ENABLED`, `DISABLED`.
|
|
106
|
+
*/
|
|
107
|
+
status: pulumi.Input<string>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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.DetectorFeature = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a resource to manage a single Amazon GuardDuty [detector feature](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-features-activation-model.html#guardduty-features).
|
|
10
|
+
*
|
|
11
|
+
* > **NOTE:** Deleting this resource does not disable the detector feature, the resource in simply removed from state instead.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as aws from "@pulumi/aws";
|
|
18
|
+
*
|
|
19
|
+
* const example = new aws.guardduty.Detector("example", {enable: true});
|
|
20
|
+
* const eksRuntimeMonitoring = new aws.guardduty.DetectorFeature("eksRuntimeMonitoring", {
|
|
21
|
+
* detectorId: example.id,
|
|
22
|
+
* status: "ENABLED",
|
|
23
|
+
* additionalConfigurations: [{
|
|
24
|
+
* name: "EKS_ADDON_MANAGEMENT",
|
|
25
|
+
* status: "ENABLED",
|
|
26
|
+
* }],
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
class DetectorFeature extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing DetectorFeature 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, id, state, opts) {
|
|
41
|
+
return new DetectorFeature(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Returns true if the given object is an instance of DetectorFeature. This is designed to work even
|
|
45
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
46
|
+
*/
|
|
47
|
+
static isInstance(obj) {
|
|
48
|
+
if (obj === undefined || obj === null) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
return obj['__pulumiType'] === DetectorFeature.__pulumiType;
|
|
52
|
+
}
|
|
53
|
+
constructor(name, argsOrState, opts) {
|
|
54
|
+
let resourceInputs = {};
|
|
55
|
+
opts = opts || {};
|
|
56
|
+
if (opts.id) {
|
|
57
|
+
const state = argsOrState;
|
|
58
|
+
resourceInputs["additionalConfigurations"] = state ? state.additionalConfigurations : undefined;
|
|
59
|
+
resourceInputs["detectorId"] = state ? state.detectorId : undefined;
|
|
60
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
61
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
const args = argsOrState;
|
|
65
|
+
if ((!args || args.detectorId === undefined) && !opts.urn) {
|
|
66
|
+
throw new Error("Missing required property 'detectorId'");
|
|
67
|
+
}
|
|
68
|
+
if ((!args || args.status === undefined) && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'status'");
|
|
70
|
+
}
|
|
71
|
+
resourceInputs["additionalConfigurations"] = args ? args.additionalConfigurations : undefined;
|
|
72
|
+
resourceInputs["detectorId"] = args ? args.detectorId : undefined;
|
|
73
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
74
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
75
|
+
}
|
|
76
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
|
+
super(DetectorFeature.__pulumiType, name, resourceInputs, opts);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.DetectorFeature = DetectorFeature;
|
|
81
|
+
/** @internal */
|
|
82
|
+
DetectorFeature.__pulumiType = 'aws:guardduty/detectorFeature:DetectorFeature';
|
|
83
|
+
//# sourceMappingURL=detectorFeature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detectorFeature.js","sourceRoot":"","sources":["../../guardduty/detectorFeature.ts"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
|
@@ -25,6 +26,10 @@ export interface GetDetectorArgs {
|
|
|
25
26
|
* A collection of values returned by getDetector.
|
|
26
27
|
*/
|
|
27
28
|
export interface GetDetectorResult {
|
|
29
|
+
/**
|
|
30
|
+
* Current configuration of the detector features.
|
|
31
|
+
*/
|
|
32
|
+
readonly features: outputs.guardduty.GetDetectorFeature[];
|
|
28
33
|
/**
|
|
29
34
|
* The frequency of notifications sent about subsequent finding occurrences.
|
|
30
35
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDetector.js","sourceRoot":"","sources":["../../guardduty/getDetector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getDetector.js","sourceRoot":"","sources":["../../guardduty/getDetector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AAkCD;;;;;;;;;;;GAWG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/guardduty/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { DetectorArgs, DetectorState } from "./detector";
|
|
2
2
|
export type Detector = import("./detector").Detector;
|
|
3
3
|
export declare const Detector: typeof import("./detector").Detector;
|
|
4
|
+
export { DetectorFeatureArgs, DetectorFeatureState } from "./detectorFeature";
|
|
5
|
+
export type DetectorFeature = import("./detectorFeature").DetectorFeature;
|
|
6
|
+
export declare const DetectorFeature: typeof import("./detectorFeature").DetectorFeature;
|
|
4
7
|
export { FilterArgs, FilterState } from "./filter";
|
|
5
8
|
export type Filter = import("./filter").Filter;
|
|
6
9
|
export declare const Filter: typeof import("./filter").Filter;
|
package/guardduty/index.js
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
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
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.ThreatIntelSet = exports.PublishingDestination = exports.OrganizationConfiguration = exports.OrganizationAdminAccount = exports.Member = exports.IPSet = exports.InviteAccepter = exports.getFindingIdsOutput = exports.getFindingIds = exports.getDetectorOutput = exports.getDetector = exports.Filter = exports.Detector = void 0;
|
|
5
|
+
exports.ThreatIntelSet = exports.PublishingDestination = exports.OrganizationConfiguration = exports.OrganizationAdminAccount = exports.Member = exports.IPSet = exports.InviteAccepter = exports.getFindingIdsOutput = exports.getFindingIds = exports.getDetectorOutput = exports.getDetector = exports.Filter = exports.DetectorFeature = exports.Detector = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Detector = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["Detector"], () => require("./detector"));
|
|
10
|
+
exports.DetectorFeature = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["DetectorFeature"], () => require("./detectorFeature"));
|
|
10
12
|
exports.Filter = null;
|
|
11
13
|
utilities.lazyLoad(exports, ["Filter"], () => require("./filter"));
|
|
12
14
|
exports.getDetector = null;
|
|
@@ -35,6 +37,8 @@ const _module = {
|
|
|
35
37
|
switch (type) {
|
|
36
38
|
case "aws:guardduty/detector:Detector":
|
|
37
39
|
return new exports.Detector(name, undefined, { urn });
|
|
40
|
+
case "aws:guardduty/detectorFeature:DetectorFeature":
|
|
41
|
+
return new exports.DetectorFeature(name, undefined, { urn });
|
|
38
42
|
case "aws:guardduty/filter:Filter":
|
|
39
43
|
return new exports.Filter(name, undefined, { urn });
|
|
40
44
|
case "aws:guardduty/iPSet:IPSet":
|
|
@@ -57,6 +61,7 @@ const _module = {
|
|
|
57
61
|
},
|
|
58
62
|
};
|
|
59
63
|
pulumi.runtime.registerResourceModule("aws", "guardduty/detector", _module);
|
|
64
|
+
pulumi.runtime.registerResourceModule("aws", "guardduty/detectorFeature", _module);
|
|
60
65
|
pulumi.runtime.registerResourceModule("aws", "guardduty/filter", _module);
|
|
61
66
|
pulumi.runtime.registerResourceModule("aws", "guardduty/iPSet", _module);
|
|
62
67
|
pulumi.runtime.registerResourceModule("aws", "guardduty/inviteAccepter", _module);
|
package/guardduty/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../guardduty/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI1D,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGtD,QAAA,WAAW,GAA+C,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kB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA;AACxE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,oCAAoC,EAAE,OAAO,CAAC,CAAA;AAC3F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,qCAAqC,EAAE,OAAO,CAAC,CAAA;AAC5F,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -307,7 +307,7 @@ import * as outputs from "../types/output";
|
|
|
307
307
|
* dependsOn: [firehose_elasticsearchRolePolicy],
|
|
308
308
|
* });
|
|
309
309
|
* ```
|
|
310
|
-
* ###
|
|
310
|
+
* ### OpenSearch Destination
|
|
311
311
|
*
|
|
312
312
|
* ```typescript
|
|
313
313
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -340,7 +340,7 @@ import * as outputs from "../types/output";
|
|
|
340
340
|
* },
|
|
341
341
|
* });
|
|
342
342
|
* ```
|
|
343
|
-
* ###
|
|
343
|
+
* ### OpenSearch Destination With VPC
|
|
344
344
|
*
|
|
345
345
|
* ```typescript
|
|
346
346
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -422,6 +422,39 @@ import * as outputs from "../types/output";
|
|
|
422
422
|
* dependsOn: [firehose_opensearch],
|
|
423
423
|
* });
|
|
424
424
|
* ```
|
|
425
|
+
* ### OpenSearch Serverless Destination
|
|
426
|
+
*
|
|
427
|
+
* ```typescript
|
|
428
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
429
|
+
* import * as aws from "@pulumi/aws";
|
|
430
|
+
*
|
|
431
|
+
* const testCollection = new aws.opensearch.ServerlessCollection("testCollection", {});
|
|
432
|
+
* const testStream = new aws.kinesis.FirehoseDeliveryStream("testStream", {
|
|
433
|
+
* destination: "opensearchserverless",
|
|
434
|
+
* opensearchserverlessConfiguration: {
|
|
435
|
+
* collectionEndpoint: testCollection.collectionEndpoint,
|
|
436
|
+
* roleArn: aws_iam_role.firehose_role.arn,
|
|
437
|
+
* indexName: "test",
|
|
438
|
+
* s3Configuration: {
|
|
439
|
+
* roleArn: aws_iam_role.firehose_role.arn,
|
|
440
|
+
* bucketArn: aws_s3_bucket.bucket.arn,
|
|
441
|
+
* bufferingSize: 10,
|
|
442
|
+
* bufferingInterval: 400,
|
|
443
|
+
* compressionFormat: "GZIP",
|
|
444
|
+
* },
|
|
445
|
+
* processingConfiguration: {
|
|
446
|
+
* enabled: true,
|
|
447
|
+
* processors: [{
|
|
448
|
+
* type: "Lambda",
|
|
449
|
+
* parameters: [{
|
|
450
|
+
* parameterName: "LambdaArn",
|
|
451
|
+
* parameterValue: `${aws_lambda_function.lambda_processor.arn}:$LATEST`,
|
|
452
|
+
* }],
|
|
453
|
+
* }],
|
|
454
|
+
* },
|
|
455
|
+
* },
|
|
456
|
+
* });
|
|
457
|
+
* ```
|
|
425
458
|
* ### Splunk Destination
|
|
426
459
|
*
|
|
427
460
|
* ```typescript
|
|
@@ -516,13 +549,13 @@ export declare class FirehoseDeliveryStream extends pulumi.CustomResource {
|
|
|
516
549
|
*/
|
|
517
550
|
readonly arn: pulumi.Output<string>;
|
|
518
551
|
/**
|
|
519
|
-
* This is the destination to where the data is delivered. The only options are `s3` (Deprecated, use `extendedS3` instead), `extendedS3`, `redshift`, `elasticsearch`, `splunk`, `httpEndpoint` and `
|
|
552
|
+
* This is the destination to where the data is delivered. The only options are `s3` (Deprecated, use `extendedS3` instead), `extendedS3`, `redshift`, `elasticsearch`, `splunk`, `httpEndpoint`, `opensearch` and `opensearchserverless`.
|
|
520
553
|
* is redshift). More details are given below.
|
|
521
554
|
*/
|
|
522
555
|
readonly destination: pulumi.Output<string>;
|
|
523
556
|
readonly destinationId: pulumi.Output<string>;
|
|
524
557
|
/**
|
|
525
|
-
* Configuration options
|
|
558
|
+
* Configuration options when `destination` is `elasticsearch`. More details are given below.
|
|
526
559
|
*/
|
|
527
560
|
readonly elasticsearchConfiguration: pulumi.Output<outputs.kinesis.FirehoseDeliveryStreamElasticsearchConfiguration | undefined>;
|
|
528
561
|
/**
|
|
@@ -530,25 +563,31 @@ export declare class FirehoseDeliveryStream extends pulumi.CustomResource {
|
|
|
530
563
|
*/
|
|
531
564
|
readonly extendedS3Configuration: pulumi.Output<outputs.kinesis.FirehoseDeliveryStreamExtendedS3Configuration | undefined>;
|
|
532
565
|
/**
|
|
533
|
-
* Configuration options
|
|
566
|
+
* Configuration options when `destination` is `httpEndpoint`. Requires the user to also specify an `s3Configuration` block. More details are given below.
|
|
534
567
|
*/
|
|
535
568
|
readonly httpEndpointConfiguration: pulumi.Output<outputs.kinesis.FirehoseDeliveryStreamHttpEndpointConfiguration | undefined>;
|
|
536
569
|
/**
|
|
537
|
-
*
|
|
570
|
+
* The stream and role Amazon Resource Names (ARNs) for a Kinesis data stream used as the source for a delivery stream. More details are given below.
|
|
538
571
|
*/
|
|
539
572
|
readonly kinesisSourceConfiguration: pulumi.Output<outputs.kinesis.FirehoseDeliveryStreamKinesisSourceConfiguration | undefined>;
|
|
573
|
+
/**
|
|
574
|
+
* The configuration for the Amazon MSK cluster to be used as the source for a delivery stream. More details are given below.
|
|
575
|
+
*/
|
|
576
|
+
readonly mskSourceConfiguration: pulumi.Output<outputs.kinesis.FirehoseDeliveryStreamMskSourceConfiguration | undefined>;
|
|
540
577
|
/**
|
|
541
578
|
* A name to identify the stream. This is unique to the AWS account and region the Stream is created in. When using for WAF logging, name must be prefixed with `aws-waf-logs-`. See [AWS Documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-policies.html#waf-policies-logging-config) for more details.
|
|
542
579
|
*/
|
|
543
580
|
readonly name: pulumi.Output<string>;
|
|
544
581
|
/**
|
|
545
|
-
* Configuration options
|
|
582
|
+
* Configuration options when `destination` is `opensearch`. More details are given below.
|
|
546
583
|
*/
|
|
547
584
|
readonly opensearchConfiguration: pulumi.Output<outputs.kinesis.FirehoseDeliveryStreamOpensearchConfiguration | undefined>;
|
|
548
585
|
/**
|
|
549
|
-
* Configuration options
|
|
550
|
-
|
|
551
|
-
|
|
586
|
+
* Configuration options when `destination` is `opensearchserverless`. More details are given below.
|
|
587
|
+
*/
|
|
588
|
+
readonly opensearchserverlessConfiguration: pulumi.Output<outputs.kinesis.FirehoseDeliveryStreamOpensearchserverlessConfiguration | undefined>;
|
|
589
|
+
/**
|
|
590
|
+
* Configuration options when `destination` is `redshift`. Requires the user to also specify an `s3Configuration` block. More details are given below.
|
|
552
591
|
*/
|
|
553
592
|
readonly redshiftConfiguration: pulumi.Output<outputs.kinesis.FirehoseDeliveryStreamRedshiftConfiguration | undefined>;
|
|
554
593
|
/**
|
|
@@ -557,7 +596,7 @@ export declare class FirehoseDeliveryStream extends pulumi.CustomResource {
|
|
|
557
596
|
*/
|
|
558
597
|
readonly serverSideEncryption: pulumi.Output<outputs.kinesis.FirehoseDeliveryStreamServerSideEncryption | undefined>;
|
|
559
598
|
/**
|
|
560
|
-
* Configuration options
|
|
599
|
+
* Configuration options when `destination` is `splunk`. More details are given below.
|
|
561
600
|
*/
|
|
562
601
|
readonly splunkConfiguration: pulumi.Output<outputs.kinesis.FirehoseDeliveryStreamSplunkConfiguration | undefined>;
|
|
563
602
|
/**
|
|
@@ -596,13 +635,13 @@ export interface FirehoseDeliveryStreamState {
|
|
|
596
635
|
*/
|
|
597
636
|
arn?: pulumi.Input<string>;
|
|
598
637
|
/**
|
|
599
|
-
* This is the destination to where the data is delivered. The only options are `s3` (Deprecated, use `extendedS3` instead), `extendedS3`, `redshift`, `elasticsearch`, `splunk`, `httpEndpoint` and `
|
|
638
|
+
* This is the destination to where the data is delivered. The only options are `s3` (Deprecated, use `extendedS3` instead), `extendedS3`, `redshift`, `elasticsearch`, `splunk`, `httpEndpoint`, `opensearch` and `opensearchserverless`.
|
|
600
639
|
* is redshift). More details are given below.
|
|
601
640
|
*/
|
|
602
641
|
destination?: pulumi.Input<string>;
|
|
603
642
|
destinationId?: pulumi.Input<string>;
|
|
604
643
|
/**
|
|
605
|
-
* Configuration options
|
|
644
|
+
* Configuration options when `destination` is `elasticsearch`. More details are given below.
|
|
606
645
|
*/
|
|
607
646
|
elasticsearchConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamElasticsearchConfiguration>;
|
|
608
647
|
/**
|
|
@@ -610,25 +649,31 @@ export interface FirehoseDeliveryStreamState {
|
|
|
610
649
|
*/
|
|
611
650
|
extendedS3Configuration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamExtendedS3Configuration>;
|
|
612
651
|
/**
|
|
613
|
-
* Configuration options
|
|
652
|
+
* Configuration options when `destination` is `httpEndpoint`. Requires the user to also specify an `s3Configuration` block. More details are given below.
|
|
614
653
|
*/
|
|
615
654
|
httpEndpointConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamHttpEndpointConfiguration>;
|
|
616
655
|
/**
|
|
617
|
-
*
|
|
656
|
+
* The stream and role Amazon Resource Names (ARNs) for a Kinesis data stream used as the source for a delivery stream. More details are given below.
|
|
618
657
|
*/
|
|
619
658
|
kinesisSourceConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamKinesisSourceConfiguration>;
|
|
659
|
+
/**
|
|
660
|
+
* The configuration for the Amazon MSK cluster to be used as the source for a delivery stream. More details are given below.
|
|
661
|
+
*/
|
|
662
|
+
mskSourceConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamMskSourceConfiguration>;
|
|
620
663
|
/**
|
|
621
664
|
* A name to identify the stream. This is unique to the AWS account and region the Stream is created in. When using for WAF logging, name must be prefixed with `aws-waf-logs-`. See [AWS Documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-policies.html#waf-policies-logging-config) for more details.
|
|
622
665
|
*/
|
|
623
666
|
name?: pulumi.Input<string>;
|
|
624
667
|
/**
|
|
625
|
-
* Configuration options
|
|
668
|
+
* Configuration options when `destination` is `opensearch`. More details are given below.
|
|
626
669
|
*/
|
|
627
670
|
opensearchConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamOpensearchConfiguration>;
|
|
628
671
|
/**
|
|
629
|
-
* Configuration options
|
|
630
|
-
|
|
631
|
-
|
|
672
|
+
* Configuration options when `destination` is `opensearchserverless`. More details are given below.
|
|
673
|
+
*/
|
|
674
|
+
opensearchserverlessConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamOpensearchserverlessConfiguration>;
|
|
675
|
+
/**
|
|
676
|
+
* Configuration options when `destination` is `redshift`. Requires the user to also specify an `s3Configuration` block. More details are given below.
|
|
632
677
|
*/
|
|
633
678
|
redshiftConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamRedshiftConfiguration>;
|
|
634
679
|
/**
|
|
@@ -637,7 +682,7 @@ export interface FirehoseDeliveryStreamState {
|
|
|
637
682
|
*/
|
|
638
683
|
serverSideEncryption?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamServerSideEncryption>;
|
|
639
684
|
/**
|
|
640
|
-
* Configuration options
|
|
685
|
+
* Configuration options when `destination` is `splunk`. More details are given below.
|
|
641
686
|
*/
|
|
642
687
|
splunkConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamSplunkConfiguration>;
|
|
643
688
|
/**
|
|
@@ -668,13 +713,13 @@ export interface FirehoseDeliveryStreamArgs {
|
|
|
668
713
|
*/
|
|
669
714
|
arn?: pulumi.Input<string>;
|
|
670
715
|
/**
|
|
671
|
-
* This is the destination to where the data is delivered. The only options are `s3` (Deprecated, use `extendedS3` instead), `extendedS3`, `redshift`, `elasticsearch`, `splunk`, `httpEndpoint` and `
|
|
716
|
+
* This is the destination to where the data is delivered. The only options are `s3` (Deprecated, use `extendedS3` instead), `extendedS3`, `redshift`, `elasticsearch`, `splunk`, `httpEndpoint`, `opensearch` and `opensearchserverless`.
|
|
672
717
|
* is redshift). More details are given below.
|
|
673
718
|
*/
|
|
674
719
|
destination: pulumi.Input<string>;
|
|
675
720
|
destinationId?: pulumi.Input<string>;
|
|
676
721
|
/**
|
|
677
|
-
* Configuration options
|
|
722
|
+
* Configuration options when `destination` is `elasticsearch`. More details are given below.
|
|
678
723
|
*/
|
|
679
724
|
elasticsearchConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamElasticsearchConfiguration>;
|
|
680
725
|
/**
|
|
@@ -682,25 +727,31 @@ export interface FirehoseDeliveryStreamArgs {
|
|
|
682
727
|
*/
|
|
683
728
|
extendedS3Configuration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamExtendedS3Configuration>;
|
|
684
729
|
/**
|
|
685
|
-
* Configuration options
|
|
730
|
+
* Configuration options when `destination` is `httpEndpoint`. Requires the user to also specify an `s3Configuration` block. More details are given below.
|
|
686
731
|
*/
|
|
687
732
|
httpEndpointConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamHttpEndpointConfiguration>;
|
|
688
733
|
/**
|
|
689
|
-
*
|
|
734
|
+
* The stream and role Amazon Resource Names (ARNs) for a Kinesis data stream used as the source for a delivery stream. More details are given below.
|
|
690
735
|
*/
|
|
691
736
|
kinesisSourceConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamKinesisSourceConfiguration>;
|
|
737
|
+
/**
|
|
738
|
+
* The configuration for the Amazon MSK cluster to be used as the source for a delivery stream. More details are given below.
|
|
739
|
+
*/
|
|
740
|
+
mskSourceConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamMskSourceConfiguration>;
|
|
692
741
|
/**
|
|
693
742
|
* A name to identify the stream. This is unique to the AWS account and region the Stream is created in. When using for WAF logging, name must be prefixed with `aws-waf-logs-`. See [AWS Documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-policies.html#waf-policies-logging-config) for more details.
|
|
694
743
|
*/
|
|
695
744
|
name?: pulumi.Input<string>;
|
|
696
745
|
/**
|
|
697
|
-
* Configuration options
|
|
746
|
+
* Configuration options when `destination` is `opensearch`. More details are given below.
|
|
698
747
|
*/
|
|
699
748
|
opensearchConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamOpensearchConfiguration>;
|
|
700
749
|
/**
|
|
701
|
-
* Configuration options
|
|
702
|
-
|
|
703
|
-
|
|
750
|
+
* Configuration options when `destination` is `opensearchserverless`. More details are given below.
|
|
751
|
+
*/
|
|
752
|
+
opensearchserverlessConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamOpensearchserverlessConfiguration>;
|
|
753
|
+
/**
|
|
754
|
+
* Configuration options when `destination` is `redshift`. Requires the user to also specify an `s3Configuration` block. More details are given below.
|
|
704
755
|
*/
|
|
705
756
|
redshiftConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamRedshiftConfiguration>;
|
|
706
757
|
/**
|
|
@@ -709,7 +760,7 @@ export interface FirehoseDeliveryStreamArgs {
|
|
|
709
760
|
*/
|
|
710
761
|
serverSideEncryption?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamServerSideEncryption>;
|
|
711
762
|
/**
|
|
712
|
-
* Configuration options
|
|
763
|
+
* Configuration options when `destination` is `splunk`. More details are given below.
|
|
713
764
|
*/
|
|
714
765
|
splunkConfiguration?: pulumi.Input<inputs.kinesis.FirehoseDeliveryStreamSplunkConfiguration>;
|
|
715
766
|
/**
|