aws-sdk-elasticloadbalancingv2 1.46.0 → 1.51.0
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8967953e05837d102ad74b5bdda31324fe4215dc044a91cf9a8abb19b590df11
|
4
|
+
data.tar.gz: e258dee7d1b44890fa62e7766654abbd0e34bdd55b33cc639b12bb8922dd06da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ec28272b340c79da313bf8c4978a6b15fbeed2a6099104e703faa543bc374467c50b8e1bff571d6bb4d909a2f1d98340d7e4f43b8e61dc82be37843d96c10da
|
7
|
+
data.tar.gz: 51a23ebf0330a7521381c086b89422fee2c3b727ed5297f7d40b43907bd154bfee81793d3cd1bc7b6e2f678ced143c6237186877500ddb69e97fe2e133fd156d
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -45,9 +46,9 @@ require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
|
|
45
46
|
#
|
46
47
|
# See {Errors} for more information.
|
47
48
|
#
|
48
|
-
#
|
49
|
+
# @!group service
|
49
50
|
module Aws::ElasticLoadBalancingV2
|
50
51
|
|
51
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.51.0'
|
52
53
|
|
53
54
|
end
|
@@ -85,13 +85,28 @@ module Aws::ElasticLoadBalancingV2
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::ElasticLoadBalancingV2
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -820,6 +835,12 @@ module Aws::ElasticLoadBalancingV2
|
|
820
835
|
# \[Application Load Balancers\] You must specify subnets from at least
|
821
836
|
# two Availability Zones.
|
822
837
|
#
|
838
|
+
# \[Application Load Balancers on Outposts\] You must specify one
|
839
|
+
# Outpost subnet.
|
840
|
+
#
|
841
|
+
# \[Application Load Balancers on Local Zones\] You can specify subnets
|
842
|
+
# from one or more Local Zones.
|
843
|
+
#
|
823
844
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
824
845
|
# Availability Zones.
|
825
846
|
#
|
@@ -831,6 +852,12 @@ module Aws::ElasticLoadBalancingV2
|
|
831
852
|
# two Availability Zones. You cannot specify Elastic IP addresses for
|
832
853
|
# your subnets.
|
833
854
|
#
|
855
|
+
# \[Application Load Balancers on Outposts\] You must specify one
|
856
|
+
# Outpost subnet.
|
857
|
+
#
|
858
|
+
# \[Application Load Balancers on Local Zones\] You can specify subnets
|
859
|
+
# from one or more Local Zones.
|
860
|
+
#
|
834
861
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
835
862
|
# Availability Zones. You can specify one Elastic IP address per subnet
|
836
863
|
# if you need static IP addresses for your internet-facing load
|
@@ -868,6 +895,10 @@ module Aws::ElasticLoadBalancingV2
|
|
868
895
|
# IPv4 addresses) and `dualstack` (for IPv4 and IPv6 addresses).
|
869
896
|
# Internal load balancers must use `ipv4`.
|
870
897
|
#
|
898
|
+
# @option params [String] :customer_owned_ipv_4_pool
|
899
|
+
# \[Application Load Balancers on Outposts\] The ID of the
|
900
|
+
# customer-owned address pool (CoIP pool).
|
901
|
+
#
|
871
902
|
# @return [Types::CreateLoadBalancerOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
872
903
|
#
|
873
904
|
# * {Types::CreateLoadBalancerOutput#load_balancers #load_balancers} => Array<Types::LoadBalancer>
|
@@ -986,6 +1017,7 @@ module Aws::ElasticLoadBalancingV2
|
|
986
1017
|
# ],
|
987
1018
|
# type: "application", # accepts application, network
|
988
1019
|
# ip_address_type: "ipv4", # accepts ipv4, dualstack
|
1020
|
+
# customer_owned_ipv_4_pool: "CustomerOwnedIpv4Pool",
|
989
1021
|
# })
|
990
1022
|
#
|
991
1023
|
# @example Response structure
|
@@ -1004,6 +1036,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1004
1036
|
# resp.load_balancers[0].availability_zones #=> Array
|
1005
1037
|
# resp.load_balancers[0].availability_zones[0].zone_name #=> String
|
1006
1038
|
# resp.load_balancers[0].availability_zones[0].subnet_id #=> String
|
1039
|
+
# resp.load_balancers[0].availability_zones[0].outpost_id #=> String
|
1007
1040
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses #=> Array
|
1008
1041
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
1009
1042
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
@@ -1011,6 +1044,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1011
1044
|
# resp.load_balancers[0].security_groups #=> Array
|
1012
1045
|
# resp.load_balancers[0].security_groups[0] #=> String
|
1013
1046
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
1047
|
+
# resp.load_balancers[0].customer_owned_ipv_4_pool #=> String
|
1014
1048
|
#
|
1015
1049
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer AWS API Documentation
|
1016
1050
|
#
|
@@ -1024,11 +1058,12 @@ module Aws::ElasticLoadBalancingV2
|
|
1024
1058
|
# Creates a rule for the specified listener. The listener must be
|
1025
1059
|
# associated with an Application Load Balancer.
|
1026
1060
|
#
|
1027
|
-
#
|
1028
|
-
#
|
1029
|
-
#
|
1030
|
-
#
|
1031
|
-
#
|
1061
|
+
# Each rule consists of a priority, one or more actions, and one or more
|
1062
|
+
# conditions. Rules are evaluated in priority order, from the lowest
|
1063
|
+
# value to the highest value. When the conditions for a rule are met,
|
1064
|
+
# its actions are performed. If the conditions for no rules are met, the
|
1065
|
+
# actions for the default rule are performed. For more information, see
|
1066
|
+
# [Listener Rules][1] in the *Application Load Balancers Guide*.
|
1032
1067
|
#
|
1033
1068
|
# To view your current rules, use DescribeRules. To update a rule, use
|
1034
1069
|
# ModifyRule. To set the priorities of your rules, use
|
@@ -1042,10 +1077,11 @@ module Aws::ElasticLoadBalancingV2
|
|
1042
1077
|
# The Amazon Resource Name (ARN) of the listener.
|
1043
1078
|
#
|
1044
1079
|
# @option params [required, Array<Types::RuleCondition>] :conditions
|
1045
|
-
# The conditions. Each rule can include
|
1046
|
-
# conditions: `http-request-method`, `host-header`,
|
1047
|
-
# `
|
1048
|
-
# `http-header` and
|
1080
|
+
# The conditions. Each rule can optionally include up to one of each of
|
1081
|
+
# the following conditions: `http-request-method`, `host-header`,
|
1082
|
+
# `path-pattern`, and `source-ip`. Each rule can also optionally include
|
1083
|
+
# one or more of each of the following conditions: `http-header` and
|
1084
|
+
# `query-string`.
|
1049
1085
|
#
|
1050
1086
|
# @option params [required, Integer] :priority
|
1051
1087
|
# The rule priority. A listener can't have multiple rules with the same
|
@@ -1412,8 +1448,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1412
1448
|
# more than one target type.
|
1413
1449
|
#
|
1414
1450
|
# * `instance` - Targets are specified by instance ID. This is the
|
1415
|
-
# default value.
|
1416
|
-
# target type must be `instance`.
|
1451
|
+
# default value.
|
1417
1452
|
#
|
1418
1453
|
# * `ip` - Targets are specified by IP address. You can specify IP
|
1419
1454
|
# addresses from the subnets of the virtual private cloud (VPC) for
|
@@ -1591,6 +1626,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1591
1626
|
|
1592
1627
|
# Deletes the specified rule.
|
1593
1628
|
#
|
1629
|
+
# You can't delete the default rule.
|
1630
|
+
#
|
1594
1631
|
# @option params [required, String] :rule_arn
|
1595
1632
|
# The Amazon Resource Name (ARN) of the rule.
|
1596
1633
|
#
|
@@ -2104,6 +2141,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2104
2141
|
# resp.load_balancers[0].availability_zones #=> Array
|
2105
2142
|
# resp.load_balancers[0].availability_zones[0].zone_name #=> String
|
2106
2143
|
# resp.load_balancers[0].availability_zones[0].subnet_id #=> String
|
2144
|
+
# resp.load_balancers[0].availability_zones[0].outpost_id #=> String
|
2107
2145
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses #=> Array
|
2108
2146
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
2109
2147
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
@@ -2111,6 +2149,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2111
2149
|
# resp.load_balancers[0].security_groups #=> Array
|
2112
2150
|
# resp.load_balancers[0].security_groups[0] #=> String
|
2113
2151
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
2152
|
+
# resp.load_balancers[0].customer_owned_ipv_4_pool #=> String
|
2114
2153
|
# resp.next_marker #=> String
|
2115
2154
|
#
|
2116
2155
|
#
|
@@ -3595,7 +3634,9 @@ module Aws::ElasticLoadBalancingV2
|
|
3595
3634
|
#
|
3596
3635
|
# @option params [Types::Matcher] :matcher
|
3597
3636
|
# \[HTTP/HTTPS health checks\] The HTTP codes to use when checking for a
|
3598
|
-
# successful response from a target.
|
3637
|
+
# successful response from a target. The possible values are from 200 to
|
3638
|
+
# 499. You can specify multiple values (for example, "200,202") or a
|
3639
|
+
# range of values (for example, "200-299"). The default is 200.
|
3599
3640
|
#
|
3600
3641
|
# With Network Load Balancers, you can't modify this setting.
|
3601
3642
|
#
|
@@ -4244,6 +4285,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4244
4285
|
# resp.availability_zones #=> Array
|
4245
4286
|
# resp.availability_zones[0].zone_name #=> String
|
4246
4287
|
# resp.availability_zones[0].subnet_id #=> String
|
4288
|
+
# resp.availability_zones[0].outpost_id #=> String
|
4247
4289
|
# resp.availability_zones[0].load_balancer_addresses #=> Array
|
4248
4290
|
# resp.availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
4249
4291
|
# resp.availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
@@ -4271,7 +4313,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4271
4313
|
params: params,
|
4272
4314
|
config: config)
|
4273
4315
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
4274
|
-
context[:gem_version] = '1.
|
4316
|
+
context[:gem_version] = '1.51.0'
|
4275
4317
|
Seahorse::Client::Request.new(handlers, context)
|
4276
4318
|
end
|
4277
4319
|
|
@@ -74,6 +74,7 @@ module Aws::ElasticLoadBalancingV2
|
|
74
74
|
CreateTargetGroupInput = Shapes::StructureShape.new(name: 'CreateTargetGroupInput')
|
75
75
|
CreateTargetGroupOutput = Shapes::StructureShape.new(name: 'CreateTargetGroupOutput')
|
76
76
|
CreatedTime = Shapes::TimestampShape.new(name: 'CreatedTime')
|
77
|
+
CustomerOwnedIpv4Pool = Shapes::StringShape.new(name: 'CustomerOwnedIpv4Pool')
|
77
78
|
DNSName = Shapes::StringShape.new(name: 'DNSName')
|
78
79
|
Default = Shapes::BooleanShape.new(name: 'Default')
|
79
80
|
DeleteListenerInput = Shapes::StructureShape.new(name: 'DeleteListenerInput')
|
@@ -179,6 +180,7 @@ module Aws::ElasticLoadBalancingV2
|
|
179
180
|
ModifyTargetGroupOutput = Shapes::StructureShape.new(name: 'ModifyTargetGroupOutput')
|
180
181
|
Name = Shapes::StringShape.new(name: 'Name')
|
181
182
|
OperationNotPermittedException = Shapes::StructureShape.new(name: 'OperationNotPermittedException')
|
183
|
+
OutpostId = Shapes::StringShape.new(name: 'OutpostId')
|
182
184
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
183
185
|
Path = Shapes::StringShape.new(name: 'Path')
|
184
186
|
PathPatternConditionConfig = Shapes::StructureShape.new(name: 'PathPatternConditionConfig')
|
@@ -352,6 +354,7 @@ module Aws::ElasticLoadBalancingV2
|
|
352
354
|
|
353
355
|
AvailabilityZone.add_member(:zone_name, Shapes::ShapeRef.new(shape: ZoneName, location_name: "ZoneName"))
|
354
356
|
AvailabilityZone.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
357
|
+
AvailabilityZone.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, location_name: "OutpostId"))
|
355
358
|
AvailabilityZone.add_member(:load_balancer_addresses, Shapes::ShapeRef.new(shape: LoadBalancerAddresses, location_name: "LoadBalancerAddresses"))
|
356
359
|
AvailabilityZone.struct_class = Types::AvailabilityZone
|
357
360
|
|
@@ -393,6 +396,7 @@ module Aws::ElasticLoadBalancingV2
|
|
393
396
|
CreateLoadBalancerInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
394
397
|
CreateLoadBalancerInput.add_member(:type, Shapes::ShapeRef.new(shape: LoadBalancerTypeEnum, location_name: "Type"))
|
395
398
|
CreateLoadBalancerInput.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
399
|
+
CreateLoadBalancerInput.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: CustomerOwnedIpv4Pool, location_name: "CustomerOwnedIpv4Pool"))
|
396
400
|
CreateLoadBalancerInput.struct_class = Types::CreateLoadBalancerInput
|
397
401
|
|
398
402
|
CreateLoadBalancerOutput.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "LoadBalancers"))
|
@@ -623,6 +627,7 @@ module Aws::ElasticLoadBalancingV2
|
|
623
627
|
LoadBalancer.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, location_name: "AvailabilityZones"))
|
624
628
|
LoadBalancer.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroups"))
|
625
629
|
LoadBalancer.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
630
|
+
LoadBalancer.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: CustomerOwnedIpv4Pool, location_name: "CustomerOwnedIpv4Pool"))
|
626
631
|
LoadBalancer.struct_class = Types::LoadBalancer
|
627
632
|
|
628
633
|
LoadBalancerAddress.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
|
@@ -18,6 +18,10 @@ module Aws::ElasticLoadBalancingV2
|
|
18
18
|
|
19
19
|
# Information about an action.
|
20
20
|
#
|
21
|
+
# Each rule must include exactly one of the following types of actions:
|
22
|
+
# `forward`, `fixed-response`, or `redirect`, and it must be the last
|
23
|
+
# action to be performed.
|
24
|
+
#
|
21
25
|
# @note When making an API call, you may pass Action
|
22
26
|
# data as a hash:
|
23
27
|
#
|
@@ -106,9 +110,7 @@ module Aws::ElasticLoadBalancingV2
|
|
106
110
|
# @!attribute [rw] order
|
107
111
|
# The order for the action. This value is required for rules with
|
108
112
|
# multiple actions. The action with the lowest value for order is
|
109
|
-
# performed first.
|
110
|
-
# following types of actions: a `forward`, `fixed-response`, or
|
111
|
-
# `redirect`.
|
113
|
+
# performed first.
|
112
114
|
# @return [Integer]
|
113
115
|
#
|
114
116
|
# @!attribute [rw] redirect_config
|
@@ -436,6 +438,10 @@ module Aws::ElasticLoadBalancingV2
|
|
436
438
|
# Zone.
|
437
439
|
# @return [String]
|
438
440
|
#
|
441
|
+
# @!attribute [rw] outpost_id
|
442
|
+
# \[Application Load Balancers on Outposts\] The ID of the Outpost.
|
443
|
+
# @return [String]
|
444
|
+
#
|
439
445
|
# @!attribute [rw] load_balancer_addresses
|
440
446
|
# \[Network Load Balancers\] If you need static IP addresses for your
|
441
447
|
# load balancer, you can specify one Elastic IP address per
|
@@ -449,6 +455,7 @@ module Aws::ElasticLoadBalancingV2
|
|
449
455
|
class AvailabilityZone < Struct.new(
|
450
456
|
:zone_name,
|
451
457
|
:subnet_id,
|
458
|
+
:outpost_id,
|
452
459
|
:load_balancer_addresses)
|
453
460
|
SENSITIVE = []
|
454
461
|
include Aws::Structure
|
@@ -746,6 +753,7 @@ module Aws::ElasticLoadBalancingV2
|
|
746
753
|
# ],
|
747
754
|
# type: "application", # accepts application, network
|
748
755
|
# ip_address_type: "ipv4", # accepts ipv4, dualstack
|
756
|
+
# customer_owned_ipv_4_pool: "CustomerOwnedIpv4Pool",
|
749
757
|
# }
|
750
758
|
#
|
751
759
|
# @!attribute [rw] name
|
@@ -765,6 +773,12 @@ module Aws::ElasticLoadBalancingV2
|
|
765
773
|
# \[Application Load Balancers\] You must specify subnets from at
|
766
774
|
# least two Availability Zones.
|
767
775
|
#
|
776
|
+
# \[Application Load Balancers on Outposts\] You must specify one
|
777
|
+
# Outpost subnet.
|
778
|
+
#
|
779
|
+
# \[Application Load Balancers on Local Zones\] You can specify
|
780
|
+
# subnets from one or more Local Zones.
|
781
|
+
#
|
768
782
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
769
783
|
# Availability Zones.
|
770
784
|
# @return [Array<String>]
|
@@ -778,6 +792,12 @@ module Aws::ElasticLoadBalancingV2
|
|
778
792
|
# least two Availability Zones. You cannot specify Elastic IP
|
779
793
|
# addresses for your subnets.
|
780
794
|
#
|
795
|
+
# \[Application Load Balancers on Outposts\] You must specify one
|
796
|
+
# Outpost subnet.
|
797
|
+
#
|
798
|
+
# \[Application Load Balancers on Local Zones\] You can specify
|
799
|
+
# subnets from one or more Local Zones.
|
800
|
+
#
|
781
801
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
782
802
|
# Availability Zones. You can specify one Elastic IP address per
|
783
803
|
# subnet if you need static IP addresses for your internet-facing load
|
@@ -821,6 +841,11 @@ module Aws::ElasticLoadBalancingV2
|
|
821
841
|
# Internal load balancers must use `ipv4`.
|
822
842
|
# @return [String]
|
823
843
|
#
|
844
|
+
# @!attribute [rw] customer_owned_ipv_4_pool
|
845
|
+
# \[Application Load Balancers on Outposts\] The ID of the
|
846
|
+
# customer-owned address pool (CoIP pool).
|
847
|
+
# @return [String]
|
848
|
+
#
|
824
849
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancerInput AWS API Documentation
|
825
850
|
#
|
826
851
|
class CreateLoadBalancerInput < Struct.new(
|
@@ -831,7 +856,8 @@ module Aws::ElasticLoadBalancingV2
|
|
831
856
|
:scheme,
|
832
857
|
:tags,
|
833
858
|
:type,
|
834
|
-
:ip_address_type
|
859
|
+
:ip_address_type,
|
860
|
+
:customer_owned_ipv_4_pool)
|
835
861
|
SENSITIVE = []
|
836
862
|
include Aws::Structure
|
837
863
|
end
|
@@ -951,9 +977,10 @@ module Aws::ElasticLoadBalancingV2
|
|
951
977
|
# @return [String]
|
952
978
|
#
|
953
979
|
# @!attribute [rw] conditions
|
954
|
-
# The conditions. Each rule can include
|
955
|
-
# conditions: `http-request-method`, `host-header`,
|
956
|
-
# and `source-ip
|
980
|
+
# The conditions. Each rule can optionally include up to one of each
|
981
|
+
# of the following conditions: `http-request-method`, `host-header`,
|
982
|
+
# `path-pattern`, and `source-ip`. Each rule can also optionally
|
983
|
+
# include one or more of each of the following conditions:
|
957
984
|
# `http-header` and `query-string`.
|
958
985
|
# @return [Array<Types::RuleCondition>]
|
959
986
|
#
|
@@ -1134,8 +1161,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1134
1161
|
# group using more than one target type.
|
1135
1162
|
#
|
1136
1163
|
# * `instance` - Targets are specified by instance ID. This is the
|
1137
|
-
# default value.
|
1138
|
-
# the target type must be `instance`.
|
1164
|
+
# default value.
|
1139
1165
|
#
|
1140
1166
|
# * `ip` - Targets are specified by IP address. You can specify IP
|
1141
1167
|
# addresses from the subnets of the virtual private cloud (VPC) for
|
@@ -2227,7 +2253,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2227
2253
|
# @return [String]
|
2228
2254
|
#
|
2229
2255
|
# @!attribute [rw] availability_zones
|
2230
|
-
# The
|
2256
|
+
# The subnets for the load balancer.
|
2231
2257
|
# @return [Array<Types::AvailabilityZone>]
|
2232
2258
|
#
|
2233
2259
|
# @!attribute [rw] security_groups
|
@@ -2240,6 +2266,11 @@ module Aws::ElasticLoadBalancingV2
|
|
2240
2266
|
# (for IPv4 and IPv6 addresses).
|
2241
2267
|
# @return [String]
|
2242
2268
|
#
|
2269
|
+
# @!attribute [rw] customer_owned_ipv_4_pool
|
2270
|
+
# \[Application Load Balancers on Outposts\] The ID of the
|
2271
|
+
# customer-owned address pool.
|
2272
|
+
# @return [String]
|
2273
|
+
#
|
2243
2274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancer AWS API Documentation
|
2244
2275
|
#
|
2245
2276
|
class LoadBalancer < Struct.new(
|
@@ -2254,7 +2285,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2254
2285
|
:type,
|
2255
2286
|
:availability_zones,
|
2256
2287
|
:security_groups,
|
2257
|
-
:ip_address_type
|
2288
|
+
:ip_address_type,
|
2289
|
+
:customer_owned_ipv_4_pool)
|
2258
2290
|
SENSITIVE = []
|
2259
2291
|
include Aws::Structure
|
2260
2292
|
end
|
@@ -2324,6 +2356,11 @@ module Aws::ElasticLoadBalancingV2
|
|
2324
2356
|
# seconds. The valid range is 1-4000 seconds. The default is 60
|
2325
2357
|
# seconds.
|
2326
2358
|
#
|
2359
|
+
# * `routing.http.desync_mitigation_mode` - Determines how the load
|
2360
|
+
# balancer handles requests that might pose a security risk to your
|
2361
|
+
# application. The possible values are `monitor`, `defensive`, and
|
2362
|
+
# `strictest`. The default is `defensive`.
|
2363
|
+
#
|
2327
2364
|
# * `routing.http.drop_invalid_header_fields.enabled` - Indicates
|
2328
2365
|
# whether HTTP headers with invalid header fields are removed by the
|
2329
2366
|
# load balancer (`true`) or routed to targets (`false`). The default
|
@@ -2935,7 +2972,10 @@ module Aws::ElasticLoadBalancingV2
|
|
2935
2972
|
#
|
2936
2973
|
# @!attribute [rw] matcher
|
2937
2974
|
# \[HTTP/HTTPS health checks\] The HTTP codes to use when checking for
|
2938
|
-
# a successful response from a target.
|
2975
|
+
# a successful response from a target. The possible values are from
|
2976
|
+
# 200 to 499. You can specify multiple values (for example,
|
2977
|
+
# "200,202") or a range of values (for example, "200-299"). The
|
2978
|
+
# default is 200.
|
2939
2979
|
#
|
2940
2980
|
# With Network Load Balancers, you can't modify this setting.
|
2941
2981
|
# @return [Types::Matcher]
|
@@ -3310,6 +3350,11 @@ module Aws::ElasticLoadBalancingV2
|
|
3310
3350
|
|
3311
3351
|
# Information about a condition for a rule.
|
3312
3352
|
#
|
3353
|
+
# Each rule can optionally include up to one of each of the following
|
3354
|
+
# conditions: `http-request-method`, `host-header`, `path-pattern`, and
|
3355
|
+
# `source-ip`. Each rule can also optionally include one or more of each
|
3356
|
+
# of the following conditions: `http-header` and `query-string`.
|
3357
|
+
#
|
3313
3358
|
# @note When making an API call, you may pass RuleCondition
|
3314
3359
|
# data as a hash:
|
3315
3360
|
#
|
@@ -3360,14 +3405,15 @@ module Aws::ElasticLoadBalancingV2
|
|
3360
3405
|
# @return [String]
|
3361
3406
|
#
|
3362
3407
|
# @!attribute [rw] values
|
3363
|
-
# The condition value.
|
3364
|
-
# `
|
3365
|
-
#
|
3366
|
-
# `PathPatternConfig
|
3367
|
-
#
|
3368
|
-
# If `Field` is `host-header
|
3369
|
-
#
|
3370
|
-
#
|
3408
|
+
# The condition value. Specify only when `Field` is `host-header` or
|
3409
|
+
# `path-pattern`. Alternatively, to specify multiple host names or
|
3410
|
+
# multiple path patterns, use `HostHeaderConfig` or
|
3411
|
+
# `PathPatternConfig`.
|
3412
|
+
#
|
3413
|
+
# If `Field` is `host-header` and you are not using
|
3414
|
+
# `HostHeaderConfig`, you can specify a single host name (for example,
|
3415
|
+
# my.example.com) in `Values`. A host name is case insensitive, can be
|
3416
|
+
# up to 128 characters in length, and can contain any of the following
|
3371
3417
|
# characters.
|
3372
3418
|
#
|
3373
3419
|
# * A-Z, a-z, 0-9
|
@@ -3378,10 +3424,11 @@ module Aws::ElasticLoadBalancingV2
|
|
3378
3424
|
#
|
3379
3425
|
# * ? (matches exactly 1 character)
|
3380
3426
|
#
|
3381
|
-
# If `Field` is `path-pattern
|
3382
|
-
#
|
3383
|
-
#
|
3384
|
-
# characters
|
3427
|
+
# If `Field` is `path-pattern` and you are not using
|
3428
|
+
# `PathPatternConfig`, you can specify a single path pattern (for
|
3429
|
+
# example, /img/*) in `Values`. A path pattern is case-sensitive, can
|
3430
|
+
# be up to 128 characters in length, and can contain any of the
|
3431
|
+
# following characters.
|
3385
3432
|
#
|
3386
3433
|
# * A-Z, a-z, 0-9
|
3387
3434
|
#
|
@@ -3644,7 +3691,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3644
3691
|
end
|
3645
3692
|
|
3646
3693
|
# @!attribute [rw] availability_zones
|
3647
|
-
# Information about the
|
3694
|
+
# Information about the subnets.
|
3648
3695
|
# @return [Array<Types::AvailabilityZone>]
|
3649
3696
|
#
|
3650
3697
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsOutput AWS API Documentation
|
@@ -4002,8 +4049,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4002
4049
|
# during which a newly registered target receives an increasing
|
4003
4050
|
# share of the traffic to the target group. After this time period
|
4004
4051
|
# ends, the target receives its full share of traffic. The range is
|
4005
|
-
# 30-900 seconds (15 minutes).
|
4006
|
-
# default.
|
4052
|
+
# 30-900 seconds (15 minutes). The default is 0 seconds (disabled).
|
4007
4053
|
#
|
4008
4054
|
# * `stickiness.lb_cookie.duration_seconds` - The time period, in
|
4009
4055
|
# seconds, during which requests from a client should be routed to
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-elasticloadbalancingv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.51.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|