@pulumi/awsx 1.0.2 → 1.0.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 (53) hide show
  1. package/README.md +1 -1
  2. package/classic/index.js.map +1 -1
  3. package/cloudtrail/index.d.ts +3 -1
  4. package/cloudtrail/index.js +4 -19
  5. package/cloudtrail/index.js.map +1 -1
  6. package/cloudtrail/trail.d.ts +3 -3
  7. package/cloudtrail/trail.js.map +1 -1
  8. package/ec2/getDefaultVpc.js +1 -4
  9. package/ec2/getDefaultVpc.js.map +1 -1
  10. package/ec2/index.d.ts +8 -3
  11. package/ec2/index.js +9 -9
  12. package/ec2/index.js.map +1 -1
  13. package/ec2/vpc.d.ts +6 -2
  14. package/ec2/vpc.js +1 -0
  15. package/ec2/vpc.js.map +1 -1
  16. package/ecr/index.d.ts +6 -2
  17. package/ecr/index.js +7 -8
  18. package/ecr/index.js.map +1 -1
  19. package/ecr/repository.d.ts +1 -1
  20. package/ecr/repository.js.map +1 -1
  21. package/ecs/ec2service.d.ts +15 -1
  22. package/ecs/ec2service.js +3 -0
  23. package/ecs/ec2service.js.map +1 -1
  24. package/ecs/ec2taskDefinition.d.ts +1 -1
  25. package/ecs/ec2taskDefinition.js.map +1 -1
  26. package/ecs/fargateService.d.ts +15 -1
  27. package/ecs/fargateService.js +3 -0
  28. package/ecs/fargateService.js.map +1 -1
  29. package/ecs/fargateTaskDefinition.d.ts +1 -1
  30. package/ecs/fargateTaskDefinition.js.map +1 -1
  31. package/ecs/index.d.ts +12 -4
  32. package/ecs/index.js +13 -28
  33. package/ecs/index.js.map +1 -1
  34. package/index.d.ts +3 -1
  35. package/index.js +4 -19
  36. package/index.js.map +1 -1
  37. package/lb/applicationLoadBalancer.d.ts +15 -4
  38. package/lb/applicationLoadBalancer.js +5 -2
  39. package/lb/applicationLoadBalancer.js.map +1 -1
  40. package/lb/index.d.ts +9 -3
  41. package/lb/index.js +10 -25
  42. package/lb/index.js.map +1 -1
  43. package/lb/networkLoadBalancer.d.ts +16 -6
  44. package/lb/networkLoadBalancer.js +3 -0
  45. package/lb/networkLoadBalancer.js.map +1 -1
  46. package/package.json +5 -4
  47. package/package.json.dev +5 -4
  48. package/types/index.js.map +1 -1
  49. package/types/input.d.ts +64 -35
  50. package/types/input.js +2 -2
  51. package/types/input.js.map +1 -1
  52. package/utilities.js +13 -1
  53. package/utilities.js.map +1 -1
package/types/input.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, enums } from "../types";
2
+ import * as inputs from "../types/input";
3
+ import * as enums from "../types/enums";
3
4
  import * as pulumiAws from "@pulumi/aws";
4
5
  export declare namespace awsx {
5
6
  /**
@@ -201,16 +202,26 @@ export declare namespace awsx {
201
202
  namePrefix?: pulumi.Input<string>;
202
203
  /**
203
204
  * Specifies the number of days
204
- * you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0.
205
+ * you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1096, 1827, 2192, 2557, 2922, 3288, 3653, and 0.
205
206
  * If you select 0, the events in the log group are always retained and never expire.
206
207
  */
207
208
  retentionInDays?: pulumi.Input<number>;
209
+ /**
210
+ * Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the state.
211
+ */
212
+ skipDestroy?: pulumi.Input<boolean>;
208
213
  /**
209
214
  * A map of tags to assign to the resource. .If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
210
215
  */
211
216
  tags?: pulumi.Input<{
212
217
  [key: string]: pulumi.Input<string>;
213
218
  }>;
219
+ /**
220
+ * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
221
+ */
222
+ tagsAll?: pulumi.Input<{
223
+ [key: string]: pulumi.Input<string>;
224
+ }>;
214
225
  }
