@pulumi/aws 7.22.0 → 7.23.0-alpha.1773307795

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 (39) hide show
  1. package/bedrock/agentcoreAgentRuntime.d.ts +4 -0
  2. package/bedrock/agentcoreAgentRuntime.js +4 -0
  3. package/bedrock/agentcoreAgentRuntime.js.map +1 -1
  4. package/cloudwatch/logResourcePolicy.d.ts +39 -7
  5. package/cloudwatch/logResourcePolicy.js +12 -5
  6. package/cloudwatch/logResourcePolicy.js.map +1 -1
  7. package/costexplorer/anomalyMonitor.d.ts +3 -3
  8. package/costexplorer/costAllocationTag.d.ts +18 -0
  9. package/costexplorer/costAllocationTag.js +18 -0
  10. package/costexplorer/costAllocationTag.js.map +1 -1
  11. package/ec2/vpcEndpoint.d.ts +3 -3
  12. package/glue/catalogTable.d.ts +79 -5
  13. package/glue/catalogTable.js +66 -2
  14. package/glue/catalogTable.js.map +1 -1
  15. package/guardduty/ipset.d.ts +8 -0
  16. package/guardduty/ipset.js +2 -0
  17. package/guardduty/ipset.js.map +1 -1
  18. package/guardduty/publishingDestination.d.ts +52 -6
  19. package/guardduty/publishingDestination.js +8 -0
  20. package/guardduty/publishingDestination.js.map +1 -1
  21. package/guardduty/threatIntelSet.d.ts +8 -0
  22. package/guardduty/threatIntelSet.js +2 -0
  23. package/guardduty/threatIntelSet.js.map +1 -1
  24. package/iam/getOutboundWebIdentityFederation.d.ts +40 -0
  25. package/iam/getOutboundWebIdentityFederation.js +42 -0
  26. package/iam/getOutboundWebIdentityFederation.js.map +1 -0
  27. package/iam/index.d.ts +3 -0
  28. package/iam/index.js +5 -2
  29. package/iam/index.js.map +1 -1
  30. package/lightsail/staticIpAttachment.d.ts +2 -2
  31. package/lightsail/staticIpAttachment.js +2 -2
  32. package/observabilityadmin/centralizationRuleForOrganization.d.ts +4 -1
  33. package/observabilityadmin/centralizationRuleForOrganization.js +4 -1
  34. package/observabilityadmin/centralizationRuleForOrganization.js.map +1 -1
  35. package/package.json +2 -2
  36. package/types/input.d.ts +192 -0
  37. package/types/input.js.map +1 -1
  38. package/types/output.d.ts +192 -0
  39. package/types/output.js.map +1 -1
@@ -91,6 +91,10 @@ import * as outputs from "../types/output";
91
91
  * "client-123",
92
92
  * "client-456",
93
93
  * ],
94
+ * allowedScopes: [
95
+ * "openid",
96
+ * "email",
97
+ * ],
94
98
  * },
95
99
  * },
96
100
  * networkConfiguration: {
@@ -95,6 +95,10 @@ const utilities = require("../utilities");
95
95
  * "client-123",
96
96
  * "client-456",
97
97
  * ],
98
+ * allowedScopes: [
99
+ * "openid",
100
+ * "email",
101
+ * ],
98
102
  * },
99
103
  * },
