aws-sdk-elasticloadbalancingv2 1.74.0 → 1.93.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,68 +22,6 @@ module Aws::ElasticLoadBalancingV2
22
22
  # `forward`, `fixed-response`, or `redirect`, and it must be the last
23
23
  # action to be performed.
24
24
  #
25
- # @note When making an API call, you may pass Action
26
- # data as a hash:
27
- #
28
- # {
29
- # type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
30
- # target_group_arn: "TargetGroupArn",
31
- # authenticate_oidc_config: {
32
- # issuer: "AuthenticateOidcActionIssuer", # required
33
- # authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
34
- # token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
35
- # user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
36
- # client_id: "AuthenticateOidcActionClientId", # required
37
- # client_secret: "AuthenticateOidcActionClientSecret",
38
- # session_cookie_name: "AuthenticateOidcActionSessionCookieName",
39
- # scope: "AuthenticateOidcActionScope",
40
- # session_timeout: 1,
41
- # authentication_request_extra_params: {
42
- # "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
43
- # },
44
- # on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
45
- # use_existing_client_secret: false,
46
- # },
47
- # authenticate_cognito_config: {
48
- # user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
49
- # user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
50
- # user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
51
- # session_cookie_name: "AuthenticateCognitoActionSessionCookieName",
52
- # scope: "AuthenticateCognitoActionScope",
53
- # session_timeout: 1,
54
- # authentication_request_extra_params: {
55
- # "AuthenticateCognitoActionAuthenticationRequestParamName" => "AuthenticateCognitoActionAuthenticationRequestParamValue",
56
- # },
57
- # on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
58
- # },
59
- # order: 1,
60
- # redirect_config: {
61
- # protocol: "RedirectActionProtocol",
62
- # port: "RedirectActionPort",
63
- # host: "RedirectActionHost",
64
- # path: "RedirectActionPath",
65
- # query: "RedirectActionQuery",
66
- # status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
67
- # },
68
- # fixed_response_config: {
69
- # message_body: "FixedResponseActionMessage",
70
- # status_code: "FixedResponseActionStatusCode", # required
71
- # content_type: "FixedResponseActionContentType",
72
- # },
73
- # forward_config: {
74
- # target_groups: [
75
- # {
76
- # target_group_arn: "TargetGroupArn",
77
- # weight: 1,
78
- # },
79
- # ],
80
- # target_group_stickiness_config: {
81
- # enabled: false,
82
- # duration_seconds: 1,
83
- # },
84
- # },
85
- # }
86
- #
87
25
  # @!attribute [rw] type
88
26
  # The type of action.
89
27
  # @return [String]
@@ -148,19 +86,6 @@ module Aws::ElasticLoadBalancingV2
148
86
  include Aws::Structure
149
87
  end
150
88
 
151
- # @note When making an API call, you may pass AddListenerCertificatesInput
152
- # data as a hash:
153
- #
154
- # {
155
- # listener_arn: "ListenerArn", # required
156
- # certificates: [ # required
157
- # {
158
- # certificate_arn: "CertificateArn",
159
- # is_default: false,
160
- # },
161
- # ],
162
- # }
163
- #
164
89
  # @!attribute [rw] listener_arn
165
90
  # The Amazon Resource Name (ARN) of the listener.
166
91
  # @return [String]
@@ -192,19 +117,6 @@ module Aws::ElasticLoadBalancingV2
192
117
  include Aws::Structure
193
118
  end
194
119
 
195
- # @note When making an API call, you may pass AddTagsInput
196
- # data as a hash:
197
- #
198
- # {
199
- # resource_arns: ["ResourceArn"], # required
200
- # tags: [ # required
201
- # {
202
- # key: "TagKey", # required
203
- # value: "TagValue",
204
- # },
205
- # ],
206
- # }
207
- #
208
120
  # @!attribute [rw] resource_arns
209
121
  # The Amazon Resource Name (ARN) of the resource.
210
122
  # @return [Array<String>]
@@ -235,22 +147,6 @@ module Aws::ElasticLoadBalancingV2
235
147
  # Request parameters to use when integrating with Amazon Cognito to
236
148
  # authenticate users.
237
149
  #
238
- # @note When making an API call, you may pass AuthenticateCognitoActionConfig
239
- # data as a hash:
240
- #
241
- # {
242
- # user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
243
- # user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
244
- # user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
245
- # session_cookie_name: "AuthenticateCognitoActionSessionCookieName",
246
- # scope: "AuthenticateCognitoActionScope",
247
- # session_timeout: 1,
248
- # authentication_request_extra_params: {
249
- # "AuthenticateCognitoActionAuthenticationRequestParamName" => "AuthenticateCognitoActionAuthenticationRequestParamValue",
250
- # },
251
- # on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
252
- # }
253
- #
254
150
  # @!attribute [rw] user_pool_arn
255
151
  # The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
256
152
  # @return [String]
@@ -317,26 +213,6 @@ module Aws::ElasticLoadBalancingV2
317
213
  # Request parameters when using an identity provider (IdP) that is
318
214
  # compliant with OpenID Connect (OIDC) to authenticate users.
319
215
  #
320
- # @note When making an API call, you may pass AuthenticateOidcActionConfig
321
- # data as a hash:
322
- #
323
- # {
324
- # issuer: "AuthenticateOidcActionIssuer", # required
325
- # authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
326
- # token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
327
- # user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
328
- # client_id: "AuthenticateOidcActionClientId", # required
329
- # client_secret: "AuthenticateOidcActionClientSecret",
330
- # session_cookie_name: "AuthenticateOidcActionSessionCookieName",
331
- # scope: "AuthenticateOidcActionScope",
332
- # session_timeout: 1,
333
- # authentication_request_extra_params: {
334
- # "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
335
- # },
336
- # on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
337
- # use_existing_client_secret: false,
338
- # }
339
- #
340
216
  # @!attribute [rw] issuer
341
217
  # The OIDC issuer identifier of the IdP. This must be a full URL,
342
218
  # including the HTTPS protocol, the domain, and the path.
@@ -469,14 +345,6 @@ module Aws::ElasticLoadBalancingV2
469
345
 
470
346
  # Information about an SSL server certificate.
471
347
  #
472
- # @note When making an API call, you may pass Certificate
473
- # data as a hash:
474
- #
475
- # {
476
- # certificate_arn: "CertificateArn",
477
- # is_default: false,
478
- # }
479
- #
480
348
  # @!attribute [rw] certificate_arn
481
349
  # The Amazon Resource Name (ARN) of the certificate.
482
350
  # @return [String]
@@ -522,89 +390,6 @@ module Aws::ElasticLoadBalancingV2
522
390
  include Aws::Structure
523
391
  end
524
392
 
525
- # @note When making an API call, you may pass CreateListenerInput
526
- # data as a hash:
527
- #
528
- # {
529
- # load_balancer_arn: "LoadBalancerArn", # required
530
- # protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
531
- # port: 1,
532
- # ssl_policy: "SslPolicyName",
533
- # certificates: [
534
- # {
535
- # certificate_arn: "CertificateArn",
536
- # is_default: false,
537
- # },
538
- # ],
539
- # default_actions: [ # required
540
- # {
541
- # type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
542
- # target_group_arn: "TargetGroupArn",
543
- # authenticate_oidc_config: {
544
- # issuer: "AuthenticateOidcActionIssuer", # required
545
- # authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
546
- # token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
547
- # user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
548
- # client_id: "AuthenticateOidcActionClientId", # required
549
- # client_secret: "AuthenticateOidcActionClientSecret",
550
- # session_cookie_name: "AuthenticateOidcActionSessionCookieName",
551
- # scope: "AuthenticateOidcActionScope",
552
- # session_timeout: 1,
553
- # authentication_request_extra_params: {
554
- # "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
555
- # },
556
- # on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
557
- # use_existing_client_secret: false,
558
- # },
559
- # authenticate_cognito_config: {
560
- # user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
561
- # user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
562
- # user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
563
- # session_cookie_name: "AuthenticateCognitoActionSessionCookieName",
564
- # scope: "AuthenticateCognitoActionScope",
565
- # session_timeout: 1,
566
- # authentication_request_extra_params: {
567
- # "AuthenticateCognitoActionAuthenticationRequestParamName" => "AuthenticateCognitoActionAuthenticationRequestParamValue",
568
- # },
569
- # on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
570
- # },
571
- # order: 1,
572
- # redirect_config: {
573
- # protocol: "RedirectActionProtocol",
574
- # port: "RedirectActionPort",
575
- # host: "RedirectActionHost",
576
- # path: "RedirectActionPath",
577
- # query: "RedirectActionQuery",
578
- # status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
579
- # },
580
- # fixed_response_config: {
581
- # message_body: "FixedResponseActionMessage",
582
- # status_code: "FixedResponseActionStatusCode", # required
583
- # content_type: "FixedResponseActionContentType",
584
- # },
585
- # forward_config: {
586
- # target_groups: [
587
- # {
588
- # target_group_arn: "TargetGroupArn",
589
- # weight: 1,
590
- # },
591
- # ],
592
- # target_group_stickiness_config: {
593
- # enabled: false,
594
- # duration_seconds: 1,
595
- # },
596
- # },
597
- # },
598
- # ],
599
- # alpn_policy: ["AlpnPolicyValue"],
600
- # tags: [
601
- # {
602
- # key: "TagKey", # required
603
- # value: "TagValue",
604
- # },
605
- # ],
606
- # }
607
- #
608
393
  # @!attribute [rw] load_balancer_arn
609
394
  # The Amazon Resource Name (ARN) of the load balancer.
610
395
  # @return [String]
@@ -701,33 +486,6 @@ module Aws::ElasticLoadBalancingV2
701
486
  include Aws::Structure
702
487
  end
703
488
 
704
- # @note When making an API call, you may pass CreateLoadBalancerInput
705
- # data as a hash:
706
- #
707
- # {
708
- # name: "LoadBalancerName", # required
709
- # subnets: ["SubnetId"],
710
- # subnet_mappings: [
711
- # {
712
- # subnet_id: "SubnetId",
713
- # allocation_id: "AllocationId",
714
- # private_i_pv_4_address: "PrivateIPv4Address",
715
- # i_pv_6_address: "IPv6Address",
716
- # },
717
- # ],
718
- # security_groups: ["SecurityGroupId"],
719
- # scheme: "internet-facing", # accepts internet-facing, internal
720
- # tags: [
721
- # {
722
- # key: "TagKey", # required
723
- # value: "TagValue",
724
- # },
725
- # ],
726
- # type: "application", # accepts application, network, gateway
727
- # ip_address_type: "ipv4", # accepts ipv4, dualstack
728
- # customer_owned_ipv_4_pool: "CustomerOwnedIpv4Pool",
729
- # }
730
- #
731
489
  # @!attribute [rw] name