215
226
  /**
216
227
  * Log group which is only created if enabled.
@@ -255,19 +266,16 @@ export declare namespace awsx {
255
266
  */
256
267
  forceDetachPolicies?: pulumi.Input<boolean>;
257
268
  /**
258
- * Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, this provider will not manage any inline policies in this resource. Configuring one empty block (i.e., `inline_policy {}`) will cause the provider to remove _all_ inline policies added out of band on `apply`.
269
+ * Configuration block defining an exclusive set of IAM inline policies associated with the IAM role. See below. If no blocks are configured, the provider will not manage any inline policies in this resource. Configuring one empty block (i.e., `inline_policy {}`) will cause the provider to remove _all_ inline policies added out of band on `apply`.
259
270
  */
260
271
  inlinePolicies?: pulumi.Input<pulumi.Input<pulumiAws.types.input.iam.RoleInlinePolicy>[]>;
261
- /**
262
- * Set of exclusive IAM managed policy ARNs to attach to the IAM role. If this attribute is not configured, this provider will ignore policy attachments to this resource. When configured, the provider will align the role's managed policy attachments with this set by attaching or detaching managed policies. Configuring an empty set (i.e., `managed_policy_arns = []`) will cause the provider to remove _all_ managed policy attachments.
263
- */
264
272
  managedPolicyArns?: pulumi.Input<pulumi.Input<string>[]>;
265
273
  /**
266
274
  * Maximum session duration (in seconds) that you want to set for the specified role. If you do not specify a value for this setting, the default maximum of one hour is applied. This setting can have a value from 1 hour to 12 hours.
267
275
  */
268
276
  maxSessionDuration?: pulumi.Input<number>;
269
277
  /**
270
- * Name of the role policy.
278
+ * Friendly name of the role. If omitted, this provider will assign a random, unique name. See [IAM Identifiers](https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) for more information.
271
279
  */
272
280
  name?: pulumi.Input<string>;
273
281
  /**
@@ -292,21 +300,27 @@ export declare namespace awsx {
292
300
  tags?: pulumi.Input<{
293
301
  [key: string]: pulumi.Input<string>;
294
302
  }>;
303
+ /**
304
+ * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
305
+ */
306
+ tagsAll?: pulumi.Input<{
307
+ [key: string]: pulumi.Input<string>;
308
+ }>;
295
309
  }
296
310
  /**
297
311
  * The set of arguments for constructing a Security Group resource.
298
312
  */
299
313
  interface SecurityGroupArgs {
300
314
  /**
301
- * Description of this egress rule.
315
+ * Security group description. Defaults to `Managed by Pulumi`. Cannot be `""`. **NOTE**: This field maps to the AWS `GroupDescription` attribute, for which there is no Update API. If you'd like to classify your security groups in a way that can be updated, use `tags`.
302
316
  */
303
317
  description?: pulumi.Input<string>;
304
318
  /**
305
- * Configuration block for egress rules. Can be specified multiple times for each egress rule. Each egress block supports fields documented below.
319
+ * Configuration block for egress rules. Can be specified multiple times for each egress rule. Each egress block supports fields documented below. This argument is processed in attribute-as-blocks mode.
306
320
  */
307
321
  egress?: pulumi.Input<pulumi.Input<pulumiAws.types.input.ec2.SecurityGroupEgress>[]>;
308
322
  /**
309
- * Configuration block for egress rules. Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below.
323
+ * Configuration block for ingress rules. Can be specified multiple times for each ingress rule. Each ingress block supports fields documented below. This argument is processed in attribute-as-blocks mode.
310
324
  */
311
325
  ingress?: pulumi.Input<pulumi.Input<pulumiAws.types.input.ec2.SecurityGroupIngress>[]>;
312
326
  /**
@@ -318,7 +332,7 @@ export declare namespace awsx {
318
332
  */
319
333
  namePrefix?: pulumi.Input<string>;
320
334
  /**
321
- * Instruct this provider to revoke all of the Security Groups attached ingress and egress rules before deleting the rule itself. This is normally not needed, however certain AWS services such as Elastic Map Reduce may automatically add required rules to security groups used with the service, and those rules may contain a cyclic dependency that prevent the security groups from being destroyed without removing the dependency first. Default `false`.
335
+ * Instruct the provider to revoke all of the Security Groups attached ingress and egress rules before deleting the rule itself. This is normally not needed, however certain AWS services such as Elastic Map Reduce may automatically add required rules to security groups used with the service, and those rules may contain a cyclic dependency that prevent the security groups from being destroyed without removing the dependency first. Default `false`.
322
336
  */
323
337
  revokeRulesOnDelete?: pulumi.Input<boolean>;
324
338
  /**
@@ -328,8 +342,7 @@ export declare namespace awsx {
328
342
  [key: string]: pulumi.Input<string>;
329
343
  }>;
330
344
  /**
331
- * VPC ID.
332
- * Defaults to the region's default VPC.
345
+ * VPC ID. Defaults to the region's default VPC.
333
346
  */
334
347
  vpcId?: pulumi.Input<string>;
335
348
  }
