@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,123 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Attaches a load balancer policy to an ELB backend server.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as aws from "@pulumi/aws";
|
|
10
|
-
* import * as fs from "fs";
|
|
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_ca_pubkey_policy = new aws.elb.LoadBalancerPolicy("wu-tang-ca-pubkey-policy", {
|
|
26
|
-
* loadBalancerName: wu_tang.name,
|
|
27
|
-
* policyName: "wu-tang-ca-pubkey-policy",
|
|
28
|
-
* policyTypeName: "PublicKeyPolicyType",
|
|
29
|
-
* policyAttributes: [{
|
|
30
|
-
* name: "PublicKey",
|
|
31
|
-
* value: fs.readFileSync("wu-tang-pubkey"),
|
|
32
|
-
* }],
|
|
33
|
-
* });
|
|
34
|
-
* const wu_tang_root_ca_backend_auth_policy = new aws.elb.LoadBalancerPolicy("wu-tang-root-ca-backend-auth-policy", {
|
|
35
|
-
* loadBalancerName: wu_tang.name,
|
|
36
|
-
* policyName: "wu-tang-root-ca-backend-auth-policy",
|
|
37
|
-
* policyTypeName: "BackendServerAuthenticationPolicyType",
|
|
38
|
-
* policyAttributes: [{
|
|
39
|
-
* name: "PublicKeyPolicyName",
|
|
40
|
-
* value: aws_load_balancer_policy["wu-tang-root-ca-pubkey-policy"].policy_name,
|
|
41
|
-
* }],
|
|
42
|
-
* });
|
|
43
|
-
* const wu_tang_backend_auth_policies_443 = new aws.elb.LoadBalancerBackendServerPolicy("wu-tang-backend-auth-policies-443", {
|
|
44
|
-
* loadBalancerName: wu_tang.name,
|
|
45
|
-
* instancePort: 443,
|
|
46
|
-
* policyNames: [wu_tang_root_ca_backend_auth_policy.policyName],
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @deprecated aws.elasticloadbalancing.LoadBalancerBackendServerPolicy has been deprecated in favor of aws.elb.LoadBalancerBackendServerPolicy
|
|
51
|
-
*/
|
|
52
|
-
export declare class LoadBalancerBackendServerPolicy extends pulumi.CustomResource {
|
|
53
|
-
/**
|
|
54
|
-
* Get an existing LoadBalancerBackendServerPolicy resource's state with the given name, ID, and optional extra
|
|
55
|
-
* properties used to qualify the lookup.
|
|
56
|
-
*
|
|
57
|
-
* @param name The _unique_ name of the resulting resource.
|
|
58
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
59
|
-
* @param state Any extra arguments used during the lookup.
|
|
60
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
61
|
-
*/
|
|
62
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LoadBalancerBackendServerPolicyState, opts?: pulumi.CustomResourceOptions): LoadBalancerBackendServerPolicy;
|
|
63
|
-
/**
|
|
64
|
-
* Returns true if the given object is an instance of LoadBalancerBackendServerPolicy. This is designed to work even
|
|
65
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
-
*/
|
|
67
|
-
static isInstance(obj: any): obj is LoadBalancerBackendServerPolicy;
|
|
68
|
-
/**
|
|
69
|
-
* The instance port to apply the policy to.
|
|
70
|
-
*/
|
|
71
|
-
readonly instancePort: pulumi.Output<number>;
|
|
72
|
-
/**
|
|
73
|
-
* The load balancer to attach the policy to.
|
|
74
|
-
*/
|
|
75
|
-
readonly loadBalancerName: pulumi.Output<string>;
|
|
76
|
-
/**
|
|
77
|
-
* List of Policy Names to apply to the backend server.
|
|
78
|
-
*/
|
|
79
|
-
readonly policyNames: pulumi.Output<string[] | undefined>;
|
|
80
|
-
/**
|
|
81
|
-
* Create a LoadBalancerBackendServerPolicy resource with the given unique name, arguments, and options.
|
|
82
|
-
*
|
|
83
|
-
* @param name The _unique_ name of the resource.
|
|
84
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
85
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
86
|
-
*/
|
|
87
|
-
/** @deprecated aws.elasticloadbalancing.LoadBalancerBackendServerPolicy has been deprecated in favor of aws.elb.LoadBalancerBackendServerPolicy */
|
|
88
|
-
constructor(name: string, args: LoadBalancerBackendServerPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Input properties used for looking up and filtering LoadBalancerBackendServerPolicy resources.
|
|
92
|
-
*/
|
|
93
|
-
export interface LoadBalancerBackendServerPolicyState {
|
|
94
|
-
/**
|
|
95
|
-
* The instance port to apply the policy to.
|
|
96
|
-
*/
|
|
97
|
-
instancePort?: pulumi.Input<number>;
|
|
98
|
-
/**
|
|
99
|
-
* The load balancer to attach the policy to.
|
|
100
|
-
*/
|
|
101
|
-
loadBalancerName?: pulumi.Input<string>;
|
|
102
|
-
/**
|
|
103
|
-
* List of Policy Names to apply to the backend server.
|
|
104
|
-
*/
|
|
105
|
-
policyNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* The set of arguments for constructing a LoadBalancerBackendServerPolicy resource.
|
|
109
|
-
*/
|
|
110
|
-
export interface LoadBalancerBackendServerPolicyArgs {
|
|
111
|
-
/**
|
|
112
|
-
* The instance port to apply the policy to.
|
|
113
|
-
*/
|
|
114
|
-
instancePort: pulumi.Input<number>;
|
|
115
|
-
/**
|
|
116
|
-
* The load balancer to attach the policy to.
|
|
117
|
-
*/
|
|
118
|
-
loadBalancerName: pulumi.Input<string>;
|
|
119
|
-
/**
|
|
120
|
-
* List of Policy Names to apply to the backend server.
|
|
121
|
-
*/
|
|
122
|
-
policyNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
123
|
-
}
|
|
@@ -1,112 +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.LoadBalancerBackendServerPolicy = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Attaches a load balancer policy to an ELB 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_backend_auth_policies_443 = new aws.elb.LoadBalancerBackendServerPolicy("wu-tang-backend-auth-policies-443", {
|
|
50
|
-
* loadBalancerName: wu_tang.name,
|
|
51
|
-
* instancePort: 443,
|
|
52
|
-
* policyNames: [wu_tang_root_ca_backend_auth_policy.policyName],
|
|
53
|
-
* });
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* @deprecated aws.elasticloadbalancing.LoadBalancerBackendServerPolicy has been deprecated in favor of aws.elb.LoadBalancerBackendServerPolicy
|
|
57
|
-
*/
|
|
58
|
-
class LoadBalancerBackendServerPolicy extends pulumi.CustomResource {
|
|
59
|
-
/**
|
|
60
|
-
* Get an existing LoadBalancerBackendServerPolicy resource's state with the given name, ID, and optional extra
|
|
61
|
-
* properties used to qualify the lookup.
|
|
62
|
-
*
|
|
63
|
-
* @param name The _unique_ name of the resulting resource.
|
|
64
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
65
|
-
* @param state Any extra arguments used during the lookup.
|
|
66
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
67
|
-
*/
|
|
68
|
-
static get(name, id, state, opts) {
|
|
69
|
-
pulumi.log.warn("LoadBalancerBackendServerPolicy is deprecated: aws.elasticloadbalancing.LoadBalancerBackendServerPolicy has been deprecated in favor of aws.elb.LoadBalancerBackendServerPolicy");
|
|
70
|
-
return new LoadBalancerBackendServerPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Returns true if the given object is an instance of LoadBalancerBackendServerPolicy. 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) {
|
|
77
|
-
if (obj === undefined || obj === null) {
|
|
78
|
-
return false;
|
|
79
|
-
}
|
|
80
|
-
return obj['__pulumiType'] === LoadBalancerBackendServerPolicy.__pulumiType;
|
|
81
|
-
}
|
|
82
|
-
/** @deprecated aws.elasticloadbalancing.LoadBalancerBackendServerPolicy has been deprecated in favor of aws.elb.LoadBalancerBackendServerPolicy */
|
|
83
|
-
constructor(name, argsOrState, opts) {
|
|
84
|
-
pulumi.log.warn("LoadBalancerBackendServerPolicy is deprecated: aws.elasticloadbalancing.LoadBalancerBackendServerPolicy has been deprecated in favor of aws.elb.LoadBalancerBackendServerPolicy");
|
|
85
|
-
let resourceInputs = {};
|
|
86
|
-
opts = opts || {};
|
|
87
|
-
if (opts.id) {
|
|
88
|
-
const state = argsOrState;
|
|
89
|
-
resourceInputs["instancePort"] = state ? state.instancePort : undefined;
|
|
90
|
-
resourceInputs["loadBalancerName"] = state ? state.loadBalancerName : undefined;
|
|
91
|
-
resourceInputs["policyNames"] = state ? state.policyNames : undefined;
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
const args = argsOrState;
|
|
95
|
-
if ((!args || args.instancePort === undefined) && !opts.urn) {
|
|
96
|
-
throw new Error("Missing required property 'instancePort'");
|
|
97
|
-
}
|
|
98
|
-
if ((!args || args.loadBalancerName === undefined) && !opts.urn) {
|
|
99
|
-
throw new Error("Missing required property 'loadBalancerName'");
|
|
100
|
-
}
|
|
101
|
-
resourceInputs["instancePort"] = args ? args.instancePort : undefined;
|
|
102
|
-
resourceInputs["loadBalancerName"] = args ? args.loadBalancerName : undefined;
|
|
103
|
-
resourceInputs["policyNames"] = args ? args.policyNames : undefined;
|
|
104
|
-
}
|
|
105
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
106
|
-
super(LoadBalancerBackendServerPolicy.__pulumiType, name, resourceInputs, opts);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
exports.LoadBalancerBackendServerPolicy = LoadBalancerBackendServerPolicy;
|
|
110
|
-
/** @internal */
|
|
111
|
-
LoadBalancerBackendServerPolicy.__pulumiType = 'aws:elasticloadbalancing/loadBalancerBackendServerPolicy:LoadBalancerBackendServerPolicy';
|
|
112
|
-
//# sourceMappingURL=loadBalancerBackendServerPolicy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loadBalancerBackendServerPolicy.js","sourceRoot":"","sources":["../../elasticloadbalancing/loadBalancerBackendServerPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iLAAiL,CAAC,CAAA;QAClM,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtF,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,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;IAwBD,mJAAmJ;IACnJ,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,iLAAiL,CAAC,CAAA;QAClM,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+D,CAAC;YAC9E,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;aAAM;YACH,MAAM,IAAI,GAAG,WAA8D,CAAC;YAC5E,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7D,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AA3EL,0EA4EC;AA7DG,gBAAgB;AACO,4CAAY,GAAG,0FAA0F,CAAC"}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* Provides a load balancer cookie stickiness policy, which allows an ELB to control the sticky session lifetime of the browser.
|
|
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.LoadBalancerCookieStickinessPolicy("foo", {
|
|
21
|
-
* loadBalancer: lb.id,
|
|
22
|
-
* lbPort: 80,
|
|
23
|
-
* cookieExpirationPeriod: 600,
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @deprecated aws.elasticloadbalancing.LoadBalancerCookieStickinessPolicy has been deprecated in favor of aws.elb.LoadBalancerCookieStickinessPolicy
|
|
28
|
-
*/
|
|
29
|
-
export declare class LoadBalancerCookieStickinessPolicy extends pulumi.CustomResource {
|
|
30
|
-
/**
|
|
31
|
-
* Get an existing LoadBalancerCookieStickinessPolicy resource's state with the given name, ID, and optional extra
|
|
32
|
-
* properties used to qualify the lookup.
|
|
33
|
-
*
|
|
34
|
-
* @param name The _unique_ name of the resulting resource.
|
|
35
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
-
* @param state Any extra arguments used during the lookup.
|
|
37
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
-
*/
|
|
39
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LoadBalancerCookieStickinessPolicyState, opts?: pulumi.CustomResourceOptions): LoadBalancerCookieStickinessPolicy;
|
|
40
|
-
/**
|
|
41
|
-
* Returns true if the given object is an instance of LoadBalancerCookieStickinessPolicy. This is designed to work even
|
|
42
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
-
*/
|
|
44
|
-
static isInstance(obj: any): obj is LoadBalancerCookieStickinessPolicy;
|
|
45
|
-
/**
|
|
46
|
-
* The time period after which
|
|
47
|
-
* the session cookie should be considered stale, expressed in seconds.
|
|
48
|
-
*/
|
|
49
|
-
readonly cookieExpirationPeriod: pulumi.Output<number | undefined>;
|
|
50
|
-
/**
|
|
51
|
-
* The load balancer port to which the policy
|
|
52
|
-
* should be applied. This must be an active listener on the load
|
|
53
|
-
* balancer.
|
|
54
|
-
*/
|
|
55
|
-
readonly lbPort: pulumi.Output<number>;
|
|
56
|
-
/**
|
|
57
|
-
* The load balancer to which the policy
|
|
58
|
-
* should be attached.
|
|
59
|
-
*/
|
|
60
|
-
readonly loadBalancer: pulumi.Output<string>;
|
|
61
|
-
/**
|
|
62
|
-
* The name of the stickiness policy.
|
|
63
|
-
*/
|
|
64
|
-
readonly name: pulumi.Output<string>;
|
|
65
|
-
/**
|
|
66
|
-
* Create a LoadBalancerCookieStickinessPolicy resource with the given unique name, arguments, and options.
|
|
67
|
-
*
|
|
68
|
-
* @param name The _unique_ name of the resource.
|
|
69
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
-
*/
|
|
72
|
-
/** @deprecated aws.elasticloadbalancing.LoadBalancerCookieStickinessPolicy has been deprecated in favor of aws.elb.LoadBalancerCookieStickinessPolicy */
|
|
73
|
-
constructor(name: string, args: LoadBalancerCookieStickinessPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Input properties used for looking up and filtering LoadBalancerCookieStickinessPolicy resources.
|
|
77
|
-
*/
|
|
78
|
-
export interface LoadBalancerCookieStickinessPolicyState {
|
|
79
|
-
/**
|
|
80
|
-
* The time period after which
|
|
81
|
-
* the session cookie should be considered stale, expressed in seconds.
|
|
82
|
-
*/
|
|
83
|
-
cookieExpirationPeriod?: pulumi.Input<number>;
|
|
84
|
-
/**
|
|
85
|
-
* The load balancer port to which the policy
|
|
86
|
-
* should be applied. This must be an active listener on the load
|
|
87
|
-
* balancer.
|
|
88
|
-
*/
|
|
89
|
-
lbPort?: pulumi.Input<number>;
|
|
90
|
-
/**
|
|
91
|
-
* The load balancer to which the policy
|
|
92
|
-
* should be attached.
|
|
93
|
-
*/
|
|
94
|
-
loadBalancer?: pulumi.Input<string>;
|
|
95
|
-
/**
|
|
96
|
-
* The name of the stickiness policy.
|
|
97
|
-
*/
|
|
98
|
-
name?: pulumi.Input<string>;
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* The set of arguments for constructing a LoadBalancerCookieStickinessPolicy resource.
|
|
102
|
-
*/
|
|
103
|
-
export interface LoadBalancerCookieStickinessPolicyArgs {
|
|
104
|
-
/**
|
|
105
|
-
* The time period after which
|
|
106
|
-
* the session cookie should be considered stale, expressed in seconds.
|
|
107
|
-
*/
|
|
108
|
-
cookieExpirationPeriod?: pulumi.Input<number>;
|
|
109
|
-
/**
|
|
110
|
-
* The load balancer port to which the policy
|
|
111
|
-
* should be applied. This must be an active listener on the load
|
|
112
|
-
* balancer.
|
|
113
|
-
*/
|
|
114
|
-
lbPort: pulumi.Input<number>;
|
|
115
|
-
/**
|
|
116
|
-
* The load balancer to which the policy
|
|
117
|
-
* should be attached.
|
|
118
|
-
*/
|
|
119
|
-
loadBalancer: pulumi.Input<string>;
|
|
120
|
-
/**
|
|
121
|
-
* The name of the stickiness policy.
|
|
122
|
-
*/
|
|
123
|
-
name?: pulumi.Input<string>;
|
|
124
|
-
}
|
|
@@ -1,91 +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.LoadBalancerCookieStickinessPolicy = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("../utilities");
|
|
8
|
-
/**
|
|
9
|
-
* Provides a load balancer cookie stickiness policy, which allows an ELB to control the sticky session lifetime of the browser.
|
|
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.LoadBalancerCookieStickinessPolicy("foo", {
|
|
27
|
-
* loadBalancer: lb.id,
|
|
28
|
-
* lbPort: 80,
|
|
29
|
-
* cookieExpirationPeriod: 600,
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @deprecated aws.elasticloadbalancing.LoadBalancerCookieStickinessPolicy has been deprecated in favor of aws.elb.LoadBalancerCookieStickinessPolicy
|
|
34
|
-
*/
|
|
35
|
-
class LoadBalancerCookieStickinessPolicy extends pulumi.CustomResource {
|
|
36
|
-
/**
|
|
37
|
-
* Get an existing LoadBalancerCookieStickinessPolicy 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("LoadBalancerCookieStickinessPolicy is deprecated: aws.elasticloadbalancing.LoadBalancerCookieStickinessPolicy has been deprecated in favor of aws.elb.LoadBalancerCookieStickinessPolicy");
|
|
47
|
-
return new LoadBalancerCookieStickinessPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Returns true if the given object is an instance of LoadBalancerCookieStickinessPolicy. 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'] === LoadBalancerCookieStickinessPolicy.__pulumiType;
|
|
58
|
-
}
|
|
59
|
-
/** @deprecated aws.elasticloadbalancing.LoadBalancerCookieStickinessPolicy has been deprecated in favor of aws.elb.LoadBalancerCookieStickinessPolicy */
|
|
60
|
-
constructor(name, argsOrState, opts) {
|
|
61
|
-
pulumi.log.warn("LoadBalancerCookieStickinessPolicy is deprecated: aws.elasticloadbalancing.LoadBalancerCookieStickinessPolicy has been deprecated in favor of aws.elb.LoadBalancerCookieStickinessPolicy");
|
|
62
|
-
let resourceInputs = {};
|
|
63
|
-
opts = opts || {};
|
|
64
|
-
if (opts.id) {
|
|
65
|
-
const state = argsOrState;
|
|
66
|
-
resourceInputs["cookieExpirationPeriod"] = state ? state.cookieExpirationPeriod : undefined;
|
|
67
|
-
resourceInputs["lbPort"] = state ? state.lbPort : undefined;
|
|
68
|
-
resourceInputs["loadBalancer"] = state ? state.loadBalancer : undefined;
|
|
69
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
const args = argsOrState;
|
|
73
|
-
if ((!args || args.lbPort === undefined) && !opts.urn) {
|
|
74
|
-
throw new Error("Missing required property 'lbPort'");
|
|
75
|
-
}
|
|
76
|
-
if ((!args || args.loadBalancer === undefined) && !opts.urn) {
|
|
77
|
-
throw new Error("Missing required property 'loadBalancer'");
|
|
78
|
-
}
|
|
79
|
-
resourceInputs["cookieExpirationPeriod"] = args ? args.cookieExpirationPeriod : undefined;
|
|
80
|
-
resourceInputs["lbPort"] = args ? args.lbPort : undefined;
|
|
81
|
-
resourceInputs["loadBalancer"] = args ? args.loadBalancer : undefined;
|
|
82
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
83
|
-
}
|
|
84
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
|
-
super(LoadBalancerCookieStickinessPolicy.__pulumiType, name, resourceInputs, opts);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
exports.LoadBalancerCookieStickinessPolicy = LoadBalancerCookieStickinessPolicy;
|
|
89
|
-
/** @internal */
|
|
90
|
-
LoadBalancerCookieStickinessPolicy.__pulumiType = 'aws:elasticloadbalancing/loadBalancerCookieStickinessPolicy:LoadBalancerCookieStickinessPolicy';
|
|
91
|
-
//# sourceMappingURL=loadBalancerCookieStickinessPolicy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loadBalancerCookieStickinessPolicy.js","sourceRoot":"","sources":["../../elasticloadbalancing/loadBalancerCookieStickinessPolicy.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,166 +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 policy, which can be attached to an ELB listener or backend server.
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
*
|
|
9
|
-
* ```typescript
|
|
10
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
-
* import * as aws from "@pulumi/aws";
|
|
12
|
-
* import * as fs from "fs";
|
|
13
|
-
*
|
|
14
|
-
* const wu_tang = new aws.elb.LoadBalancer("wu-tang", {
|
|
15
|
-
* availabilityZones: ["us-east-1a"],
|
|
16
|
-
* listeners: [{
|
|
17
|
-
* instancePort: 443,
|
|
18
|
-
* instanceProtocol: "http",
|
|
19
|
-
* lbPort: 443,
|
|
20
|
-
* lbProtocol: "https",
|
|
21
|
-
* sslCertificateId: "arn:aws:iam::000000000000:server-certificate/wu-tang.net",
|
|
22
|
-
* }],
|
|
23
|
-
* tags: {
|
|
24
|
-
* Name: "wu-tang",
|
|
25
|
-
* },
|
|
26
|
-
* });
|
|
27
|
-
* const wu_tang_ca_pubkey_policy = new aws.elb.LoadBalancerPolicy("wu-tang-ca-pubkey-policy", {
|
|
28
|
-
* loadBalancerName: wu_tang.name,
|
|
29
|
-
* policyName: "wu-tang-ca-pubkey-policy",
|
|
30
|
-
* policyTypeName: "PublicKeyPolicyType",
|
|
31
|
-
* policyAttributes: [{
|
|
32
|
-
* name: "PublicKey",
|
|
33
|
-
* value: fs.readFileSync("wu-tang-pubkey"),
|
|
34
|
-
* }],
|
|
35
|
-
* });
|
|
36
|
-
* const wu_tang_root_ca_backend_auth_policy = new aws.elb.LoadBalancerPolicy("wu-tang-root-ca-backend-auth-policy", {
|
|
37
|
-
* loadBalancerName: wu_tang.name,
|
|
38
|
-
* policyName: "wu-tang-root-ca-backend-auth-policy",
|
|
39
|
-
* policyTypeName: "BackendServerAuthenticationPolicyType",
|
|
40
|
-
* policyAttributes: [{
|
|
41
|
-
* name: "PublicKeyPolicyName",
|
|
42
|
-
* value: aws_load_balancer_policy["wu-tang-root-ca-pubkey-policy"].policy_name,
|
|
43
|
-
* }],
|
|
44
|
-
* });
|
|
45
|
-
* const wu_tang_ssl = new aws.elb.LoadBalancerPolicy("wu-tang-ssl", {
|
|
46
|
-
* loadBalancerName: wu_tang.name,
|
|
47
|
-
* policyName: "wu-tang-ssl",
|
|
48
|
-
* policyTypeName: "SSLNegotiationPolicyType",
|
|
49
|
-
* policyAttributes: [
|
|
50
|
-
* {
|
|
51
|
-
* name: "ECDHE-ECDSA-AES128-GCM-SHA256",
|
|
52
|
-
* value: "true",
|
|
53
|
-
* },
|
|
54
|
-
* {
|
|
55
|
-
* name: "Protocol-TLSv1.2",
|
|
56
|
-
* value: "true",
|
|
57
|
-
* },
|
|
58
|
-
* ],
|
|
59
|
-
* });
|
|
60
|
-
* const wu_tang_ssl_tls_1_1 = new aws.elb.LoadBalancerPolicy("wu-tang-ssl-tls-1-1", {
|
|
61
|
-
* loadBalancerName: wu_tang.name,
|
|
62
|
-
* policyName: "wu-tang-ssl",
|
|
63
|
-
* policyTypeName: "SSLNegotiationPolicyType",
|
|
64
|
-
* policyAttributes: [{
|
|
65
|
-
* name: "Reference-Security-Policy",
|
|
66
|
-
* value: "ELBSecurityPolicy-TLS-1-1-2017-01",
|
|
67
|
-
* }],
|
|
68
|
-
* });
|
|
69
|
-
* const wu_tang_backend_auth_policies_443 = new aws.elb.LoadBalancerBackendServerPolicy("wu-tang-backend-auth-policies-443", {
|
|
70
|
-
* loadBalancerName: wu_tang.name,
|
|
71
|
-
* instancePort: 443,
|
|
72
|
-
* policyNames: [wu_tang_root_ca_backend_auth_policy.policyName],
|
|
73
|
-
* });
|
|
74
|
-
* const wu_tang_listener_policies_443 = new aws.elb.ListenerPolicy("wu-tang-listener-policies-443", {
|
|
75
|
-
* loadBalancerName: wu_tang.name,
|
|
76
|
-
* loadBalancerPort: 443,
|
|
77
|
-
* policyNames: [wu_tang_ssl.policyName],
|
|
78
|
-
* });
|
|
79
|
-
* ```
|
|
80
|
-
*
|
|
81
|
-
* @deprecated aws.elasticloadbalancing.LoadBalancerPolicy has been deprecated in favor of aws.elb.LoadBalancerPolicy
|
|
82
|
-
*/
|
|
83
|
-
export declare class LoadBalancerPolicy extends pulumi.CustomResource {
|
|
84
|
-
/**
|
|
85
|
-
* Get an existing LoadBalancerPolicy resource's state with the given name, ID, and optional extra
|
|
86
|
-
* properties used to qualify the lookup.
|
|
87
|
-
*
|
|
88
|
-
* @param name The _unique_ name of the resulting resource.
|
|
89
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
90
|
-
* @param state Any extra arguments used during the lookup.
|
|
91
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
92
|
-
*/
|
|
93
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LoadBalancerPolicyState, opts?: pulumi.CustomResourceOptions): LoadBalancerPolicy;
|
|
94
|
-
/**
|
|
95
|
-
* Returns true if the given object is an instance of LoadBalancerPolicy. This is designed to work even
|
|
96
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
97
|
-
*/
|
|
98
|
-
static isInstance(obj: any): obj is LoadBalancerPolicy;
|
|
99
|
-
/**
|
|
100
|
-
* The load balancer on which the policy is defined.
|
|
101
|
-
*/
|
|
102
|
-
readonly loadBalancerName: pulumi.Output<string>;
|
|
103
|
-
/**
|
|
104
|
-
* Policy attribute to apply to the policy.
|
|
105
|
-
*/
|
|
106
|
-
readonly policyAttributes: pulumi.Output<outputs.elasticloadbalancing.LoadBalancerPolicyPolicyAttribute[]>;
|
|
107
|
-
/**
|
|
108
|
-
* The name of the load balancer policy.
|
|
109
|
-
*/
|
|
110
|
-
readonly policyName: pulumi.Output<string>;
|
|
111
|
-
/**
|
|
112
|
-
* The policy type.
|
|
113
|
-
*/
|
|
114
|
-
readonly policyTypeName: pulumi.Output<string>;
|
|
115
|
-
/**
|
|
116
|
-
* Create a LoadBalancerPolicy resource with the given unique name, arguments, and options.
|
|
117
|
-
*
|
|
118
|
-
* @param name The _unique_ name of the resource.
|
|
119
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
120
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
121
|
-
*/
|
|
122
|
-
/** @deprecated aws.elasticloadbalancing.LoadBalancerPolicy has been deprecated in favor of aws.elb.LoadBalancerPolicy */
|
|
123
|
-
constructor(name: string, args: LoadBalancerPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
124
|
-
}
|
|
125
|
-
/**
|
|
126
|
-
* Input properties used for looking up and filtering LoadBalancerPolicy resources.
|
|
127
|
-
*/
|
|
128
|
-
export interface LoadBalancerPolicyState {
|
|
129
|
-
/**
|
|
130
|
-
* The load balancer on which the policy is defined.
|
|
131
|
-
*/
|
|
132
|
-
loadBalancerName?: pulumi.Input<string>;
|
|
133
|
-
/**
|
|
134
|
-
* Policy attribute to apply to the policy.
|
|
135
|
-
*/
|
|
136
|
-
policyAttributes?: pulumi.Input<pulumi.Input<inputs.elasticloadbalancing.LoadBalancerPolicyPolicyAttribute>[]>;
|
|
137
|
-
/**
|
|
138
|
-
* The name of the load balancer policy.
|
|
139
|
-
*/
|
|
140
|
-
policyName?: pulumi.Input<string>;
|
|
141
|
-
/**
|
|
142
|
-
* The policy type.
|
|
143
|
-
*/
|
|
144
|
-
policyTypeName?: pulumi.Input<string>;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* The set of arguments for constructing a LoadBalancerPolicy resource.
|
|
148
|
-
*/
|
|
149
|
-
export interface LoadBalancerPolicyArgs {
|
|
150
|
-
/**
|
|
151
|
-
* The load balancer on which the policy is defined.
|
|
152
|
-
*/
|
|
153
|
-
loadBalancerName: pulumi.Input<string>;
|
|
154
|
-
/**
|
|
155
|
-
* Policy attribute to apply to the policy.
|
|
156
|
-
*/
|
|
157
|
-
policyAttributes?: pulumi.Input<pulumi.Input<inputs.elasticloadbalancing.LoadBalancerPolicyPolicyAttribute>[]>;
|
|
158
|
-
/**
|
|
159
|
-
* The name of the load balancer policy.
|
|
160
|
-
*/
|
|
161
|
-
policyName: pulumi.Input<string>;
|
|
162
|
-
/**
|
|
163
|
-
* The policy type.
|
|
164
|
-
*/
|
|
165
|
-
policyTypeName: pulumi.Input<string>;
|
|
166
|
-
}
|