732
490
  # The name of the load balancer.
733
491
  #
@@ -740,7 +498,8 @@ module Aws::ElasticLoadBalancingV2
740
498
  # @!attribute [rw] subnets
741
499
  # The IDs of the public subnets. You can specify only one subnet per
742
500
  # Availability Zone. You must specify either subnets or subnet
743
- # mappings.
501
+ # mappings, but not both. To specify an Elastic IP address, specify
502
+ # subnet mappings instead of subnets.
744
503
  #
745
504
  # \[Application Load Balancers\] You must specify subnets from at
746
505
  # least two Availability Zones.
@@ -761,7 +520,7 @@ module Aws::ElasticLoadBalancingV2
761
520
  # @!attribute [rw] subnet_mappings
762
521
  # The IDs of the public subnets. You can specify only one subnet per
763
522
  # Availability Zone. You must specify either subnets or subnet
764
- # mappings.
523
+ # mappings, but not both.
765
524
  #
766
525
  # \[Application Load Balancers\] You must specify subnets from at
767
526
  # least two Availability Zones. You cannot specify Elastic IP
@@ -787,8 +546,8 @@ module Aws::ElasticLoadBalancingV2
787
546
  # @return [Array<Types::SubnetMapping>]
788
547
  #
789
548
  # @!attribute [rw] security_groups
790
- # \[Application Load Balancers\] The IDs of the security groups for
791
- # the load balancer.
549
+ # \[Application Load Balancers and Network Load Balancers\] The IDs of
550
+ # the security groups for the load balancer.
792
551
  # @return [Array<String>]
793
552
  #
794
553
  # @!attribute [rw] scheme
@@ -856,110 +615,6 @@ module Aws::ElasticLoadBalancingV2
856
615
  include Aws::Structure
857
616
  end
858
617
 
859
- # @note When making an API call, you may pass CreateRuleInput
860
- # data as a hash:
861
- #
862
- # {
863
- # listener_arn: "ListenerArn", # required
864
- # conditions: [ # required
865
- # {
866
- # field: "ConditionFieldName",
867
- # values: ["StringValue"],
868
- # host_header_config: {
869
- # values: ["StringValue"],
870
- # },
871
- # path_pattern_config: {
872
- # values: ["StringValue"],
873
- # },
874
- # http_header_config: {
875
- # http_header_name: "HttpHeaderConditionName",
876
- # values: ["StringValue"],
877
- # },
878
- # query_string_config: {
879
- # values: [
880
- # {
881
- # key: "StringValue",
882
- # value: "StringValue",
883
- # },
884
- # ],
885
- # },
886
- # http_request_method_config: {
887
- # values: ["StringValue"],
888
- # },
889
- # source_ip_config: {
890
- # values: ["StringValue"],
891
- # },
892
- # },
893
- # ],
894
- # priority: 1, # required
895
- # actions: [ # required
896
- # {
897
- # type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
898
- # target_group_arn: "TargetGroupArn",
899
- # authenticate_oidc_config: {
900
- # issuer: "AuthenticateOidcActionIssuer", # required
901
- # authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
902
- # token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
903
- # user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
904
- # client_id: "AuthenticateOidcActionClientId", # required
905
- # client_secret: "AuthenticateOidcActionClientSecret",
906
- # session_cookie_name: "AuthenticateOidcActionSessionCookieName",
907
- # scope: "AuthenticateOidcActionScope",
908
- # session_timeout: 1,
909
- # authentication_request_extra_params: {
910
- # "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
911
- # },
912
- # on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
913
- # use_existing_client_secret: false,
914
- # },
915
- # authenticate_cognito_config: {
916
- # user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
917
- # user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
918
- # user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
919
- # session_cookie_name: "AuthenticateCognitoActionSessionCookieName",
920
- # scope: "AuthenticateCognitoActionScope",
921
- # session_timeout: 1,
922
- # authentication_request_extra_params: {
923
- # "AuthenticateCognitoActionAuthenticationRequestParamName" => "AuthenticateCognitoActionAuthenticationRequestParamValue",
924
- # },
925
- # on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
926
- # },
927
- # order: 1,
928
- # redirect_config: {
929
- # protocol: "RedirectActionProtocol",
930
- # port: "RedirectActionPort",
931
- # host: "RedirectActionHost",
932
- # path: "RedirectActionPath",
933
- # query: "RedirectActionQuery",
934
- # status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
935
- # },
936
- # fixed_response_config: {
937
- # message_body: "FixedResponseActionMessage",
938
- # status_code: "FixedResponseActionStatusCode", # required
939
- # content_type: "FixedResponseActionContentType",
940
- # },
941
- # forward_config: {
942
- # target_groups: [
943
- # {
944
- # target_group_arn: "TargetGroupArn",
945
- # weight: 1,
946
- # },
947
- # ],
948
- # target_group_stickiness_config: {
949
- # enabled: false,
950
- # duration_seconds: 1,
951
- # },
952
- # },
953
- # },
954
- # ],
955
- # tags: [
956
- # {
957
- # key: "TagKey", # required
958
- # value: "TagValue",
959
- # },
960
- # ],
961
- # }
962
- #
963
618
  # @!attribute [rw] listener_arn
964
619
  # The Amazon Resource Name (ARN) of the listener.
965
620
  # @return [String]
@@ -1005,37 +660,6 @@ module Aws::ElasticLoadBalancingV2
1005
660
  include Aws::Structure
1006
661
  end
1007
662
 
1008
- # @note When making an API call, you may pass CreateTargetGroupInput
1009
- # data as a hash:
1010
- #
1011
- # {
1012
- # name: "TargetGroupName", # required
1013
- # protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
1014
- # protocol_version: "ProtocolVersion",
1015
- # port: 1,
1016
- # vpc_id: "VpcId",
1017
- # health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
1018
- # health_check_port: "HealthCheckPort",
1019
- # health_check_enabled: false,
1020
- # health_check_path: "Path",
1021
- # health_check_interval_seconds: 1,
1022
- # health_check_timeout_seconds: 1,
1023
- # healthy_threshold_count: 1,
1024
- # unhealthy_threshold_count: 1,
1025
- # matcher: {
1026
- # http_code: "HttpCode",
1027
- # grpc_code: "GrpcCode",
1028
- # },
1029
- # target_type: "instance", # accepts instance, ip, lambda, alb
1030
- # tags: [
1031
- # {
1032
- # key: "TagKey", # required
1033
- # value: "TagValue",
1034
- # },
1035
- # ],
1036
- # ip_address_type: "ipv4", # accepts ipv4, ipv6
1037
- # }
1038
- #
1039
663
  # @!attribute [rw] name
1040
664
  # The name of the target group.
1041
665
  #
@@ -1111,43 +735,46 @@ module Aws::ElasticLoadBalancingV2
1111
735
  #
1112
736
  # @!attribute [rw] health_check_interval_seconds
1113
737
  # The approximate amount of time, in seconds, between health checks of
1114
- # an individual target. If the target group protocol is TCP, TLS, UDP,
1115
- # or TCP\_UDP, the supported values are 10 and 30 seconds. If the
1116
- # target group protocol is HTTP or HTTPS, the default is 30 seconds.
1117
- # If the target group protocol is GENEVE, the default is 10 seconds.
1118
- # If the target type is `lambda`, the default is 35 seconds.
738
+ # an individual target. The range is 5-300. If the target group
739
+ # protocol is TCP, TLS, UDP, TCP\_UDP, HTTP or HTTPS, the default is
740
+ # 30 seconds. If the target group protocol is GENEVE, the default is
741
+ # 10 seconds. If the target type is `lambda`, the default is 35
742
+ # seconds.
1119
743
  # @return [Integer]
1120
744
  #
1121
745
  # @!attribute [rw] health_check_timeout_seconds
1122
746
  # The amount of time, in seconds, during which no response from a
1123
- # target means a failed health check. For target groups with a
1124
- # protocol of HTTP, HTTPS, or GENEVE, the default is 5 seconds. For
1125
- # target groups with a protocol of TCP or TLS, this value must be 6
1126
- # seconds for HTTP health checks and 10 seconds for TCP and HTTPS
1127
- # health checks. If the target type is `lambda`, the default is 30
747
+ # target means a failed health check. The range is 2–120 seconds. For
748
+ # target groups with a protocol of HTTP, the default is 6 seconds. For
749
+ # target groups with a protocol of TCP, TLS or HTTPS, the default is
750
+ # 10 seconds. For target groups with a protocol of GENEVE, the default
751
+ # is 5 seconds. If the target type is `lambda`, the default is 30
1128
752
  # seconds.
1129
753
  # @return [Integer]
1130
754
  #
1131
755
  # @!attribute [rw] healthy_threshold_count
1132
- # The number of consecutive health checks successes required before
1133
- # considering an unhealthy target healthy. For target groups with a
1134
- # protocol of HTTP or HTTPS, the default is 5. For target groups with
1135
- # a protocol of TCP, TLS, or GENEVE, the default is 3. If the target
1136
- # type is `lambda`, the default is 5.
756
+ # The number of consecutive health check successes required before
757
+ # considering a target healthy. The range is 2-10. If the target group
758
+ # protocol is TCP, TCP\_UDP, UDP, TLS, HTTP or HTTPS, the default is
759
+ # 5. For target groups with a protocol of GENEVE, the default is 5. If
760
+ # the target type is `lambda`, the default is 5.
1137
761
  # @return [Integer]
1138
762
  #
1139
763
  # @!attribute [rw] unhealthy_threshold_count
1140
764
  # The number of consecutive health check failures required before
1141
- # considering a target unhealthy. If the target group protocol is HTTP
1142
- # or HTTPS, the default is 2. If the target group protocol is TCP or
1143
- # TLS, this value must be the same as the healthy threshold count. If
1144
- # the target group protocol is GENEVE, the default is 3. If the target
1145
- # type is `lambda`, the default is 2.
765
+ # considering a target unhealthy. The range is 2-10. If the target
766
+ # group protocol is TCP, TCP\_UDP, UDP, TLS, HTTP or HTTPS, the
767
+ # default is 2. For target groups with a protocol of GENEVE, the
768
+ # default is 2. If the target type is `lambda`, the default is 5.
1146
769
  # @return [Integer]
1147
770
  #
1148
771
  # @!attribute [rw] matcher
1149
772
  # \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
1150
- # checking for a successful response from a target.
773
+ # checking for a successful response from a target. For target groups
774
+ # with a protocol of TCP, TCP\_UDP, UDP or TLS the range is 200-599.
775
+ # For target groups with a protocol of HTTP or HTTPS, the range is
776
+ # 200-499. For target groups with a protocol of GENEVE, the range is
777
+ # 200-399.
1151
778
  # @return [Types::Matcher]
1152
779
  #
1153
780
  # @!attribute [rw] target_type