@@ -378,6 +391,16 @@ export declare namespace ec2 {
378
391
  type: enums.ec2.SubnetType;
379
392
  }
380
393
  /**
394
+ * Provides a VPC Endpoint resource.
395
+ *
396
+ * > **NOTE on VPC Endpoints and VPC Endpoint Associations:** The provider provides both standalone VPC Endpoint Associations for
397
+ * Route Tables - (an association between a VPC endpoint and a single `route_table_id`),
398
+ * Security Groups - (an association between a VPC endpoint and a single `security_group_id`),
399
+ * and Subnets - (an association between a VPC endpoint and a single `subnet_id`) and
400
+ * a VPC Endpoint resource with `route_table_ids` and `subnet_ids` attributes.
401
+ * Do not use the same resource ID in both a VPC Endpoint resource and a VPC Endpoint Association resource.
402
+ * Doing so will cause a conflict of associations and will overwrite the association.
403
+ *
381
404
  * {{% examples %}}
382
405
  * ## Example Usage
383
406
  * {{% example %}}
@@ -646,7 +669,7 @@ export declare namespace ec2 {
646
669
  * ServiceName: pulumi.String("com.amazonaws.us-west-2.ec2"),
647
670
  * VpcEndpointType: pulumi.String("Interface"),
648
671
  * SecurityGroupIds: pulumi.StringArray{
649
- * pulumi.Any(aws_security_group.Sg1.Id),
672
+ * aws_security_group.Sg1.Id,
650
673
  * },
651
674
  * PrivateDnsEnabled: pulumi.Bool(true),
652
675
  * })
@@ -790,10 +813,10 @@ export declare namespace ec2 {
790
813
  * exampleVpcEndpointService, err := ec2.NewVpcEndpointService(ctx, "exampleVpcEndpointService", &ec2.VpcEndpointServiceArgs{
791
814
  * AcceptanceRequired: pulumi.Bool(false),
792
815
  * AllowedPrincipals: pulumi.StringArray{
793
- * pulumi.String(current.Arn),
816
+ * *pulumi.String(current.Arn),
794
817
  * },
795
818
  * GatewayLoadBalancerArns: pulumi.StringArray{
796
- * pulumi.Any(aws_lb.Example.Arn),
819
+ * aws_lb.Example.Arn,
797
820
  * },
798
821
  * })
799
822
  * if err != nil {
@@ -802,7 +825,7 @@ export declare namespace ec2 {
802
825
  * _, err = ec2.NewVpcEndpoint(ctx, "exampleVpcEndpoint", &ec2.VpcEndpointArgs{
803
826
  * ServiceName: exampleVpcEndpointService.ServiceName,
804
827
  * SubnetIds: pulumi.StringArray{
805
- * pulumi.Any(aws_subnet.Example.Id),
828
+ * aws_subnet.Example.Id,
806
829
  * },
807
830
  * VpcEndpointType: exampleVpcEndpointService.ServiceType,
808
831
  * VpcId: pulumi.Any(aws_vpc.Example.Id),
@@ -876,7 +899,7 @@ export declare namespace ec2 {
876
899
  * vpcId: ${aws_vpc.example.id}
877
900
  * variables:
878
901
  * current:
879
- * Fn::Invoke:
902
+ * fn::invoke:
880
903
  * Function: aws:getCallerIdentity
881
904
  * Arguments: {}
882
905
  * ```
@@ -1516,7 +1539,7 @@ export declare namespace lb {
1516
1539
  * type: aws:lb:Listener
1517
1540
  * properties:
1518
1541
  * loadBalancerArn: ${frontEndLoadBalancer.arn}
1519
- * port: 443
1542
+ * port: '443'
1520
1543
  * protocol: HTTPS
1521
1544
  * sslPolicy: ELBSecurityPolicy-2016-08
1522
1545
  * certificateArn: arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4
@@ -1657,7 +1680,7 @@ export declare namespace lb {
1657
1680
  * type: aws:lb:Listener
1658
1681
  * properties:
1659
1682
  * loadBalancerArn: ${aws_lb.front_end.arn}
1660
- * port: 443
1683
+ * port: '443'
1661
1684
  * protocol: TLS
1662
1685
  * certificateArn: arn:aws:iam::187416307283:server-certificate/test_cert_rab3wuqwgja25ct3n4jdj2tzu4
1663
1686
  * alpnPolicy: HTTP2Preferred
@@ -1827,12 +1850,12 @@ export declare namespace lb {
1827
1850
  * type: aws:lb:Listener
1828
1851
  * properties:
1829
1852
  * loadBalancerArn: ${frontEndLoadBalancer.arn}
1830
- * port: 80
1853
+ * port: '80'
1831
1854
  * protocol: HTTP
1832
1855
  * defaultActions:
1833
1856
  * - type: redirect
1834
1857
  * redirect:
1835
- * port: 443
1858
+ * port: '443'
1836
1859
  * protocol: HTTPS
1837
1860
  * statusCode: HTTP_301
1838
1861
  * ```
@@ -1998,14 +2021,14 @@ export declare namespace lb {
1998
2021
  * type: aws:lb:Listener
1999
2022
  * properties:
2000
2023
  * loadBalancerArn: ${frontEndLoadBalancer.arn}
2001
- * port: 80
2024
+ * port: '80'
2002
2025
  * protocol: HTTP
2003
2026
  * defaultActions:
2004
2027
  * - type: fixed-response
2005
2028
  * fixedResponse:
2006
2029
  * contentType: text/plain
2007
2030
  * messageBody: Fixed response content
2008
- * statusCode: 200
2031
+ * statusCode: '200'
2009
2032
  * ```
2010
2033
  * {{% /example %}}
2011
2034
  * {{% example %}}
@@ -2260,7 +2283,7 @@ export declare namespace lb {
2260
2283
  * type: aws:lb:Listener
2261
2284
  * properties:
2262
2285
  * loadBalancerArn: ${frontEndLoadBalancer.arn}
2263
- * port: 80
2286
+ * port: '80'
2264
2287
  * protocol: HTTP
2265
2288
  * defaultActions:
2266
2289
  * - type: authenticate-cognito
@@ -2490,7 +2513,7 @@ export declare namespace lb {
2490
2513
  * type: aws:lb:Listener
2491
2514
  * properties:
2492
2515
  * loadBalancerArn: ${frontEndLoadBalancer.arn}
2493
- * port: 80
2516
+ * port: '80'
2494
2517
  * protocol: HTTP
2495
2518
  * defaultActions:
2496
2519
  * - type: authenticate-oidc
@@ -2762,11 +2785,11 @@ export declare namespace lb {
2762
2785
  */
