@pulumi/aws 6.0.0-alpha.3 → 6.0.0-alpha.4

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 (190) hide show
  1. package/applicationloadbalancing/index.d.ts +0 -27
  2. package/applicationloadbalancing/index.js +1 -51
  3. package/applicationloadbalancing/index.js.map +1 -1
  4. package/appmesh/virtualGateway.d.ts +23 -2
  5. package/appmesh/virtualGateway.js +23 -2
  6. package/appmesh/virtualGateway.js.map +1 -1
  7. package/appmesh/virtualNode.d.ts +8 -8
  8. package/appmesh/virtualNode.js +8 -8
  9. package/appmesh/virtualRouter.d.ts +2 -2
  10. package/appmesh/virtualRouter.js +2 -2
  11. package/appsync/dataSource.d.ts +18 -18
  12. package/cloudtrail/index.d.ts +0 -3
  13. package/cloudtrail/index.js +1 -4
  14. package/cloudtrail/index.js.map +1 -1
  15. package/ec2/fleet.d.ts +5 -5
  16. package/ec2/fleet.js +6 -6
  17. package/ec2/fleet.js.map +1 -1
  18. package/ec2/index.d.ts +0 -3
  19. package/ec2/index.js +2 -7
  20. package/ec2/index.js.map +1 -1
  21. package/ec2/securityGroup.d.ts +14 -0
  22. package/ec2/securityGroup.js +14 -0
  23. package/ec2/securityGroup.js.map +1 -1
  24. package/fms/policy.d.ts +2 -0
  25. package/fms/policy.js +2 -0
  26. package/fms/policy.js.map +1 -1
  27. package/iam/{getOpenidConnectProvider.d.ts → getOpenIdConnectProvider.d.ts} +12 -12
  28. package/iam/{getOpenidConnectProvider.js → getOpenIdConnectProvider.js} +12 -12
  29. package/iam/{getOpenidConnectProvider.js.map → getOpenIdConnectProvider.js.map} +1 -1
  30. package/iam/index.d.ts +3 -3
  31. package/iam/index.js +4 -4
  32. package/iam/virtualMfaDevice.d.ts +22 -2
  33. package/iam/virtualMfaDevice.js +8 -0
  34. package/iam/virtualMfaDevice.js.map +1 -1
  35. package/index.d.ts +1 -21
  36. package/index.js +5 -27
  37. package/index.js.map +1 -1
  38. package/iot/topicRule.d.ts +35 -35
  39. package/iot/topicRule.js +16 -16
  40. package/iot/topicRule.js.map +1 -1
  41. package/kendra/dataSource.d.ts +32 -9
  42. package/kendra/dataSource.js +23 -0
  43. package/kendra/dataSource.js.map +1 -1
  44. package/kinesis/firehoseDeliveryStream.d.ts +89 -0
  45. package/kinesis/firehoseDeliveryStream.js +89 -0
  46. package/kinesis/firehoseDeliveryStream.js.map +1 -1
  47. package/opensearch/serverlessSecurityPolicy.d.ts +122 -8
  48. package/opensearch/serverlessSecurityPolicy.js +122 -8
  49. package/opensearch/serverlessSecurityPolicy.js.map +1 -1
  50. package/package.json +2 -2
  51. package/package.json.dev +2 -2
  52. package/rds/instance.d.ts +0 -9
  53. package/rds/instance.js.map +1 -1
  54. package/securityhub/standardsControl.d.ts +3 -3
  55. package/ses/index.d.ts +0 -3
  56. package/ses/index.js +1 -6
  57. package/ses/index.js.map +1 -1
  58. package/ssm/getParameter.d.ts +1 -0
  59. package/ssm/getParameter.js.map +1 -1
  60. package/types/input.d.ts +1302 -2573
  61. package/types/output.d.ts +4459 -5933
  62. package/utils.d.ts +0 -1
  63. package/utils.js +0 -6
  64. package/utils.js.map +1 -1
  65. package/wafv2/getIpSet.d.ts +1 -1
  66. package/wafv2/ipSet.d.ts +3 -3
  67. package/wafv2/regexPatternSet.d.ts +3 -3
  68. package/applicationloadbalancing/getListener.d.ts +0 -120
  69. package/applicationloadbalancing/getListener.js +0 -80
  70. package/applicationloadbalancing/getListener.js.map +0 -1
  71. package/applicationloadbalancing/getLoadBalancer.d.ts +0 -133
  72. package/applicationloadbalancing/getLoadBalancer.js +0 -73
  73. package/applicationloadbalancing/getLoadBalancer.js.map +0 -1
  74. package/applicationloadbalancing/getTargetGroup.d.ts +0 -126
  75. package/applicationloadbalancing/getTargetGroup.js +0 -73
  76. package/applicationloadbalancing/getTargetGroup.js.map +0 -1
  77. package/applicationloadbalancing/listener.d.ts +0 -377
  78. package/applicationloadbalancing/listener.js +0 -276
  79. package/applicationloadbalancing/listener.js.map +0 -1
  80. package/applicationloadbalancing/listenerCertificate.d.ts +0 -96
  81. package/applicationloadbalancing/listenerCertificate.js +0 -95
  82. package/applicationloadbalancing/listenerCertificate.js.map +0 -1
  83. package/applicationloadbalancing/listenerRule.d.ts +0 -301
  84. package/applicationloadbalancing/listenerRule.js +0 -249
  85. package/applicationloadbalancing/listenerRule.js.map +0 -1
  86. package/applicationloadbalancing/loadBalancer.d.ts +0 -463
  87. package/applicationloadbalancing/loadBalancer.js +0 -201
  88. package/applicationloadbalancing/loadBalancer.js.map +0 -1
  89. package/applicationloadbalancing/targetGroup.d.ts +0 -402
  90. package/applicationloadbalancing/targetGroup.js +0 -161
  91. package/applicationloadbalancing/targetGroup.js.map +0 -1
  92. package/applicationloadbalancing/targetGroupAttachment.d.ts +0 -142
  93. package/applicationloadbalancing/targetGroupAttachment.js +0 -115
  94. package/applicationloadbalancing/targetGroupAttachment.js.map +0 -1
  95. package/awsMixins.d.ts +0 -21
  96. package/awsMixins.js +0 -40
  97. package/awsMixins.js.map +0 -1
  98. package/cloudtrail/getFunction.d.ts +0 -102
  99. package/cloudtrail/getFunction.js +0 -55
  100. package/cloudtrail/getFunction.js.map +0 -1
  101. package/ec2/transitGatewayPeeringAttachmentAccepter.d.ts +0 -132
  102. package/ec2/transitGatewayPeeringAttachmentAccepter.js +0 -94
  103. package/ec2/transitGatewayPeeringAttachmentAccepter.js.map +0 -1
  104. package/elasticloadbalancing/appCookieStickinessPolicy.d.ts +0 -129
  105. package/elasticloadbalancing/appCookieStickinessPolicy.js +0 -102
  106. package/elasticloadbalancing/appCookieStickinessPolicy.js.map +0 -1
  107. package/elasticloadbalancing/attachment.d.ts +0 -86
  108. package/elasticloadbalancing/attachment.js +0 -85
  109. package/elasticloadbalancing/attachment.js.map +0 -1
  110. package/elasticloadbalancing/getHostedZoneId.d.ts +0 -81
  111. package/elasticloadbalancing/getHostedZoneId.js +0 -69
  112. package/elasticloadbalancing/getHostedZoneId.js.map +0 -1
  113. package/elasticloadbalancing/getLoadBalancer.d.ts +0 -105
  114. package/elasticloadbalancing/getLoadBalancer.js +0 -67
  115. package/elasticloadbalancing/getLoadBalancer.js.map +0 -1
  116. package/elasticloadbalancing/getServiceAccount.d.ts +0 -135
  117. package/elasticloadbalancing/getServiceAccount.js +0 -119
  118. package/elasticloadbalancing/getServiceAccount.js.map +0 -1
  119. package/elasticloadbalancing/index.d.ts +0 -33
  120. package/elasticloadbalancing/index.js +0 -66
  121. package/elasticloadbalancing/index.js.map +0 -1
  122. package/elasticloadbalancing/listenerPolicy.d.ts +0 -176
  123. package/elasticloadbalancing/listenerPolicy.js +0 -149
  124. package/elasticloadbalancing/listenerPolicy.js.map +0 -1
  125. package/elasticloadbalancing/loadBalancer.d.ts +0 -398
  126. package/elasticloadbalancing/loadBalancer.js +0 -177
  127. package/elasticloadbalancing/loadBalancer.js.map +0 -1
  128. package/elasticloadbalancing/loadBalancerBackendServerPolicy.d.ts +0 -123
  129. package/elasticloadbalancing/loadBalancerBackendServerPolicy.js +0 -112
  130. package/elasticloadbalancing/loadBalancerBackendServerPolicy.js.map +0 -1
  131. package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.d.ts +0 -124
  132. package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.js +0 -91
  133. package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.js.map +0 -1
  134. package/elasticloadbalancing/loadBalancerPolicy.d.ts +0 -166
  135. package/elasticloadbalancing/loadBalancerPolicy.js +0 -146
  136. package/elasticloadbalancing/loadBalancerPolicy.js.map +0 -1
  137. package/elasticloadbalancing/sslNegotiationPolicy.d.ts +0 -183
  138. package/elasticloadbalancing/sslNegotiationPolicy.js +0 -123
  139. package/elasticloadbalancing/sslNegotiationPolicy.js.map +0 -1
  140. package/elasticloadbalancingv2/getListener.d.ts +0 -120
  141. package/elasticloadbalancingv2/getListener.js +0 -80
  142. package/elasticloadbalancingv2/getListener.js.map +0 -1
  143. package/elasticloadbalancingv2/getLoadBalancer.d.ts +0 -133
  144. package/elasticloadbalancingv2/getLoadBalancer.js +0 -73
  145. package/elasticloadbalancingv2/getLoadBalancer.js.map +0 -1
  146. package/elasticloadbalancingv2/getTargetGroup.d.ts +0 -126
  147. package/elasticloadbalancingv2/getTargetGroup.js +0 -73
  148. package/elasticloadbalancingv2/getTargetGroup.js.map +0 -1
  149. package/elasticloadbalancingv2/index.d.ts +0 -27
  150. package/elasticloadbalancingv2/index.js +0 -56
  151. package/elasticloadbalancingv2/index.js.map +0 -1
  152. package/elasticloadbalancingv2/listener.d.ts +0 -377
  153. package/elasticloadbalancingv2/listener.js +0 -276
  154. package/elasticloadbalancingv2/listener.js.map +0 -1
  155. package/elasticloadbalancingv2/listenerCertificate.d.ts +0 -96
  156. package/elasticloadbalancingv2/listenerCertificate.js +0 -95
  157. package/elasticloadbalancingv2/listenerCertificate.js.map +0 -1
  158. package/elasticloadbalancingv2/listenerRule.d.ts +0 -301
  159. package/elasticloadbalancingv2/listenerRule.js +0 -249
  160. package/elasticloadbalancingv2/listenerRule.js.map +0 -1
  161. package/elasticloadbalancingv2/loadBalancer.d.ts +0 -462
  162. package/elasticloadbalancingv2/loadBalancer.js +0 -201
  163. package/elasticloadbalancingv2/loadBalancer.js.map +0 -1
  164. package/elasticloadbalancingv2/targetGroup.d.ts +0 -402
  165. package/elasticloadbalancingv2/targetGroup.js +0 -161
  166. package/elasticloadbalancingv2/targetGroup.js.map +0 -1
  167. package/elasticloadbalancingv2/targetGroupAttachment.d.ts +0 -142
  168. package/elasticloadbalancingv2/targetGroupAttachment.js +0 -115
  169. package/elasticloadbalancingv2/targetGroupAttachment.js.map +0 -1
  170. package/getAmi.d.ts +0 -331
  171. package/getAmi.js +0 -93
  172. package/getAmi.js.map +0 -1
  173. package/getAmiIds.d.ts +0 -135
  174. package/getAmiIds.js +0 -63
  175. package/getAmiIds.js.map +0 -1
  176. package/getAutoscalingGroups.d.ts +0 -119
  177. package/getAutoscalingGroups.js +0 -92
  178. package/getAutoscalingGroups.js.map +0 -1
  179. package/getCanonicalUserId.d.ts +0 -32
  180. package/getCanonicalUserId.js +0 -31
  181. package/getCanonicalUserId.js.map +0 -1
  182. package/getElasticIp.d.ts +0 -221
  183. package/getElasticIp.js +0 -126
  184. package/getElasticIp.js.map +0 -1
  185. package/getPrefixList.d.ts +0 -160
  186. package/getPrefixList.js +0 -125
  187. package/getPrefixList.js.map +0 -1
  188. package/ses/confgurationSet.d.ts +0 -153
  189. package/ses/confgurationSet.js +0 -96
  190. package/ses/confgurationSet.js.map +0 -1