@@ -1215,13 +842,6 @@ module Aws::ElasticLoadBalancingV2
1215
842
  include Aws::Structure
1216
843
  end
1217
844
 
1218
- # @note When making an API call, you may pass DeleteListenerInput
1219
- # data as a hash:
1220
- #
1221
- # {
1222
- # listener_arn: "ListenerArn", # required
1223
- # }
1224
- #
1225
845
  # @!attribute [rw] listener_arn
1226
846
  # The Amazon Resource Name (ARN) of the listener.
1227
847
  # @return [String]
@@ -1238,13 +858,6 @@ module Aws::ElasticLoadBalancingV2
1238
858
  #
1239
859
  class DeleteListenerOutput < Aws::EmptyStructure; end
1240
860
 
1241
- # @note When making an API call, you may pass DeleteLoadBalancerInput
1242
- # data as a hash:
1243
- #
1244
- # {
1245
- # load_balancer_arn: "LoadBalancerArn", # required
1246
- # }
1247
- #
1248
861
  # @!attribute [rw] load_balancer_arn
1249
862
  # The Amazon Resource Name (ARN) of the load balancer.
1250
863
  # @return [String]
@@ -1261,13 +874,6 @@ module Aws::ElasticLoadBalancingV2
1261
874
  #
1262
875
  class DeleteLoadBalancerOutput < Aws::EmptyStructure; end
1263
876
 
1264
- # @note When making an API call, you may pass DeleteRuleInput
1265
- # data as a hash:
1266
- #
1267
- # {
1268
- # rule_arn: "RuleArn", # required
1269
- # }
1270
- #
1271
877
  # @!attribute [rw] rule_arn
1272
878
  # The Amazon Resource Name (ARN) of the rule.
1273
879
  # @return [String]
@@ -1284,13 +890,6 @@ module Aws::ElasticLoadBalancingV2
1284
890
  #
1285
891
  class DeleteRuleOutput < Aws::EmptyStructure; end
1286
892
 
1287
- # @note When making an API call, you may pass DeleteTargetGroupInput
1288
- # data as a hash:
1289
- #
1290
- # {
1291
- # target_group_arn: "TargetGroupArn", # required
1292
- # }
1293
- #
1294
893
  # @!attribute [rw] target_group_arn
1295
894
  # The Amazon Resource Name (ARN) of the target group.
1296
895
  # @return [String]
@@ -1307,20 +906,6 @@ module Aws::ElasticLoadBalancingV2
1307
906
  #
1308
907
  class DeleteTargetGroupOutput < Aws::EmptyStructure; end
1309
908
 
1310
- # @note When making an API call, you may pass DeregisterTargetsInput
1311
- # data as a hash:
1312
- #
1313
- # {
1314
- # target_group_arn: "TargetGroupArn", # required
1315
- # targets: [ # required
1316
- # {
1317
- # id: "TargetId", # required
1318
- # port: 1,
1319
- # availability_zone: "ZoneName",
1320
- # },
1321
- # ],
1322
- # }
1323
- #
1324
909
  # @!attribute [rw] target_group_arn
1325
910
  # The Amazon Resource Name (ARN) of the target group.
1326
911
  # @return [String]
@@ -1344,14 +929,6 @@ module Aws::ElasticLoadBalancingV2
1344
929
  #
1345
930
  class DeregisterTargetsOutput < Aws::EmptyStructure; end
1346
931
 
1347
- # @note When making an API call, you may pass DescribeAccountLimitsInput
1348
- # data as a hash:
1349
- #
1350
- # {
1351
- # marker: "Marker",
1352
- # page_size: 1,
1353
- # }
1354
- #
1355
932
  # @!attribute [rw] marker
1356
933
  # The marker for the next set of results. (You received this marker
1357
934
  # from a previous call.)
@@ -1388,15 +965,6 @@ module Aws::ElasticLoadBalancingV2
1388
965
  include Aws::Structure
1389
966
  end
1390
967
 
1391
- # @note When making an API call, you may pass DescribeListenerCertificatesInput
1392
- # data as a hash:
1393
- #
1394
- # {
1395
- # listener_arn: "ListenerArn", # required
1396
- # marker: "Marker",
1397
- # page_size: 1,
1398
- # }
1399
- #
1400
968
  # @!attribute [rw] listener_arn
1401
969
  # The Amazon Resource Names (ARN) of the listener.
1402
970
  # @return [String]
@@ -1438,16 +1006,6 @@ module Aws::ElasticLoadBalancingV2
1438
1006
  include Aws::Structure
1439
1007
  end
1440
1008
 
1441
- # @note When making an API call, you may pass DescribeListenersInput
1442
- # data as a hash:
1443
- #
1444
- # {
1445
- # load_balancer_arn: "LoadBalancerArn",
1446
- # listener_arns: ["ListenerArn"],
1447
- # marker: "Marker",
1448
- # page_size: 1,
1449
- # }
1450
- #
1451
1009
  # @!attribute [rw] load_balancer_arn
1452
1010
  # The Amazon Resource Name (ARN) of the load balancer.
1453
1011
  # @return [String]
@@ -1494,13 +1052,6 @@ module Aws::ElasticLoadBalancingV2
1494
1052
  include Aws::Structure
1495
1053
  end
1496
1054
 
1497
- # @note When making an API call, you may pass DescribeLoadBalancerAttributesInput
1498
- # data as a hash:
1499
- #
1500
- # {
1501
- # load_balancer_arn: "LoadBalancerArn", # required
1502
- # }
1503
- #
1504
1055
  # @!attribute [rw] load_balancer_arn
1505
1056
  # The Amazon Resource Name (ARN) of the load balancer.
1506
1057
  # @return [String]
@@ -1525,16 +1076,6 @@ module Aws::ElasticLoadBalancingV2
1525
1076
  include Aws::Structure
1526
1077
  end
1527
1078
 
1528
- # @note When making an API call, you may pass DescribeLoadBalancersInput
1529
- # data as a hash:
1530
- #
1531
- # {
1532
- # load_balancer_arns: ["LoadBalancerArn"],
1533
- # names: ["LoadBalancerName"],
1534
- # marker: "Marker",
1535
- # page_size: 1,
1536
- # }
1537
- #
1538
1079
  # @!attribute [rw] load_balancer_arns
1539
1080
  # The Amazon Resource Names (ARN) of the load balancers. You can
1540
1081
  # specify up to 20 load balancers in a single call.
@@ -1582,16 +1123,6 @@ module Aws::ElasticLoadBalancingV2
1582
1123
  include Aws::Structure
1583
1124
  end
1584
1125
 
1585
- # @note When making an API call, you may pass DescribeRulesInput
1586
- # data as a hash:
1587
- #
1588
- # {
1589
- # listener_arn: "ListenerArn",
1590
- # rule_arns: ["RuleArn"],
1591
- # marker: "Marker",
1592
- # page_size: 1,
1593
- # }
1594
- #
1595
1126
  # @!attribute [rw] listener_arn
1596
1127
  # The Amazon Resource Name (ARN) of the listener.
1597
1128
  # @return [String]
@@ -1638,16 +1169,6 @@ module Aws::ElasticLoadBalancingV2
1638
1169
  include Aws::Structure
1639
1170
  end
1640
1171
 
1641
- # @note When making an API call, you may pass DescribeSSLPoliciesInput
1642
- # data as a hash:
1643
- #
1644
- # {
1645
- # names: ["SslPolicyName"],
1646
- # marker: "Marker",
1647
- # page_size: 1,
1648
- # load_balancer_type: "application", # accepts application, network, gateway
1649
- # }
1650
- #
1651
1172
  # @!attribute [rw] names
1652
1173
  # The names of the policies.
1653
1174
  # @return [Array<String>]
@@ -1695,13 +1216,6 @@ module Aws::ElasticLoadBalancingV2
1695
1216
  include Aws::Structure
1696
1217
  end
1697
1218
 
1698
- # @note When making an API call, you may pass DescribeTagsInput
1699
- # data as a hash:
1700
- #
1701
- # {
1702
- # resource_arns: ["ResourceArn"], # required
1703
- # }
1704
- #
1705
1219
  # @!attribute [rw] resource_arns
1706
1220
  # The Amazon Resource Names (ARN) of the resources. You can specify up
1707
1221
  # to 20 resources in a single call.
@@ -1727,13 +1241,6 @@ module Aws::ElasticLoadBalancingV2
1727
1241
  include Aws::Structure
1728
1242
  end
1729
1243
 
1730
- # @note When making an API call, you may pass DescribeTargetGroupAttributesInput
1731
- # data as a hash:
1732
- #
1733
- # {
1734
- # target_group_arn: "TargetGroupArn", # required
1735
- # }
1736
- #
1737
1244
  # @!attribute [rw] target_group_arn
1738
1245
  # The Amazon Resource Name (ARN) of the target group.
1739
1246
  # @return [String]
@@ -1758,17 +1265,6 @@ module Aws::ElasticLoadBalancingV2
1758
1265
  include Aws::Structure
1759
1266
  end
1760
1267
 
1761
- # @note When making an API call, you may pass DescribeTargetGroupsInput
1762
- # data as a hash:
1763
- #
1764
- # {
1765
- # load_balancer_arn: "LoadBalancerArn",
1766
- # target_group_arns: ["TargetGroupArn"],
1767
- # names: ["TargetGroupName"],
1768
- # marker: "Marker",
1769
- # page_size: 1,
1770
- # }
1771
- #
1772
1268
  # @!attribute [rw] load_balancer_arn
1773
1269
  # The Amazon Resource Name (ARN) of the load balancer.
1774
1270
  # @return [String]
@@ -1820,20 +1316,6 @@ module Aws::ElasticLoadBalancingV2
1820
1316
  include Aws::Structure
1821
1317
  end
1822
1318
 
1823
- # @note When making an API call, you may pass DescribeTargetHealthInput
1824
- # data as a hash:
1825
- #
1826
- # {
1827
- # target_group_arn: "TargetGroupArn", # required
1828
- # targets: [
1829
- # {
1830
- # id: "TargetId", # required
1831
- # port: 1,
1832
- # availability_zone: "ZoneName",
1833
- # },
1834
- # ],
1835
- # }
1836
- #
1837
1319
  # @!attribute [rw] target_group_arn
1838
1320
  # The Amazon Resource Name (ARN) of the target group.
1839
1321
  # @return [String]
@@ -1889,15 +1371,6 @@ module Aws::ElasticLoadBalancingV2
1889
1371
 
1890
1372
  # Information about an action that returns a custom HTTP response.
1891
1373
  #
1892
- # @note When making an API call, you may pass FixedResponseActionConfig
1893
- # data as a hash:
1894
- #
1895
- # {
1896
- # message_body: "FixedResponseActionMessage",
1897
- # status_code: "FixedResponseActionStatusCode", # required
1898
- # content_type: "FixedResponseActionContentType",
1899
- # }
1900
- #
1901
1374
  # @!attribute [rw] message_body