100
104
  * networkConfiguration: {
@@ -1 +1 @@
1
- {"version":3,"file":"agentcoreAgentRuntime.js","sourceRoot":"","sources":["../../bedrock/agentcoreAgentRuntime.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuIG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,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,c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AAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAtKL,sDAuKC;AAzJG,gBAAgB;AACO,kCAAY,GAAG,yDAAyD,CAAC"}
@@ -58,10 +58,14 @@ import * as inputs from "../types/input";
58
58
  *
59
59
  * ## Import
60
60
  *
61
- * Using `pulumi import`, import CloudWatch log resource policies using the policy name. For example:
61
+ * Using `pulumi import`, import CloudWatch log resource policies using the policy name for account-scoped policies, or the ARN of the CloudWatch Logs resource to which the policy is attached for resource-scoped policies. For example:
62
62
  *
63
63
  * ```sh
64
- * $ pulumi import aws:cloudwatch/logResourcePolicy:LogResourcePolicy MyPolicy MyPolicy
64
+ * $ pulumi import aws:cloudwatch/logResourcePolicy:LogResourcePolicy my_policy_account_scoped my_policy
65
+ * ```
66
+ *
67
+ * ```sh
68
+ * $ pulumi import aws:cloudwatch/logResourcePolicy:LogResourcePolicy my_policy_resource_scoped "arn:aws:logs:us-west-2:123456789012:log-group:/my-log-group"
65
69
  * ```
66
70
  */
67
71
  export declare class LogResourcePolicy extends pulumi.CustomResource {
@@ -85,13 +89,25 @@ export declare class LogResourcePolicy extends pulumi.CustomResource {
85
89
  */
86
90
  readonly policyDocument: pulumi.Output<string>;
87
91
  /**
88
- * Name of the resource policy.
92
+ * Name of the resource policy. Exactly one of `policyName` or `resourceArn` must be specified and this argument is required for account-scoped policies. Note that the number of resource policies without `resourceArn` is limited to 10 per region.
93
+ */
94
+ readonly policyName: pulumi.Output<string | undefined>;
95
+ /**
96
+ * Scope of the resource policy (`ACCOUNT` or `RESOURCE`).
89
97
  */
90
- readonly policyName: pulumi.Output<string>;
98
+ readonly policyScope: pulumi.Output<string>;
91
99
  /**
92
100
  * 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.
93
101
  */
94
102
  readonly region: pulumi.Output<string>;
103
+ /**
104
+ * ARN of the CloudWatch Logs resource to which the resource policy is attached. Exactly one of `policyName` or `resourceArn` must be specified and this argument is required for resource-scoped policies. Only one policy can be attached per log group resource ARN.
105
+ */
106
+ readonly resourceArn: pulumi.Output<string | undefined>;
107
+ /**
108
+ * Revision ID of the resource policy. Only populated for resource-scoped policies.
109
+ */
110
+ readonly revisionId: pulumi.Output<string>;
95
111
  /**
96
112
  * Create a LogResourcePolicy resource with the given unique name, arguments, and options.
97
113
  *
@@ -110,13 +126,25 @@ export interface LogResourcePolicyState {
110
126
  */
111
127
  policyDocument?: pulumi.Input<string | inputs.cloudwatch.PolicyDocument>;
112
128
  /**
113
- * Name of the resource policy.
129
+ * Name of the resource policy. Exactly one of `policyName` or `resourceArn` must be specified and this argument is required for account-scoped policies. Note that the number of resource policies without `resourceArn` is limited to 10 per region.
114
130
  */
115
131
  policyName?: pulumi.Input<string>;
132
+ /**
133
+ * Scope of the resource policy (`ACCOUNT` or `RESOURCE`).
134
+ */
135
+ policyScope?: pulumi.Input<string>;
116
136
  /**
117
137
  * 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.
118
138
  */
119
139
  region?: pulumi.Input<string>;
140
+ /**
141
+ * ARN of the CloudWatch Logs resource to which the resource policy is attached. Exactly one of `policyName` or `resourceArn` must be specified and this argument is required for resource-scoped policies. Only one policy can be attached per log group resource ARN.
142
+ */
143
+ resourceArn?: pulumi.Input<string>;
144
+ /**
145
+ * Revision ID of the resource policy. Only populated for resource-scoped policies.
146
+ */
147
+ revisionId?: pulumi.Input<string>;
120
148
  }
121
149
  /**
122
150
  * The set of arguments for constructing a LogResourcePolicy resource.
@@ -127,11 +155,15 @@ export interface LogResourcePolicyArgs {
127
155
  */
128
156
  policyDocument: pulumi.Input<string | inputs.cloudwatch.PolicyDocument>;
129
157
  /**
130
- * Name of the resource policy.
158
+ * Name of the resource policy. Exactly one of `policyName` or `resourceArn` must be specified and this argument is required for account-scoped policies. Note that the number of resource policies without `resourceArn` is limited to 10 per region.
131
159
  */
132
- policyName: pulumi.Input<string>;
160
+ policyName?: pulumi.Input<string>;
133
161
  /**
134
162
  * 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.
135
163
  */
136
164
  region?: pulumi.Input<string>;
165
+ /**
166
+ * ARN of the CloudWatch Logs resource to which the resource policy is attached. Exactly one of `policyName` or `resourceArn` must be specified and this argument is required for resource-scoped policies. Only one policy can be attached per log group resource ARN.
167
+ */
168
+ resourceArn?: pulumi.Input<string>;
137
169
  }
@@ -63,10 +63,14 @@ const utilities = require("../utilities");
63
63
  *
64
64
  * ## Import
65
65
  *
66
- * Using `pulumi import`, import CloudWatch log resource policies using the policy name. For example:
66
+ * Using `pulumi import`, import CloudWatch log resource policies using the policy name for account-scoped policies, or the ARN of the CloudWatch Logs resource to which the policy is attached for resource-scoped policies. For example:
67
67
  *
68
68
  * ```sh
69
- * $ pulumi import aws:cloudwatch/logResourcePolicy:LogResourcePolicy MyPolicy MyPolicy
69
+ * $ pulumi import aws:cloudwatch/logResourcePolicy:LogResourcePolicy my_policy_account_scoped my_policy
70
+ * ```
71
+ *
72
+ * ```sh
73
+ * $ pulumi import aws:cloudwatch/logResourcePolicy:LogResourcePolicy my_policy_resource_scoped "arn:aws:logs:us-west-2:123456789012:log-group:/my-log-group"
70
74
  * ```
71
75
  */
72
76
  class LogResourcePolicy extends pulumi.CustomResource {
@@ -99,19 +103,22 @@ class LogResourcePolicy extends pulumi.CustomResource {
99
103
  const state = argsOrState;
100
104
  resourceInputs["policyDocument"] = state?.policyDocument;
101
105
  resourceInputs["policyName"] = state?.policyName;
106
+ resourceInputs["policyScope"] = state?.policyScope;
102
107
  resourceInputs["region"] = state?.region;
108
+ resourceInputs["resourceArn"] = state?.resourceArn;
109
+ resourceInputs["revisionId"] = state?.revisionId;
103
110
  }
104
111
  else {
105
112
  const args = argsOrState;
106
113
  if (args?.policyDocument === undefined && !opts.urn) {
107
114
  throw new Error("Missing required property 'policyDocument'");
108
115
  }
109
- if (args?.policyName === undefined && !opts.urn) {
110
- throw new Error("Missing required property 'policyName'");
111
- }
112
116
  resourceInputs["policyDocument"] = args?.policyDocument;
113
117
  resourceInputs["policyName"] = args?.policyName;
114
118
  resourceInputs["region"] = args?.region;
119
+ resourceInputs["resourceArn"] = args?.resourceArn;
120
+ resourceInputs["policyScope"] = undefined /*out*/;
121
+ resourceInputs["revisionId"] = undefined /*out*/;
115
122
  }
116
123
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
117
124
  super(LogResourcePolicy.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"logResourcePolicy.js","sourceRoot":"","sources":["../../cloudwatch/logResourcePolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,c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Ac,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAtFL,8CAuFC;AAzEG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
@@ -78,7 +78,7 @@ export declare class AnomalyMonitor extends pulumi.CustomResource {
78
78
  */
79
79
  readonly arn: pulumi.Output<string>;
80
80
  /**
81
- * The dimensions to evaluate. Valid values: `SERVICE`.
81
+ * The dimensions to evaluate. Valid values: `COST_CATEGORY`, `LINKED_ACCOUNT`, `SERVICE`, `TAG`.
82
82
  */
83
83
  readonly monitorDimension: pulumi.Output<string | undefined>;
84
84
  /**
@@ -123,7 +123,7 @@ export interface AnomalyMonitorState {
123
123
  */
124
124
  arn?: pulumi.Input<string>;
125
125
  /**
126
- * The dimensions to evaluate. Valid values: `SERVICE`.
126
+ * The dimensions to evaluate. Valid values: `COST_CATEGORY`, `LINKED_ACCOUNT`, `SERVICE`, `TAG`.
127
127
  */
128
128
  monitorDimension?: pulumi.Input<string>;
129
129
  /**
@@ -156,7 +156,7 @@ export interface AnomalyMonitorState {
156
156
  */
157
157
  export interface AnomalyMonitorArgs {
158
158
  /**
159
- * The dimensions to evaluate. Valid values: `SERVICE`.
159
+ * The dimensions to evaluate. Valid values: `COST_CATEGORY`, `LINKED_ACCOUNT`, `SERVICE`, `TAG`.
160
160
  */
161
161
  monitorDimension?: pulumi.Input<string>;
162
162
  /**
@@ -2,8 +2,12 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * Provides a CE Cost Allocation Tag.
4
4
  *
5
+ * > **NOTE:** After the user-defined tags are created and applied to resources, it can take up to 24 hours for the tag keys to appear on Cost Allocation tag page for activation.
6
+ *
5
7
  * ## Example Usage
6
8
  *
9
+ * ### Basic Usage
10
+ *
7
11
  * ```typescript
8
12
  * import * as pulumi from "@pulumi/pulumi";
9
13
  * import * as aws from "@pulumi/aws";
@@ -14,6 +18,20 @@ import * as pulumi from "@pulumi/pulumi";
14
18
  * });
15
19
  * ```
16
20
  *
21
+ * ### Account Tags as Cost Allocation Tags
22
+ *
23
+ * Cost Allocation tags support account tags to utilize existing AWS Organizations account tags directly in cost management tools. To activate account tags as Cost Allocation Tags the `tagKey` value needs to be prefixed with `accountTag/`.
24
+ *
25
+ * ```typescript
26
+ * import * as pulumi from "@pulumi/pulumi";
27
+ * import * as aws from "@pulumi/aws";
28
+ *
29
+ * const example = new aws.costexplorer.CostAllocationTag("example", {
30
+ * tagKey: "accountTag/example",
31
+ * status: "Active",
32
+ * });
33
+ * ```
34
+ *
17
35
  * ## Import
18
36
  *
19
37
  * Using `pulumi import`, import `aws.costexplorer.CostAllocationTag` using the `id`. For example:
@@ -8,8 +8,12 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * Provides a CE Cost Allocation Tag.
10
10
  *
11
+ * > **NOTE:** After the user-defined tags are created and applied to resources, it can take up to 24 hours for the tag keys to appear on Cost Allocation tag page for activation.
12
+ *
11
13
  * ## Example Usage
12
14
  *
15
+ * ### Basic Usage
16
+ *
13
17
  * ```typescript
14
18
  * import * as pulumi from "@pulumi/pulumi";
15
19
  * import * as aws from "@pulumi/aws";
@@ -20,6 +24,20 @@ const utilities = require("../utilities");
20
24
  * });
21
25
  * ```
22
26
  *
27
+ * ### Account Tags as Cost Allocation Tags
28
+ *
29
+ * Cost Allocation tags support account tags to utilize existing AWS Organizations account tags directly in cost management tools. To activate account tags as Cost Allocation Tags the `tagKey` value needs to be prefixed with `accountTag/`.
30
+ *
31
+ * ```typescript
32
+ * import * as pulumi from "@pulumi/pulumi";
33
+ * import * as aws from "@pulumi/aws";
34
+ *
35
+ * const example = new aws.costexplorer.CostAllocationTag("example", {
36
+ * tagKey: "accountTag/example",
37
+ * status: "Active",
38
+ * });
39
+ * ```
40
+ *
23
41
  * ## Import
24
42
  *
25
43
  * Using `pulumi import`, import `aws.costexplorer.CostAllocationTag` using the `id`. For example:
@@ -1 +1 @@
1
- {"version":3,"file":"costAllocationTag.js","sourceRoot":"","sources":["../../costexplorer/costAllocationTag.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CA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IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAvEL,8CAwEC;AA1DG,gBAAgB;AACO,8BAAY,GAAG,sDAAsD,CAAC"}
@@ -255,7 +255,7 @@ export declare class VpcEndpoint extends pulumi.CustomResource {
255
255
  readonly prefixListId: pulumi.Output<string>;
256
256
  /**
257
257
  * Whether or not to associate a private hosted zone with the specified VPC. Applicable for endpoints of type `Interface`. Most users will want this enabled to allow services within the VPC to automatically use the endpoint.
258
- * Defaults to `false`.
258
+ * Defaults to `false`. If `vpcEndpointType` is anything other than `Interface`, changing this value forces a new resource to be created.
259
259
  */
260
260
  readonly privateDnsEnabled: pulumi.Output<boolean>;
261
261
  /**
@@ -378,7 +378,7 @@ export interface VpcEndpointState {
378
378
  prefixListId?: pulumi.Input<string>;
379
379
  /**
380
380
  * Whether or not to associate a private hosted zone with the specified VPC. Applicable for endpoints of type `Interface`. Most users will want this enabled to allow services within the VPC to automatically use the endpoint.
381
- * Defaults to `false`.
381
+ * Defaults to `false`. If `vpcEndpointType` is anything other than `Interface`, changing this value forces a new resource to be created.
382
382
  */
383
383
  privateDnsEnabled?: pulumi.Input<boolean>;
384
384
  /**
@@ -469,7 +469,7 @@ export interface VpcEndpointArgs {
469
469
  policy?: pulumi.Input<string>;
470
470
  /**
471
471
  * Whether or not to associate a private hosted zone with the specified VPC. Applicable for endpoints of type `Interface`. Most users will want this enabled to allow services within the VPC to automatically use the endpoint.
472
- * Defaults to `false`.
472
+ * Defaults to `false`. If `vpcEndpointType` is anything other than `Interface`, changing this value forces a new resource to be created.
473
473
  */
474
474
  privateDnsEnabled?: pulumi.Input<boolean>;
475
475
  /**
@@ -12,7 +12,7 @@ import * as outputs from "../types/output";
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as aws from "@pulumi/aws";
14
14
  *
15
- * const awsGlueCatalogTable = new aws.glue.CatalogTable("aws_glue_catalog_table", {
15
+ * const example = new aws.glue.CatalogTable("example", {
16
16
  * name: "MyCatalogTable",
17
17
  * databaseName: "MyCatalogDatabase",
18
18
  * });
@@ -24,7 +24,7 @@ import * as outputs from "../types/output";
24
24
  * import * as pulumi from "@pulumi/pulumi";
25
25
  * import * as aws from "@pulumi/aws";
26
26
  *
27
- * const awsGlueCatalogTable = new aws.glue.CatalogTable("aws_glue_catalog_table", {
27
+ * const example = new aws.glue.CatalogTable("example", {
28
28
  * name: "MyCatalogTable",
29
29
  * databaseName: "MyCatalogDatabase",
30
30
  * tableType: "EXTERNAL_TABLE",
@@ -72,6 +72,68 @@ import * as outputs from "../types/output";
72
72
  * });
73
73
  * ```
74
74
  *
75
+ * ### Iceberg Table
76
+ *
77
+ * ```typescript
78
+ * import * as pulumi from "@pulumi/pulumi";
79
+ * import * as aws from "@pulumi/aws";
80
+ *
81
+ * const example = new aws.glue.CatalogTable("example", {
82
+ * name: "transactiontable1",
83
+ * databaseName: "bankdata_icebergdb",
84
+ * openTableFormatInput: {
85
+ * icebergInput: {
86
+ * metadataOperation: "CREATE",
87
+ * version: "2",
88
+ * icebergTableInput: {
89
+ * location: "s3://sampledatabucket/bankdataiceberg/transactiontable1/",
90
+ * schema: {
91
+ * schemaId: 0,
92
+ * type: "struct",
93
+ * fields: [
94
+ * {
95
+ * id: 1,
96
+ * name: "transaction_id",
97
+ * required: true,
98
+ * type: " \\\"string\\\"\n",
99
+ * },
100
+ * {
101
+ * id: 2,
102
+ * name: "transaction_date",
103
+ * required: true,
104
+ * type: " \\\"date\\\"\n",
105
+ * },
106
+ * {
107
+ * id: 3,
108
+ * name: "monthly_balance",
109
+ * required: true,
110
+ * type: " \\\"float\\\"\n",
111
+ * },
112
+ * ],
113
+ * },
114
+ * partitionSpec: {
115
+ * fields: [{
116
+ * name: "by_year",
117
+ * sourceId: 2,
118
+ * transform: "year",
119
+ * }],
120
+ * specId: 0,
121
+ * },
122
+ * sortOrder: {
123
+ * fields: [{
124
+ * direction: "asc",
125
+ * nullOrder: "nulls-last",
126
+ * sourceId: 1,
127
+ * transform: "none",
128
+ * }],
129
+ * orderId: 1,
130
+ * },
131
+ * },
132
+ * },
133
+ * },
134
+ * });
135
+ * ```
136
+ *
75
137
  * ## Import
76
138
  *
77
139
  * Using `pulumi import`, import Glue Tables using the catalog ID (usually AWS account ID), database name, and table name. For example:
@@ -131,7 +193,7 @@ export declare class CatalogTable extends pulumi.CustomResource {
131
193
  */
132
194
  readonly parameters: pulumi.Output<{
133
195
  [key: string]: string;
134
- } | undefined>;
196
+ }>;
135
197
  /**
136
198
  * Configuration block for a maximum of 3 partition indexes. See `partitionIndex` below.
137
199
  */
@@ -151,15 +213,19 @@ export declare class CatalogTable extends pulumi.CustomResource {
151
213
  /**
152
214
  * Configuration block for information about the physical storage of this table. For more information, refer to the [Glue Developer Guide](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-StorageDescriptor). See `storageDescriptor` below.
153
215
  */
154
- readonly storageDescriptor: pulumi.Output<outputs.glue.CatalogTableStorageDescriptor | undefined>;
216
+ readonly storageDescriptor: pulumi.Output<outputs.glue.CatalogTableStorageDescriptor>;
155
217
  /**
156
218
  * Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as `ALTER TABLE` and `SHOW CREATE TABLE` will fail if this argument is empty.
157
219
  */
158
- readonly tableType: pulumi.Output<string | undefined>;
220
+ readonly tableType: pulumi.Output<string>;
159
221
  /**
160
222
  * Configuration block of a target table for resource linking. See `targetTable` below.
161
223
  */
162
224
  readonly targetTable: pulumi.Output<outputs.glue.CatalogTableTargetTable | undefined>;
225
+ /**
226
+ * A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See `viewDefinition` below.
227
+ */
228
+ readonly viewDefinition: pulumi.Output<outputs.glue.CatalogTableViewDefinition | undefined>;
163
229
  /**
164
230
  * If the table is a view, the expanded text of the view; otherwise null.
165
231
  */
@@ -245,6 +311,10 @@ export interface CatalogTableState {
245
311
  * Configuration block of a target table for resource linking. See `targetTable` below.
246
312
  */
247
313
  targetTable?: pulumi.Input<inputs.glue.CatalogTableTargetTable>;
314
+ /**
315
+ * A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See `viewDefinition` below.
316
+ */
317
+ viewDefinition?: pulumi.Input<inputs.glue.CatalogTableViewDefinition>;
248
318
  /**
249
319
  * If the table is a view, the expanded text of the view; otherwise null.
250
320
  */
@@ -318,6 +388,10 @@ export interface CatalogTableArgs {
318
388
  * Configuration block of a target table for resource linking. See `targetTable` below.
319
389
  */
320
390
  targetTable?: pulumi.Input<inputs.glue.CatalogTableTargetTable>;
391
+ /**
392
+ * A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See `viewDefinition` below.
393
+ */
394
+ viewDefinition?: pulumi.Input<inputs.glue.CatalogTableViewDefinition>;
321
395
  /**
322
396
  * If the table is a view, the expanded text of the view; otherwise null.
323
397
  */
@@ -16,7 +16,7 @@ const utilities = require("../utilities");
16
16
  * import * as pulumi from "@pulumi/pulumi";
17
17
  * import * as aws from "@pulumi/aws";
18
18
  *
19
- * const awsGlueCatalogTable = new aws.glue.CatalogTable("aws_glue_catalog_table", {
19
+ * const example = new aws.glue.CatalogTable("example", {
20
20
  * name: "MyCatalogTable",
21
21
  * databaseName: "MyCatalogDatabase",
22
22
  * });
@@ -28,7 +28,7 @@ const utilities = require("../utilities");
28
28
  * import * as pulumi from "@pulumi/pulumi";
29
29
  * import * as aws from "@pulumi/aws";
30
30
  *
31
- * const awsGlueCatalogTable = new aws.glue.CatalogTable("aws_glue_catalog_table", {
31
+ * const example = new aws.glue.CatalogTable("example", {
32
32
  * name: "MyCatalogTable",
33
33
  * databaseName: "MyCatalogDatabase",
34
34
  * tableType: "EXTERNAL_TABLE",
@@ -76,6 +76,68 @@ const utilities = require("../utilities");
76
76
  * });
77
77
  * ```
78
78
  *
79
+ * ### Iceberg Table
80
+ *
81
+ * ```typescript
82
+ * import * as pulumi from "@pulumi/pulumi";
83
+ * import * as aws from "@pulumi/aws";
84
+ *
85
+ * const example = new aws.glue.CatalogTable("example", {
86
+ * name: "transactiontable1",
87
+ * databaseName: "bankdata_icebergdb",
88
+ * openTableFormatInput: {
89
+ * icebergInput: {
90
+ * metadataOperation: "CREATE",
91
+ * version: "2",
92
+ * icebergTableInput: {
93
+ * location: "s3://sampledatabucket/bankdataiceberg/transactiontable1/",
94
+ * schema: {
95
+ * schemaId: 0,
96
+ * type: "struct",
97
+ * fields: [
98
+ * {
99
+ * id: 1,
100
+ * name: "transaction_id",
101
+ * required: true,
102
+ * type: " \\\"string\\\"\n",
103
+ * },
104
+ * {
105
+ * id: 2,
106
+ * name: "transaction_date",
107
+ * required: true,
108
+ * type: " \\\"date\\\"\n",
109
+ * },
110
+ * {
111
+ * id: 3,
112
+ * name: "monthly_balance",
113
+ * required: true,
114
+ * type: " \\\"float\\\"\n",
115
+ * },
116
+ * ],
117
+ * },
118
+ * partitionSpec: {
119
+ * fields: [{
120
+ * name: "by_year",
121
+ * sourceId: 2,
122
+ * transform: "year",
123
+ * }],
124
+ * specId: 0,
125
+ * },
126
+ * sortOrder: {
127
+ * fields: [{
128
+ * direction: "asc",
129
+ * nullOrder: "nulls-last",
130
+ * sourceId: 1,
131
+ * transform: "none",
132
+ * }],
133
+ * orderId: 1,
134
+ * },
135
+ * },
136
+ * },
137
+ * },
138
+ * });
139
+ * ```
140
+ *
79
141
  * ## Import
80
142
  *
81
143
  * Using `pulumi import`, import Glue Tables using the catalog ID (usually AWS account ID), database name, and table name. For example:
@@ -127,6 +189,7 @@ class CatalogTable extends pulumi.CustomResource {
127
189
  resourceInputs["storageDescriptor"] = state?.storageDescriptor;
128
190
  resourceInputs["tableType"] = state?.tableType;
129
191
  resourceInputs["targetTable"] = state?.targetTable;
192
+ resourceInputs["viewDefinition"] = state?.viewDefinition;
130
193
  resourceInputs["viewExpandedText"] = state?.viewExpandedText;
131
194
  resourceInputs["viewOriginalText"] = state?.viewOriginalText;
132
195
  }
@@ -149,6 +212,7 @@ class CatalogTable extends pulumi.CustomResource {
149
212
  resourceInputs["storageDescriptor"] = args?.storageDescriptor;
150
213
  resourceInputs["tableType"] = args?.tableType;
151
214
  resourceInputs["targetTable"] = args?.targetTable;
215
+ resourceInputs["viewDefinition"] = args?.viewDefinition;
152
216
  resourceInputs["viewExpandedText"] = args?.viewExpandedText;
153
217
  resourceInputs["viewOriginalText"] = args?.viewOriginalText;
154
218
  resourceInputs["arn"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"catalogTable.js","sourceRoot":"","sources":["../../glue/catalogTable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,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IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAhKL,oCAiKC;AAnJG,gBAAgB;AACO,yBAAY,GAAG,oCAAoC,CAAC"}
@@ -70,6 +70,10 @@ export declare class IPSet extends pulumi.CustomResource {
70
70
  * The format of the file that contains the IPSet. Valid values: `TXT` | `STIX` | `OTX_CSV` | `ALIEN_VAULT` | `PROOF_POINT` | `FIRE_EYE`
71
71
  */
72
72
  readonly format: pulumi.Output<string>;
73
+ /**
74
+ * ID of the GuardDuty IPSet.
75
+ */
76
+ readonly ipSetId: pulumi.Output<string>;
73
77
  /**
74
78
  * The URI of the file that contains the IPSet.
75
79
  */
@@ -123,6 +127,10 @@ export interface IPSetState {
123
127
  * The format of the file that contains the IPSet. Valid values: `TXT` | `STIX` | `OTX_CSV` | `ALIEN_VAULT` | `PROOF_POINT` | `FIRE_EYE`
124
128
  */
125
129
  format?: pulumi.Input<string>;
130
+ /**
131
+ * ID of the GuardDuty IPSet.
132
+ */
133
+ ipSetId?: pulumi.Input<string>;
126
134
  /**
127
135
  * The URI of the file that contains the IPSet.
128
136
  */
@@ -76,6 +76,7 @@ class IPSet extends pulumi.CustomResource {
76
76
  resourceInputs["arn"] = state?.arn;
77
77
  resourceInputs["detectorId"] = state?.detectorId;
78
78
  resourceInputs["format"] = state?.format;
79
+ resourceInputs["ipSetId"] = state?.ipSetId;
79
80
  resourceInputs["location"] = state?.location;
80
81
  resourceInputs["name"] = state?.name;
81
82
  resourceInputs["region"] = state?.region;
@@ -104,6 +105,7 @@ class IPSet extends pulumi.CustomResource {
104
105
  resourceInputs["region"] = args?.region;
105
106
  resourceInputs["tags"] = args?.tags;
106
107
  resourceInputs["arn"] = undefined /*out*/;
108
+ resourceInputs["ipSetId"] = undefined /*out*/;
107
109
  resourceInputs["tagsAll"] = undefined /*out*/;
108
110
  }
109
111
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"ipset.js","sourceRoot":"","sources":["../../guardduty/ipset.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IA+CD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,UAAU,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