@pulumi/aws 7.52.1 → 7.53.0-alpha.1793427939

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.
Files changed (96) hide show
  1. package/cloudwatchomni/dashboard.d.ts +204 -0
  2. package/cloudwatchomni/dashboard.d.ts.map +1 -0
  3. package/cloudwatchomni/dashboard.js +149 -0
  4. package/cloudwatchomni/dashboard.js.map +1 -0
  5. package/cloudwatchomni/index.d.ts +6 -0
  6. package/cloudwatchomni/index.d.ts.map +1 -1
  7. package/cloudwatchomni/index.js +11 -1
  8. package/cloudwatchomni/index.js.map +1 -1
  9. package/cloudwatchomni/organizationDomain.d.ts +293 -0
  10. package/cloudwatchomni/organizationDomain.d.ts.map +1 -0
  11. package/cloudwatchomni/organizationDomain.js +200 -0
  12. package/cloudwatchomni/organizationDomain.js.map +1 -0
  13. package/devopsagent/asset.d.ts +198 -0
  14. package/devopsagent/asset.d.ts.map +1 -0
  15. package/devopsagent/asset.js +152 -0
  16. package/devopsagent/asset.js.map +1 -0
  17. package/devopsagent/index.d.ts +3 -0
  18. package/devopsagent/index.d.ts.map +1 -1
  19. package/devopsagent/index.js +6 -1
  20. package/devopsagent/index.js.map +1 -1
  21. package/ec2/getVpcEndpoint.d.ts +2 -2
  22. package/ec2/instance.d.ts +9 -9
  23. package/ec2/spotInstanceRequest.d.ts +9 -9
  24. package/ec2/vpcEndpoint.d.ts +32 -12
  25. package/ec2/vpcEndpoint.d.ts.map +1 -1
  26. package/ec2/vpcEndpoint.js +20 -0
  27. package/ec2/vpcEndpoint.js.map +1 -1
  28. package/ecs/expressGatewayService.d.ts +12 -0
  29. package/ecs/expressGatewayService.d.ts.map +1 -1
  30. package/ecs/expressGatewayService.js +2 -0
  31. package/ecs/expressGatewayService.js.map +1 -1
  32. package/lambda/function.d.ts +58 -0
  33. package/lambda/function.d.ts.map +1 -1
  34. package/lambda/function.js +58 -0
  35. package/lambda/function.js.map +1 -1
  36. package/lambda/getFunction.d.ts +1 -1
  37. package/networkfirewall/firewallPolicy.d.ts +22 -0
  38. package/networkfirewall/firewallPolicy.d.ts.map +1 -1
  39. package/networkfirewall/firewallPolicy.js +22 -0
  40. package/networkfirewall/firewallPolicy.js.map +1 -1
  41. package/observabilityadmin/datasetIntegration.d.ts +204 -0
  42. package/observabilityadmin/datasetIntegration.d.ts.map +1 -0
  43. package/observabilityadmin/datasetIntegration.js +170 -0
  44. package/observabilityadmin/datasetIntegration.js.map +1 -0
  45. package/observabilityadmin/getDatasetIntegration.d.ts +78 -0
  46. package/observabilityadmin/getDatasetIntegration.d.ts.map +1 -0
  47. package/observabilityadmin/getDatasetIntegration.js +75 -0
  48. package/observabilityadmin/getDatasetIntegration.js.map +1 -0
  49. package/observabilityadmin/index.d.ts +6 -0
  50. package/observabilityadmin/index.d.ts.map +1 -1
  51. package/observabilityadmin/index.js +9 -1
  52. package/observabilityadmin/index.js.map +1 -1
  53. package/package.json +2 -2
  54. package/rds/eventSubscription.d.ts +1 -1
  55. package/rds/eventSubscription.js +1 -1
  56. package/rds/getInstance.d.ts +4 -0
  57. package/rds/getInstance.d.ts.map +1 -1
  58. package/rds/getInstance.js.map +1 -1
  59. package/rds/getReservedInstanceOffering.d.ts +2 -2
  60. package/rds/getReservedInstanceOffering.js +2 -2
  61. package/rds/getSnapshot.d.ts +4 -4
  62. package/rds/getSnapshot.js +4 -4
  63. package/rds/instance.d.ts +12 -0
  64. package/rds/instance.d.ts.map +1 -1
  65. package/rds/instance.js +2 -0
  66. package/rds/instance.js.map +1 -1
  67. package/rds/reservedInstance.d.ts +1 -1
  68. package/rds/reservedInstance.js +1 -1
  69. package/rds/snapshot.d.ts +1 -1
  70. package/rds/snapshot.js +1 -1
  71. package/rds/snapshotCopy.d.ts +1 -1
  72. package/rds/snapshotCopy.js +1 -1
  73. package/sagemaker/getHubContent.d.ts +207 -0
  74. package/sagemaker/getHubContent.d.ts.map +1 -0
  75. package/sagemaker/getHubContent.js +123 -0
  76. package/sagemaker/getHubContent.js.map +1 -0
  77. package/sagemaker/hubContentReference.d.ts +8 -0
  78. package/sagemaker/hubContentReference.d.ts.map +1 -1
  79. package/sagemaker/hubContentReference.js +2 -0
  80. package/sagemaker/hubContentReference.js.map +1 -1
  81. package/sagemaker/index.d.ts +3 -0
  82. package/sagemaker/index.d.ts.map +1 -1
  83. package/sagemaker/index.js +4 -1
  84. package/sagemaker/index.js.map +1 -1
  85. package/ssm/parameter.d.ts +1 -1
  86. package/ssm/parameter.js +1 -1
  87. package/types/input.d.ts +201 -22
  88. package/types/input.d.ts.map +1 -1
  89. package/types/input.js.map +1 -1
  90. package/types/output.d.ts +227 -22
  91. package/types/output.d.ts.map +1 -1
  92. package/types/output.js.map +1 -1
  93. package/vpclattice/resourceConfiguration.d.ts +43 -9
  94. package/vpclattice/resourceConfiguration.d.ts.map +1 -1
  95. package/vpclattice/resourceConfiguration.js +34 -0
  96. package/vpclattice/resourceConfiguration.js.map +1 -1