1902
1375
  # The message.
1903
1376
  # @return [String]
@@ -1925,25 +1398,9 @@ module Aws::ElasticLoadBalancingV2
1925
1398
 
1926
1399
  # Information about a forward action.
1927
1400
  #
1928
- # @note When making an API call, you may pass ForwardActionConfig
1929
- # data as a hash:
1930
- #
1931
- # {
1932
- # target_groups: [
1933
- # {
1934
- # target_group_arn: "TargetGroupArn",
1935
- # weight: 1,
1936
- # },
1937
- # ],
1938
- # target_group_stickiness_config: {
1939
- # enabled: false,
1940
- # duration_seconds: 1,
1941
- # },
1942
- # }
1943
- #
1944
1401
  # @!attribute [rw] target_groups
1945
- # One or more target groups. For Network Load Balancers, you can
1946
- # specify a single target group.
1402
+ # The target groups. For Network Load Balancers, you can specify a
1403
+ # single target group.
1947
1404
  # @return [Array<Types::TargetGroupTuple>]
1948
1405
  #
1949
1406
  # @!attribute [rw] target_group_stickiness_config
@@ -1968,18 +1425,11 @@ module Aws::ElasticLoadBalancingV2
1968
1425
 
1969
1426
  # Information about a host header condition.
1970
1427
  #
1971
- # @note When making an API call, you may pass HostHeaderConditionConfig
1972
- # data as a hash:
1973
- #
1974
- # {
1975
- # values: ["StringValue"],
1976
- # }
1977
- #
1978
1428
  # @!attribute [rw] values
1979
- # One or more host names. The maximum size of each name is 128
1980
- # characters. The comparison is case insensitive. The following
1981
- # wildcard characters are supported: * (matches 0 or more characters)
1982
- # and ? (matches exactly 1 character).
1429
+ # The host names. The maximum size of each name is 128 characters. The
1430
+ # comparison is case insensitive. The following wildcard characters
1431
+ # are supported: * (matches 0 or more characters) and ? (matches
1432
+ # exactly 1 character).
1983
1433
  #
1984
1434
  # If you specify multiple strings, the condition is satisfied if one
1985
1435
  # of the strings matches the host name.
@@ -1998,14 +1448,6 @@ module Aws::ElasticLoadBalancingV2
1998
1448
  # There is a set of standard HTTP header fields. You can also define
1999
1449
  # custom HTTP header fields.
2000
1450
  #
2001
- # @note When making an API call, you may pass HttpHeaderConditionConfig
2002
- # data as a hash:
2003
- #
2004
- # {
2005
- # http_header_name: "HttpHeaderConditionName",
2006
- # values: ["StringValue"],
2007
- # }
2008
- #
2009
1451
  # @!attribute [rw] http_header_name
2010
1452
  # The name of the HTTP header field. The maximum size is 40
2011
1453
  # characters. The header name is case insensitive. The allowed
@@ -2016,8 +1458,8 @@ module Aws::ElasticLoadBalancingV2
2016
1458
  # @return [String]
2017
1459
  #
2018
1460
  # @!attribute [rw] values
2019
- # One or more strings to compare against the value of the HTTP header.
2020
- # The maximum size of each string is 128 characters. The comparison
1461
+ # The strings to compare against the value of the HTTP header. The
1462
+ # maximum size of each string is 128 characters. The comparison
2021
1463
  # strings are case insensitive. The following wildcard characters are
2022
1464
  # supported: * (matches 0 or more characters) and ? (matches exactly
2023
1465
  # 1 character).
@@ -2049,13 +1491,6 @@ module Aws::ElasticLoadBalancingV2
2049
1491
  #
2050
1492
  # [1]: https://www.iana.org/assignments/http-methods/http-methods.xhtml
2051
1493
  #
2052
- # @note When making an API call, you may pass HttpRequestMethodConditionConfig
2053
- # data as a hash:
2054
- #
2055
- # {
2056
- # values: ["StringValue"],
2057
- # }
2058
- #
2059
1494
  # @!attribute [rw] values
2060
1495
  # The name of the request method. The maximum size is 40 characters.
2061
1496
  # The allowed characters are A-Z, hyphen (-), and underscore (\_). The
@@ -2122,6 +1557,20 @@ module Aws::ElasticLoadBalancingV2
2122
1557
  # Information about an Elastic Load Balancing resource limit for your
2123
1558
  # Amazon Web Services account.
2124
1559
  #
1560
+ # For more information, see the following:
1561
+ #
1562
+ # * [Quotas for your Application Load Balancers][1]
1563
+ #
1564
+ # * [Quotas for your Network Load Balancers][2]
1565
+ #
1566
+ # * [Quotas for your Gateway Load Balancers][3]
1567
+ #
1568
+ #
1569
+ #
1570
+ # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html
1571
+ # [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html
1572
+ # [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html
1573
+ #
2125
1574
  # @!attribute [rw] name
2126
1575
  # The name of the limit. The possible values are:
2127
1576
  #
@@ -2300,6 +1749,12 @@ module Aws::ElasticLoadBalancingV2
2300
1749
  # customer-owned address pool.
2301
1750
  # @return [String]
2302
1751
  #
1752
+ # @!attribute [rw] enforce_security_group_inbound_rules_on_private_link_traffic
1753
+ # Indicates whether to evaluate inbound security group rules for
1754
+ # traffic sent to a Network Load Balancer through Amazon Web Services
1755
+ # PrivateLink.
1756
+ # @return [String]
1757
+ #
2303
1758
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancer AWS API Documentation
2304
1759
  #
2305
1760
  class LoadBalancer < Struct.new(
@@ -2315,7 +1770,8 @@ module Aws::ElasticLoadBalancingV2
2315
1770
  :availability_zones,
2316
1771
  :security_groups,
2317
1772
  :ip_address_type,
2318
- :customer_owned_ipv_4_pool)
1773
+ :customer_owned_ipv_4_pool,
1774
+ :enforce_security_group_inbound_rules_on_private_link_traffic)
2319
1775
  SENSITIVE = []
2320
1776
  include Aws::Structure
2321
1777
  end
@@ -2353,24 +1809,20 @@ module Aws::ElasticLoadBalancingV2
2353
1809
 
2354
1810
  # Information about a load balancer attribute.
2355
1811
  #
2356
- # @note When making an API call, you may pass LoadBalancerAttribute
2357
- # data as a hash:
2358
- #
2359
- # {
2360
- # key: "LoadBalancerAttributeKey",
2361
- # value: "LoadBalancerAttributeValue",
2362
- # }
2363
- #
2364
1812
  # @!attribute [rw] key
2365
1813
  # The name of the attribute.
2366
1814
  #
2367
- # The following attribute is supported by all load balancers:
1815
+ # The following attributes are supported by all load balancers:
2368
1816
  #
2369
1817
  # * `deletion_protection.enabled` - Indicates whether deletion
2370
1818
  # protection is enabled. The value is `true` or `false`. The default
2371
1819
  # is `false`.
2372
1820
  #
2373
- # ^
1821
+ # * `load_balancing.cross_zone.enabled` - Indicates whether cross-zone
1822
+ # load balancing is enabled. The possible values are `true` and
1823
+ # `false`. The default for Network Load Balancers and Gateway Load
1824
+ # Balancers is `false`. The default for Application Load Balancers
1825
+ # is `true`, and cannot be changed.
2374
1826
  #
2375
1827
  # The following attributes are supported by both Application Load
2376
1828
  # Balancers and Network Load Balancers:
@@ -2387,7 +1839,7 @@ module Aws::ElasticLoadBalancingV2
2387
1839
  # * `access_logs.s3.prefix` - The prefix for the location in the S3
2388
1840
  # bucket for the access logs.
2389
1841
  #
2390
- # * `ipv6.deny-all-igw-traffic` - Blocks internet gateway (IGW) access
1842
+ # * `ipv6.deny_all_igw_traffic` - Blocks internet gateway (IGW) access
2391
1843
  # to the load balancer. It is set to `false` for internet-facing
2392
1844
  # load balancers and `true` for internal load balancers, preventing
2393
1845
  # unintended access to your internal load balancer through an
@@ -2410,6 +1862,11 @@ module Aws::ElasticLoadBalancingV2
2410
1862
  # load balancer (`true`) or routed to targets (`false`). The default
2411
1863
  # is `false`.
2412
1864
  #
1865
+ # * `routing.http.preserve_host_header.enabled` - Indicates whether
1866
+ # the Application Load Balancer should preserve the `Host` header in
1867
+ # the HTTP request and send it to the target without any change. The
1868
+ # possible values are `true` and `false`. The default is `false`.
1869
+ #
2413
1870
  # * `routing.http.x_amzn_tls_version_and_cipher_suite.enabled` -
2414
1871
  # Indicates whether the two headers (`x-amzn-tls-version` and
2415
1872
  # `x-amzn-tls-cipher-suite`), which contain information about the
@@ -2426,6 +1883,24 @@ module Aws::ElasticLoadBalancingV2
2426
1883
  # client used to connect to the load balancer. The possible values
2427
1884
  # are `true` and `false`. The default is `false`.
2428
1885
  #
1886
+ # * `routing.http.xff_header_processing.mode` - Enables you to modify,
1887
+ # preserve, or remove the `X-Forwarded-For` header in the HTTP
1888
+ # request before the Application Load Balancer sends the request to
1889
+ # the target. The possible values are `append`, `preserve`, and
1890
+ # `remove`. The default is `append`.
1891
+ #
1892
+ # * If the value is `append`, the Application Load Balancer adds the
1893
+ # client IP address (of the last hop) to the `X-Forwarded-For`
1894
+ # header in the HTTP request before it sends it to targets.
1895
+ #
1896
+ # * If the value is `preserve` the Application Load Balancer
1897
+ # preserves the `X-Forwarded-For` header in the HTTP request, and
1898
+ # sends it to targets without any change.
1899
+ #
1900
+ # * If the value is `remove`, the Application Load Balancer removes
1901
+ # the `X-Forwarded-For` header in the HTTP request before it sends
1902
+ # it to targets.
1903
+ #
2429
1904
  # * `routing.http2.enabled` - Indicates whether HTTP/2 is enabled. The
2430
1905
  # possible values are `true` and `false`. The default is `true`.
2431
1906
  # Elastic Load Balancing requires that message header names contain
@@ -2436,12 +1911,15 @@ module Aws::ElasticLoadBalancingV2
2436
1911
  # forward the request to Amazon Web Services WAF. The possible
2437
1912
  # values are `true` and `false`. The default is `false`.
2438
1913
  #