@@ -1,301 +0,0 @@
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 Load Balancer Listener Rule resource.
6
- *
7
- * > **Note:** `aws.alb.ListenerRule` is known as `aws.lb.ListenerRule`. The functionality is identical.
8
- *
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as aws from "@pulumi/aws";
14
- *
15
- * const frontEndLoadBalancer = new aws.lb.LoadBalancer("frontEndLoadBalancer", {});
16
- * // ...
17
- * const frontEndListener = new aws.lb.Listener("frontEndListener", {});
18
- * // Other parameters
19
- * const static = new aws.lb.ListenerRule("static", {
20
- * listenerArn: frontEndListener.arn,
21
- * priority: 100,
22
- * actions: [{
23
- * type: "forward",
24
- * targetGroupArn: aws_lb_target_group.static.arn,
25
- * }],
26
- * conditions: [
27
- * {
28
- * pathPattern: {
29
- * values: ["/static/*"],
30
- * },
31
- * },
32
- * {
33
- * hostHeader: {
34
- * values: ["example.com"],
35
- * },
36
- * },
37
- * ],
38
- * });
39
- * // Forward action
40
- * const hostBasedWeightedRouting = new aws.lb.ListenerRule("hostBasedWeightedRouting", {
41
- * listenerArn: frontEndListener.arn,
42
- * priority: 99,
43
- * actions: [{
44
- * type: "forward",
45
- * targetGroupArn: aws_lb_target_group.static.arn,
46
- * }],
47
- * conditions: [{
48
- * hostHeader: {
49
- * values: ["my-service.*.mycompany.io"],
50
- * },
51
- * }],
52
- * });
53
- * // Weighted Forward action
54
- * const hostBasedRouting = new aws.lb.ListenerRule("hostBasedRouting", {
55
- * listenerArn: frontEndListener.arn,
56
- * priority: 99,
57
- * actions: [{
58
- * type: "forward",
59
- * forward: {
60
- * targetGroups: [
61
- * {
62
- * arn: aws_lb_target_group.main.arn,
63
- * weight: 80,
64
- * },
65
- * {
66
- * arn: aws_lb_target_group.canary.arn,
67
- * weight: 20,
68
- * },
69
- * ],
70
- * stickiness: {
71
- * enabled: true,
72
- * duration: 600,
73
- * },
74
- * },
75
- * }],
76
- * conditions: [{
77
- * hostHeader: {
78
- * values: ["my-service.*.mycompany.io"],
79
- * },
80
- * }],
81
- * });
82
- * // Redirect action
83
- * const redirectHttpToHttps = new aws.lb.ListenerRule("redirectHttpToHttps", {
84
- * listenerArn: frontEndListener.arn,
85
- * actions: [{
86
- * type: "redirect",
87
- * redirect: {
88
- * port: "443",
89
- * protocol: "HTTPS",
90
- * statusCode: "HTTP_301",
91
- * },
92
- * }],
93
- * conditions: [{
94
- * httpHeader: {
95
- * httpHeaderName: "X-Forwarded-For",
96
- * values: ["192.168.1.*"],
97
- * },
98
- * }],
99
- * });
100
- * // Fixed-response action
101
- * const healthCheck = new aws.lb.ListenerRule("healthCheck", {
102
- * listenerArn: frontEndListener.arn,
103
- * actions: [{
104
- * type: "fixed-response",
105
- * fixedResponse: {
106
- * contentType: "text/plain",
107
- * messageBody: "HEALTHY",
108
- * statusCode: "200",
109
- * },
110
- * }],
111
- * conditions: [{
112
- * queryStrings: [
113
- * {
114
- * key: "health",
115
- * value: "check",
116
- * },
117
- * {
118
- * value: "bar",
119
- * },
120
- * ],
121
- * }],
122
- * });
123
- * // Authenticate-cognito Action
124
- * const pool = new aws.cognito.UserPool("pool", {});
125
- * // ...
126
- * const client = new aws.cognito.UserPoolClient("client", {});
127
- * // ...
128
- * const domain = new aws.cognito.UserPoolDomain("domain", {});
129
- * // ...
130
- * const admin = new aws.lb.ListenerRule("admin", {
131
- * listenerArn: frontEndListener.arn,
132
- * actions: [
133
- * {
134
- * type: "authenticate-cognito",
135
- * authenticateCognito: {
136
- * userPoolArn: pool.arn,
137
- * userPoolClientId: client.id,
138
- * userPoolDomain: domain.domain,
139
- * },
140
- * },
141
- * {
142
- * type: "forward",
143
- * targetGroupArn: aws_lb_target_group.static.arn,
144
- * },
145
- * ],
146
- * });
147
- * // Authenticate-oidc Action
148
- * const oidc = new aws.lb.ListenerRule("oidc", {
149
- * listenerArn: frontEndListener.arn,
150
- * actions: [
151
- * {
152
- * type: "authenticate-oidc",
153
- * authenticateOidc: {
154
- * authorizationEndpoint: "https://example.com/authorization_endpoint",
155
- * clientId: "client_id",
156
- * clientSecret: "client_secret",
157
- * issuer: "https://example.com",
158
- * tokenEndpoint: "https://example.com/token_endpoint",
159
- * userInfoEndpoint: "https://example.com/user_info_endpoint",
160
- * },
161
- * },
162
- * {
163
- * type: "forward",
164
- * targetGroupArn: aws_lb_target_group.static.arn,
165
- * },
166
- * ],
167
- * });
168
- * ```
169
- *
170
- * ## Import
171
- *
172
- * Rules can be imported using their ARN, e.g.,
173
- *
174
- * ```sh
175
- * $ pulumi import aws:applicationloadbalancing/listenerRule:ListenerRule front_end arn:aws:elasticloadbalancing:us-west-2:187416307283:listener-rule/app/test/8e4497da625e2d8a/9ab28ade35828f96/67b3d2d36dd7c26b
176
- * ```
177
- *
178
- * @deprecated aws.applicationloadbalancing.ListenerRule has been deprecated in favor of aws.alb.ListenerRule
179
- */
180
- export declare class ListenerRule extends pulumi.CustomResource {
181
- /**
182
- * Get an existing ListenerRule resource's state with the given name, ID, and optional extra
183
- * properties used to qualify the lookup.
184
- *
185
- * @param name The _unique_ name of the resulting resource.
186
- * @param id The _unique_ provider ID of the resource to lookup.
187
- * @param state Any extra arguments used during the lookup.
188
- * @param opts Optional settings to control the behavior of the CustomResource.
189
- */
190
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ListenerRuleState, opts?: pulumi.CustomResourceOptions): ListenerRule;
191
- /**
192
- * Returns true if the given object is an instance of ListenerRule. This is designed to work even
193
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
194
- */
195
- static isInstance(obj: any): obj is ListenerRule;
196
- /**
197
- * An Action block. Action blocks are documented below.
198
- */
199
- readonly actions: pulumi.Output<outputs.applicationloadbalancing.ListenerRuleAction[]>;
200
- /**
201
- * The Amazon Resource Name (ARN) of the target group.
202
- */
203
- readonly arn: pulumi.Output<string>;
204
- /**
205
- * A Condition block. Multiple condition blocks of different types can be set and all must be satisfied for the rule to match. Condition blocks are documented below.
206
- */
207
- readonly conditions: pulumi.Output<outputs.applicationloadbalancing.ListenerRuleCondition[]>;
208
- /**
209
- * The ARN of the listener to which to attach the rule.
210
- */
211
- readonly listenerArn: pulumi.Output<string>;
212
- /**
213
- * The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority.
214
- */
215
- readonly priority: pulumi.Output<number>;
216
- /**
217
- * A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
218
- */
219
- readonly tags: pulumi.Output<{
220
- [key: string]: string;
221
- } | undefined>;
222
- /**
223
- * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
224
- */
225
- readonly tagsAll: pulumi.Output<{
226
- [key: string]: string;
227
- }>;
228
- /**
229
- * Create a ListenerRule resource with the given unique name, arguments, and options.
230
- *
231
- * @param name The _unique_ name of the resource.
232
- * @param args The arguments to use to populate this resource's properties.
233
- * @param opts A bag of options that control this resource's behavior.
234
- */
235
- /** @deprecated aws.applicationloadbalancing.ListenerRule has been deprecated in favor of aws.alb.ListenerRule */
236
- constructor(name: string, args: ListenerRuleArgs, opts?: pulumi.CustomResourceOptions);
237
- }
238
- /**
239
- * Input properties used for looking up and filtering ListenerRule resources.
240
- */
241
- export interface ListenerRuleState {
242
- /**
243
- * An Action block. Action blocks are documented below.
244
- */
245
- actions?: pulumi.Input<pulumi.Input<inputs.applicationloadbalancing.ListenerRuleAction>[]>;
246
- /**
247
- * The Amazon Resource Name (ARN) of the target group.
248
- */
249
- arn?: pulumi.Input<string>;
250
- /**
251
- * A Condition block. Multiple condition blocks of different types can be set and all must be satisfied for the rule to match. Condition blocks are documented below.
252
- */
253
- conditions?: pulumi.Input<pulumi.Input<inputs.applicationloadbalancing.ListenerRuleCondition>[]>;
254
- /**
255
- * The ARN of the listener to which to attach the rule.
256
- */
257
- listenerArn?: pulumi.Input<string>;
258
- /**
259
- * The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority.
260
- */
261
- priority?: pulumi.Input<number>;
262
- /**
263
- * A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
264
- */
265
- tags?: pulumi.Input<{
266
- [key: string]: pulumi.Input<string>;
267
- }>;
268
- /**
269
- * A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
270
- */
271
- tagsAll?: pulumi.Input<{
272
- [key: string]: pulumi.Input<string>;
273
- }>;
274
- }
275
- /**
276
- * The set of arguments for constructing a ListenerRule resource.
277
- */
278
- export interface ListenerRuleArgs {
279
- /**
280
- * An Action block. Action blocks are documented below.
281
- */
282
- actions: pulumi.Input<pulumi.Input<inputs.applicationloadbalancing.ListenerRuleAction>[]>;
283
- /**
284
- * A Condition block. Multiple condition blocks of different types can be set and all must be satisfied for the rule to match. Condition blocks are documented below.
285
- */
286
- conditions: pulumi.Input<pulumi.Input<inputs.applicationloadbalancing.ListenerRuleCondition>[]>;
287
- /**
288
- * The ARN of the listener to which to attach the rule.
289
- */
290
- listenerArn: pulumi.Input<string>;
291
- /**
292
- * The priority for the rule between `1` and `50000`. Leaving it unset will automatically set the rule with next available priority after currently existing highest rule. A listener can't have multiple rules with the same priority.
293
- */
294
- priority?: pulumi.Input<number>;
295
- /**
296
- * A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
297
- */
298
- tags?: pulumi.Input<{
299
- [key: string]: pulumi.Input<string>;
300
- }>;
301
- }
@@ -1,249 +0,0 @@
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.ListenerRule = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * Provides a Load Balancer Listener Rule resource.
10
- *
11
- * > **Note:** `aws.alb.ListenerRule` is known as `aws.lb.ListenerRule`. The functionality is identical.
12
- *
13
- * ## Example Usage
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as aws from "@pulumi/aws";
18
- *
19
- * const frontEndLoadBalancer = new aws.lb.LoadBalancer("frontEndLoadBalancer", {});
20
- * // ...
21
- * const frontEndListener = new aws.lb.Listener("frontEndListener", {});
22
- * // Other parameters
23
- * const static = new aws.lb.ListenerRule("static", {
24
- * listenerArn: frontEndListener.arn,
25
- * priority: 100,
26
- * actions: [{
27
- * type: "forward",
28
- * targetGroupArn: aws_lb_target_group.static.arn,
29
- * }],
30
- * conditions: [
31
- * {
32
- * pathPattern: {
33
- * values: ["/static/*"],
34
- * },
35
- * },
36
- * {
37
- * hostHeader: {
38
- * values: ["example.com"],
39
- * },
40
- * },
41
- * ],
42
- * });
43
- * // Forward action
44
- * const hostBasedWeightedRouting = new aws.lb.ListenerRule("hostBasedWeightedRouting", {
45
- * listenerArn: frontEndListener.arn,
46
- * priority: 99,
47
- * actions: [{
48
- * type: "forward",
49
- * targetGroupArn: aws_lb_target_group.static.arn,
50
- * }],
51
- * conditions: [{
52
- * hostHeader: {
53
- * values: ["my-service.*.mycompany.io"],
54
- * },
55
- * }],
56
- * });
57
- * // Weighted Forward action
58
- * const hostBasedRouting = new aws.lb.ListenerRule("hostBasedRouting", {
59
- * listenerArn: frontEndListener.arn,
60
- * priority: 99,
61
- * actions: [{
62
- * type: "forward",
63
- * forward: {
64
- * targetGroups: [
65
- * {
66
- * arn: aws_lb_target_group.main.arn,
67
- * weight: 80,
68
- * },
69
- * {
70
- * arn: aws_lb_target_group.canary.arn,
71
- * weight: 20,
72
- * },
73
- * ],
74
- * stickiness: {
75
- * enabled: true,
76
- * duration: 600,
77
- * },
78
- * },
79
- * }],
80
- * conditions: [{
81
- * hostHeader: {
82
- * values: ["my-service.*.mycompany.io"],
83
- * },
84
- * }],
85
- * });
86
- * // Redirect action
87
- * const redirectHttpToHttps = new aws.lb.ListenerRule("redirectHttpToHttps", {
88
- * listenerArn: frontEndListener.arn,
89
- * actions: [{
90
- * type: "redirect",
91
- * redirect: {
92
- * port: "443",
93
- * protocol: "HTTPS",
94
- * statusCode: "HTTP_301",
95
- * },
96
- * }],
97
- * conditions: [{
98
- * httpHeader: {
99
- * httpHeaderName: "X-Forwarded-For",
100
- * values: ["192.168.1.*"],
101
- * },
102
- * }],
103
- * });
104
- * // Fixed-response action
105
- * const healthCheck = new aws.lb.ListenerRule("healthCheck", {
106
- * listenerArn: frontEndListener.arn,
107
- * actions: [{
108
- * type: "fixed-response",
109
- * fixedResponse: {
110
- * contentType: "text/plain",
111
- * messageBody: "HEALTHY",
112
- * statusCode: "200",
113
- * },
114
- * }],
115
- * conditions: [{
116
- * queryStrings: [
117
- * {
118
- * key: "health",
119
- * value: "check",
120
- * },
121
- * {
122
- * value: "bar",
123
- * },
124
- * ],
125
- * }],
126
- * });
127
- * // Authenticate-cognito Action
128
- * const pool = new aws.cognito.UserPool("pool", {});
129
- * // ...
130
- * const client = new aws.cognito.UserPoolClient("client", {});
131
- * // ...
132
- * const domain = new aws.cognito.UserPoolDomain("domain", {});
133
- * // ...
134
- * const admin = new aws.lb.ListenerRule("admin", {
135
- * listenerArn: frontEndListener.arn,
136
- * actions: [
137
- * {
138
- * type: "authenticate-cognito",
139
- * authenticateCognito: {
140
- * userPoolArn: pool.arn,
141
- * userPoolClientId: client.id,
142
- * userPoolDomain: domain.domain,
143
- * },
144
- * },
145
- * {
146
- * type: "forward",
147
- * targetGroupArn: aws_lb_target_group.static.arn,
148
- * },
149
- * ],
150
- * });
151
- * // Authenticate-oidc Action
152
- * const oidc = new aws.lb.ListenerRule("oidc", {
153
- * listenerArn: frontEndListener.arn,
154
- * actions: [
155
- * {
156
- * type: "authenticate-oidc",
157
- * authenticateOidc: {
158
- * authorizationEndpoint: "https://example.com/authorization_endpoint",
159
- * clientId: "client_id",
160
- * clientSecret: "client_secret",
161
- * issuer: "https://example.com",
162
- * tokenEndpoint: "https://example.com/token_endpoint",
163
- * userInfoEndpoint: "https://example.com/user_info_endpoint",
164
- * },
165
- * },
166
- * {
167
- * type: "forward",
168
- * targetGroupArn: aws_lb_target_group.static.arn,
169
- * },
170
- * ],
171
- * });
172
- * ```
173
- *
174
- * ## Import
175
- *
176
- * Rules can be imported using their ARN, e.g.,
177
- *
178
- * ```sh
179
- * $ pulumi import aws:applicationloadbalancing/listenerRule:ListenerRule front_end arn:aws:elasticloadbalancing:us-west-2:187416307283:listener-rule/app/test/8e4497da625e2d8a/9ab28ade35828f96/67b3d2d36dd7c26b
180
- * ```
181
- *
182
- * @deprecated aws.applicationloadbalancing.ListenerRule has been deprecated in favor of aws.alb.ListenerRule
183
- */
184
- class ListenerRule extends pulumi.CustomResource {
185
- /**
186
- * Get an existing ListenerRule resource's state with the given name, ID, and optional extra
187
- * properties used to qualify the lookup.
188
- *
189
- * @param name The _unique_ name of the resulting resource.
190
- * @param id The _unique_ provider ID of the resource to lookup.
191
- * @param state Any extra arguments used during the lookup.
192
- * @param opts Optional settings to control the behavior of the CustomResource.
193
- */
194
- static get(name, id, state, opts) {
195
- pulumi.log.warn("ListenerRule is deprecated: aws.applicationloadbalancing.ListenerRule has been deprecated in favor of aws.alb.ListenerRule");
196
- return new ListenerRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
197
- }
198
- /**
199
- * Returns true if the given object is an instance of ListenerRule. This is designed to work even
200
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
201
- */
202
- static isInstance(obj) {
203
- if (obj === undefined || obj === null) {
204
- return false;
205
- }
206
- return obj['__pulumiType'] === ListenerRule.__pulumiType;
207
- }
208
- /** @deprecated aws.applicationloadbalancing.ListenerRule has been deprecated in favor of aws.alb.ListenerRule */
209
- constructor(name, argsOrState, opts) {
210
- pulumi.log.warn("ListenerRule is deprecated: aws.applicationloadbalancing.ListenerRule has been deprecated in favor of aws.alb.ListenerRule");
211
- let resourceInputs = {};
212
- opts = opts || {};
213
- if (opts.id) {
214
- const state = argsOrState;
215
- resourceInputs["actions"] = state ? state.actions : undefined;
216
- resourceInputs["arn"] = state ? state.arn : undefined;
217
- resourceInputs["conditions"] = state ? state.conditions : undefined;
218
- resourceInputs["listenerArn"] = state ? state.listenerArn : undefined;
219
- resourceInputs["priority"] = state ? state.priority : undefined;
220
- resourceInputs["tags"] = state ? state.tags : undefined;
221
- resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
222
- }
223
- else {
224
- const args = argsOrState;
225
- if ((!args || args.actions === undefined) && !opts.urn) {
226
- throw new Error("Missing required property 'actions'");
227
- }
228
- if ((!args || args.conditions === undefined) && !opts.urn) {
229
- throw new Error("Missing required property 'conditions'");
230
- }
231
- if ((!args || args.listenerArn === undefined) && !opts.urn) {
232
- throw new Error("Missing required property 'listenerArn'");
233
- }
234
- resourceInputs["actions"] = args ? args.actions : undefined;
235
- resourceInputs["conditions"] = args ? args.conditions : undefined;
236
- resourceInputs["listenerArn"] = args ? args.listenerArn : undefined;
237
- resourceInputs["priority"] = args ? args.priority : undefined;
238
- resourceInputs["tags"] = args ? args.tags : undefined;
239
- resourceInputs["arn"] = undefined /*out*/;
240
- resourceInputs["tagsAll"] = undefined /*out*/;
241
- }
242
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
243
- super(ListenerRule.__pulumiType, name, resourceInputs, opts);
244
- }
245
- }
246
- exports.ListenerRule = ListenerRule;
247
- /** @internal */
248
- ListenerRule.__pulumiType = 'aws:applicationloadbalancing/listenerRule:ListenerRule';
249
- //# sourceMappingURL=listenerRule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listenerRule.js","sourceRoot":"","sources":["../../applicationloadbalancing/listenerRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+KG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,4HAA4H,CAAC,CAAA;QAC7I,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAwCD,iHAAiH;IACjH,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,4HAA4H,CAAC,CAAA;QAC7I,IAAI,cAAc,GAAkB,EAAE,CAAC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