@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,94 +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.TransitGatewayPeeringAttachmentAccepter = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * Manages the accepter's side of an EC2 Transit Gateway Peering Attachment.
10
- *
11
- * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as aws from "@pulumi/aws";
16
- *
17
- * const example = new aws.ec2transitgateway.PeeringAttachmentAccepter("example", {
18
- * transitGatewayAttachmentId: aws_ec2_transit_gateway_peering_attachment.example.id,
19
- * tags: {
20
- * Name: "Example cross-account attachment",
21
- * },
22
- * });
23
- * ```
24
- *
25
- * ## Import
26
- *
27
- * `aws_ec2_transit_gateway_peering_attachment_accepter` can be imported by using the EC2 Transit Gateway Attachment identifier, e.g.,
28
- *
29
- * ```sh
30
- * $ pulumi import aws:ec2/transitGatewayPeeringAttachmentAccepter:TransitGatewayPeeringAttachmentAccepter example tgw-attach-12345678
31
- * ```
32
- *
33
- * @deprecated aws.ec2.TransitGatewayPeeringAttachmentAccepter has been deprecated in favor of aws.ec2transitgateway.PeeringAttachmentAccepter
34
- */
35
- class TransitGatewayPeeringAttachmentAccepter extends pulumi.CustomResource {
36
- /**
37
- * Get an existing TransitGatewayPeeringAttachmentAccepter resource's state with the given name, ID, and optional extra
38
- * properties used to qualify the lookup.
39
- *
40
- * @param name The _unique_ name of the resulting resource.
41
- * @param id The _unique_ provider ID of the resource to lookup.
42
- * @param state Any extra arguments used during the lookup.
43
- * @param opts Optional settings to control the behavior of the CustomResource.
44
- */
45
- static get(name, id, state, opts) {
46
- pulumi.log.warn("TransitGatewayPeeringAttachmentAccepter is deprecated: aws.ec2.TransitGatewayPeeringAttachmentAccepter has been deprecated in favor of aws.ec2transitgateway.PeeringAttachmentAccepter");
47
- return new TransitGatewayPeeringAttachmentAccepter(name, state, Object.assign(Object.assign({}, opts), { id: id }));
48
- }
49
- /**
50
- * Returns true if the given object is an instance of TransitGatewayPeeringAttachmentAccepter. This is designed to work even
51
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
- */
53
- static isInstance(obj) {
54
- if (obj === undefined || obj === null) {
55
- return false;
56
- }
57
- return obj['__pulumiType'] === TransitGatewayPeeringAttachmentAccepter.__pulumiType;
58
- }
59
- /** @deprecated aws.ec2.TransitGatewayPeeringAttachmentAccepter has been deprecated in favor of aws.ec2transitgateway.PeeringAttachmentAccepter */
60
- constructor(name, argsOrState, opts) {
61
- pulumi.log.warn("TransitGatewayPeeringAttachmentAccepter is deprecated: aws.ec2.TransitGatewayPeeringAttachmentAccepter has been deprecated in favor of aws.ec2transitgateway.PeeringAttachmentAccepter");
62
- let resourceInputs = {};
63
- opts = opts || {};
64
- if (opts.id) {
65
- const state = argsOrState;
66
- resourceInputs["peerAccountId"] = state ? state.peerAccountId : undefined;
67
- resourceInputs["peerRegion"] = state ? state.peerRegion : undefined;
68
- resourceInputs["peerTransitGatewayId"] = state ? state.peerTransitGatewayId : undefined;
69
- resourceInputs["tags"] = state ? state.tags : undefined;
70
- resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
71
- resourceInputs["transitGatewayAttachmentId"] = state ? state.transitGatewayAttachmentId : undefined;
72
- resourceInputs["transitGatewayId"] = state ? state.transitGatewayId : undefined;
73
- }
74
- else {
75
- const args = argsOrState;
76
- if ((!args || args.transitGatewayAttachmentId === undefined) && !opts.urn) {
77
- throw new Error("Missing required property 'transitGatewayAttachmentId'");
78
- }
79
- resourceInputs["tags"] = args ? args.tags : undefined;
80
- resourceInputs["transitGatewayAttachmentId"] = args ? args.transitGatewayAttachmentId : undefined;
81
- resourceInputs["peerAccountId"] = undefined /*out*/;
82
- resourceInputs["peerRegion"] = undefined /*out*/;
83
- resourceInputs["peerTransitGatewayId"] = undefined /*out*/;
84
- resourceInputs["tagsAll"] = undefined /*out*/;
85
- resourceInputs["transitGatewayId"] = undefined /*out*/;
86
- }
87
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
88
- super(TransitGatewayPeeringAttachmentAccepter.__pulumiType, name, resourceInputs, opts);
89
- }
90
- }
91
- exports.TransitGatewayPeeringAttachmentAccepter = TransitGatewayPeeringAttachmentAccepter;
92
- /** @internal */
93
- TransitGatewayPeeringAttachmentAccepter.__pulumiType = 'aws:ec2/transitGatewayPeeringAttachmentAccepter:TransitGatewayPeeringAttachmentAccepter';
94
- //# sourceMappingURL=transitGatewayPeeringAttachmentAccepter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transitGatewayPeeringAttachmentAccepter.js","sourceRoot":"","sources":["../../ec2/transitGatewayPeeringAttachmentAccepter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,uCAAwC,SAAQ,MAAM,CAAC,cAAc;IAC9E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoD,EAAE,IAAmC;QAClJ,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,wLAAwL,CAAC,CAAA;QACzM,OAAO,IAAI,uCAAuC,CAAC,IAAI,E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;YACpG,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;SACnF;aAAM;YACH,MAAM,IAAI,GAAG,WAAsE,CAAC;YACpF,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,0BAA0B,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvE,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC;aAC7E;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC,CAAC,SAAS,CAAC;YAClG,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uCAAuC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5F,CAAC;;AA7FL,0FA8FC;AA/EG,gBAAgB;AACO,oDAAY,GAAG,yFAAyF,CAAC"}
@@ -1,129 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Provides an application cookie stickiness policy, which allows an ELB to wed its sticky cookie's expiration to a cookie generated by your application.
4
- *
5
- * ## Example Usage
6
- *
7
- * ```typescript
8
- * import * as pulumi from "@pulumi/pulumi";
9
- * import * as aws from "@pulumi/aws";
10
- *
11
- * const lb = new aws.elb.LoadBalancer("lb", {
12
- * availabilityZones: ["us-east-1a"],
13
- * listeners: [{
14
- * instancePort: 8000,
15
- * instanceProtocol: "http",
16
- * lbPort: 80,
17
- * lbProtocol: "http",
18
- * }],
19
- * });
20
- * const foo = new aws.elb.AppCookieStickinessPolicy("foo", {
21
- * loadBalancer: lb.name,
22
- * lbPort: 80,
23
- * cookieName: "MyAppCookie",
24
- * });
25
- * ```
26
- *
27
- * ## Import
28
- *
29
- * Application cookie stickiness policies can be imported using the ELB name, port, and policy name separated by colons (`:`), e.g.,
30
- *
31
- * ```sh
32
- * $ pulumi import aws:elasticloadbalancing/appCookieStickinessPolicy:AppCookieStickinessPolicy example my-elb:80:my-policy
33
- * ```
34
- *
35
- * @deprecated aws.elasticloadbalancing.AppCookieStickinessPolicy has been deprecated in favor of aws.elb.AppCookieStickinessPolicy
36
- */
37
- export declare class AppCookieStickinessPolicy extends pulumi.CustomResource {
38
- /**
39
- * Get an existing AppCookieStickinessPolicy resource's state with the given name, ID, and optional extra
40
- * properties used to qualify the lookup.
41
- *
42
- * @param name The _unique_ name of the resulting resource.
43
- * @param id The _unique_ provider ID of the resource to lookup.
44
- * @param state Any extra arguments used during the lookup.
45
- * @param opts Optional settings to control the behavior of the CustomResource.
46
- */
47
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AppCookieStickinessPolicyState, opts?: pulumi.CustomResourceOptions): AppCookieStickinessPolicy;
48
- /**
49
- * Returns true if the given object is an instance of AppCookieStickinessPolicy. This is designed to work even
50
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
- */
52
- static isInstance(obj: any): obj is AppCookieStickinessPolicy;
53
- /**
54
- * Application cookie whose lifetime the ELB's cookie should follow.
55
- */
56
- readonly cookieName: pulumi.Output<string>;
57
- /**
58
- * Load balancer port to which the policy
59
- * should be applied. This must be an active listener on the load
60
- * balancer.
61
- */
62
- readonly lbPort: pulumi.Output<number>;
63
- /**
64
- * Name of load balancer to which the policy
65
- * should be attached.
66
- */
67
- readonly loadBalancer: pulumi.Output<string>;
68
- /**
69
- * Name of the stickiness policy.
70
- */
71
- readonly name: pulumi.Output<string>;
72
- /**
73
- * Create a AppCookieStickinessPolicy resource with the given unique name, arguments, and options.
74
- *
75
- * @param name The _unique_ name of the resource.
76
- * @param args The arguments to use to populate this resource's properties.
77
- * @param opts A bag of options that control this resource's behavior.
78
- */
79
- /** @deprecated aws.elasticloadbalancing.AppCookieStickinessPolicy has been deprecated in favor of aws.elb.AppCookieStickinessPolicy */
80
- constructor(name: string, args: AppCookieStickinessPolicyArgs, opts?: pulumi.CustomResourceOptions);
81
- }
82
- /**
83
- * Input properties used for looking up and filtering AppCookieStickinessPolicy resources.
84
- */
85
- export interface AppCookieStickinessPolicyState {
86
- /**
87
- * Application cookie whose lifetime the ELB's cookie should follow.
88
- */
89
- cookieName?: pulumi.Input<string>;
90
- /**
91
- * Load balancer port to which the policy
92
- * should be applied. This must be an active listener on the load
93
- * balancer.
94
- */
95
- lbPort?: pulumi.Input<number>;
96
- /**
97
- * Name of load balancer to which the policy
98
- * should be attached.
99
- */
100
- loadBalancer?: pulumi.Input<string>;
101
- /**
102
- * Name of the stickiness policy.
103
- */
104
- name?: pulumi.Input<string>;
105
- }
106
- /**
107
- * The set of arguments for constructing a AppCookieStickinessPolicy resource.
108
- */
109
- export interface AppCookieStickinessPolicyArgs {
110
- /**
111
- * Application cookie whose lifetime the ELB's cookie should follow.
112
- */
113
- cookieName: pulumi.Input<string>;
114
- /**
115
- * Load balancer port to which the policy
116
- * should be applied. This must be an active listener on the load
117
- * balancer.
118
- */
119
- lbPort: pulumi.Input<number>;
120
- /**
121
- * Name of load balancer to which the policy
122
- * should be attached.
123
- */
124
- loadBalancer: pulumi.Input<string>;
125
- /**
126
- * Name of the stickiness policy.
127
- */
128
- name?: pulumi.Input<string>;
129
- }
@@ -1,102 +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.AppCookieStickinessPolicy = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * Provides an application cookie stickiness policy, which allows an ELB to wed its sticky cookie's expiration to a cookie generated by your application.
10
- *
11
- * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as aws from "@pulumi/aws";
16
- *
17
- * const lb = new aws.elb.LoadBalancer("lb", {
18
- * availabilityZones: ["us-east-1a"],
19
- * listeners: [{
20
- * instancePort: 8000,
21
- * instanceProtocol: "http",
22
- * lbPort: 80,
23
- * lbProtocol: "http",
24
- * }],
25
- * });
26
- * const foo = new aws.elb.AppCookieStickinessPolicy("foo", {
27
- * loadBalancer: lb.name,
28
- * lbPort: 80,
29
- * cookieName: "MyAppCookie",
30
- * });
31
- * ```
32
- *
33
- * ## Import
34
- *
35
- * Application cookie stickiness policies can be imported using the ELB name, port, and policy name separated by colons (`:`), e.g.,
36
- *
37
- * ```sh
38
- * $ pulumi import aws:elasticloadbalancing/appCookieStickinessPolicy:AppCookieStickinessPolicy example my-elb:80:my-policy
39
- * ```
40
- *
41
- * @deprecated aws.elasticloadbalancing.AppCookieStickinessPolicy has been deprecated in favor of aws.elb.AppCookieStickinessPolicy
42
- */
43
- class AppCookieStickinessPolicy extends pulumi.CustomResource {
44
- /**
45
- * Get an existing AppCookieStickinessPolicy resource's state with the given name, ID, and optional extra
46
- * properties used to qualify the lookup.
47
- *
48
- * @param name The _unique_ name of the resulting resource.
49
- * @param id The _unique_ provider ID of the resource to lookup.
50
- * @param state Any extra arguments used during the lookup.
51
- * @param opts Optional settings to control the behavior of the CustomResource.
52
- */
53
- static get(name, id, state, opts) {
54
- pulumi.log.warn("AppCookieStickinessPolicy is deprecated: aws.elasticloadbalancing.AppCookieStickinessPolicy has been deprecated in favor of aws.elb.AppCookieStickinessPolicy");
55
- return new AppCookieStickinessPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
56
- }
57
- /**
58
- * Returns true if the given object is an instance of AppCookieStickinessPolicy. This is designed to work even
59
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
60
- */
61
- static isInstance(obj) {
62
- if (obj === undefined || obj === null) {
63
- return false;
64
- }
65
- return obj['__pulumiType'] === AppCookieStickinessPolicy.__pulumiType;
66
- }
67
- /** @deprecated aws.elasticloadbalancing.AppCookieStickinessPolicy has been deprecated in favor of aws.elb.AppCookieStickinessPolicy */
68
- constructor(name, argsOrState, opts) {
69
- pulumi.log.warn("AppCookieStickinessPolicy is deprecated: aws.elasticloadbalancing.AppCookieStickinessPolicy has been deprecated in favor of aws.elb.AppCookieStickinessPolicy");
70
- let resourceInputs = {};
71
- opts = opts || {};
72
- if (opts.id) {
73
- const state = argsOrState;
74
- resourceInputs["cookieName"] = state ? state.cookieName : undefined;
75
- resourceInputs["lbPort"] = state ? state.lbPort : undefined;
76
- resourceInputs["loadBalancer"] = state ? state.loadBalancer : undefined;
77
- resourceInputs["name"] = state ? state.name : undefined;
78
- }
79
- else {
80
- const args = argsOrState;
81
- if ((!args || args.cookieName === undefined) && !opts.urn) {
82
- throw new Error("Missing required property 'cookieName'");
83
- }
84
- if ((!args || args.lbPort === undefined) && !opts.urn) {
85
- throw new Error("Missing required property 'lbPort'");
86
- }
87
- if ((!args || args.loadBalancer === undefined) && !opts.urn) {
88
- throw new Error("Missing required property 'loadBalancer'");
89
- }
90
- resourceInputs["cookieName"] = args ? args.cookieName : undefined;
91
- resourceInputs["lbPort"] = args ? args.lbPort : undefined;
92
- resourceInputs["loadBalancer"] = args ? args.loadBalancer : undefined;
93
- resourceInputs["name"] = args ? args.name : undefined;
94
- }
95
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
96
- super(AppCookieStickinessPolicy.__pulumiType, name, resourceInputs, opts);
97
- }
98
- }
99
- exports.AppCookieStickinessPolicy = AppCookieStickinessPolicy;
100
- /** @internal */
101
- AppCookieStickinessPolicy.__pulumiType = 'aws:elasticloadbalancing/appCookieStickinessPolicy:AppCookieStickinessPolicy';
102
- //# sourceMappingURL=appCookieStickinessPolicy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"appCookieStickinessPolicy.js","sourceRoot":"","sources":["../../elasticloadbalancing/appCookieStickinessPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,+JAA+J,CAAC,CAAA;QAChL,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IA+BD,uIAAuI;IACvI,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,+JAA+J,CAAC,CAAA;QAChL,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAA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CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAvFL,8DAwFC;AAzEG,gBAAgB;AACO,sCAAY,GAAG,8EAA8E,CAAC"}
@@ -1,86 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Attaches an EC2 instance to an Elastic Load Balancer (ELB). For attaching resources with Application Load Balancer (ALB) or Network Load Balancer (NLB), see the `aws.lb.TargetGroupAttachment` resource.
4
- *
5
- * > **NOTE on ELB Instances and ELB Attachments:** This provider currently provides
6
- * both a standalone ELB Attachment resource (describing an instance attached to
7
- * an ELB), and an Elastic Load Balancer resource with
8
- * `instances` defined in-line. At this time you cannot use an ELB with in-line
9
- * instances in conjunction with an ELB Attachment resource. Doing so will cause a
10
- * conflict and will overwrite attachments.
11
- *
12
- * ## Example Usage
13
- *
14
- * ```typescript
15
- * import * as pulumi from "@pulumi/pulumi";
16
- * import * as aws from "@pulumi/aws";
17
- *
18
- * // Create a new load balancer attachment
19
- * const baz = new aws.elb.Attachment("baz", {
20
- * elb: aws_elb.bar.id,
21
- * instance: aws_instance.foo.id,
22
- * });
23
- * ```
24
- *
25
- * @deprecated aws.elasticloadbalancing.Attachment has been deprecated in favor of aws.elb.Attachment
26
- */
27
- export declare class Attachment extends pulumi.CustomResource {
28
- /**
29
- * Get an existing Attachment resource's state with the given name, ID, and optional extra
30
- * properties used to qualify the lookup.
31
- *
32
- * @param name The _unique_ name of the resulting resource.
33
- * @param id The _unique_ provider ID of the resource to lookup.
34
- * @param state Any extra arguments used during the lookup.
35
- * @param opts Optional settings to control the behavior of the CustomResource.
36
- */
37
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AttachmentState, opts?: pulumi.CustomResourceOptions): Attachment;
38
- /**
39
- * Returns true if the given object is an instance of Attachment. This is designed to work even
40
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
- */
42
- static isInstance(obj: any): obj is Attachment;
43
- /**
44
- * The name of the ELB.
45
- */
46
- readonly elb: pulumi.Output<string>;
47
- /**
48
- * Instance ID to place in the ELB pool.
49
- */
50
- readonly instance: pulumi.Output<string>;
51
- /**
52
- * Create a Attachment resource with the given unique name, arguments, and options.
53
- *
54
- * @param name The _unique_ name of the resource.
55
- * @param args The arguments to use to populate this resource's properties.
56
- * @param opts A bag of options that control this resource's behavior.
57
- */
58
- /** @deprecated aws.elasticloadbalancing.Attachment has been deprecated in favor of aws.elb.Attachment */
59
- constructor(name: string, args: AttachmentArgs, opts?: pulumi.CustomResourceOptions);
60
- }
61
- /**
62
- * Input properties used for looking up and filtering Attachment resources.
63
- */
64
- export interface AttachmentState {
65
- /**
66
- * The name of the ELB.
67
- */
68
- elb?: pulumi.Input<string>;
69
- /**
70
- * Instance ID to place in the ELB pool.
71
- */
72
- instance?: pulumi.Input<string>;
73
- }
74
- /**
75
- * The set of arguments for constructing a Attachment resource.
76
- */
77
- export interface AttachmentArgs {
78
- /**
79
- * The name of the ELB.
80
- */
81
- elb: pulumi.Input<string>;
82
- /**
83
- * Instance ID to place in the ELB pool.
84
- */
85
- instance: pulumi.Input<string>;
86
- }
@@ -1,85 +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.Attachment = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * Attaches an EC2 instance to an Elastic Load Balancer (ELB). For attaching resources with Application Load Balancer (ALB) or Network Load Balancer (NLB), see the `aws.lb.TargetGroupAttachment` resource.
10
- *
11
- * > **NOTE on ELB Instances and ELB Attachments:** This provider currently provides
12
- * both a standalone ELB Attachment resource (describing an instance attached to
13
- * an ELB), and an Elastic Load Balancer resource with
14
- * `instances` defined in-line. At this time you cannot use an ELB with in-line
15
- * instances in conjunction with an ELB Attachment resource. Doing so will cause a
16
- * conflict and will overwrite attachments.
17
- *
18
- * ## Example Usage
19
- *
20
- * ```typescript
21
- * import * as pulumi from "@pulumi/pulumi";
22
- * import * as aws from "@pulumi/aws";
23
- *
24
- * // Create a new load balancer attachment
25
- * const baz = new aws.elb.Attachment("baz", {
26
- * elb: aws_elb.bar.id,
27
- * instance: aws_instance.foo.id,
28
- * });
29
- * ```
30
- *
31
- * @deprecated aws.elasticloadbalancing.Attachment has been deprecated in favor of aws.elb.Attachment
32
- */
33
- class Attachment extends pulumi.CustomResource {
34
- /**
35
- * Get an existing Attachment resource's state with the given name, ID, and optional extra
36
- * properties used to qualify the lookup.
37
- *
38
- * @param name The _unique_ name of the resulting resource.
39
- * @param id The _unique_ provider ID of the resource to lookup.
40
- * @param state Any extra arguments used during the lookup.
41
- * @param opts Optional settings to control the behavior of the CustomResource.
42
- */
43
- static get(name, id, state, opts) {
44
- pulumi.log.warn("Attachment is deprecated: aws.elasticloadbalancing.Attachment has been deprecated in favor of aws.elb.Attachment");
45
- return new Attachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
46
- }
47
- /**
48
- * Returns true if the given object is an instance of Attachment. This is designed to work even
49
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
- */
51
- static isInstance(obj) {
52
- if (obj === undefined || obj === null) {
53
- return false;
54
- }
55
- return obj['__pulumiType'] === Attachment.__pulumiType;
56
- }
57
- /** @deprecated aws.elasticloadbalancing.Attachment has been deprecated in favor of aws.elb.Attachment */
58
- constructor(name, argsOrState, opts) {
59
- pulumi.log.warn("Attachment is deprecated: aws.elasticloadbalancing.Attachment has been deprecated in favor of aws.elb.Attachment");
60
- let resourceInputs = {};
61
- opts = opts || {};
62
- if (opts.id) {
63
- const state = argsOrState;
64
- resourceInputs["elb"] = state ? state.elb : undefined;
65
- resourceInputs["instance"] = state ? state.instance : undefined;
66
- }
67
- else {
68
- const args = argsOrState;
69
- if ((!args || args.elb === undefined) && !opts.urn) {
70
- throw new Error("Missing required property 'elb'");
71
- }
72
- if ((!args || args.instance === undefined) && !opts.urn) {
73
- throw new Error("Missing required property 'instance'");
74
- }
75
- resourceInputs["elb"] = args ? args.elb : undefined;
76
- resourceInputs["instance"] = args ? args.instance : undefined;
77
- }
78
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
79
- super(Attachment.__pulumiType, name, resourceInputs, opts);
80
- }
81
- }
82
- exports.Attachment = Attachment;
83
- /** @internal */
84
- Attachment.__pulumiType = 'aws:elasticloadbalancing/attachment:Attachment';
85
- //# sourceMappingURL=attachment.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachment.js","sourceRoot":"","sources":["../../elasticloadbalancing/attachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,kHAAkH,CAAC,CAAA;QACnI,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CA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,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AArEL,gCAsEC;AAvDG,gBAAgB;AACO,uBAAY,GAAG,gDAAgD,CAAC"}
@@ -1,81 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- /**
3
- * Use this data source to get the HostedZoneId of the AWS Elastic Load Balancing HostedZoneId
4
- * in a given region for the purpose of using in an AWS Route53 Alias.
5
- *
6
- * ## Example Usage
7
- *
8
- * ```typescript
9
- * import * as pulumi from "@pulumi/pulumi";
10
- * import * as aws from "@pulumi/aws";
11
- *
12
- * const main = aws.elb.getHostedZoneId({});
13
- * const www = new aws.route53.Record("www", {
14
- * zoneId: aws_route53_zone.primary.zone_id,
15
- * name: "example.com",
16
- * type: "A",
17
- * aliases: [{
18
- * name: aws_elb.main.dns_name,
19
- * zoneId: main.then(main => main.id),
20
- * evaluateTargetHealth: true,
21
- * }],
22
- * });
23
- * ```
24
- */
25
- /** @deprecated aws.elasticloadbalancing.getHostedZoneId has been deprecated in favor of aws.elb.getHostedZoneId */
26
- export declare function getHostedZoneId(args?: GetHostedZoneIdArgs, opts?: pulumi.InvokeOptions): Promise<GetHostedZoneIdResult>;
27
- /**
28
- * A collection of arguments for invoking getHostedZoneId.
29
- */
30
- export interface GetHostedZoneIdArgs {
31
- /**
32
- * Name of the region whose AWS ELB HostedZoneId is desired.
33
- * Defaults to the region from the AWS provider configuration.
34
- */
35
- region?: string;
36
- }
37
- /**
38
- * A collection of values returned by getHostedZoneId.
39
- */
40
- export interface GetHostedZoneIdResult {
41
- /**
42
- * The provider-assigned unique ID for this managed resource.
43
- */
44
- readonly id: string;
45
- readonly region?: string;
46
- }
47
- /**
48
- * Use this data source to get the HostedZoneId of the AWS Elastic Load Balancing HostedZoneId
49
- * in a given region for the purpose of using in an AWS Route53 Alias.
50
- *
51
- * ## Example Usage
52
- *
53
- * ```typescript
54
- * import * as pulumi from "@pulumi/pulumi";
55
- * import * as aws from "@pulumi/aws";
56
- *
57
- * const main = aws.elb.getHostedZoneId({});
58
- * const www = new aws.route53.Record("www", {
59
- * zoneId: aws_route53_zone.primary.zone_id,
60
- * name: "example.com",
61
- * type: "A",
62
- * aliases: [{
63
- * name: aws_elb.main.dns_name,
64
- * zoneId: main.then(main => main.id),
65
- * evaluateTargetHealth: true,
66
- * }],
67
- * });
68
- * ```
69
- */
70
- /** @deprecated aws.elasticloadbalancing.getHostedZoneId has been deprecated in favor of aws.elb.getHostedZoneId */
71
- export declare function getHostedZoneIdOutput(args?: GetHostedZoneIdOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHostedZoneIdResult>;
72
- /**
73
- * A collection of arguments for invoking getHostedZoneId.
74
- */
75
- export interface GetHostedZoneIdOutputArgs {
76
- /**
77
- * Name of the region whose AWS ELB HostedZoneId is desired.
78
- * Defaults to the region from the AWS provider configuration.
79
- */
80
- region?: pulumi.Input<string>;
81
- }
@@ -1,69 +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.getHostedZoneIdOutput = exports.getHostedZoneId = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * Use this data source to get the HostedZoneId of the AWS Elastic Load Balancing HostedZoneId
10
- * in a given region for the purpose of using in an AWS Route53 Alias.
11
- *
12
- * ## Example Usage
13
- *
14
- * ```typescript
15
- * import * as pulumi from "@pulumi/pulumi";
16
- * import * as aws from "@pulumi/aws";
17
- *
18
- * const main = aws.elb.getHostedZoneId({});
19
- * const www = new aws.route53.Record("www", {
20
- * zoneId: aws_route53_zone.primary.zone_id,
21
- * name: "example.com",
22
- * type: "A",
23
- * aliases: [{
24
- * name: aws_elb.main.dns_name,
25
- * zoneId: main.then(main => main.id),
26
- * evaluateTargetHealth: true,
27
- * }],
28
- * });
29
- * ```
30
- */
31
- /** @deprecated aws.elasticloadbalancing.getHostedZoneId has been deprecated in favor of aws.elb.getHostedZoneId */
32
- function getHostedZoneId(args, opts) {
33
- pulumi.log.warn("getHostedZoneId is deprecated: aws.elasticloadbalancing.getHostedZoneId has been deprecated in favor of aws.elb.getHostedZoneId");
34
- args = args || {};
35
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
- return pulumi.runtime.invoke("aws:elasticloadbalancing/getHostedZoneId:getHostedZoneId", {
37
- "region": args.region,
38
- }, opts);
39
- }
40
- exports.getHostedZoneId = getHostedZoneId;
41
- /**
42
- * Use this data source to get the HostedZoneId of the AWS Elastic Load Balancing HostedZoneId
43
- * in a given region for the purpose of using in an AWS Route53 Alias.
44
- *
45
- * ## Example Usage
46
- *
47
- * ```typescript
48
- * import * as pulumi from "@pulumi/pulumi";
49
- * import * as aws from "@pulumi/aws";
50
- *
51
- * const main = aws.elb.getHostedZoneId({});
52
- * const www = new aws.route53.Record("www", {
53
- * zoneId: aws_route53_zone.primary.zone_id,
54
- * name: "example.com",
55
- * type: "A",
56
- * aliases: [{
57
- * name: aws_elb.main.dns_name,
58
- * zoneId: main.then(main => main.id),
59
- * evaluateTargetHealth: true,
60
- * }],
61
- * });
62
- * ```
63
- */
64
- /** @deprecated aws.elasticloadbalancing.getHostedZoneId has been deprecated in favor of aws.elb.getHostedZoneId */
65
- function getHostedZoneIdOutput(args, opts) {
66
- return pulumi.output(args).apply((a) => getHostedZoneId(a, opts));
67
- }
68
- exports.getHostedZoneIdOutput = getHostedZoneIdOutput;
69
- //# sourceMappingURL=getHostedZoneId.js.map