2439
- # The following attribute is supported by Network Load Balancers and
2440
- # Gateway Load Balancers:
1914
+ # The following attributes are supported by only Network Load
1915
+ # Balancers:
2441
1916
  #
2442
- # * `load_balancing.cross_zone.enabled` - Indicates whether cross-zone
2443
- # load balancing is enabled. The possible values are `true` and
2444
- # `false`. The default is `false`.
1917
+ # * `dns_record.client_routing_policy` - Indicates how traffic is
1918
+ # distributed among the load balancer Availability Zones. The
1919
+ # possible values are `availability_zone_affinity` with 100 percent
1920
+ # zonal affinity, `partial_availability_zone_affinity` with 85
1921
+ # percent zonal affinity, and `any_availability_zone` with 0 percent
1922
+ # zonal affinity.
2445
1923
  #
2446
1924
  # ^
2447
1925
  # @return [String]
@@ -2493,22 +1971,18 @@ module Aws::ElasticLoadBalancingV2
2493
1971
  # target. If the protocol version is gRPC, these are gRPC codes.
2494
1972
  # Otherwise, these are HTTP codes.
2495
1973
  #
2496
- # @note When making an API call, you may pass Matcher
2497
- # data as a hash:
2498
- #
2499
- # {
2500
- # http_code: "HttpCode",
2501
- # grpc_code: "GrpcCode",
2502
- # }
2503
- #
2504
1974
  # @!attribute [rw] http_code
2505
1975
  # For Application Load Balancers, you can specify values between 200
2506
- # and 499, and the default value is 200. You can specify multiple
1976
+ # and 499, with the default value being 200. You can specify multiple
2507
1977
  # values (for example, "200,202") or a range of values (for example,
2508
1978
  # "200-299").
2509
1979
  #
2510
- # For Network Load Balancers and Gateway Load Balancers, this must be
2511
- # "200399".
1980
+ # For Network Load Balancers, you can specify values between 200 and
1981
+ # 599, with the default value being 200-399. You can specify multiple
1982
+ # values (for example, "200,202") or a range of values (for example,
1983
+ # "200-299").
1984
+ #
1985
+ # For Gateway Load Balancers, this must be "200–399".
2512
1986
  #
2513
1987
  # Note that when using shorthand syntax, some values such as commas
2514
1988
  # need to be escaped.
@@ -2529,83 +2003,6 @@ module Aws::ElasticLoadBalancingV2
2529
2003
  include Aws::Structure
2530
2004
  end
2531
2005
 
2532
- # @note When making an API call, you may pass ModifyListenerInput
2533
- # data as a hash:
2534
- #
2535
- # {
2536
- # listener_arn: "ListenerArn", # required
2537
- # port: 1,
2538
- # protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
2539
- # ssl_policy: "SslPolicyName",
2540
- # certificates: [
2541
- # {
2542
- # certificate_arn: "CertificateArn",
2543
- # is_default: false,
2544
- # },
2545
- # ],
2546
- # default_actions: [
2547
- # {
2548
- # type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
2549
- # target_group_arn: "TargetGroupArn",
2550
- # authenticate_oidc_config: {
2551
- # issuer: "AuthenticateOidcActionIssuer", # required
2552
- # authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
2553
- # token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
2554
- # user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
2555
- # client_id: "AuthenticateOidcActionClientId", # required
2556
- # client_secret: "AuthenticateOidcActionClientSecret",
2557
- # session_cookie_name: "AuthenticateOidcActionSessionCookieName",
2558
- # scope: "AuthenticateOidcActionScope",
2559
- # session_timeout: 1,
2560
- # authentication_request_extra_params: {
2561
- # "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
2562
- # },
2563
- # on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
2564
- # use_existing_client_secret: false,
2565
- # },
2566
- # authenticate_cognito_config: {
2567
- # user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
2568
- # user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
2569
- # user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
2570
- # session_cookie_name: "AuthenticateCognitoActionSessionCookieName",
2571
- # scope: "AuthenticateCognitoActionScope",
2572
- # session_timeout: 1,
2573
- # authentication_request_extra_params: {
2574
- # "AuthenticateCognitoActionAuthenticationRequestParamName" => "AuthenticateCognitoActionAuthenticationRequestParamValue",
2575
- # },
2576
- # on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
2577
- # },
2578
- # order: 1,
2579
- # redirect_config: {
2580
- # protocol: "RedirectActionProtocol",
2581
- # port: "RedirectActionPort",
2582
- # host: "RedirectActionHost",
2583
- # path: "RedirectActionPath",
2584
- # query: "RedirectActionQuery",
2585
- # status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
2586
- # },
2587
- # fixed_response_config: {
2588
- # message_body: "FixedResponseActionMessage",
2589
- # status_code: "FixedResponseActionStatusCode", # required
2590
- # content_type: "FixedResponseActionContentType",
2591
- # },
2592
- # forward_config: {
2593
- # target_groups: [
2594
- # {
2595
- # target_group_arn: "TargetGroupArn",
2596
- # weight: 1,
2597
- # },
2598
- # ],
2599
- # target_group_stickiness_config: {
2600
- # enabled: false,
2601
- # duration_seconds: 1,
2602
- # },
2603
- # },
2604
- # },
2605
- # ],
2606
- # alpn_policy: ["AlpnPolicyValue"],
2607
- # }
2608
- #
2609
2006
  # @!attribute [rw] listener_arn
2610
2007
  # The Amazon Resource Name (ARN) of the listener.
2611
2008
  # @return [String]
@@ -2697,19 +2094,6 @@ module Aws::ElasticLoadBalancingV2
2697
2094
  include Aws::Structure
2698
2095
  end
2699
2096
 
2700
- # @note When making an API call, you may pass ModifyLoadBalancerAttributesInput
2701
- # data as a hash:
2702
- #
2703
- # {
2704
- # load_balancer_arn: "LoadBalancerArn", # required
2705
- # attributes: [ # required
2706
- # {
2707
- # key: "LoadBalancerAttributeKey",
2708
- # value: "LoadBalancerAttributeValue",
2709
- # },
2710
- # ],
2711
- # }
2712
- #
2713
2097
  # @!attribute [rw] load_balancer_arn
2714
2098
  # The Amazon Resource Name (ARN) of the load balancer.
2715
2099
  # @return [String]
@@ -2739,103 +2123,6 @@ module Aws::ElasticLoadBalancingV2
2739
2123
  include Aws::Structure
2740
2124
  end
2741
2125
 
2742
- # @note When making an API call, you may pass ModifyRuleInput
2743
- # data as a hash:
2744
- #
2745
- # {
2746
- # rule_arn: "RuleArn", # required
2747
- # conditions: [
2748
- # {
2749
- # field: "ConditionFieldName",
2750
- # values: ["StringValue"],
2751
- # host_header_config: {
2752
- # values: ["StringValue"],
2753
- # },
2754
- # path_pattern_config: {
2755
- # values: ["StringValue"],
2756
- # },
2757
- # http_header_config: {
2758
- # http_header_name: "HttpHeaderConditionName",
2759
- # values: ["StringValue"],
2760
- # },
2761
- # query_string_config: {
2762
- # values: [
2763
- # {
2764
- # key: "StringValue",
2765
- # value: "StringValue",
2766
- # },
2767
- # ],
2768
- # },
2769
- # http_request_method_config: {
2770
- # values: ["StringValue"],
2771
- # },
2772
- # source_ip_config: {
2773
- # values: ["StringValue"],
2774
- # },
2775
- # },
2776
- # ],
2777
- # actions: [
2778
- # {
2779
- # type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
2780
- # target_group_arn: "TargetGroupArn",
2781
- # authenticate_oidc_config: {
2782
- # issuer: "AuthenticateOidcActionIssuer", # required
2783
- # authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
2784
- # token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
2785
- # user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
2786
- # client_id: "AuthenticateOidcActionClientId", # required
2787
- # client_secret: "AuthenticateOidcActionClientSecret",
2788
- # session_cookie_name: "AuthenticateOidcActionSessionCookieName",
2789
- # scope: "AuthenticateOidcActionScope",
2790
- # session_timeout: 1,
2791
- # authentication_request_extra_params: {
2792
- # "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
2793
- # },
2794
- # on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
2795
- # use_existing_client_secret: false,
2796
- # },
2797
- # authenticate_cognito_config: {
2798
- # user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
2799
- # user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
2800
- # user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
2801
- # session_cookie_name: "AuthenticateCognitoActionSessionCookieName",
2802
- # scope: "AuthenticateCognitoActionScope",
2803
- # session_timeout: 1,
2804
- # authentication_request_extra_params: {
2805
- # "AuthenticateCognitoActionAuthenticationRequestParamName" => "AuthenticateCognitoActionAuthenticationRequestParamValue",
2806
- # },
2807
- # on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
2808
- # },
2809
- # order: 1,
2810
- # redirect_config: {
2811
- # protocol: "RedirectActionProtocol",
2812
- # port: "RedirectActionPort",
2813
- # host: "RedirectActionHost",
2814
- # path: "RedirectActionPath",
2815
- # query: "RedirectActionQuery",
2816
- # status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
2817
- # },
2818
- # fixed_response_config: {
2819
- # message_body: "FixedResponseActionMessage",
2820
- # status_code: "FixedResponseActionStatusCode", # required
2821
- # content_type: "FixedResponseActionContentType",
2822
- # },
2823
- # forward_config: {
2824
- # target_groups: [
2825
- # {
2826
- # target_group_arn: "TargetGroupArn",
2827
- # weight: 1,
2828
- # },
2829
- # ],
2830
- # target_group_stickiness_config: {
2831
- # enabled: false,
2832
- # duration_seconds: 1,
2833
- # },
2834
- # },
2835
- # },
2836
- # ],
2837
- # }
2838
- #
2839
2126
  # @!attribute [rw] rule_arn
2840
2127
  # The Amazon Resource Name (ARN) of the rule.
2841
2128
  # @return [String]
@@ -2870,19 +2157,6 @@ module Aws::ElasticLoadBalancingV2
2870
2157
  include Aws::Structure
2871
2158
  end
2872
2159
 
2873
- # @note When making an API call, you may pass ModifyTargetGroupAttributesInput
2874
- # data as a hash:
2875
- #
2876
- # {
2877
- # target_group_arn: "TargetGroupArn", # required
2878
- # attributes: [ # required
2879
- # {
2880
- # key: "TargetGroupAttributeKey",
2881
- # value: "TargetGroupAttributeValue",
2882
- # },
2883
- # ],
2884
- # }
2885
- #
2886
2160
  # @!attribute [rw] target_group_arn
2887
2161
  # The Amazon Resource Name (ARN) of the target group.
2888
2162
  # @return [String]
@@ -2912,25 +2186,6 @@ module Aws::ElasticLoadBalancingV2
2912
2186
  include Aws::Structure
2913
2187
  end
2914
2188
 