@@ -92,6 +92,28 @@ const utilities = __importStar(require("../utilities"));
92
92
  * });
93
93
  * ```
94
94
  *
95
+ * ### Policy with Route 53 Resolved IP Validation
96
+ *
97
+ * ```typescript
98
+ * import * as pulumi from "@pulumi/pulumi";
99
+ * import * as aws from "@pulumi/aws";
100
+ *
101
+ * const example = new aws.route53.ResolverFirewallRuleGroup("example", {name: "example"});
102
+ * const exampleFirewallPolicy = new aws.networkfirewall.FirewallPolicy("example", {
103
+ * firewallPolicy: {
104
+ * route53ResolvedIpValidation: {
105
+ * action: "DROP",
106
+ * dnsExpiryExceptionPolicy: "CONTINUE",
107
+ * dnsFirewallRuleGroupId: example.id,
108
+ * sourceIpRanges: ["10.0.0.0/16"],
109
+ * },
110
+ * statelessDefaultActions: ["aws:forward_to_sfe"],
111
+ * statelessFragmentDefaultActions: ["aws:forward_to_sfe"],
112
+ * },
113
+ * name: "example",
114
+ * });
115
+ * ```
116
+ *
95
117
  * ### Policy with a Custom Action for Stateless Inspection
96
118
  *
97
119
  * ```typescript