2763
2786
  defaultActions?: pulumi.Input<pulumi.Input<pulumiAws.types.input.lb.ListenerDefaultAction>[]>;
2764
2787
  /**
2765
- * Port. Specify a value from `1` to `65535` or `#{port}`. Defaults to `#{port}`.
2788
+ * Port on which the load balancer is listening. Not valid for Gateway Load Balancers.
2766
2789
  */
2767
2790
  port?: pulumi.Input<number>;
2768
2791
  /**
2769
- * Protocol. Valid values are `HTTP`, `HTTPS`, or `#{protocol}`. Defaults to `#{protocol}`.
2792
+ * Protocol for connections from clients to the load balancer. For Application Load Balancers, valid values are `HTTP` and `HTTPS`, with a default of `HTTP`. For Network Load Balancers, valid values are `TCP`, `TLS`, `UDP`, and `TCP_UDP`. Not valid to use `UDP` or `TCP_UDP` if dual-stack mode is enabled. Not valid for Gateway Load Balancers.
2770
2793
  */
2771
2794
  protocol?: pulumi.Input<string>;
2772
2795
  /**
@@ -3048,9 +3071,7 @@ export declare namespace lb {
3048
3071
  * import * as pulumi from "@pulumi/pulumi";
3049
3072
  * import * as aws from "@pulumi/aws";
3050
3073
  *
3051
- * const lambda_example = new aws.lb.TargetGroup("lambda-example", {
3052
- * targetType: "lambda",
3053
- * });
3074
+ * const lambda_example = new aws.lb.TargetGroup("lambda-example", {targetType: "lambda"});
3054
3075
  * ```
3055
3076
  * ```python
3056
3077
  * import pulumi
@@ -3272,7 +3293,11 @@ export declare namespace lb {
3272
3293
  */