2915
- # @note When making an API call, you may pass ModifyTargetGroupInput
2916
- # data as a hash:
2917
- #
2918
- # {
2919
- # target_group_arn: "TargetGroupArn", # required
2920
- # health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
2921
- # health_check_port: "HealthCheckPort",
2922
- # health_check_path: "Path",
2923
- # health_check_enabled: false,
2924
- # health_check_interval_seconds: 1,
2925
- # health_check_timeout_seconds: 1,
2926
- # healthy_threshold_count: 1,
2927
- # unhealthy_threshold_count: 1,
2928
- # matcher: {
2929
- # http_code: "HttpCode",
2930
- # grpc_code: "GrpcCode",
2931
- # },
2932
- # }
2933
- #
2934
2189
  # @!attribute [rw] target_group_arn
2935
2190
  # The Amazon Resource Name (ARN) of the target group.
2936
2191
  # @return [String]
@@ -2944,8 +2199,6 @@ module Aws::ElasticLoadBalancingV2
2944
2199
  # health checks only if the protocol of the target group is TCP, TLS,
2945
2200
  # UDP, or TCP\_UDP. The GENEVE, TLS, UDP, and TCP\_UDP protocols are
2946
2201
  # not supported for health checks.
2947
- #
2948
- # With Network Load Balancers, you can't modify this setting.
2949
2202
  # @return [String]
2950
2203
  #
2951
2204
  # @!attribute [rw] health_check_port
@@ -2970,17 +2223,12 @@ module Aws::ElasticLoadBalancingV2
2970
2223
  #
2971
2224
  # @!attribute [rw] health_check_interval_seconds
2972
2225
  # The approximate amount of time, in seconds, between health checks of
2973
- # an individual target. For TCP health checks, the supported values
2974
- # are 10 or 30 seconds.
2975
- #
2976
- # With Network Load Balancers, you can't modify this setting.
2226
+ # an individual target.
2977
2227
  # @return [Integer]
2978
2228
  #
2979
2229
  # @!attribute [rw] health_check_timeout_seconds
2980
2230
  # \[HTTP/HTTPS health checks\] The amount of time, in seconds, during
2981
2231
  # which no response means a failed health check.
2982
- #
2983
- # With Network Load Balancers, you can't modify this setting.
2984
2232
  # @return [Integer]
2985
2233
  #
2986
2234
  # @!attribute [rw] healthy_threshold_count
@@ -2990,16 +2238,16 @@ module Aws::ElasticLoadBalancingV2
2990
2238
  #
2991
2239
  # @!attribute [rw] unhealthy_threshold_count
2992
2240
  # The number of consecutive health check failures required before
2993
- # considering the target unhealthy. For target groups with a protocol
2994
- # of TCP or TLS, this value must be the same as the healthy threshold
2995
- # count.
2241
+ # considering the target unhealthy.
2996
2242
  # @return [Integer]
2997
2243
  #
2998
2244
  # @!attribute [rw] matcher
2999
2245
  # \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
3000
- # checking for a successful response from a target.
3001
- #
3002
- # With Network Load Balancers, you can't modify this setting.
2246
+ # checking for a successful response from a target. For target groups
2247
+ # with a protocol of TCP, TCP\_UDP, UDP or TLS the range is 200-599.
2248
+ # For target groups with a protocol of HTTP or HTTPS, the range is
2249
+ # 200-499. For target groups with a protocol of GENEVE, the range is
2250
+ # 200-399.
3003
2251
  # @return [Types::Matcher]
3004
2252
  #
3005
2253
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupInput AWS API Documentation
@@ -3039,17 +2287,10 @@ module Aws::ElasticLoadBalancingV2
3039
2287
 
3040
2288
  # Information about a path pattern condition.
3041
2289
  #
3042
- # @note When making an API call, you may pass PathPatternConditionConfig
3043
- # data as a hash:
3044
- #
3045
- # {
3046
- # values: ["StringValue"],
3047
- # }
3048
- #
3049
2290
  # @!attribute [rw] values
3050
- # One or more path patterns to compare against the request URL. The
3051
- # maximum size of each string is 128 characters. The comparison is
3052
- # case sensitive. The following wildcard characters are supported: *
2291
+ # The path patterns to compare against the request URL. The maximum
2292
+ # size of each string is 128 characters. The comparison is case
2293
+ # sensitive. The following wildcard characters are supported: *
3053
2294
  # (matches 0 or more characters) and ? (matches exactly 1 character).
3054
2295
  #
3055
2296
  # If you specify multiple strings, the condition is satisfied if one
@@ -3080,21 +2321,9 @@ module Aws::ElasticLoadBalancingV2
3080
2321
  # '&amp;' characters. The allowed characters are specified by RFC
3081
2322
  # 3986. Any character can be percentage encoded.
3082
2323
  #
3083
- # @note When making an API call, you may pass QueryStringConditionConfig
3084
- # data as a hash:
3085
- #
3086
- # {
3087
- # values: [
3088
- # {
3089
- # key: "StringValue",
3090
- # value: "StringValue",
3091
- # },
3092
- # ],
3093
- # }
3094
- #
3095
2324
  # @!attribute [rw] values
3096
- # One or more key/value pairs or values to find in the query string.
3097
- # The maximum size of each string is 128 characters. The comparison is
2325
+ # The key/value pairs or values to find in the query string. The
2326
+ # maximum size of each string is 128 characters. The comparison is
3098
2327
  # case insensitive. The following wildcard characters are supported:
3099
2328
  # * (matches 0 or more characters) and ? (matches exactly 1
3100
2329
  # character). To search for a literal '*' or '?' character in a
@@ -3115,14 +2344,6 @@ module Aws::ElasticLoadBalancingV2
3115
2344
 
3116
2345
  # Information about a key/value pair.
3117
2346
  #
3118
- # @note When making an API call, you may pass QueryStringKeyValuePair
3119
- # data as a hash:
3120
- #
3121
- # {
3122
- # key: "StringValue",
3123
- # value: "StringValue",
3124
- # }
3125
- #
3126
2347
  # @!attribute [rw] key
3127
2348
  # The key. You can omit the key.
3128
2349
  # @return [String]
@@ -3164,18 +2385,6 @@ module Aws::ElasticLoadBalancingV2
3164
2385
  # hostname to "example.#\\\{host\\}", or the query to
3165
2386
  # "#\\\{query\\}&amp;value=xyz".
3166
2387
  #
3167
- # @note When making an API call, you may pass RedirectActionConfig
3168
- # data as a hash:
3169
- #
3170
- # {
3171
- # protocol: "RedirectActionProtocol",
3172
- # port: "RedirectActionPort",
3173
- # host: "RedirectActionHost",
3174
- # path: "RedirectActionPath",
3175
- # query: "RedirectActionQuery",
3176
- # status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
3177
- # }
3178
- #
3179
2388
  # @!attribute [rw] protocol
3180
2389
  # The protocol. You can specify HTTP, HTTPS, or #\\\{protocol\\}. You
3181
2390
  # can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You
@@ -3221,20 +2430,6 @@ module Aws::ElasticLoadBalancingV2
3221
2430
  include Aws::Structure
3222
2431
  end
3223
2432
 
3224
- # @note When making an API call, you may pass RegisterTargetsInput
3225
- # data as a hash:
3226
- #
3227
- # {
3228
- # target_group_arn: "TargetGroupArn", # required
3229
- # targets: [ # required
3230
- # {
3231
- # id: "TargetId", # required
3232
- # port: 1,
3233
- # availability_zone: "ZoneName",
3234
- # },
3235
- # ],
3236
- # }
3237
- #
3238
2433
  # @!attribute [rw] target_group_arn
3239
2434
  # The Amazon Resource Name (ARN) of the target group.
3240
2435
  # @return [String]
@@ -3256,19 +2451,6 @@ module Aws::ElasticLoadBalancingV2
3256
2451
  #
3257
2452
  class RegisterTargetsOutput < Aws::EmptyStructure; end
3258
2453
 
3259
- # @note When making an API call, you may pass RemoveListenerCertificatesInput
3260
- # data as a hash:
3261
- #
3262
- # {
3263
- # listener_arn: "ListenerArn", # required
3264
- # certificates: [ # required
3265
- # {
3266
- # certificate_arn: "CertificateArn",
3267
- # is_default: false,
3268
- # },
3269
- # ],
3270
- # }
3271
- #
3272
2454
  # @!attribute [rw] listener_arn
3273
2455
  # The Amazon Resource Name (ARN) of the listener.
3274
2456
  # @return [String]
@@ -3292,14 +2474,6 @@ module Aws::ElasticLoadBalancingV2
3292
2474
  #
3293
2475
  class RemoveListenerCertificatesOutput < Aws::EmptyStructure; end
3294
2476
 
3295
- # @note When making an API call, you may pass RemoveTagsInput
3296
- # data as a hash:
3297
- #
3298
- # {
3299
- # resource_arns: ["ResourceArn"], # required
3300
- # tag_keys: ["TagKey"], # required
3301
- # }
3302
- #
3303
2477
  # @!attribute [rw] resource_arns
3304
2478
  # The Amazon Resource Name (ARN) of the resource.
3305
2479
  # @return [Array<String>]
@@ -3371,39 +2545,15 @@ module Aws::ElasticLoadBalancingV2
3371
2545
  # Each rule can optionally include up to one of each of the following
3372
2546
  # conditions: `http-request-method`, `host-header`, `path-pattern`, and
3373
2547
  # `source-ip`. Each rule can also optionally include one or more of each
3374
- # of the following conditions: `http-header` and `query-string`.
3375
- #
3376
- # @note When making an API call, you may pass RuleCondition
3377
- # data as a hash:
3378
- #
3379
- # {
3380
- # field: "ConditionFieldName",
3381
- # values: ["StringValue"],
3382
- # host_header_config: {
3383
- # values: ["StringValue"],
3384
- # },
3385
- # path_pattern_config: {
3386
- # values: ["StringValue"],
3387
- # },
3388
- # http_header_config: {
3389
- # http_header_name: "HttpHeaderConditionName",
3390
- # values: ["StringValue"],
3391
- # },
3392
- # query_string_config: {
3393
- # values: [
3394
- # {
3395
- # key: "StringValue",
3396
- # value: "StringValue",
3397
- # },
3398
- # ],
3399
- # },
3400
- # http_request_method_config: {
3401
- # values: ["StringValue"],
3402
- # },
3403
- # source_ip_config: {
3404
- # values: ["StringValue"],
3405
- # },
3406
- # }
2548
+ # of the following conditions: `http-header` and `query-string`. Note
2549
+ # that the value for a condition cannot be empty.
2550
+ #
2551
+ # For more information, see [Quotas for your Application Load
2552
+ # Balancers][1].
2553
+ #
2554
+ #
2555
+ #
2556
+ # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html
3407
2557
  #