@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,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAxGL,wCAyGC"}
@@ -0,0 +1,204 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages a CloudWatch Observability Admin Dataset Integration. A dataset integration enables CloudWatch to forward the account's telemetry to a dataset using an IAM role that you provide.
4
+ *
5
+ * > **NOTE:** Only one dataset integration can exist per account and Region. Creating a second one fails with a `ConflictException`. To manage an existing dataset integration, import it.
6
+ *
7
+ * > **NOTE:** A successful apply does not prove that forwarding works. If the execution role's trust policy names the wrong account in `aws:SourceAccount` or `aws:SourceArn`, or the role lacks the permissions below, the integration is still created but nothing is forwarded.
8
+ *
9
+ * Before you create the integration:
10
+ *
11
+ * * The caller needs `iam:PassRole` on the execution role to create or update the integration.
12
+ * * The execution role must be in the same account as the integration and must trust `logs.amazonaws.com`. Both trust policy conditions must name that account, as in the example below.
13
+ * * The role's `logs:IntegrateWithDataset` permissions decide which log groups are forwarded. `log-group:*` forwards all log groups in the account. Log groups in the Delivery log class are never forwarded.
14
+ * * If the destination dataset is encrypted with a customer managed AWS KMS key, the key policy must allow the execution role `kms:Encrypt`, `kms:Decrypt`, and `kms:GenerateDataKey`.
15
+ *
16
+ * ## Example Usage
17
+ *
18
+ * ### Basic Usage
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as aws from "@pulumi/aws";
23
+ *
24
+ * const current = aws.getCallerIdentity({});
25
+ * const currentGetPartition = aws.getPartition({});
26
+ * const currentGetRegion = aws.getRegion({});
27
+ * const example = new aws.iam.Role("example", {
28
+ * name: "example-dataset-integration",
29
+ * assumeRolePolicy: JSON.stringify({
30
+ * Version: "2012-10-17",
31
+ * Statement: [{
32
+ * Action: "sts:AssumeRole",
33
+ * Effect: "Allow",
34
+ * Principal: {
35
+ * Service: "logs.amazonaws.com",
36
+ * },
37
+ * Condition: {
38
+ * StringEquals: {
39
+ * "aws:SourceAccount": current.then(current => current.accountId),
40
+ * },
41
+ * ArnLike: {
42
+ * "aws:SourceArn": Promise.all([currentGetPartition, currentGetRegion, current]).then(([currentGetPartition, currentGetRegion, current]) => `arn:${currentGetPartition.partition}:observabilityadmin:${currentGetRegion.region}:${current.accountId}:dataset-integration/default`),
43
+ * },
44
+ * },
45
+ * }],
46
+ * }),
47
+ * });
48
+ * const exampleRolePolicy = new aws.iam.RolePolicy("example", {
49
+ * role: example.name,
50
+ * policy: JSON.stringify({
51
+ * Version: "2012-10-17",
52
+ * Statement: [
53
+ * {
54
+ * Effect: "Allow",
55
+ * Action: "logs:IntegrateWithDataset",
56
+ * Resource: Promise.all([currentGetPartition, currentGetRegion, current]).then(([currentGetPartition, currentGetRegion, current]) => `arn:${currentGetPartition.partition}:logs:${currentGetRegion.region}:${current.accountId}:log-group:*`),
57
+ * },
58
+ * {
59
+ * Effect: "Allow",
60
+ * Action: "cloudwatch:PutRecords",
61
+ * Resource: "*",
62
+ * },
63
+ * ],
64
+ * }),
65
+ * });
66
+ * const exampleDatasetIntegration = new aws.observabilityadmin.DatasetIntegration("example", {roleArn: example.arn}, {
67
+ * dependsOn: [exampleRolePolicy],
68
+ * });
69
+ * ```
70
+ *
71
+ * ## Import
72
+ *
73
+ * ### Identity Schema
74
+ *
75
+ * #### Required
76
+ *
77
+ * - `arn` (String) ARN of the dataset integration.
78
+ *
79
+ * Using `pulumi import`, import CloudWatch Observability Admin Dataset Integrations using the `arn`. For example:
80
+ *
81
+ * ```sh
82
+ * $ pulumi import aws:observabilityadmin/datasetIntegration:DatasetIntegration example arn:aws:observabilityadmin:us-east-1:123456789012:dataset-integration/default
83
+ * ```
84
+ */
85
+ export declare class DatasetIntegration extends pulumi.CustomResource {
86
+ /**
87
+ * Get an existing DatasetIntegration resource's state with the given name, ID, and optional extra
88
+ * properties used to qualify the lookup.
89
+ *
90
+ * @param name The _unique_ name of the resulting resource.
91
+ * @param id The _unique_ provider ID of the resource to lookup.
92
+ * @param state Any extra arguments used during the lookup.
93
+ * @param opts Optional settings to control the behavior of the CustomResource.
94
+ */
95
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DatasetIntegrationState, opts?: pulumi.CustomResourceOptions): DatasetIntegration;
96
+ /**
97
+ * Returns true if the given object is an instance of DatasetIntegration. This is designed to work even
98
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
99
+ */
100
+ static isInstance(obj: any): obj is DatasetIntegration;
101
+ /**
102
+ * ARN of the dataset integration.
103
+ */
104
+ readonly arn: pulumi.Output<string>;
105
+ /**
106
+ * Timestamp when the dataset integration was created, in [RFC3339 format](https://datatracker.ietf.org/doc/html/rfc3339#section-5.8).
107
+ */
108
+ readonly createdAt: pulumi.Output<string>;
109
+ /**
110
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
111
+ */
112
+ readonly region: pulumi.Output<string>;
113
+ /**
114
+ * ARN of the IAM role that grants CloudWatch permission to access the resources needed for the dataset integration.
115
+ *
116
+ * The following arguments are optional:
117
+ */
118
+ readonly roleArn: pulumi.Output<string>;
119
+ /**
120
+ * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
121
+ */
122
+ readonly tags: pulumi.Output<{
123
+ [key: string]: string;
124
+ } | undefined>;
125
+ /**
126
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
127
+ */
128
+ readonly tagsAll: pulumi.Output<{
129
+ [key: string]: string;
130
+ }>;
131
+ /**
132
+ * Timestamp when the dataset integration was last updated, in [RFC3339 format](https://datatracker.ietf.org/doc/html/rfc3339#section-5.8).
133
+ */
134
+ readonly updatedAt: pulumi.Output<string>;
135
+ /**
136
+ * Create a DatasetIntegration resource with the given unique name, arguments, and options.
137
+ *
138
+ * @param name The _unique_ name of the resource.
139
+ * @param args The arguments to use to populate this resource's properties.
140
+ * @param opts A bag of options that control this resource's behavior.
141
+ */
142
+ constructor(name: string, args: DatasetIntegrationArgs, opts?: pulumi.CustomResourceOptions);
143
+ }
144
+ /**
145
+ * Input properties used for looking up and filtering DatasetIntegration resources.
146
+ */
147
+ export interface DatasetIntegrationState {
148
+ /**
149
+ * ARN of the dataset integration.
150
+ */
151
+ arn?: pulumi.Input<string | undefined>;
152
+ /**
153
+ * Timestamp when the dataset integration was created, in [RFC3339 format](https://datatracker.ietf.org/doc/html/rfc3339#section-5.8).
154
+ */
155
+ createdAt?: pulumi.Input<string | undefined>;
156
+ /**
157
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
158
+ */
159
+ region?: pulumi.Input<string | undefined>;
160
+ /**
161
+ * ARN of the IAM role that grants CloudWatch permission to access the resources needed for the dataset integration.
162
+ *
163
+ * The following arguments are optional:
164
+ */
165
+ roleArn?: pulumi.Input<string | undefined>;
166
+ /**
167
+ * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
168
+ */
169
+ tags?: pulumi.Input<{
170
+ [key: string]: pulumi.Input<string>;
171
+ } | undefined>;
172
+ /**
173
+ * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
174
+ */
175
+ tagsAll?: pulumi.Input<{
176
+ [key: string]: pulumi.Input<string>;
177
+ } | undefined>;
178
+ /**
179
+ * Timestamp when the dataset integration was last updated, in [RFC3339 format](https://datatracker.ietf.org/doc/html/rfc3339#section-5.8).
180
+ */
181
+ updatedAt?: pulumi.Input<string | undefined>;
182
+ }
183
+ /**
184
+ * The set of arguments for constructing a DatasetIntegration resource.
185
+ */
186
+ export interface DatasetIntegrationArgs {
187
+ /**
188
+ * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
189
+ */
190
+ region?: pulumi.Input<string | undefined>;
191
+ /**
192
+ * ARN of the IAM role that grants CloudWatch permission to access the resources needed for the dataset integration.
193
+ *
194
+ * The following arguments are optional:
195
+ */
196
+ roleArn: pulumi.Input<string>;
197
+ /**
198
+ * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
199
+ */
200
+ tags?: pulumi.Input<{
201
+ [key: string]: pulumi.Input<string>;
202
+ } | undefined>;
203
+ }
204
+ //# sourceMappingURL=datasetIntegration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datasetIntegration.d.ts","sourceRoot":"","sources":["../../observabilityadmin/datasetIntegration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFG;AACH,qBAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,kBAAkB;IAOtJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,kBAAkB;IAO7D;;OAEG;IACH,SAAgC,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,C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OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;CAC1E"}
@@ -0,0 +1,170 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.DatasetIntegration = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Manages a CloudWatch Observability Admin Dataset Integration. A dataset integration enables CloudWatch to forward the account's telemetry to a dataset using an IAM role that you provide.
33
+ *
34
+ * > **NOTE:** Only one dataset integration can exist per account and Region. Creating a second one fails with a `ConflictException`. To manage an existing dataset integration, import it.
35
+ *
36
+ * > **NOTE:** A successful apply does not prove that forwarding works. If the execution role's trust policy names the wrong account in `aws:SourceAccount` or `aws:SourceArn`, or the role lacks the permissions below, the integration is still created but nothing is forwarded.
37
+ *
38
+ * Before you create the integration:
39
+ *
40
+ * * The caller needs `iam:PassRole` on the execution role to create or update the integration.
41
+ * * The execution role must be in the same account as the integration and must trust `logs.amazonaws.com`. Both trust policy conditions must name that account, as in the example below.
42
+ * * The role's `logs:IntegrateWithDataset` permissions decide which log groups are forwarded. `log-group:*` forwards all log groups in the account. Log groups in the Delivery log class are never forwarded.
43
+ * * If the destination dataset is encrypted with a customer managed AWS KMS key, the key policy must allow the execution role `kms:Encrypt`, `kms:Decrypt`, and `kms:GenerateDataKey`.
44
+ *
45
+ * ## Example Usage
46
+ *
47
+ * ### Basic Usage
48
+ *
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as aws from "@pulumi/aws";
52
+ *
53
+ * const current = aws.getCallerIdentity({});
54
+ * const currentGetPartition = aws.getPartition({});
55
+ * const currentGetRegion = aws.getRegion({});
56
+ * const example = new aws.iam.Role("example", {
57
+ * name: "example-dataset-integration",
58
+ * assumeRolePolicy: JSON.stringify({
59
+ * Version: "2012-10-17",
60
+ * Statement: [{
61
+ * Action: "sts:AssumeRole",
62
+ * Effect: "Allow",
63
+ * Principal: {
64
+ * Service: "logs.amazonaws.com",
65
+ * },
66
+ * Condition: {
67
+ * StringEquals: {
68
+ * "aws:SourceAccount": current.then(current => current.accountId),
69
+ * },
70
+ * ArnLike: {
71
+ * "aws:SourceArn": Promise.all([currentGetPartition, currentGetRegion, current]).then(([currentGetPartition, currentGetRegion, current]) => `arn:${currentGetPartition.partition}:observabilityadmin:${currentGetRegion.region}:${current.accountId}:dataset-integration/default`),
72
+ * },
73
+ * },
74
+ * }],
75
+ * }),
76
+ * });
77
+ * const exampleRolePolicy = new aws.iam.RolePolicy("example", {
78
+ * role: example.name,
79
+ * policy: JSON.stringify({
80
+ * Version: "2012-10-17",
81
+ * Statement: [
82
+ * {
83
+ * Effect: "Allow",
84
+ * Action: "logs:IntegrateWithDataset",
85
+ * Resource: Promise.all([currentGetPartition, currentGetRegion, current]).then(([currentGetPartition, currentGetRegion, current]) => `arn:${currentGetPartition.partition}:logs:${currentGetRegion.region}:${current.accountId}:log-group:*`),
86
+ * },
87
+ * {
88
+ * Effect: "Allow",
89
+ * Action: "cloudwatch:PutRecords",
90
+ * Resource: "*",
91
+ * },
92
+ * ],
93
+ * }),
94
+ * });
95
+ * const exampleDatasetIntegration = new aws.observabilityadmin.DatasetIntegration("example", {roleArn: example.arn}, {
96
+ * dependsOn: [exampleRolePolicy],
97
+ * });
98
+ * ```
99
+ *
100
+ * ## Import
101
+ *
102
+ * ### Identity Schema
103
+ *
104
+ * #### Required
105
+ *
106
+ * - `arn` (String) ARN of the dataset integration.
107
+ *
108
+ * Using `pulumi import`, import CloudWatch Observability Admin Dataset Integrations using the `arn`. For example:
109
+ *
110
+ * ```sh
111
+ * $ pulumi import aws:observabilityadmin/datasetIntegration:DatasetIntegration example arn:aws:observabilityadmin:us-east-1:123456789012:dataset-integration/default
112
+ * ```
113
+ */
114
+ class DatasetIntegration extends pulumi.CustomResource {
115
+ /**
116
+ * Get an existing DatasetIntegration resource's state with the given name, ID, and optional extra
117
+ * properties used to qualify the lookup.
118
+ *
119
+ * @param name The _unique_ name of the resulting resource.
120
+ * @param id The _unique_ provider ID of the resource to lookup.
121
+ * @param state Any extra arguments used during the lookup.
122
+ * @param opts Optional settings to control the behavior of the CustomResource.
123
+ */
124
+ static get(name, id, state, opts) {
125
+ return new DatasetIntegration(name, state, { ...opts, id: id });
126
+ }
127
+ /** @internal */
128
+ static __pulumiType = 'aws:observabilityadmin/datasetIntegration:DatasetIntegration';
129
+ /**
130
+ * Returns true if the given object is an instance of DatasetIntegration. This is designed to work even
131
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
132
+ */
133
+ static isInstance(obj) {
134
+ if (obj === undefined || obj === null) {
135
+ return false;
136
+ }
137
+ return obj['__pulumiType'] === DatasetIntegration.__pulumiType;
138
+ }
139
+ constructor(name, argsOrState, opts) {
140
+ let resourceInputs = {};
141
+ opts = opts || {};
142
+ if (opts.id) {
143
+ const state = argsOrState;
144
+ resourceInputs["arn"] = state?.arn;
145
+ resourceInputs["createdAt"] = state?.createdAt;
146
+ resourceInputs["region"] = state?.region;
147
+ resourceInputs["roleArn"] = state?.roleArn;
148
+ resourceInputs["tags"] = state?.tags;
149
+ resourceInputs["tagsAll"] = state?.tagsAll;
150
+ resourceInputs["updatedAt"] = state?.updatedAt;
151
+ }
152
+ else {
153
+ const args = argsOrState;
154
+ if (args?.roleArn === undefined && !opts.urn) {
155
+ throw new Error("Missing required property 'roleArn'");
156
+ }
157
+ resourceInputs["region"] = args?.region;
158
+ resourceInputs["roleArn"] = args?.roleArn;
159
+ resourceInputs["tags"] = args?.tags;
160
+ resourceInputs["arn"] = undefined /*out*/;
161
+ resourceInputs["createdAt"] = undefined /*out*/;
162
+ resourceInputs["tagsAll"] = undefined /*out*/;
163
+ resourceInputs["updatedAt"] = undefined /*out*/;
164
+ }
165
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
166
+ super(DatasetIntegration.__pulumiType, name, resourceInputs, opts);
167
+ }
168
+ }
169
+ exports.DatasetIntegration = DatasetIntegration;
170
+ //# sourceMappingURL=datasetIntegration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datasetIntegration.js","sourceRoot":"","sources":["../../observabilityadmin/datasetIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFG;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;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8DAA8D,CAAC;IAErG;;;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;IAyCD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;YACnC,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK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observability Admin Dataset Integration for the current account and Region. Reading fails if no dataset integration exists in the Region.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ### Basic Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as aws from "@pulumi/aws";
12
+ *
13
+ * const example = aws.observabilityadmin.getDatasetIntegration({});
14
+ * ```
15
+ */
16
+ export declare function getDatasetIntegration(args?: GetDatasetIntegrationArgs, opts?: pulumi.InvokeOptions): Promise<GetDatasetIntegrationResult>;
17
+ /**
18
+ * A collection of arguments for invoking getDatasetIntegration.
19
+ */
20
+ export interface GetDatasetIntegrationArgs {
21
+ /**
22
+ * Region where this data source will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
23
+ */
24
+ region?: string;
25
+ }
26
+ /**
27
+ * A collection of values returned by getDatasetIntegration.
28
+ */
29
+ export interface GetDatasetIntegrationResult {
30
+ /**
31
+ * ARN of the dataset integration.
32
+ */
33
+ readonly arn: string;
34
+ /**
35
+ * Timestamp when the dataset integration was created, in [RFC3339 format](https://datatracker.ietf.org/doc/html/rfc3339#section-5.8).
36
+ */
37
+ readonly createdAt: string;
38
+ readonly region: string;
39
+ /**
40
+ * ARN of the IAM role associated with the dataset integration.
41
+ */
42
+ readonly roleArn: string;
43
+ /**
44
+ * Map of tags assigned to the dataset integration.
45
+ */
46
+ readonly tags: {
47
+ [key: string]: string;
48
+ };
49
+ /**
50
+ * Timestamp when the dataset integration was last updated, in [RFC3339 format](https://datatracker.ietf.org/doc/html/rfc3339#section-5.8).
51
+ */
52
+ readonly updatedAt: string;
53
+ }
54
+ /**
55
+ * Provides details about the CloudWatch Observability Admin Dataset Integration for the current account and Region. Reading fails if no dataset integration exists in the Region.
56
+ *
57
+ * ## Example Usage
58
+ *
59
+ * ### Basic Usage
60
+ *
61
+ * ```typescript
62
+ * import * as pulumi from "@pulumi/pulumi";
63
+ * import * as aws from "@pulumi/aws";
64
+ *
65
+ * const example = aws.observabilityadmin.getDatasetIntegration({});
66
+ * ```
67
+ */
68
+ export declare function getDatasetIntegrationOutput(args?: GetDatasetIntegrationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatasetIntegrationResult>;
69
+ /**
70
+ * A collection of arguments for invoking getDatasetIntegration.
71
+ */
72
+ export interface GetDatasetIntegrationOutputArgs {
73
+ /**
74
+ * Region where this data source will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
75
+ */
76
+ region?: pulumi.Input<string | undefined>;
77
+ }
78
+ //# sourceMappingURL=getDatasetIntegration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDatasetIntegration.d.ts","sourceRoot":"","sources":["../../observabilityadmin/getDatasetIntegration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAMzI;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;IACvC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B;AACD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,CAAC,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAMjK;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C"}
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.getDatasetIntegrationOutput = exports.getDatasetIntegration = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../utilities"));
31
+ /**
32
+ * Provides details about the CloudWatch Observability Admin Dataset Integration for the current account and Region. Reading fails if no dataset integration exists in the Region.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ### Basic Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as aws from "@pulumi/aws";
41
+ *
42
+ * const example = aws.observabilityadmin.getDatasetIntegration({});
43
+ * ```
44
+ */
45
+ function getDatasetIntegration(args, opts) {
46
+ args = args || {};
47
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
48
+ return pulumi.runtime.invoke("aws:observabilityadmin/getDatasetIntegration:getDatasetIntegration", {
49
+ "region": args.region,
50
+ }, opts);
51
+ }
52
+ exports.getDatasetIntegration = getDatasetIntegration;
53
+ /**
54
+ * Provides details about the CloudWatch Observability Admin Dataset Integration for the current account and Region. Reading fails if no dataset integration exists in the Region.
55
+ *
56
+ * ## Example Usage
57
+ *
58
+ * ### Basic Usage
59
+ *
60
+ * ```typescript
61
+ * import * as pulumi from "@pulumi/pulumi";
62
+ * import * as aws from "@pulumi/aws";
63
+ *
64
+ * const example = aws.observabilityadmin.getDatasetIntegration({});
65
+ * ```
66
+ */
67
+ function getDatasetIntegrationOutput(args, opts) {
68
+ args = args || {};
69
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
70
+ return pulumi.runtime.invokeOutput("aws:observabilityadmin/getDatasetIntegration:getDatasetIntegration", {
71
+ "region": args.region,
72
+ }, opts);
73
+ }
74
+ exports.getDatasetIntegrationOutput = getDatasetIntegrationOutput;
75
+ //# sourceMappingURL=getDatasetIntegration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDatasetIntegration.js","sourceRoot":"","sources":["../../observabilityadmin/getDatasetIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAsCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAAiC;IACjH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
@@ -1,6 +1,12 @@
1
1
  export { CentralizationRuleForOrganizationArgs, CentralizationRuleForOrganizationState } from "./centralizationRuleForOrganization";