3273
3294
  loadBalancingAlgorithmType?: pulumi.Input<string>;
3274
3295
  /**
3275
- * Name of the target group. If omitted, this provider will assign a random, unique name.
3296
+ * Indicates whether cross zone load balancing is enabled. The value is `"true"`, `"false"` or `"use_load_balancer_configuration"`. The default is `"use_load_balancer_configuration"`.
3297
+ */
3298
+ loadBalancingCrossZoneEnabled?: pulumi.Input<string>;
3299
+ /**
3300
+ * Name of the target group. If omitted, this provider will assign a random, unique name. This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
3276
3301
  */
3277
3302
  name?: pulumi.Input<string>;
3278
3303
  /**
@@ -3280,7 +3305,7 @@ export declare namespace lb {
3280
3305
  */
3281
3306
  namePrefix?: pulumi.Input<string>;
3282
3307
  /**
3283
- * Port to use to connect with the target. Valid values are either ports 1-65535, or `traffic-port`. Defaults to `traffic-port`.
3308
+ * Port on which targets receive traffic, unless overridden when registering a specific target. Required when `target_type` is `instance`, `ip` or `alb`. Does not apply when `target_type` is `lambda`.
3284
3309
  */
3285
3310
  port?: pulumi.Input<number>;
3286
3311
  /**
@@ -3288,11 +3313,11 @@ export declare namespace lb {
3288
3313
  */
3289
3314
  preserveClientIp?: pulumi.Input<string>;
3290
3315
  /**
3291
- * Protocol to use to connect with the target. Defaults to `HTTP`. Not applicable when `target_type` is `lambda`.
3316
+ * Protocol to use for routing traffic to the targets. Should be one of `GENEVE`, `HTTP`, `HTTPS`, `TCP`, `TCP_UDP`, `TLS`, or `UDP`. Required when `target_type` is `instance`, `ip` or `alb`. Does not apply when `target_type` is `lambda`.
3292
3317
  */
3293
3318
  protocol?: pulumi.Input<string>;
3294
3319
  /**
3295
- * Only applicable when `protocol` is `HTTP` or `HTTPS`. The protocol version. Specify GRPC to send requests to targets using gRPC. Specify HTTP2 to send requests to targets using HTTP/2. The default is HTTP1, which sends requests to targets using HTTP/1.1
3320
+ * Only applicable when `protocol` is `HTTP` or `HTTPS`. The protocol version. Specify `GRPC` to send requests to targets using gRPC. Specify `HTTP2` to send requests to targets using HTTP/2. The default is `HTTP1`, which sends requests to targets using HTTP/1.1
3296
3321
  */
3297
3322
  protocolVersion?: pulumi.Input<string>;