3408
2558
  # @!attribute [rw] field
3409
2559
  # The field in the HTTP request. The following are the possible
@@ -3512,14 +2662,6 @@ module Aws::ElasticLoadBalancingV2
3512
2662
 
3513
2663
  # Information about the priorities for the rules for a listener.
3514
2664
  #
3515
- # @note When making an API call, you may pass RulePriorityPair
3516
- # data as a hash:
3517
- #
3518
- # {
3519
- # rule_arn: "RuleArn",
3520
- # priority: 1,
3521
- # }
3522
- #
3523
2665
  # @!attribute [rw] rule_arn
3524
2666
  # The Amazon Resource Name (ARN) of the rule.
3525
2667
  # @return [String]
@@ -3543,14 +2685,6 @@ module Aws::ElasticLoadBalancingV2
3543
2685
  #
3544
2686
  class SSLPolicyNotFoundException < Aws::EmptyStructure; end
3545
2687
 
3546
- # @note When making an API call, you may pass SetIpAddressTypeInput
3547
- # data as a hash:
3548
- #
3549
- # {
3550
- # load_balancer_arn: "LoadBalancerArn", # required
3551
- # ip_address_type: "ipv4", # required, accepts ipv4, dualstack
3552
- # }
3553
- #
3554
2688
  # @!attribute [rw] load_balancer_arn
3555
2689
  # The Amazon Resource Name (ARN) of the load balancer.
3556
2690
  # @return [String]
@@ -3583,18 +2717,6 @@ module Aws::ElasticLoadBalancingV2
3583
2717
  include Aws::Structure
3584
2718
  end
3585
2719
 
3586
- # @note When making an API call, you may pass SetRulePrioritiesInput
3587
- # data as a hash:
3588
- #
3589
- # {
3590
- # rule_priorities: [ # required
3591
- # {
3592
- # rule_arn: "RuleArn",
3593
- # priority: 1,
3594
- # },
3595
- # ],
3596
- # }
3597
- #
3598
2720
  # @!attribute [rw] rule_priorities
3599
2721
  # The rule priorities.
3600
2722
  # @return [Array<Types::RulePriorityPair>]
@@ -3619,14 +2741,6 @@ module Aws::ElasticLoadBalancingV2
3619
2741
  include Aws::Structure
3620
2742
  end
3621
2743
 
3622
- # @note When making an API call, you may pass SetSecurityGroupsInput
3623
- # data as a hash:
3624
- #
3625
- # {
3626
- # load_balancer_arn: "LoadBalancerArn", # required
3627
- # security_groups: ["SecurityGroupId"], # required
3628
- # }
3629
- #
3630
2744
  # @!attribute [rw] load_balancer_arn
3631
2745
  # The Amazon Resource Name (ARN) of the load balancer.
3632
2746
  # @return [String]
@@ -3635,11 +2749,18 @@ module Aws::ElasticLoadBalancingV2
3635
2749
  # The IDs of the security groups.
3636
2750
  # @return [Array<String>]
3637
2751
  #
2752
+ # @!attribute [rw] enforce_security_group_inbound_rules_on_private_link_traffic
2753
+ # Indicates whether to evaluate inbound security group rules for
2754
+ # traffic sent to a Network Load Balancer through Amazon Web Services
2755
+ # PrivateLink. The default is `on`.
2756
+ # @return [String]
2757
+ #
3638
2758
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsInput AWS API Documentation
3639
2759
  #
3640
2760
  class SetSecurityGroupsInput < Struct.new(
3641
2761
  :load_balancer_arn,
3642
- :security_groups)
2762
+ :security_groups,
2763
+ :enforce_security_group_inbound_rules_on_private_link_traffic)
3643
2764
  SENSITIVE = []
3644
2765
  include Aws::Structure
3645
2766
  end
@@ -3648,31 +2769,21 @@ module Aws::ElasticLoadBalancingV2
3648
2769
  # The IDs of the security groups associated with the load balancer.
3649
2770
  # @return [Array<String>]
3650
2771
  #
2772
+ # @!attribute [rw] enforce_security_group_inbound_rules_on_private_link_traffic
2773
+ # Indicates whether to evaluate inbound security group rules for
2774
+ # traffic sent to a Network Load Balancer through Amazon Web Services
2775
+ # PrivateLink.
2776
+ # @return [String]
2777
+ #
3651
2778
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsOutput AWS API Documentation
3652
2779
  #
3653
2780
  class SetSecurityGroupsOutput < Struct.new(
3654
- :security_group_ids)
2781
+ :security_group_ids,
2782
+ :enforce_security_group_inbound_rules_on_private_link_traffic)
3655
2783
  SENSITIVE = []
3656
2784
  include Aws::Structure
3657
2785
  end
3658
2786
 
3659
- # @note When making an API call, you may pass SetSubnetsInput
3660
- # data as a hash:
3661
- #
3662
- # {
3663
- # load_balancer_arn: "LoadBalancerArn", # required
3664
- # subnets: ["SubnetId"],
3665
- # subnet_mappings: [
3666
- # {
3667
- # subnet_id: "SubnetId",
3668
- # allocation_id: "AllocationId",
3669
- # private_i_pv_4_address: "PrivateIPv4Address",
3670
- # i_pv_6_address: "IPv6Address",
3671
- # },
3672
- # ],
3673
- # ip_address_type: "ipv4", # accepts ipv4, dualstack
3674
- # }
3675
- #
3676
2787
  # @!attribute [rw] load_balancer_arn
3677
2788
  # The Amazon Resource Name (ARN) of the load balancer.
3678
2789
  # @return [String]
@@ -3693,6 +2804,9 @@ module Aws::ElasticLoadBalancingV2
3693
2804
  #
3694
2805
  # \[Network Load Balancers\] You can specify subnets from one or more
3695
2806
  # Availability Zones.
2807
+ #
2808
+ # \[Gateway Load Balancers\] You can specify subnets from one or more
2809
+ # Availability Zones.
3696
2810
  # @return [Array<String>]
3697
2811
  #
3698
2812
  # @!attribute [rw] subnet_mappings
@@ -3717,6 +2831,9 @@ module Aws::ElasticLoadBalancingV2
3717
2831
  # IP address per subnet from the IPv4 range of the subnet. For
3718
2832
  # internet-facing load balancer, you can specify one IPv6 address per
3719
2833
  # subnet.
2834
+ #
2835
+ # \[Gateway Load Balancers\] You can specify subnets from one or more
2836
+ # Availability Zones.
3720
2837
  # @return [Array<Types::SubnetMapping>]
3721
2838
  #
3722
2839
  # @!attribute [rw] ip_address_type
@@ -3724,7 +2841,11 @@ module Aws::ElasticLoadBalancingV2
3724
2841
  # subnets for your load balancer. The possible values are `ipv4` (for
3725
2842
  # IPv4 addresses) and `dualstack` (for IPv4 and IPv6 addresses). You
3726
2843
  # can’t specify `dualstack` for a load balancer with a UDP or TCP\_UDP
3727
- # listener. .
2844
+ # listener.
2845
+ #
2846
+ # \[Gateway Load Balancers\] The type of IP addresses used by the
2847
+ # subnets for your load balancer. The possible values are `ipv4` (for
2848
+ # IPv4 addresses) and `dualstack` (for IPv4 and IPv6 addresses).
3728
2849
  # @return [String]
3729
2850
  #
3730
2851
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsInput AWS API Documentation
@@ -3744,6 +2865,8 @@ module Aws::ElasticLoadBalancingV2
3744
2865
  #
3745
2866
  # @!attribute [rw] ip_address_type
3746
2867
  # \[Network Load Balancers\] The IP address type.
2868
+ #
2869
+ # \[Gateway Load Balancers\] The IP address type.
3747
2870
  # @return [String]
3748
2871
  #
3749
2872
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsOutput AWS API Documentation
@@ -3762,16 +2885,9 @@ module Aws::ElasticLoadBalancingV2
3762
2885
  # proxy, this is the IP address of the proxy not the IP address of the
3763
2886
  # client.
3764
2887
  #
3765
- # @note When making an API call, you may pass SourceIpConditionConfig
3766
- # data as a hash:
3767
- #
3768
- # {
3769
- # values: ["StringValue"],
3770
- # }
3771
- #
3772
2888
  # @!attribute [rw] values
3773
- # One or more source IP addresses, in CIDR format. You can use both
3774
- # IPv4 and IPv6 addresses. Wildcards are not supported.
2889
+ # The source IP addresses, in CIDR format. You can use both IPv4 and
2890
+ # IPv6 addresses. Wildcards are not supported.
3775
2891
  #
3776
2892
  # If you specify multiple addresses, the condition is satisfied if the
3777
2893
  # source IP address of the request matches one of the CIDR blocks.
@@ -3819,16 +2935,6 @@ module Aws::ElasticLoadBalancingV2
3819
2935
 
3820
2936
  # Information about a subnet mapping.
3821
2937
  #
3822
- # @note When making an API call, you may pass SubnetMapping
3823
- # data as a hash:
3824
- #
3825
- # {
3826
- # subnet_id: "SubnetId",
3827
- # allocation_id: "AllocationId",
3828
- # private_i_pv_4_address: "PrivateIPv4Address",
3829
- # i_pv_6_address: "IPv6Address",
3830
- # }
3831
- #
3832
2938
  # @!attribute [rw] subnet_id
3833
2939
  # The ID of the subnet.
3834
2940
  # @return [String]
@@ -3866,14 +2972,6 @@ module Aws::ElasticLoadBalancingV2
3866
2972
 
3867
2973
  # Information about a tag.
3868
2974
  #
3869
- # @note When making an API call, you may pass Tag
3870
- # data as a hash:
3871
- #
3872
- # {
3873
- # key: "TagKey", # required
3874
- # value: "TagValue",
3875
- # }
3876
- #
3877
2975
  # @!attribute [rw] key
3878
2976
  # The key of the tag.
3879
2977
  # @return [String]
@@ -3912,15 +3010,6 @@ module Aws::ElasticLoadBalancingV2
3912
3010
 
3913
3011
  # Information about a target.
3914
3012
  #
3915
- # @note When making an API call, you may pass TargetDescription
3916
- # data as a hash:
3917
- #
3918
- # {
3919
- # id: "TargetId", # required
3920
- # port: 1,
3921
- # availability_zone: "ZoneName",
3922
- # }
3923
- #
3924
3013
  # @!attribute [rw] id
3925
3014
  # The ID of the target. If the target type of the target group is
3926
3015
  # `instance`, specify an instance ID. If the target type is `ip`,
@@ -3933,8 +3022,8 @@ module Aws::ElasticLoadBalancingV2
3933
3022
  # The port on which the target is listening. If the target group
3934
3023
  # protocol is GENEVE, the supported port is 6081. If the target type