2
2
  export type CentralizationRuleForOrganization = import("./centralizationRuleForOrganization").CentralizationRuleForOrganization;
3
3
  export declare const CentralizationRuleForOrganization: typeof import("./centralizationRuleForOrganization").CentralizationRuleForOrganization;
4
+ export { DatasetIntegrationArgs, DatasetIntegrationState } from "./datasetIntegration";
5
+ export type DatasetIntegration = import("./datasetIntegration").DatasetIntegration;
6
+ export declare const DatasetIntegration: typeof import("./datasetIntegration").DatasetIntegration;
7
+ export { GetDatasetIntegrationArgs, GetDatasetIntegrationResult, GetDatasetIntegrationOutputArgs } from "./getDatasetIntegration";
8
+ export declare const getDatasetIntegration: typeof import("./getDatasetIntegration").getDatasetIntegration;
9
+ export declare const getDatasetIntegrationOutput: typeof import("./getDatasetIntegration").getDatasetIntegrationOutput;
4
10
  export { S3TableIntegrationArgs, S3TableIntegrationState } from "./s3tableIntegration";
5
11
  export type S3TableIntegration = import("./s3tableIntegration").S3TableIntegration;
6
12
  export declare const S3TableIntegration: typeof import("./s3tableIntegration").S3TableIntegration;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../observabilityadmin/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,qCAAqC,EAAE,sCAAsC,EAAE,MAAM,qCAAqC,CAAC;AACpI,MAAM,MAAM,iCAAiC,GAAG,OAAO,qCAAqC,EAAE,iCAAiC,CAAC;AAChI,eAAO,MAAM,iCAAiC,EAAE,cAAc,qCAAqC,EAAE,iCAA+C,CAAC;AAGrJ,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACvF,MAAM,MAAM,kBAAkB,GAAG,OAAO,sBAAsB,EAAE,kBAAkB,CAAC;AACnF,eAAO,MAAM,kBAAkB,EAAE,cAAc,sBAAsB,EAAE,kBAAgC,CAAC;AAGxG,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAC1F,MAAM,MAAM,mBAAmB,GAAG,OAAO,uBAAuB,EAAE,mBAAmB,CAAC;AACtF,eAAO,MAAM,mBAAmB,EAAE,cAAc,uBAAuB,EAAE,mBAAiC,CAAC;AAG3G,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAC1F,MAAM,MAAM,mBAAmB,GAAG,OAAO,uBAAuB,EAAE,mBAAmB,CAAC;AACtF,eAAO,MAAM,mBAAmB,EAAE,cAAc,uBAAuB,EAAE,mBAAiC,CAAC;AAG3G,OAAO,EAAE,sCAAsC,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AACvI,MAAM,MAAM,kCAAkC,GAAG,OAAO,sCAAsC,EAAE,kCAAkC,CAAC;AACnI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M,MAAM,aAAa,GAAG,OAAO,iBAAiB,EAAE,aAAa,CAAC;AACpE,eAAO,MAAM,aAAa,EAAE,cAAc,iBAAiB,EAAE,aAA2B,CAAC;AAGzF,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AACrH,MAAM,MAAM,4BAA4B,GAAG,OAAO,gCAAgC,EAAE,4BAA4B,CAAC;AACjH,eAAO,MAAM,4BAA4B,EAAE,cAAc,gCAAgC,EAAE,4BAA0C,CAAC"}