3298
3323
  /**
@@ -3313,6 +3338,10 @@ export declare namespace lb {
3313
3338
  tags?: pulumi.Input<{
3314
3339
  [key: string]: pulumi.Input<string>;
3315
3340
  }>;
3341
+ /**
3342
+ * Target failover block. Only applicable for Gateway Load Balancer target groups. See target_failover for more information.
3343
+ */
3344
+ targetFailovers?: pulumi.Input<pulumi.Input<pulumiAws.types.input.lb.TargetGroupTargetFailover>[]>;
3316
3345
  /**
3317
3346
  * Type of target that you must specify when registering targets with this target group. See [doc](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateTargetGroup.html) for supported values. The default is `instance`.
3318
3347
  */
package/types/input.js CHANGED
@@ -3,14 +3,14 @@
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.awsx = void 0;
6
- const types_1 = require("../types");
6
+ const inputs = require("../types/input");
7
7
  var awsx;
8
8
  (function (awsx) {
9
9
  /**
10
10
  * defaultSecurityGroupArgsProvideDefaults sets the appropriate defaults for DefaultSecurityGroupArgs
11
11
  */
12
12
  function defaultSecurityGroupArgsProvideDefaults(val) {
13
- return Object.assign(Object.assign({}, val), { args: (val.args ? types_1.input.awsx.securityGroupArgsProvideDefaults(val.args) : undefined) });
13
+ return Object.assign(Object.assign({}, val), { args: (val.args ? inputs.awsx.securityGroupArgsProvideDefaults(val.args) : undefined) });
14
14
  }
15
15
  awsx.defaultSecurityGroupArgsProvideDefaults = defaultSecurityGroupArgsProvideDefaults;
16
16
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,+DAA+D;AAC/D,iFAAiF;;;AAGjF,oCAAqE;AAKrE,IAAiB,IAAI,CA4VpB;AA5VD,WAAiB,IAAI;IAmJjB;;OAEG;IACH,SAAgB,uCAAuC,CAAC,GAA6B;QACjF,uCACO,GAAG,KACN,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,aAAM,CAAC,IAAI,CAAC,gCAAgC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IACvF;IACN,CAAC;IALe,4CAAuC,0CAKtD,CAAA;IAwLD;;OAEG;IACH,SAAgB,gCAAgC,CAAC,GAAsB;;QACnE,uCACO,GAAG,KACN,WAAW,EAAE,MAAA,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,mBAAmB,IACvD;IACN,CAAC;IALe,qCAAgC,mCAK/C,CAAA;AACL,CAAC,EA5VgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QA4VpB"}
1
+ {"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,+DAA+D;AAC/D,iFAAiF;;;AAGjF,yCAAyC;AAOzC,IAAiB,IAAI,CAoWpB;AApWD,WAAiB,IAAI;IAmJjB;;OAEG;IACH,SAAgB,uCAAuC,CAAC,GAA6B;QACjF,uCACO,GAAG,KACN,IAAI,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,gCAAgC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IACvF;IACN,CAAC;IALe,4CAAuC,0CAKtD,CAAA;IAgMD;;OAEG;IACH,SAAgB,gCAAgC,CAAC,GAAsB;;QACnE,uCACO,GAAG,KACN,WAAW,EAAE,MAAA,CAAC,GAAG,CAAC,WAAW,CAAC,mCAAI,mBAAmB,IACvD;IACN,CAAC;IALe,qCAAgC,mCAK/C,CAAA;AACL,CAAC,EApWgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAoWpB"}
package/utilities.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by pulumi-gen-awsx. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
5
+ exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
6
6
  function getEnv(...vars) {
7
7
  for (const v of vars) {
8
8
  const value = process.env[v];
@@ -54,4 +54,16 @@ function resourceOptsDefaults() {
54
54
  return { version: getVersion() };
55
55
  }
56
56
  exports.resourceOptsDefaults = resourceOptsDefaults;
57
+ /** @internal */
58
+ function lazyLoad(exports, props, loadModule) {
59
+ for (let property of props) {
60
+ Object.defineProperty(exports, property, {
61
+ enumerable: true,
62
+ get: function () {
63
+ return loadModule()[property];
64
+ },
65
+ });
66
+ }
67
+ }
68
+ exports.lazyLoad = lazyLoad;
57
69
  //# sourceMappingURL=utilities.js.map
package/utilities.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.js","s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