@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.
- package/applicationloadbalancing/index.d.ts +0 -27
- package/applicationloadbalancing/index.js +1 -51
- package/applicationloadbalancing/index.js.map +1 -1
- package/appmesh/virtualGateway.d.ts +23 -2
- package/appmesh/virtualGateway.js +23 -2
- package/appmesh/virtualGateway.js.map +1 -1
- package/appmesh/virtualNode.d.ts +8 -8
- package/appmesh/virtualNode.js +8 -8
- package/appmesh/virtualRouter.d.ts +2 -2
- package/appmesh/virtualRouter.js +2 -2
- package/appsync/dataSource.d.ts +18 -18
- package/cloudtrail/index.d.ts +0 -3
- package/cloudtrail/index.js +1 -4
- package/cloudtrail/index.js.map +1 -1
- package/ec2/fleet.d.ts +5 -5
- package/ec2/fleet.js +6 -6
- package/ec2/fleet.js.map +1 -1
- package/ec2/index.d.ts +0 -3
- package/ec2/index.js +2 -7
- package/ec2/index.js.map +1 -1
- package/ec2/securityGroup.d.ts +14 -0
- package/ec2/securityGroup.js +14 -0
- package/ec2/securityGroup.js.map +1 -1
- package/fms/policy.d.ts +2 -0
- package/fms/policy.js +2 -0
- package/fms/policy.js.map +1 -1
- package/iam/{getOpenidConnectProvider.d.ts → getOpenIdConnectProvider.d.ts} +12 -12
- package/iam/{getOpenidConnectProvider.js → getOpenIdConnectProvider.js} +12 -12
- package/iam/{getOpenidConnectProvider.js.map → getOpenIdConnectProvider.js.map} +1 -1
- package/iam/index.d.ts +3 -3
- package/iam/index.js +4 -4
- package/iam/virtualMfaDevice.d.ts +22 -2
- package/iam/virtualMfaDevice.js +8 -0
- package/iam/virtualMfaDevice.js.map +1 -1
- package/index.d.ts +1 -21
- package/index.js +5 -27
- package/index.js.map +1 -1
- package/iot/topicRule.d.ts +35 -35
- package/iot/topicRule.js +16 -16
- package/iot/topicRule.js.map +1 -1
- package/kendra/dataSource.d.ts +32 -9
- package/kendra/dataSource.js +23 -0
- package/kendra/dataSource.js.map +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +89 -0
- package/kinesis/firehoseDeliveryStream.js +89 -0
- package/kinesis/firehoseDeliveryStream.js.map +1 -1
- package/opensearch/serverlessSecurityPolicy.d.ts +122 -8
- package/opensearch/serverlessSecurityPolicy.js +122 -8
- package/opensearch/serverlessSecurityPolicy.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/rds/instance.d.ts +0 -9
- package/rds/instance.js.map +1 -1
- package/securityhub/standardsControl.d.ts +3 -3
- package/ses/index.d.ts +0 -3
- package/ses/index.js +1 -6
- package/ses/index.js.map +1 -1
- package/ssm/getParameter.d.ts +1 -0
- package/ssm/getParameter.js.map +1 -1
- package/types/input.d.ts +1302 -2573
- package/types/output.d.ts +4459 -5933
- package/utils.d.ts +0 -1
- package/utils.js +0 -6
- package/utils.js.map +1 -1
- package/wafv2/getIpSet.d.ts +1 -1
- package/wafv2/ipSet.d.ts +3 -3
- package/wafv2/regexPatternSet.d.ts +3 -3
- package/applicationloadbalancing/getListener.d.ts +0 -120
- package/applicationloadbalancing/getListener.js +0 -80
- package/applicationloadbalancing/getListener.js.map +0 -1
- package/applicationloadbalancing/getLoadBalancer.d.ts +0 -133
- package/applicationloadbalancing/getLoadBalancer.js +0 -73
- package/applicationloadbalancing/getLoadBalancer.js.map +0 -1
- package/applicationloadbalancing/getTargetGroup.d.ts +0 -126
- package/applicationloadbalancing/getTargetGroup.js +0 -73
- package/applicationloadbalancing/getTargetGroup.js.map +0 -1
- package/applicationloadbalancing/listener.d.ts +0 -377
- package/applicationloadbalancing/listener.js +0 -276
- package/applicationloadbalancing/listener.js.map +0 -1
- package/applicationloadbalancing/listenerCertificate.d.ts +0 -96
- package/applicationloadbalancing/listenerCertificate.js +0 -95
- package/applicationloadbalancing/listenerCertificate.js.map +0 -1
- package/applicationloadbalancing/listenerRule.d.ts +0 -301
- package/applicationloadbalancing/listenerRule.js +0 -249
- package/applicationloadbalancing/listenerRule.js.map +0 -1
- package/applicationloadbalancing/loadBalancer.d.ts +0 -463
- package/applicationloadbalancing/loadBalancer.js +0 -201
- package/applicationloadbalancing/loadBalancer.js.map +0 -1
- package/applicationloadbalancing/targetGroup.d.ts +0 -402
- package/applicationloadbalancing/targetGroup.js +0 -161
- package/applicationloadbalancing/targetGroup.js.map +0 -1
- package/applicationloadbalancing/targetGroupAttachment.d.ts +0 -142
- package/applicationloadbalancing/targetGroupAttachment.js +0 -115
- package/applicationloadbalancing/targetGroupAttachment.js.map +0 -1
- package/awsMixins.d.ts +0 -21
- package/awsMixins.js +0 -40
- package/awsMixins.js.map +0 -1
- package/cloudtrail/getFunction.d.ts +0 -102
- package/cloudtrail/getFunction.js +0 -55
- package/cloudtrail/getFunction.js.map +0 -1
- package/ec2/transitGatewayPeeringAttachmentAccepter.d.ts +0 -132
- package/ec2/transitGatewayPeeringAttachmentAccepter.js +0 -94
- package/ec2/transitGatewayPeeringAttachmentAccepter.js.map +0 -1
- package/elasticloadbalancing/appCookieStickinessPolicy.d.ts +0 -129
- package/elasticloadbalancing/appCookieStickinessPolicy.js +0 -102
- package/elasticloadbalancing/appCookieStickinessPolicy.js.map +0 -1
- package/elasticloadbalancing/attachment.d.ts +0 -86
- package/elasticloadbalancing/attachment.js +0 -85
- package/elasticloadbalancing/attachment.js.map +0 -1
- package/elasticloadbalancing/getHostedZoneId.d.ts +0 -81
- package/elasticloadbalancing/getHostedZoneId.js +0 -69
- package/elasticloadbalancing/getHostedZoneId.js.map +0 -1
- package/elasticloadbalancing/getLoadBalancer.d.ts +0 -105
- package/elasticloadbalancing/getLoadBalancer.js +0 -67
- package/elasticloadbalancing/getLoadBalancer.js.map +0 -1
- package/elasticloadbalancing/getServiceAccount.d.ts +0 -135
- package/elasticloadbalancing/getServiceAccount.js +0 -119
- package/elasticloadbalancing/getServiceAccount.js.map +0 -1
- package/elasticloadbalancing/index.d.ts +0 -33
- package/elasticloadbalancing/index.js +0 -66
- package/elasticloadbalancing/index.js.map +0 -1
- package/elasticloadbalancing/listenerPolicy.d.ts +0 -176
- package/elasticloadbalancing/listenerPolicy.js +0 -149
- package/elasticloadbalancing/listenerPolicy.js.map +0 -1
- package/elasticloadbalancing/loadBalancer.d.ts +0 -398
- package/elasticloadbalancing/loadBalancer.js +0 -177
- package/elasticloadbalancing/loadBalancer.js.map +0 -1
- package/elasticloadbalancing/loadBalancerBackendServerPolicy.d.ts +0 -123
- package/elasticloadbalancing/loadBalancerBackendServerPolicy.js +0 -112
- package/elasticloadbalancing/loadBalancerBackendServerPolicy.js.map +0 -1
- package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.d.ts +0 -124
- package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.js +0 -91
- package/elasticloadbalancing/loadBalancerCookieStickinessPolicy.js.map +0 -1
- package/elasticloadbalancing/loadBalancerPolicy.d.ts +0 -166
- package/elasticloadbalancing/loadBalancerPolicy.js +0 -146
- package/elasticloadbalancing/loadBalancerPolicy.js.map +0 -1
- package/elasticloadbalancing/sslNegotiationPolicy.d.ts +0 -183
- package/elasticloadbalancing/sslNegotiationPolicy.js +0 -123
- package/elasticloadbalancing/sslNegotiationPolicy.js.map +0 -1
- package/elasticloadbalancingv2/getListener.d.ts +0 -120
- package/elasticloadbalancingv2/getListener.js +0 -80
- package/elasticloadbalancingv2/getListener.js.map +0 -1
- package/elasticloadbalancingv2/getLoadBalancer.d.ts +0 -133
- package/elasticloadbalancingv2/getLoadBalancer.js +0 -73
- package/elasticloadbalancingv2/getLoadBalancer.js.map +0 -1
- package/elasticloadbalancingv2/getTargetGroup.d.ts +0 -126
- package/elasticloadbalancingv2/getTargetGroup.js +0 -73
- package/elasticloadbalancingv2/getTargetGroup.js.map +0 -1
- package/elasticloadbalancingv2/index.d.ts +0 -27
- package/elasticloadbalancingv2/index.js +0 -56
- package/elasticloadbalancingv2/index.js.map +0 -1
- package/elasticloadbalancingv2/listener.d.ts +0 -377
- package/elasticloadbalancingv2/listener.js +0 -276
- package/elasticloadbalancingv2/listener.js.map +0 -1
- package/elasticloadbalancingv2/listenerCertificate.d.ts +0 -96
- package/elasticloadbalancingv2/listenerCertificate.js +0 -95
- package/elasticloadbalancingv2/listenerCertificate.js.map +0 -1
- package/elasticloadbalancingv2/listenerRule.d.ts +0 -301
- package/elasticloadbalancingv2/listenerRule.js +0 -249
- package/elasticloadbalancingv2/listenerRule.js.map +0 -1
- package/elasticloadbalancingv2/loadBalancer.d.ts +0 -462
- package/elasticloadbalancingv2/loadBalancer.js +0 -201
- package/elasticloadbalancingv2/loadBalancer.js.map +0 -1
- package/elasticloadbalancingv2/targetGroup.d.ts +0 -402
- package/elasticloadbalancingv2/targetGroup.js +0 -161
- package/elasticloadbalancingv2/targetGroup.js.map +0 -1
- package/elasticloadbalancingv2/targetGroupAttachment.d.ts +0 -142
- package/elasticloadbalancingv2/targetGroupAttachment.js +0 -115
- package/elasticloadbalancingv2/targetGroupAttachment.js.map +0 -1
- package/getAmi.d.ts +0 -331
- package/getAmi.js +0 -93
- package/getAmi.js.map +0 -1
- package/getAmiIds.d.ts +0 -135
- package/getAmiIds.js +0 -63
- package/getAmiIds.js.map +0 -1
- package/getAutoscalingGroups.d.ts +0 -119
- package/getAutoscalingGroups.js +0 -92
- package/getAutoscalingGroups.js.map +0 -1
- package/getCanonicalUserId.d.ts +0 -32
- package/getCanonicalUserId.js +0 -31
- package/getCanonicalUserId.js.map +0 -1
- package/getElasticIp.d.ts +0 -221
- package/getElasticIp.js +0 -126
- package/getElasticIp.js.map +0 -1
- package/getPrefixList.d.ts +0 -160
- package/getPrefixList.js +0 -125
- package/getPrefixList.js.map +0 -1
- package/ses/confgurationSet.d.ts +0 -153
- package/ses/confgurationSet.js +0 -96
- package/ses/confgurationSet.js.map +0 -1
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Attaches a load balancer policy to an ELB Listener.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
* ### Custom Policy
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as aws from "@pulumi/aws";
|
|
11
|
-
*
|
|
12
|
-
* const wu_tang = new aws.elb.LoadBalancer("wu-tang", {
|
|
13
|
-
* availabilityZones: ["us-east-1a"],
|
|
14
|
-
* listeners: [{
|
|
15
|
-
* instancePort: 443,
|
|
16
|
-
* instanceProtocol: "http",
|
|
17
|
-
* lbPort: 443,
|
|
18
|
-
* lbProtocol: "https",
|
|
19
|
-
* sslCertificateId: "arn:aws:iam::000000000000:server-certificate/wu-tang.net",
|
|
20
|
-
* }],
|
|
21
|
-
* tags: {
|
|
22
|
-
* Name: "wu-tang",
|
|
23
|
-
* },
|
|
24
|
-
* });
|
|
25
|
-
* const wu_tang_ssl = new aws.elb.LoadBalancerPolicy("wu-tang-ssl", {
|
|
26
|
-
* loadBalancerName: wu_tang.name,
|
|
27
|
-
* policyName: "wu-tang-ssl",
|
|
28
|
-
* policyTypeName: "SSLNegotiationPolicyType",
|
|
29
|
-
* policyAttributes: [
|
|
30
|
-
* {
|
|
31
|
-
* name: "ECDHE-ECDSA-AES128-GCM-SHA256",
|
|
32
|
-
* value: "true",
|
|
33
|
-
* },
|
|
34
|
-
* {
|
|
35
|
-
* name: "Protocol-TLSv1.2",
|
|
36
|
-
* value: "true",
|
|
37
|
-
* },
|
|
38
|
-
* ],
|
|
39
|
-
* });
|
|
40
|
-
* const wu_tang_listener_policies_443 = new aws.elb.ListenerPolicy("wu-tang-listener-policies-443", {
|
|
41
|
-
* loadBalancerName: wu_tang.name,
|
|
42
|
-
* loadBalancerPort: 443,
|
|
43
|
-
* policyNames: [wu_tang_ssl.policyName],
|
|
44
|
-
* });
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* This example shows how to customize the TLS settings of an HTTPS listener.
|
|
48
|
-
* ### AWS Predefined Security Policy
|
|
49
|
-
*
|
|
50
|
-
* ```typescript
|
|
51
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
52
|
-
* import * as aws from "@pulumi/aws";
|
|
53
|
-
*
|
|
54
|
-
* const wu_tang = new aws.elb.LoadBalancer("wu-tang", {
|
|
55
|
-
* availabilityZones: ["us-east-1a"],
|
|
56
|
-
* listeners: [{
|
|
57
|
-
* instancePort: 443,
|
|
58
|
-
* instanceProtocol: "http",
|
|
59
|
-
* lbPort: 443,
|
|
60
|
-
* lbProtocol: "https",
|
|
61
|
-
* sslCertificateId: "arn:aws:iam::000000000000:server-certificate/wu-tang.net",
|
|
62
|
-
* }],
|
|
63
|
-
* tags: {
|
|
64
|
-
* Name: "wu-tang",
|
|
65
|
-
* },
|
|
66
|
-
* });
|
|
67
|
-
* const wu_tang_ssl_tls_1_1 = new aws.elb.LoadBalancerPolicy("wu-tang-ssl-tls-1-1", {
|
|
68
|
-
* loadBalancerName: wu_tang.name,
|
|
69
|
-
* policyName: "wu-tang-ssl",
|
|
70
|
-
* policyTypeName: "SSLNegotiationPolicyType",
|
|
71
|
-
* policyAttributes: [{
|
|
72
|
-
* name: "Reference-Security-Policy",
|
|
73
|
-
* value: "ELBSecurityPolicy-TLS-1-1-2017-01",
|
|
74
|
-
* }],
|
|
75
|
-
* });
|
|
76
|
-
* const wu_tang_listener_policies_443 = new aws.elb.ListenerPolicy("wu-tang-listener-policies-443", {
|
|
77
|
-
* loadBalancerName: wu_tang.name,
|
|
78
|
-
* loadBalancerPort: 443,
|
|
79
|
-
* policyNames: [wu_tang_ssl_tls_1_1.policyName],
|
|
80
|
-
* });
|
|
81
|
-
* ```
|
|
82
|
-
*
|
|
83
|
-
* This example shows how to add a [Predefined Security Policy for ELBs](https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-policy-table.html)
|
|
84
|
-
*
|
|
85
|
-
* @deprecated aws.elasticloadbalancing.ListenerPolicy has been deprecated in favor of aws.elb.ListenerPolicy
|
|
86
|
-
*/
|
|
87
|
-
export declare class ListenerPolicy extends pulumi.CustomResource {
|
|
88
|
-
/**
|
|
89
|
-
* Get an existing ListenerPolicy 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: string, id: pulumi.Input<pulumi.ID>, state?: ListenerPolicyState, opts?: pulumi.CustomResourceOptions): ListenerPolicy;
|
|
98
|
-
/**
|
|
99
|
-
* Returns true if the given object is an instance of ListenerPolicy. This is designed to work even
|
|
100
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
101
|
-
*/
|
|
102
|
-
static isInstance(obj: any): obj is ListenerPolicy;
|
|
103
|
-
/**
|
|
104
|
-
* The load balancer to attach the policy to.
|
|
105
|
-
*/
|
|
106
|
-
readonly loadBalancerName: pulumi.Output<string>;
|
|
107
|
-
/**
|
|
108
|
-
* The load balancer listener port to apply the policy to.
|
|
109
|
-
*/
|
|
110
|
-
readonly loadBalancerPort: pulumi.Output<number>;
|
|
111
|
-
/**
|
|
112
|
-
* List of Policy Names to apply to the backend server.
|
|
113
|
-
*/
|
|
114
|
-
readonly policyNames: pulumi.Output<string[] | undefined>;
|
|
115
|
-
/**
|
|
116
|
-
* Map of arbitrary keys and values that, when changed, will trigger an update.
|
|
117
|
-
*/
|
|
118
|
-
readonly triggers: pulumi.Output<{
|
|
119
|
-
[key: string]: string;
|
|
120
|
-
} | undefined>;
|
|
121
|
-
/**
|
|
122
|
-
* Create a ListenerPolicy resource with the given unique name, arguments, and options.
|
|
123
|
-
*
|
|
124
|
-
* @param name The _unique_ name of the resource.
|
|
125
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
126
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
127
|
-
*/
|
|
128
|
-
/** @deprecated aws.elasticloadbalancing.ListenerPolicy has been deprecated in favor of aws.elb.ListenerPolicy */
|
|
129
|
-
constructor(name: string, args: ListenerPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* Input properties used for looking up and filtering ListenerPolicy resources.
|
|
133
|
-
*/
|
|
134
|
-
export interface ListenerPolicyState {
|
|
135
|
-
/**
|
|
136
|
-
* The load balancer to attach the policy to.
|
|
137
|
-
*/
|
|
138
|
-
loadBalancerName?: pulumi.Input<string>;
|
|
139
|
-
/**
|
|
140
|
-
* The load balancer listener port to apply the policy to.
|
|
141
|
-
*/
|
|
142
|
-
loadBalancerPort?: pulumi.Input<number>;
|
|
143
|
-
/**
|
|
144
|
-
* List of Policy Names to apply to the backend server.
|
|
145
|
-
*/
|
|
146
|
-
policyNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
147
|
-
/**
|
|
148
|
-
* Map of arbitrary keys and values that, when changed, will trigger an update.
|
|
149
|
-
*/
|
|
150
|
-
triggers?: pulumi.Input<{
|
|
151
|
-
[key: string]: pulumi.Input<string>;
|
|
152
|
-
}>;
|
|
153
|
-
}
|
|
154
|
-
/**
|
|
155
|
-
* The set of arguments for constructing a ListenerPolicy resource.
|
|
156
|
-
*/
|
|
157
|
-
export interface ListenerPolicyArgs {
|
|
158
|
-
/**
|
|
159
|
-
* The load balancer to attach the policy to.
|
|
160
|
-
*/
|
|
161
|
-
loadBalancerName: pulumi.Input<string>;
|
|
162
|
-
/**
|
|
163
|
-
* The load balancer listener port to apply the policy to.
|
|
164
|
-
*/
|
|
165
|
-
loadBalancerPort: pulumi.Input<number>;
|
|
166
|
-
/**
|
|
167
|
-
* List of Policy Names to apply to the backend server.
|
|
168
|
-
*/
|
|
169
|
-
policyNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
170
|
-
/**
|
|
171
|
-
* Map of arbitrary keys and values that, when changed, will trigger an update.
|
|
172
|
-
*/
|
|
173
|
-
triggers?: pulumi.Input<{
|
|
174
|
-
[key: string]: pulumi.Input<string>;
|
|
175
|
-
}>;
|
|
176
|
-
}
|
|
@@ -1,149 +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.ListenerPolicy = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Attaches a load balancer policy to an ELB Listener.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
* ### Custom Policy
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as aws from "@pulumi/aws";
|
|
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_ssl = new aws.elb.LoadBalancerPolicy("wu-tang-ssl", {
|
|
32
|
-
* loadBalancerName: wu_tang.name,
|
|
33
|
-
* policyName: "wu-tang-ssl",
|
|
34
|
-
* policyTypeName: "SSLNegotiationPolicyType",
|
|
35
|
-
* policyAttributes: [
|
|
36
|
-
* {
|
|
37
|
-
* name: "ECDHE-ECDSA-AES128-GCM-SHA256",
|
|
38
|
-
* value: "true",
|
|
39
|
-
* },
|
|
40
|
-
* {
|
|
41
|
-
* name: "Protocol-TLSv1.2",
|
|
42
|
-
* value: "true",
|
|
43
|
-
* },
|
|
44
|
-
* ],
|
|
45
|
-
* });
|
|
46
|
-
* const wu_tang_listener_policies_443 = new aws.elb.ListenerPolicy("wu-tang-listener-policies-443", {
|
|
47
|
-
* loadBalancerName: wu_tang.name,
|
|
48
|
-
* loadBalancerPort: 443,
|
|
49
|
-
* policyNames: [wu_tang_ssl.policyName],
|
|
50
|
-
* });
|
|
51
|
-
* ```
|
|
52
|
-
*
|
|
53
|
-
* This example shows how to customize the TLS settings of an HTTPS listener.
|
|
54
|
-
* ### AWS Predefined Security Policy
|
|
55
|
-
*
|
|
56
|
-
* ```typescript
|
|
57
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
-
* import * as aws from "@pulumi/aws";
|
|
59
|
-
*
|
|
60
|
-
* const wu_tang = new aws.elb.LoadBalancer("wu-tang", {
|
|
61
|
-
* availabilityZones: ["us-east-1a"],
|
|
62
|
-
* listeners: [{
|
|
63
|
-
* instancePort: 443,
|
|
64
|
-
* instanceProtocol: "http",
|
|
65
|
-
* lbPort: 443,
|
|
66
|
-
* lbProtocol: "https",
|
|
67
|
-
* sslCertificateId: "arn:aws:iam::000000000000:server-certificate/wu-tang.net",
|
|
68
|
-
* }],
|
|
69
|
-
* tags: {
|
|
70
|
-
* Name: "wu-tang",
|
|
71
|
-
* },
|
|
72
|
-
* });
|
|
73
|
-
* const wu_tang_ssl_tls_1_1 = new aws.elb.LoadBalancerPolicy("wu-tang-ssl-tls-1-1", {
|
|
74
|
-
* loadBalancerName: wu_tang.name,
|
|
75
|
-
* policyName: "wu-tang-ssl",
|
|
76
|
-
* policyTypeName: "SSLNegotiationPolicyType",
|
|
77
|
-
* policyAttributes: [{
|
|
78
|
-
* name: "Reference-Security-Policy",
|
|
79
|
-
* value: "ELBSecurityPolicy-TLS-1-1-2017-01",
|
|
80
|
-
* }],
|
|
81
|
-
* });
|
|
82
|
-
* const wu_tang_listener_policies_443 = new aws.elb.ListenerPolicy("wu-tang-listener-policies-443", {
|
|
83
|
-
* loadBalancerName: wu_tang.name,
|
|
84
|
-
* loadBalancerPort: 443,
|
|
85
|
-
* policyNames: [wu_tang_ssl_tls_1_1.policyName],
|
|
86
|
-
* });
|
|
87
|
-
* ```
|
|
88
|
-
*
|
|
89
|
-
* This example shows how to add a [Predefined Security Policy for ELBs](https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-security-policy-table.html)
|
|
90
|
-
*
|
|
91
|
-
* @deprecated aws.elasticloadbalancing.ListenerPolicy has been deprecated in favor of aws.elb.ListenerPolicy
|
|
92
|
-
*/
|
|
93
|
-
class ListenerPolicy extends pulumi.CustomResource {
|
|
94
|
-
/**
|
|
95
|
-
* Get an existing ListenerPolicy resource's state with the given name, ID, and optional extra
|
|
96
|
-
* properties used to qualify the lookup.
|
|
97
|
-
*
|
|
98
|
-
* @param name The _unique_ name of the resulting resource.
|
|
99
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
100
|
-
* @param state Any extra arguments used during the lookup.
|
|
101
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
102
|
-
*/
|
|
103
|
-
static get(name, id, state, opts) {
|
|
104
|
-
pulumi.log.warn("ListenerPolicy is deprecated: aws.elasticloadbalancing.ListenerPolicy has been deprecated in favor of aws.elb.ListenerPolicy");
|
|
105
|
-
return new ListenerPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Returns true if the given object is an instance of ListenerPolicy. This is designed to work even
|
|
109
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
110
|
-
*/
|
|
111
|
-
static isInstance(obj) {
|
|
112
|
-
if (obj === undefined || obj === null) {
|
|
113
|
-
return false;
|
|
114
|
-
}
|
|
115
|
-
return obj['__pulumiType'] === ListenerPolicy.__pulumiType;
|
|
116
|
-
}
|
|
117
|
-
/** @deprecated aws.elasticloadbalancing.ListenerPolicy has been deprecated in favor of aws.elb.ListenerPolicy */
|
|
118
|
-
constructor(name, argsOrState, opts) {
|
|
119
|
-
pulumi.log.warn("ListenerPolicy is deprecated: aws.elasticloadbalancing.ListenerPolicy has been deprecated in favor of aws.elb.ListenerPolicy");
|
|
120
|
-
let resourceInputs = {};
|
|
121
|
-
opts = opts || {};
|
|
122
|
-
if (opts.id) {
|
|
123
|
-
const state = argsOrState;
|
|
124
|
-
resourceInputs["loadBalancerName"] = state ? state.loadBalancerName : undefined;
|
|
125
|
-
resourceInputs["loadBalancerPort"] = state ? state.loadBalancerPort : undefined;
|
|
126
|
-
resourceInputs["policyNames"] = state ? state.policyNames : undefined;
|
|
127
|
-
resourceInputs["triggers"] = state ? state.triggers : undefined;
|
|
128
|
-
}
|
|
129
|
-
else {
|
|
130
|
-
const args = argsOrState;
|
|
131
|
-
if ((!args || args.loadBalancerName === undefined) && !opts.urn) {
|
|
132
|
-
throw new Error("Missing required property 'loadBalancerName'");
|
|
133
|
-
}
|
|
134
|
-
if ((!args || args.loadBalancerPort === undefined) && !opts.urn) {
|
|
135
|
-
throw new Error("Missing required property 'loadBalancerPort'");
|
|
136
|
-
}
|
|
137
|
-
resourceInputs["loadBalancerName"] = args ? args.loadBalancerName : undefined;
|
|
138
|
-
resourceInputs["loadBalancerPort"] = args ? args.loadBalancerPort : undefined;
|
|
139
|
-
resourceInputs["policyNames"] = args ? args.policyNames : undefined;
|
|
140
|
-
resourceInputs["triggers"] = args ? args.triggers : undefined;
|
|
141
|
-
}
|
|
142
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
143
|
-
super(ListenerPolicy.__pulumiType, name, resourceInputs, opts);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
exports.ListenerPolicy = ListenerPolicy;
|
|
147
|
-
/** @internal */
|
|
148
|
-
ListenerPolicy.__pulumiType = 'aws:elasticloadbalancing/listenerPolicy:ListenerPolicy';
|
|
149
|
-
//# sourceMappingURL=listenerPolicy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listenerPolicy.js","sourceRoot":"","sources":["../../elasticloadbalancing/listenerPolicy.ts"],"names":[],"mappings":"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"}
|