@@ -25,11 +25,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  return result;
26
26
  };
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
- exports.TelemetryRuleForOrganization = exports.TelemetryRule = exports.TelemetryPipeline = exports.TelemetryEvaluationForOrganization = exports.TelemetryEvaluation = exports.TelemetryEnrichment = exports.S3TableIntegration = exports.CentralizationRuleForOrganization = void 0;
28
+ exports.TelemetryRuleForOrganization = exports.TelemetryRule = exports.TelemetryPipeline = exports.TelemetryEvaluationForOrganization = exports.TelemetryEvaluation = exports.TelemetryEnrichment = exports.S3TableIntegration = exports.getDatasetIntegrationOutput = exports.getDatasetIntegration = exports.DatasetIntegration = exports.CentralizationRuleForOrganization = void 0;
29
29
  const pulumi = __importStar(require("@pulumi/pulumi"));
30
30
  const utilities = __importStar(require("../utilities"));
31
31
  exports.CentralizationRuleForOrganization = null;
32
32
  utilities.lazyLoad(exports, ["CentralizationRuleForOrganization"], () => require("./centralizationRuleForOrganization"));
33
+ exports.DatasetIntegration = null;
34
+ utilities.lazyLoad(exports, ["DatasetIntegration"], () => require("./datasetIntegration"));
35
+ exports.getDatasetIntegration = null;
36
+ exports.getDatasetIntegrationOutput = null;
37
+ utilities.lazyLoad(exports, ["getDatasetIntegration", "getDatasetIntegrationOutput"], () => require("./getDatasetIntegration"));
33
38
  exports.S3TableIntegration = null;