3935
3024
  # is `alb`, the targeted Application Load Balancer must have at least
3936
- # one listener whose port matches the target group port. Not used if
3937
- # the target is a Lambda function.
3025
+ # one listener whose port matches the target group port. This
3026
+ # parameter is not used if the target is a Lambda function.
3938
3027
  # @return [Integer]
3939
3028
  #
3940
3029
  # @!attribute [rw] availability_zone
@@ -3943,6 +3032,11 @@ module Aws::ElasticLoadBalancingV2
3943
3032
  # Availability Zone or from all enabled Availability Zones for the
3944
3033
  # load balancer.
3945
3034
  #
3035
+ # For Application Load Balancer target groups, the specified
3036
+ # Availability Zone value is only applicable when cross-zone load
3037
+ # balancing is off. Otherwise the parameter is ignored and treated as
3038
+ # `all`.
3039
+ #
3946
3040
  # This parameter is not supported if the target type of the target
3947
3041
  # group is `instance` or `alb`.
3948
3042
  #
@@ -3951,9 +3045,10 @@ module Aws::ElasticLoadBalancingV2
3951
3045
  # detected and this parameter is optional. If the IP address is
3952
3046
  # outside the VPC, this parameter is required.
3953
3047
  #
3954
- # With an Application Load Balancer, if the target type is `ip` and
3955
- # the IP address is outside the VPC for the target group, the only
3956
- # supported value is `all`.
3048
+ # For Application Load Balancer target groups with cross-zone load
3049
+ # balancing off, if the target type is `ip` and the IP address is
3050
+ # outside of the VPC for the target group, this should be an
3051
+ # Availability Zone inside the VPC for the target group.
3957
3052
  #
3958
3053
  # If the target type is `lambda`, this parameter is optional and the
3959
3054
  # only supported value is `all`.
@@ -3984,8 +3079,8 @@ module Aws::ElasticLoadBalancingV2
3984
3079
  # @return [String]
3985
3080
  #
3986
3081
  # @!attribute [rw] port
3987
- # The port on which the targets are listening. Not used if the target
3988
- # is a Lambda function.
3082
+ # The port on which the targets are listening. This parameter is not
3083
+ # used if the target is a Lambda function.
3989
3084
  # @return [Integer]
3990
3085
  #
3991
3086
  # @!attribute [rw] vpc_id
@@ -4035,8 +3130,9 @@ module Aws::ElasticLoadBalancingV2
4035
3130
  # @return [Types::Matcher]
4036
3131
  #
4037
3132
  # @!attribute [rw] load_balancer_arns
4038
- # The Amazon Resource Names (ARN) of the load balancers that route
4039
- # traffic to this target group.
3133
+ # The Amazon Resource Name (ARN) of the load balancer that routes
3134
+ # traffic to this target group. You can use each target group with
3135
+ # only one load balancer.
4040
3136
  # @return [Array<String>]
4041
3137
  #
4042
3138
  # @!attribute [rw] target_type
@@ -4092,18 +3188,10 @@ module Aws::ElasticLoadBalancingV2
4092
3188
 
4093
3189
  # Information about a target group attribute.
4094
3190
  #
4095
- # @note When making an API call, you may pass TargetGroupAttribute
4096
- # data as a hash:
4097
- #
4098
- # {
4099
- # key: "TargetGroupAttributeKey",
4100
- # value: "TargetGroupAttributeValue",
4101
- # }
4102
- #
4103
3191
  # @!attribute [rw] key
4104
3192
  # The name of the attribute.
4105
3193
  #
4106
- # The following attribute is supported by all load balancers:
3194
+ # The following attributes are supported by all load balancers:
4107
3195
  #
4108
3196
  # * `deregistration_delay.timeout_seconds` - The amount of time, in
4109
3197
  # seconds, for Elastic Load Balancing to wait before changing the
@@ -4111,17 +3199,52 @@ module Aws::ElasticLoadBalancingV2
4111
3199
  # range is 0-3600 seconds. The default value is 300 seconds. If the
4112
3200
  # target is a Lambda function, this attribute is not supported.
4113
3201
  #
4114
- # ^
3202
+ # * `stickiness.enabled` - Indicates whether target stickiness is
3203
+ # enabled. The value is `true` or `false`. The default is `false`.
4115
3204
  #
4116
- # The following attributes are supported by both Application Load
4117
- # Balancers and Network Load Balancers:
3205
+ # * `stickiness.type` - Indicates the type of stickiness. The possible
3206
+ # values are:
4118
3207
  #
4119
- # * `stickiness.enabled` - Indicates whether sticky sessions are
4120
- # enabled. The value is `true` or `false`. The default is `false`.
3208
+ # * `lb_cookie` and `app_cookie` for Application Load Balancers.
3209
+ #
3210
+ # * `source_ip` for Network Load Balancers.
3211
+ #
3212
+ # * `source_ip_dest_ip` and `source_ip_dest_ip_proto` for Gateway
3213
+ # Load Balancers.
3214
+ #
3215
+ # The following attributes are supported by Application Load Balancers
3216
+ # and Network Load Balancers:
3217
+ #
3218
+ # * `load_balancing.cross_zone.enabled` - Indicates whether cross zone
3219
+ # load balancing is enabled. The value is `true`, `false` or
3220
+ # `use_load_balancer_configuration`. The default is
3221
+ # `use_load_balancer_configuration`.
3222
+ #
3223
+ # * `target_group_health.dns_failover.minimum_healthy_targets.count` -
3224
+ # The minimum number of targets that must be healthy. If the number
3225
+ # of healthy targets is below this value, mark the zone as unhealthy
3226
+ # in DNS, so that traffic is routed only to healthy zones. The
3227
+ # possible values are `off` or an integer from 1 to the maximum
3228
+ # number of targets. The default is `off`.
3229
+ #
3230
+ # * `target_group_health.dns_failover.minimum_healthy_targets.percentage`
3231
+ # - The minimum percentage of targets that must be healthy. If the
3232
+ # percentage of healthy targets is below this value, mark the zone
3233
+ # as unhealthy in DNS, so that traffic is routed only to healthy
3234
+ # zones. The possible values are `off` or an integer from 1 to 100.
3235
+ # The default is `off`.
4121
3236
  #
4122
- # * `stickiness.type` - The type of sticky sessions. The possible
4123
- # values are `lb_cookie` and `app_cookie` for Application Load
4124
- # Balancers or `source_ip` for Network Load Balancers.
3237
+ # * `target_group_health.unhealthy_state_routing.minimum_healthy_targets.count`
3238
+ # - The minimum number of targets that must be healthy. If the
3239
+ # number of healthy targets is below this value, send traffic to all
3240
+ # targets, including unhealthy targets. The possible values are 1 to
3241
+ # the maximum number of targets. The default is 1.
3242
+ #
3243
+ # * `target_group_health.unhealthy_state_routing.minimum_healthy_targets.percentage`
3244
+ # - The minimum percentage of targets that must be healthy. If the
3245
+ # percentage of healthy targets is below this value, send traffic to
3246
+ # all targets, including unhealthy targets. The possible values are
3247
+ # `off` or an integer from 1 to 100. The default is `off`.
4125
3248
  #
4126
3249
  # The following attributes are supported only if the load balancer is
4127
3250
  # an Application Load Balancer and the target is an instance or an IP
@@ -4175,7 +3298,8 @@ module Aws::ElasticLoadBalancingV2
4175
3298
  #
4176
3299
  # * `deregistration_delay.connection_termination.enabled` - Indicates
4177
3300
  # whether the load balancer terminates connections at the end of the
4178
- # deregistration timeout. The value is `true` or `false`. The
3301
+ # deregistration timeout. The value is `true` or `false`. For new
3302
+ # UDP/TCP\_UDP target groups the default is `true`. Otherwise, the
4179
3303
  # default is `false`.
4180
3304
  #
4181
3305
  # * `preserve_client_ip.enabled` - Indicates whether client IP
@@ -4188,6 +3312,30 @@ module Aws::ElasticLoadBalancingV2
4188
3312
  # * `proxy_protocol_v2.enabled` - Indicates whether Proxy Protocol
4189
3313
  # version 2 is enabled. The value is `true` or `false`. The default
4190
3314
  # is `false`.
3315
+ #
3316
+ # * `target_health_state.unhealthy.connection_termination.enabled` -
3317
+ # Indicates whether the load balancer terminates connections to
3318
+ # unhealthy targets. The value is `true` or `false`. The default is
3319
+ # `true`.
3320
+ #
3321
+ # The following attributes are supported only by Gateway Load
3322
+ # Balancers:
3323
+ #
3324
+ # * `target_failover.on_deregistration` - Indicates how the Gateway
3325
+ # Load Balancer handles existing flows when a target is
3326
+ # deregistered. The possible values are `rebalance` and
3327
+ # `no_rebalance`. The default is `no_rebalance`. The two attributes
3328
+ # (`target_failover.on_deregistration` and
3329
+ # `target_failover.on_unhealthy`) can't be set independently. The
3330
+ # value you set for both attributes must be the same.
3331
+ #
3332
+ # * `target_failover.on_unhealthy` - Indicates how the Gateway Load
3333
+ # Balancer handles existing flows when a target is unhealthy. The
3334
+ # possible values are `rebalance` and `no_rebalance`. The default is
3335
+ # `no_rebalance`. The two attributes
3336
+ # (`target_failover.on_deregistration` and
3337
+ # `target_failover.on_unhealthy`) cannot be set independently. The
3338
+ # value you set for both attributes must be the same.
4191
3339
  # @return [String]
4192
3340
  #
4193
3341
  # @!attribute [rw] value
@@ -4211,14 +3359,6 @@ module Aws::ElasticLoadBalancingV2
4211
3359
 
4212
3360
  # Information about the target group stickiness for a rule.
4213
3361
  #
4214
- # @note When making an API call, you may pass TargetGroupStickinessConfig
4215
- # data as a hash:
4216
- #
4217
- # {
4218
- # enabled: false,
4219
- # duration_seconds: 1,
4220
- # }
4221
- #
4222
3362
  # @!attribute [rw] enabled
4223
3363
  # Indicates whether target group stickiness is enabled.
4224
3364
  # @return [Boolean]
@@ -4241,14 +3381,6 @@ module Aws::ElasticLoadBalancingV2
4241
3381
  # Information about how traffic will be distributed between multiple
4242
3382
  # target groups in a forward rule.
4243
3383
  #
4244
- # @note When making an API call, you may pass TargetGroupTuple
4245
- # data as a hash:
4246
- #
4247
- # {
4248
- # target_group_arn: "TargetGroupArn",
4249
- # weight: 1,
4250
- # }
4251
- #
4252
3384
  # @!attribute [rw] target_group_arn
4253
3385
  # The Amazon Resource Name (ARN) of the target group.
4254
3386
  # @return [String]