@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,146 +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.LoadBalancerPolicy = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * Provides a load balancer policy, which can be attached to an ELB listener or backend server.
10
- *
11
- * ## Example Usage
12
- *
13
- * ```typescript
14
- * import * as pulumi from "@pulumi/pulumi";
15
- * import * as aws from "@pulumi/aws";
16
- * import * as fs from "fs";
17
- *
18
- * const wu_tang = new aws.elb.LoadBalancer("wu-tang", {
19
- * availabilityZones: ["us-east-1a"],
20
- * listeners: [{
21
- * instancePort: 443,
22
- * instanceProtocol: "http",
23
- * lbPort: 443,
24
- * lbProtocol: "https",
25
- * sslCertificateId: "arn:aws:iam::000000000000:server-certificate/wu-tang.net",
26
- * }],
27
- * tags: {
28
- * Name: "wu-tang",
29
- * },
30
- * });
31
- * const wu_tang_ca_pubkey_policy = new aws.elb.LoadBalancerPolicy("wu-tang-ca-pubkey-policy", {
32
- * loadBalancerName: wu_tang.name,
33
- * policyName: "wu-tang-ca-pubkey-policy",
34
- * policyTypeName: "PublicKeyPolicyType",
35
- * policyAttributes: [{
36
- * name: "PublicKey",
37
- * value: fs.readFileSync("wu-tang-pubkey"),
38
- * }],
39
- * });
40
- * const wu_tang_root_ca_backend_auth_policy = new aws.elb.LoadBalancerPolicy("wu-tang-root-ca-backend-auth-policy", {
41
- * loadBalancerName: wu_tang.name,
42
- * policyName: "wu-tang-root-ca-backend-auth-policy",
43
- * policyTypeName: "BackendServerAuthenticationPolicyType",
44
- * policyAttributes: [{
45
- * name: "PublicKeyPolicyName",
46
- * value: aws_load_balancer_policy["wu-tang-root-ca-pubkey-policy"].policy_name,
47
- * }],
48
- * });
49
- * const wu_tang_ssl = new aws.elb.LoadBalancerPolicy("wu-tang-ssl", {
50
- * loadBalancerName: wu_tang.name,
51
- * policyName: "wu-tang-ssl",
52
- * policyTypeName: "SSLNegotiationPolicyType",
53
- * policyAttributes: [
54
- * {
55
- * name: "ECDHE-ECDSA-AES128-GCM-SHA256",
56
- * value: "true",
57
- * },
58
- * {
59
- * name: "Protocol-TLSv1.2",
60
- * value: "true",
61
- * },
62
- * ],
63
- * });
64
- * const wu_tang_ssl_tls_1_1 = new aws.elb.LoadBalancerPolicy("wu-tang-ssl-tls-1-1", {
65
- * loadBalancerName: wu_tang.name,
66
- * policyName: "wu-tang-ssl",
67
- * policyTypeName: "SSLNegotiationPolicyType",
68
- * policyAttributes: [{
69
- * name: "Reference-Security-Policy",
70
- * value: "ELBSecurityPolicy-TLS-1-1-2017-01",
71
- * }],
72
- * });
73
- * const wu_tang_backend_auth_policies_443 = new aws.elb.LoadBalancerBackendServerPolicy("wu-tang-backend-auth-policies-443", {
74
- * loadBalancerName: wu_tang.name,
75
- * instancePort: 443,
76
- * policyNames: [wu_tang_root_ca_backend_auth_policy.policyName],
77
- * });
78
- * const wu_tang_listener_policies_443 = new aws.elb.ListenerPolicy("wu-tang-listener-policies-443", {
79
- * loadBalancerName: wu_tang.name,
80
- * loadBalancerPort: 443,
81
- * policyNames: [wu_tang_ssl.policyName],
82
- * });
83
- * ```
84
- *
85
- * @deprecated aws.elasticloadbalancing.LoadBalancerPolicy has been deprecated in favor of aws.elb.LoadBalancerPolicy
86
- */
87
- class LoadBalancerPolicy extends pulumi.CustomResource {
88
- /**
89
- * Get an existing LoadBalancerPolicy resource's state with the given name, ID, and optional extra
90
- * properties used to qualify the lookup.
91
- *
92
- * @param name The _unique_ name of the resulting resource.
93
- * @param id The _unique_ provider ID of the resource to lookup.
94
- * @param state Any extra arguments used during the lookup.
95
- * @param opts Optional settings to control the behavior of the CustomResource.
96
- */
97
- static get(name, id, state, opts) {
98
- pulumi.log.warn("LoadBalancerPolicy is deprecated: aws.elasticloadbalancing.LoadBalancerPolicy has been deprecated in favor of aws.elb.LoadBalancerPolicy");
99
- return new LoadBalancerPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
100
- }
101
- /**
102
- * Returns true if the given object is an instance of LoadBalancerPolicy. This is designed to work even
103
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
104
- */
105
- static isInstance(obj) {
106
- if (obj === undefined || obj === null) {
107
- return false;
108
- }
109
- return obj['__pulumiType'] === LoadBalancerPolicy.__pulumiType;
110
- }
111
- /** @deprecated aws.elasticloadbalancing.LoadBalancerPolicy has been deprecated in favor of aws.elb.LoadBalancerPolicy */
112
- constructor(name, argsOrState, opts) {
113
- pulumi.log.warn("LoadBalancerPolicy is deprecated: aws.elasticloadbalancing.LoadBalancerPolicy has been deprecated in favor of aws.elb.LoadBalancerPolicy");
114
- let resourceInputs = {};
115
- opts = opts || {};
116
- if (opts.id) {
117
- const state = argsOrState;
118
- resourceInputs["loadBalancerName"] = state ? state.loadBalancerName : undefined;
119
- resourceInputs["policyAttributes"] = state ? state.policyAttributes : undefined;
120
- resourceInputs["policyName"] = state ? state.policyName : undefined;
121
- resourceInputs["policyTypeName"] = state ? state.policyTypeName : undefined;
122
- }
123
- else {
124
- const args = argsOrState;
125
- if ((!args || args.loadBalancerName === undefined) && !opts.urn) {
126
- throw new Error("Missing required property 'loadBalancerName'");
127
- }
128
- if ((!args || args.policyName === undefined) && !opts.urn) {
129
- throw new Error("Missing required property 'policyName'");
130
- }
131
- if ((!args || args.policyTypeName === undefined) && !opts.urn) {
132
- throw new Error("Missing required property 'policyTypeName'");
133
- }
134
- resourceInputs["loadBalancerName"] = args ? args.loadBalancerName : undefined;
135
- resourceInputs["policyAttributes"] = args ? args.policyAttributes : undefined;
136
- resourceInputs["policyName"] = args ? args.policyName : undefined;
137
- resourceInputs["policyTypeName"] = args ? args.policyTypeName : undefined;
138
- }
139
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
140
- super(LoadBalancerPolicy.__pulumiType, name, resourceInputs, opts);
141
- }
142
- }
143
- exports.LoadBalancerPolicy = LoadBalancerPolicy;
144
- /** @internal */
145
- LoadBalancerPolicy.__pulumiType = 'aws:elasticloadbalancing/loadBalancerPolicy:LoadBalancerPolicy';
146
- //# sourceMappingURL=loadBalancerPolicy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loadBalancerPolicy.js","sourceRoot":"","sources":["../../elasticloadbalancing/loadBalancerPolicy.ts"],"names":[],"mappings":"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"}
@@ -1,183 +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 SSL negotiation policy, which allows an ELB to control the ciphers and protocols that are supported during SSL negotiations between a client and a load balancer.
6
- *
7
- * ## Example Usage
8
- *
9
- * ```typescript
10
- * import * as pulumi from "@pulumi/pulumi";
11
- * import * as aws from "@pulumi/aws";
12
- *
13
- * const lb = new aws.elb.LoadBalancer("lb", {
14
- * availabilityZones: ["us-east-1a"],
15
- * listeners: [{
16
- * instancePort: 8000,
17
- * instanceProtocol: "https",
18
- * lbPort: 443,
19
- * lbProtocol: "https",
20
- * sslCertificateId: "arn:aws:iam::123456789012:server-certificate/certName",
21
- * }],
22
- * });
23
- * const foo = new aws.elb.SslNegotiationPolicy("foo", {
24
- * loadBalancer: lb.id,
25
- * lbPort: 443,
26
- * attributes: [
27
- * {
28
- * name: "Protocol-TLSv1",
29
- * value: "false",
30
- * },
31
- * {
32
- * name: "Protocol-TLSv1.1",
33
- * value: "false",
34
- * },
35
- * {
36
- * name: "Protocol-TLSv1.2",
37
- * value: "true",
38
- * },
39
- * {
40
- * name: "Server-Defined-Cipher-Order",
41
- * value: "true",
42
- * },
43
- * {
44
- * name: "ECDHE-RSA-AES128-GCM-SHA256",
45
- * value: "true",
46
- * },
47
- * {
48
- * name: "AES128-GCM-SHA256",
49
- * value: "true",
50
- * },
51
- * {
52
- * name: "EDH-RSA-DES-CBC3-SHA",
53
- * value: "false",
54
- * },
55
- * ],
56
- * });
57
- * ```
58
- *
59
- * @deprecated aws.elasticloadbalancing.SslNegotiationPolicy has been deprecated in favor of aws.elb.SslNegotiationPolicy
60
- */
61
- export declare class SslNegotiationPolicy extends pulumi.CustomResource {
62
- /**
63
- * Get an existing SslNegotiationPolicy resource's state with the given name, ID, and optional extra
64
- * properties used to qualify the lookup.
65
- *
66
- * @param name The _unique_ name of the resulting resource.
67
- * @param id The _unique_ provider ID of the resource to lookup.
68
- * @param state Any extra arguments used during the lookup.
69
- * @param opts Optional settings to control the behavior of the CustomResource.
70
- */
71
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SslNegotiationPolicyState, opts?: pulumi.CustomResourceOptions): SslNegotiationPolicy;
72
- /**
73
- * Returns true if the given object is an instance of SslNegotiationPolicy. This is designed to work even
74
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
75
- */
76
- static isInstance(obj: any): obj is SslNegotiationPolicy;
77
- /**
78
- * An SSL Negotiation policy attribute. Each has two properties:
79
- */
80
- readonly attributes: pulumi.Output<outputs.elasticloadbalancing.SslNegotiationPolicyAttribute[] | undefined>;
81
- /**
82
- * The load balancer port to which the policy
83
- * should be applied. This must be an active listener on the load
84
- * balancer.
85
- */
86
- readonly lbPort: pulumi.Output<number>;
87
- /**
88
- * The load balancer to which the policy
89
- * should be attached.
90
- */
91
- readonly loadBalancer: pulumi.Output<string>;
92
- /**
93
- * The name of the attribute
94
- */
95
- readonly name: pulumi.Output<string>;
96
- /**
97
- * Map of arbitrary keys and values that, when changed, will trigger a redeployment.
98
- *
99
- * To set your attributes, please see the [AWS Elastic Load Balancing Developer Guide](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-security-policy-table.html) for a listing of the supported SSL protocols, SSL options, and SSL ciphers.
100
- *
101
- * > **NOTE:** The AWS documentation references Server Order Preference, which the AWS Elastic Load Balancing API refers to as `Server-Defined-Cipher-Order`. If you wish to set Server Order Preference, use this value instead.
102
- */
103
- readonly triggers: pulumi.Output<{
104
- [key: string]: string;
105
- } | undefined>;
106
- /**
107
- * Create a SslNegotiationPolicy resource with the given unique name, arguments, and options.
108
- *
109
- * @param name The _unique_ name of the resource.
110
- * @param args The arguments to use to populate this resource's properties.
111
- * @param opts A bag of options that control this resource's behavior.
112
- */
113
- /** @deprecated aws.elasticloadbalancing.SslNegotiationPolicy has been deprecated in favor of aws.elb.SslNegotiationPolicy */
114
- constructor(name: string, args: SslNegotiationPolicyArgs, opts?: pulumi.CustomResourceOptions);
115
- }
116
- /**
117
- * Input properties used for looking up and filtering SslNegotiationPolicy resources.
118
- */
119
- export interface SslNegotiationPolicyState {
120
- /**
121
- * An SSL Negotiation policy attribute. Each has two properties:
122
- */
123
- attributes?: pulumi.Input<pulumi.Input<inputs.elasticloadbalancing.SslNegotiationPolicyAttribute>[]>;
124
- /**
125
- * The load balancer port to which the policy
126
- * should be applied. This must be an active listener on the load
127
- * balancer.
128
- */
129
- lbPort?: pulumi.Input<number>;
130
- /**
131
- * The load balancer to which the policy
132
- * should be attached.
133
- */
134
- loadBalancer?: pulumi.Input<string>;
135
- /**
136
- * The name of the attribute
137
- */
138
- name?: pulumi.Input<string>;
139
- /**
140
- * Map of arbitrary keys and values that, when changed, will trigger a redeployment.
141
- *
142
- * To set your attributes, please see the [AWS Elastic Load Balancing Developer Guide](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-security-policy-table.html) for a listing of the supported SSL protocols, SSL options, and SSL ciphers.
143
- *
144
- * > **NOTE:** The AWS documentation references Server Order Preference, which the AWS Elastic Load Balancing API refers to as `Server-Defined-Cipher-Order`. If you wish to set Server Order Preference, use this value instead.
145
- */
146
- triggers?: pulumi.Input<{
147
- [key: string]: pulumi.Input<string>;
148
- }>;
149
- }
150
- /**
151
- * The set of arguments for constructing a SslNegotiationPolicy resource.
152
- */
153
- export interface SslNegotiationPolicyArgs {
154
- /**
155
- * An SSL Negotiation policy attribute. Each has two properties:
156
- */
157
- attributes?: pulumi.Input<pulumi.Input<inputs.elasticloadbalancing.SslNegotiationPolicyAttribute>[]>;
158
- /**
159
- * The load balancer port to which the policy
160
- * should be applied. This must be an active listener on the load
161
- * balancer.
162
- */
163
- lbPort: pulumi.Input<number>;
164
- /**
165
- * The load balancer to which the policy
166
- * should be attached.
167
- */
168
- loadBalancer: pulumi.Input<string>;
169
- /**
170
- * The name of the attribute
171
- */
172
- name?: pulumi.Input<string>;
173
- /**
174
- * Map of arbitrary keys and values that, when changed, will trigger a redeployment.
175
- *
176
- * To set your attributes, please see the [AWS Elastic Load Balancing Developer Guide](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/elb-security-policy-table.html) for a listing of the supported SSL protocols, SSL options, and SSL ciphers.
177
- *
178
- * > **NOTE:** The AWS documentation references Server Order Preference, which the AWS Elastic Load Balancing API refers to as `Server-Defined-Cipher-Order`. If you wish to set Server Order Preference, use this value instead.
179
- */
180
- triggers?: pulumi.Input<{
181
- [key: string]: pulumi.Input<string>;
182
- }>;
183
- }
@@ -1,123 +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.SslNegotiationPolicy = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * Provides a load balancer SSL negotiation policy, which allows an ELB to control the ciphers and protocols that are supported during SSL negotiations between a client and a load balancer.
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: "https",
22
- * lbPort: 443,
23
- * lbProtocol: "https",
24
- * sslCertificateId: "arn:aws:iam::123456789012:server-certificate/certName",
25
- * }],
26
- * });
27
- * const foo = new aws.elb.SslNegotiationPolicy("foo", {
28
- * loadBalancer: lb.id,
29
- * lbPort: 443,
30
- * attributes: [
31
- * {
32
- * name: "Protocol-TLSv1",
33
- * value: "false",
34
- * },
35
- * {
36
- * name: "Protocol-TLSv1.1",
37
- * value: "false",
38
- * },
39
- * {
40
- * name: "Protocol-TLSv1.2",
41
- * value: "true",
42
- * },
43
- * {
44
- * name: "Server-Defined-Cipher-Order",
45
- * value: "true",
46
- * },
47
- * {
48
- * name: "ECDHE-RSA-AES128-GCM-SHA256",
49
- * value: "true",
50
- * },
51
- * {
52
- * name: "AES128-GCM-SHA256",
53
- * value: "true",
54
- * },
55
- * {
56
- * name: "EDH-RSA-DES-CBC3-SHA",
57
- * value: "false",
58
- * },
59
- * ],
60
- * });
61
- * ```
62
- *
63
- * @deprecated aws.elasticloadbalancing.SslNegotiationPolicy has been deprecated in favor of aws.elb.SslNegotiationPolicy
64
- */
65
- class SslNegotiationPolicy extends pulumi.CustomResource {
66
- /**
67
- * Get an existing SslNegotiationPolicy resource's state with the given name, ID, and optional extra
68
- * properties used to qualify the lookup.
69
- *
70
- * @param name The _unique_ name of the resulting resource.
71
- * @param id The _unique_ provider ID of the resource to lookup.
72
- * @param state Any extra arguments used during the lookup.
73
- * @param opts Optional settings to control the behavior of the CustomResource.
74
- */
75
- static get(name, id, state, opts) {
76
- pulumi.log.warn("SslNegotiationPolicy is deprecated: aws.elasticloadbalancing.SslNegotiationPolicy has been deprecated in favor of aws.elb.SslNegotiationPolicy");
77
- return new SslNegotiationPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
78
- }
79
- /**
80
- * Returns true if the given object is an instance of SslNegotiationPolicy. This is designed to work even
81
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
82
- */
83
- static isInstance(obj) {
84
- if (obj === undefined || obj === null) {
85
- return false;
86
- }
87
- return obj['__pulumiType'] === SslNegotiationPolicy.__pulumiType;
88
- }
89
- /** @deprecated aws.elasticloadbalancing.SslNegotiationPolicy has been deprecated in favor of aws.elb.SslNegotiationPolicy */
90
- constructor(name, argsOrState, opts) {
91
- pulumi.log.warn("SslNegotiationPolicy is deprecated: aws.elasticloadbalancing.SslNegotiationPolicy has been deprecated in favor of aws.elb.SslNegotiationPolicy");
92
- let resourceInputs = {};
93
- opts = opts || {};
94
- if (opts.id) {
95
- const state = argsOrState;
96
- resourceInputs["attributes"] = state ? state.attributes : undefined;
97
- resourceInputs["lbPort"] = state ? state.lbPort : undefined;
98
- resourceInputs["loadBalancer"] = state ? state.loadBalancer : undefined;
99
- resourceInputs["name"] = state ? state.name : undefined;
100
- resourceInputs["triggers"] = state ? state.triggers : undefined;
101
- }
102
- else {
103
- const args = argsOrState;
104
- if ((!args || args.lbPort === undefined) && !opts.urn) {
105
- throw new Error("Missing required property 'lbPort'");
106
- }
107
- if ((!args || args.loadBalancer === undefined) && !opts.urn) {
108
- throw new Error("Missing required property 'loadBalancer'");
109
- }
110
- resourceInputs["attributes"] = args ? args.attributes : undefined;
111
- resourceInputs["lbPort"] = args ? args.lbPort : undefined;
112
- resourceInputs["loadBalancer"] = args ? args.loadBalancer : undefined;
113
- resourceInputs["name"] = args ? args.name : undefined;
114
- resourceInputs["triggers"] = args ? args.triggers : undefined;
115
- }
116
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
117
- super(SslNegotiationPolicy.__pulumiType, name, resourceInputs, opts);
118
- }
119
- }
120
- exports.SslNegotiationPolicy = SslNegotiationPolicy;
121
- /** @internal */
122
- SslNegotiationPolicy.__pulumiType = 'aws:elasticloadbalancing/sslNegotiationPolicy:SslNegotiationPolicy';
123
- //# sourceMappingURL=sslNegotiationPolicy.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sslNegotiationPolicy.js","sourceRoot":"","sources":["../../elasticloadbalancing/sslNegotiationPolicy.ts"],"names":[],"mappings":"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"}
@@ -1,120 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as outputs from "../types/output";
3
- /**
4
- * > **Note:** `aws.alb.Listener` is known as `aws.lb.Listener`. The functionality is identical.
5
- *
6
- * Provides information about a Load Balancer Listener.
7
- *
8
- * This data source can prove useful when a module accepts an LB Listener as an input variable and needs to know the LB it is attached to, or other information specific to the listener in question.
9
- *
10
- * ## Example Usage
11
- *
12
- * ```typescript
13
- * import * as pulumi from "@pulumi/pulumi";
14
- * import * as aws from "@pulumi/aws";
15
- *
16
- * const config = new pulumi.Config();
17
- * const listenerArn = config.require("listenerArn");
18
- * const listener = aws.lb.getListener({
19
- * arn: listenerArn,
20
- * });
21
- * const selected = aws.lb.getLoadBalancer({
22
- * name: "default-public",
23
- * });
24
- * const selected443 = selected.then(selected => aws.lb.getListener({
25
- * loadBalancerArn: selected.arn,
26
- * port: 443,
27
- * }));
28
- * ```
29
- */
30
- /** @deprecated aws.elasticloadbalancingv2.getListener has been deprecated in favor of aws.lb.getListener */
31
- export declare function getListener(args?: GetListenerArgs, opts?: pulumi.InvokeOptions): Promise<GetListenerResult>;
32
- /**
33
- * A collection of arguments for invoking getListener.
34
- */
35
- export interface GetListenerArgs {
36
- /**
37
- * ARN of the listener. Required if `loadBalancerArn` and `port` is not set.
38
- */
39
- arn?: string;
40
- /**
41
- * ARN of the load balancer. Required if `arn` is not set.
42
- */
43
- loadBalancerArn?: string;
44
- /**
45
- * Port of the listener. Required if `arn` is not set.
46
- */
47
- port?: number;
48
- tags?: {
49
- [key: string]: string;
50
- };
51
- }
52
- /**
53
- * A collection of values returned by getListener.
54
- */
55
- export interface GetListenerResult {
56
- readonly alpnPolicy: string;
57
- readonly arn: string;
58
- readonly certificateArn: string;
59
- readonly defaultActions: outputs.elasticloadbalancingv2.GetListenerDefaultAction[];
60
- /**
61
- * The provider-assigned unique ID for this managed resource.
62
- */
63
- readonly id: string;
64
- readonly loadBalancerArn: string;
65
- readonly port: number;
66
- readonly protocol: string;
67
- readonly sslPolicy: string;
68
- readonly tags: {
69
- [key: string]: string;
70
- };
71
- }
72
- /**
73
- * > **Note:** `aws.alb.Listener` is known as `aws.lb.Listener`. The functionality is identical.
74
- *
75
- * Provides information about a Load Balancer Listener.
76
- *
77
- * This data source can prove useful when a module accepts an LB Listener as an input variable and needs to know the LB it is attached to, or other information specific to the listener in question.
78
- *
79
- * ## Example Usage
80
- *
81
- * ```typescript
82
- * import * as pulumi from "@pulumi/pulumi";
83
- * import * as aws from "@pulumi/aws";
84
- *
85
- * const config = new pulumi.Config();
86
- * const listenerArn = config.require("listenerArn");
87
- * const listener = aws.lb.getListener({
88
- * arn: listenerArn,
89
- * });
90
- * const selected = aws.lb.getLoadBalancer({
91
- * name: "default-public",
92
- * });
93
- * const selected443 = selected.then(selected => aws.lb.getListener({
94
- * loadBalancerArn: selected.arn,
95
- * port: 443,
96
- * }));
97
- * ```
98
- */
99
- /** @deprecated aws.elasticloadbalancingv2.getListener has been deprecated in favor of aws.lb.getListener */
100
- export declare function getListenerOutput(args?: GetListenerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetListenerResult>;
101
- /**
102
- * A collection of arguments for invoking getListener.
103
- */
104
- export interface GetListenerOutputArgs {
105
- /**
106
- * ARN of the listener. Required if `loadBalancerArn` and `port` is not set.
107
- */
108
- arn?: pulumi.Input<string>;
109
- /**
110
- * ARN of the load balancer. Required if `arn` is not set.
111
- */
112
- loadBalancerArn?: pulumi.Input<string>;
113
- /**
114
- * Port of the listener. Required if `arn` is not set.
115
- */
116
- port?: pulumi.Input<number>;
117
- tags?: pulumi.Input<{
118
- [key: string]: pulumi.Input<string>;
119
- }>;
120
- }
@@ -1,80 +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.getListenerOutput = exports.getListener = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * > **Note:** `aws.alb.Listener` is known as `aws.lb.Listener`. The functionality is identical.
10
- *
11
- * Provides information about a Load Balancer Listener.
12
- *
13
- * This data source can prove useful when a module accepts an LB Listener as an input variable and needs to know the LB it is attached to, or other information specific to the listener in question.
14
- *
15
- * ## Example Usage
16
- *
17
- * ```typescript
18
- * import * as pulumi from "@pulumi/pulumi";
19
- * import * as aws from "@pulumi/aws";
20
- *
21
- * const config = new pulumi.Config();
22
- * const listenerArn = config.require("listenerArn");
23
- * const listener = aws.lb.getListener({
24
- * arn: listenerArn,
25
- * });
26
- * const selected = aws.lb.getLoadBalancer({
27
- * name: "default-public",
28
- * });
29
- * const selected443 = selected.then(selected => aws.lb.getListener({
30
- * loadBalancerArn: selected.arn,
31
- * port: 443,
32
- * }));
33
- * ```
34
- */
35
- /** @deprecated aws.elasticloadbalancingv2.getListener has been deprecated in favor of aws.lb.getListener */
36
- function getListener(args, opts) {
37
- pulumi.log.warn("getListener is deprecated: aws.elasticloadbalancingv2.getListener has been deprecated in favor of aws.lb.getListener");
38
- args = args || {};
39
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
40
- return pulumi.runtime.invoke("aws:elasticloadbalancingv2/getListener:getListener", {
41
- "arn": args.arn,
42
- "loadBalancerArn": args.loadBalancerArn,
43
- "port": args.port,
44
- "tags": args.tags,
45
- }, opts);
46
- }
47
- exports.getListener = getListener;
48
- /**
49
- * > **Note:** `aws.alb.Listener` is known as `aws.lb.Listener`. The functionality is identical.
50
- *
51
- * Provides information about a Load Balancer Listener.
52
- *
53
- * This data source can prove useful when a module accepts an LB Listener as an input variable and needs to know the LB it is attached to, or other information specific to the listener in question.
54
- *
55
- * ## Example Usage
56
- *
57
- * ```typescript
58
- * import * as pulumi from "@pulumi/pulumi";
59
- * import * as aws from "@pulumi/aws";
60
- *
61
- * const config = new pulumi.Config();
62
- * const listenerArn = config.require("listenerArn");
63
- * const listener = aws.lb.getListener({
64
- * arn: listenerArn,
65
- * });
66
- * const selected = aws.lb.getLoadBalancer({
67
- * name: "default-public",
68
- * });
69
- * const selected443 = selected.then(selected => aws.lb.getListener({
70
- * loadBalancerArn: selected.arn,
71
- * port: 443,
72
- * }));
73
- * ```
74
- */
75
- /** @deprecated aws.elasticloadbalancingv2.getListener has been deprecated in favor of aws.lb.getListener */
76
- function getListenerOutput(args, opts) {
77
- return pulumi.output(args).apply((a) => getListener(a, opts));
78
- }
79
- exports.getListenerOutput = getListenerOutput;
80
- //# sourceMappingURL=getListener.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getListener.js","sourceRoot":"","sources":["../../elasticloadbalancingv2/getListener.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,4GAA4G;AAC5G,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,sHAAsH,CAAC,CAAA;IACvI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kCAWC;AAuCD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,4GAA4G;AAC5G,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}