34
39
  utilities.lazyLoad(exports, ["S3TableIntegration"], () => require("./s3tableIntegration"));
35
40
  exports.TelemetryEnrichment = null;
@@ -50,6 +55,8 @@ const _module = {
50
55
  switch (type) {
51
56
  case "aws:observabilityadmin/centralizationRuleForOrganization:CentralizationRuleForOrganization":
52
57
  return new exports.CentralizationRuleForOrganization(name, undefined, { urn });
58
+ case "aws:observabilityadmin/datasetIntegration:DatasetIntegration":
59
+ return new exports.DatasetIntegration(name, undefined, { urn });
53
60
  case "aws:observabilityadmin/s3TableIntegration:S3TableIntegration":
54
61
  return new exports.S3TableIntegration(name, undefined, { urn });
55
62
  case "aws:observabilityadmin/telemetryEnrichment:TelemetryEnrichment":
@@ -70,6 +77,7 @@ const _module = {
70
77
  },
71
78
  };
72
79
  pulumi.runtime.registerResourceModule("aws", "observabilityadmin/centralizationRuleForOrganization", _module);
80
+ pulumi.runtime.registerResourceModule("aws", "observabilityadmin/datasetIntegration", _module);
73
81
  pulumi.runtime.registerResourceModule("aws", "observabilityadmin/s3TableIntegration", _module);
74
82
  pulumi.runtime.registerResourceModule("aws", "observabilityadmin/telemetryEnrichment", _module);
75
83
  pulumi.runtime.registerResourceModule("aws", "observabilityadmin/telemetryEvaluation", _module);