aws-sdk-elasticloadbalancingv2 1.81.0 → 1.83.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-elasticloadbalancingv2/client.rb +29 -33
- data/lib/aws-sdk-elasticloadbalancingv2/endpoint_provider.rb +38 -102
- data/lib/aws-sdk-elasticloadbalancingv2/types.rb +103 -1087
- data/lib/aws-sdk-elasticloadbalancingv2.rb +1 -1
- metadata +2 -2
@@ -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
|
#
|
@@ -857,110 +615,6 @@ module Aws::ElasticLoadBalancingV2
|
|
857
615
|
include Aws::Structure
|
858
616
|
end
|
859
617
|
|
860
|
-
# @note When making an API call, you may pass CreateRuleInput
|
861
|
-
# data as a hash:
|
862
|
-
#
|
863
|
-
# {
|
864
|
-
# listener_arn: "ListenerArn", # required
|
865
|
-
# conditions: [ # required
|
866
|
-
# {
|
867
|
-
# field: "ConditionFieldName",
|
868
|
-
# values: ["StringValue"],
|
869
|
-
# host_header_config: {
|
870
|
-
# values: ["StringValue"],
|
871
|
-
# },
|
872
|
-
# path_pattern_config: {
|
873
|
-
# values: ["StringValue"],
|
874
|
-
# },
|
875
|
-
# http_header_config: {
|
876
|
-
# http_header_name: "HttpHeaderConditionName",
|
877
|
-
# values: ["StringValue"],
|
878
|
-
# },
|
879
|
-
# query_string_config: {
|
880
|
-
# values: [
|
881
|
-
# {
|
882
|
-
# key: "StringValue",
|
883
|
-
# value: "StringValue",
|
884
|
-
# },
|
885
|
-
# ],
|
886
|
-
# },
|
887
|
-
# http_request_method_config: {
|
888
|
-
# values: ["StringValue"],
|
889
|
-
# },
|
890
|
-
# source_ip_config: {
|
891
|
-
# values: ["StringValue"],
|
892
|
-
# },
|
893
|
-
# },
|
894
|
-
# ],
|
895
|
-
# priority: 1, # required
|
896
|
-
# actions: [ # required
|
897
|
-
# {
|
898
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
|
899
|
-
# target_group_arn: "TargetGroupArn",
|
900
|
-
# authenticate_oidc_config: {
|
901
|
-
# issuer: "AuthenticateOidcActionIssuer", # required
|
902
|
-
# authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
|
903
|
-
# token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
|
904
|
-
# user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
|
905
|
-
# client_id: "AuthenticateOidcActionClientId", # required
|
906
|
-
# client_secret: "AuthenticateOidcActionClientSecret",
|
907
|
-
# session_cookie_name: "AuthenticateOidcActionSessionCookieName",
|
908
|
-
# scope: "AuthenticateOidcActionScope",
|
909
|
-
# session_timeout: 1,
|
910
|
-
# authentication_request_extra_params: {
|
911
|
-
# "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
|
912
|
-
# },
|
913
|
-
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
914
|
-
# use_existing_client_secret: false,
|
915
|
-
# },
|
916
|
-
# authenticate_cognito_config: {
|
917
|
-
# user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
|
918
|
-
# user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
|
919
|
-
# user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
|
920
|
-
# session_cookie_name: "AuthenticateCognitoActionSessionCookieName",
|
921
|
-
# scope: "AuthenticateCognitoActionScope",
|
922
|
-
# session_timeout: 1,
|
923
|
-
# authentication_request_extra_params: {
|
924
|
-
# "AuthenticateCognitoActionAuthenticationRequestParamName" => "AuthenticateCognitoActionAuthenticationRequestParamValue",
|
925
|
-
# },
|
926
|
-
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
927
|
-
# },
|
928
|
-
# order: 1,
|
929
|
-
# redirect_config: {
|
930
|
-
# protocol: "RedirectActionProtocol",
|
931
|
-
# port: "RedirectActionPort",
|
932
|
-
# host: "RedirectActionHost",
|
933
|
-
# path: "RedirectActionPath",
|
934
|
-
# query: "RedirectActionQuery",
|
935
|
-
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
936
|
-
# },
|
937
|
-
# fixed_response_config: {
|
938
|
-
# message_body: "FixedResponseActionMessage",
|
939
|
-
# status_code: "FixedResponseActionStatusCode", # required
|
940
|
-
# content_type: "FixedResponseActionContentType",
|
941
|
-
# },
|
942
|
-
# forward_config: {
|
943
|
-
# target_groups: [
|
944
|
-
# {
|
945
|
-
# target_group_arn: "TargetGroupArn",
|
946
|
-
# weight: 1,
|
947
|
-
# },
|
948
|
-
# ],
|
949
|
-
# target_group_stickiness_config: {
|
950
|
-
# enabled: false,
|
951
|
-
# duration_seconds: 1,
|
952
|
-
# },
|
953
|
-
# },
|
954
|
-
# },
|
955
|
-
# ],
|
956
|
-
# tags: [
|
957
|
-
# {
|
958
|
-
# key: "TagKey", # required
|
959
|
-
# value: "TagValue",
|
960
|
-
# },
|
961
|
-
# ],
|
962
|
-
# }
|
963
|
-
#
|
964
618
|
# @!attribute [rw] listener_arn
|
965
619
|
# The Amazon Resource Name (ARN) of the listener.
|
966
620
|
# @return [String]
|
@@ -1006,37 +660,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1006
660
|
include Aws::Structure
|
1007
661
|
end
|
1008
662
|
|
1009
|
-
# @note When making an API call, you may pass CreateTargetGroupInput
|
1010
|
-
# data as a hash:
|
1011
|
-
#
|
1012
|
-
# {
|
1013
|
-
# name: "TargetGroupName", # required
|
1014
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
1015
|
-
# protocol_version: "ProtocolVersion",
|
1016
|
-
# port: 1,
|
1017
|
-
# vpc_id: "VpcId",
|
1018
|
-
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
1019
|
-
# health_check_port: "HealthCheckPort",
|
1020
|
-
# health_check_enabled: false,
|
1021
|
-
# health_check_path: "Path",
|
1022
|
-
# health_check_interval_seconds: 1,
|
1023
|
-
# health_check_timeout_seconds: 1,
|
1024
|
-
# healthy_threshold_count: 1,
|
1025
|
-
# unhealthy_threshold_count: 1,
|
1026
|
-
# matcher: {
|
1027
|
-
# http_code: "HttpCode",
|
1028
|
-
# grpc_code: "GrpcCode",
|
1029
|
-
# },
|
1030
|
-
# target_type: "instance", # accepts instance, ip, lambda, alb
|
1031
|
-
# tags: [
|
1032
|
-
# {
|
1033
|
-
# key: "TagKey", # required
|
1034
|
-
# value: "TagValue",
|
1035
|
-
# },
|
1036
|
-
# ],
|
1037
|
-
# ip_address_type: "ipv4", # accepts ipv4, ipv6
|
1038
|
-
# }
|
1039
|
-
#
|
1040
663
|
# @!attribute [rw] name
|
1041
664
|
# The name of the target group.
|
1042
665
|
#
|
@@ -1112,44 +735,46 @@ module Aws::ElasticLoadBalancingV2
|
|
1112
735
|
#
|
1113
736
|
# @!attribute [rw] health_check_interval_seconds
|
1114
737
|
# The approximate amount of time, in seconds, between health checks of
|
1115
|
-
# an individual target. If the target group
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
#
|
1120
|
-
# 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.
|
1121
743
|
# @return [Integer]
|
1122
744
|
#
|
1123
745
|
# @!attribute [rw] health_check_timeout_seconds
|
1124
746
|
# The amount of time, in seconds, during which no response from a
|
1125
|
-
# target means a failed health check.
|
1126
|
-
# protocol of HTTP,
|
1127
|
-
# target groups with a protocol of TCP or
|
1128
|
-
# seconds
|
1129
|
-
#
|
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
|
1130
752
|
# seconds.
|
1131
753
|
# @return [Integer]
|
1132
754
|
#
|
1133
755
|
# @!attribute [rw] healthy_threshold_count
|
1134
|
-
# The number of consecutive health
|
1135
|
-
# considering
|
1136
|
-
# protocol
|
1137
|
-
# a protocol of
|
1138
|
-
# 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 3. If
|
760
|
+
# the target type is `lambda`, the default is 5.
|
1139
761
|
# @return [Integer]
|
1140
762
|
#
|
1141
763
|
# @!attribute [rw] unhealthy_threshold_count
|
1142
764
|
# The number of consecutive health check failures required before
|
1143
|
-
# considering a target unhealthy.
|
1144
|
-
#
|
1145
|
-
#
|
1146
|
-
# the target
|
1147
|
-
# 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 3. If the target type is `lambda`, the default is 5.
|
1148
769
|
# @return [Integer]
|
1149
770
|
#
|
1150
771
|
# @!attribute [rw] matcher
|
1151
772
|
# \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
|
1152
|
-
# 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.
|
1153
778
|
# @return [Types::Matcher]
|
1154
779
|
#
|
1155
780
|
# @!attribute [rw] target_type
|
@@ -1217,13 +842,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1217
842
|
include Aws::Structure
|
1218
843
|
end
|
1219
844
|
|
1220
|
-
# @note When making an API call, you may pass DeleteListenerInput
|
1221
|
-
# data as a hash:
|
1222
|
-
#
|
1223
|
-
# {
|
1224
|
-
# listener_arn: "ListenerArn", # required
|
1225
|
-
# }
|
1226
|
-
#
|
1227
845
|
# @!attribute [rw] listener_arn
|
1228
846
|
# The Amazon Resource Name (ARN) of the listener.
|
1229
847
|
# @return [String]
|
@@ -1240,13 +858,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1240
858
|
#
|
1241
859
|
class DeleteListenerOutput < Aws::EmptyStructure; end
|
1242
860
|
|
1243
|
-
# @note When making an API call, you may pass DeleteLoadBalancerInput
|
1244
|
-
# data as a hash:
|
1245
|
-
#
|
1246
|
-
# {
|
1247
|
-
# load_balancer_arn: "LoadBalancerArn", # required
|
1248
|
-
# }
|
1249
|
-
#
|
1250
861
|
# @!attribute [rw] load_balancer_arn
|
1251
862
|
# The Amazon Resource Name (ARN) of the load balancer.
|
1252
863
|
# @return [String]
|
@@ -1263,13 +874,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1263
874
|
#
|
1264
875
|
class DeleteLoadBalancerOutput < Aws::EmptyStructure; end
|
1265
876
|
|
1266
|
-
# @note When making an API call, you may pass DeleteRuleInput
|
1267
|
-
# data as a hash:
|
1268
|
-
#
|
1269
|
-
# {
|
1270
|
-
# rule_arn: "RuleArn", # required
|
1271
|
-
# }
|
1272
|
-
#
|
1273
877
|
# @!attribute [rw] rule_arn
|
1274
878
|
# The Amazon Resource Name (ARN) of the rule.
|
1275
879
|
# @return [String]
|
@@ -1286,13 +890,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1286
890
|
#
|
1287
891
|
class DeleteRuleOutput < Aws::EmptyStructure; end
|
1288
892
|
|
1289
|
-
# @note When making an API call, you may pass DeleteTargetGroupInput
|
1290
|
-
# data as a hash:
|
1291
|
-
#
|
1292
|
-
# {
|
1293
|
-
# target_group_arn: "TargetGroupArn", # required
|
1294
|
-
# }
|
1295
|
-
#
|
1296
893
|
# @!attribute [rw] target_group_arn
|
1297
894
|
# The Amazon Resource Name (ARN) of the target group.
|
1298
895
|
# @return [String]
|
@@ -1309,20 +906,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1309
906
|
#
|
1310
907
|
class DeleteTargetGroupOutput < Aws::EmptyStructure; end
|
1311
908
|
|
1312
|
-
# @note When making an API call, you may pass DeregisterTargetsInput
|
1313
|
-
# data as a hash:
|
1314
|
-
#
|
1315
|
-
# {
|
1316
|
-
# target_group_arn: "TargetGroupArn", # required
|
1317
|
-
# targets: [ # required
|
1318
|
-
# {
|
1319
|
-
# id: "TargetId", # required
|
1320
|
-
# port: 1,
|
1321
|
-
# availability_zone: "ZoneName",
|
1322
|
-
# },
|
1323
|
-
# ],
|
1324
|
-
# }
|
1325
|
-
#
|
1326
909
|
# @!attribute [rw] target_group_arn
|
1327
910
|
# The Amazon Resource Name (ARN) of the target group.
|
1328
911
|
# @return [String]
|
@@ -1346,14 +929,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1346
929
|
#
|
1347
930
|
class DeregisterTargetsOutput < Aws::EmptyStructure; end
|
1348
931
|
|
1349
|
-
# @note When making an API call, you may pass DescribeAccountLimitsInput
|
1350
|
-
# data as a hash:
|
1351
|
-
#
|
1352
|
-
# {
|
1353
|
-
# marker: "Marker",
|
1354
|
-
# page_size: 1,
|
1355
|
-
# }
|
1356
|
-
#
|
1357
932
|
# @!attribute [rw] marker
|
1358
933
|
# The marker for the next set of results. (You received this marker
|
1359
934
|
# from a previous call.)
|
@@ -1390,15 +965,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1390
965
|
include Aws::Structure
|
1391
966
|
end
|
1392
967
|
|
1393
|
-
# @note When making an API call, you may pass DescribeListenerCertificatesInput
|
1394
|
-
# data as a hash:
|
1395
|
-
#
|
1396
|
-
# {
|
1397
|
-
# listener_arn: "ListenerArn", # required
|
1398
|
-
# marker: "Marker",
|
1399
|
-
# page_size: 1,
|
1400
|
-
# }
|
1401
|
-
#
|
1402
968
|
# @!attribute [rw] listener_arn
|
1403
969
|
# The Amazon Resource Names (ARN) of the listener.
|
1404
970
|
# @return [String]
|
@@ -1440,16 +1006,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1440
1006
|
include Aws::Structure
|
1441
1007
|
end
|
1442
1008
|
|
1443
|
-
# @note When making an API call, you may pass DescribeListenersInput
|
1444
|
-
# data as a hash:
|
1445
|
-
#
|
1446
|
-
# {
|
1447
|
-
# load_balancer_arn: "LoadBalancerArn",
|
1448
|
-
# listener_arns: ["ListenerArn"],
|
1449
|
-
# marker: "Marker",
|
1450
|
-
# page_size: 1,
|
1451
|
-
# }
|
1452
|
-
#
|
1453
1009
|
# @!attribute [rw] load_balancer_arn
|
1454
1010
|
# The Amazon Resource Name (ARN) of the load balancer.
|
1455
1011
|
# @return [String]
|
@@ -1496,13 +1052,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1496
1052
|
include Aws::Structure
|
1497
1053
|
end
|
1498
1054
|
|
1499
|
-
# @note When making an API call, you may pass DescribeLoadBalancerAttributesInput
|
1500
|
-
# data as a hash:
|
1501
|
-
#
|
1502
|
-
# {
|
1503
|
-
# load_balancer_arn: "LoadBalancerArn", # required
|
1504
|
-
# }
|
1505
|
-
#
|
1506
1055
|
# @!attribute [rw] load_balancer_arn
|
1507
1056
|
# The Amazon Resource Name (ARN) of the load balancer.
|
1508
1057
|
# @return [String]
|
@@ -1527,16 +1076,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1527
1076
|
include Aws::Structure
|
1528
1077
|
end
|
1529
1078
|
|
1530
|
-
# @note When making an API call, you may pass DescribeLoadBalancersInput
|
1531
|
-
# data as a hash:
|
1532
|
-
#
|
1533
|
-
# {
|
1534
|
-
# load_balancer_arns: ["LoadBalancerArn"],
|
1535
|
-
# names: ["LoadBalancerName"],
|
1536
|
-
# marker: "Marker",
|
1537
|
-
# page_size: 1,
|
1538
|
-
# }
|
1539
|
-
#
|
1540
1079
|
# @!attribute [rw] load_balancer_arns
|
1541
1080
|
# The Amazon Resource Names (ARN) of the load balancers. You can
|
1542
1081
|
# specify up to 20 load balancers in a single call.
|
@@ -1584,16 +1123,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1584
1123
|
include Aws::Structure
|
1585
1124
|
end
|
1586
1125
|
|
1587
|
-
# @note When making an API call, you may pass DescribeRulesInput
|
1588
|
-
# data as a hash:
|
1589
|
-
#
|
1590
|
-
# {
|
1591
|
-
# listener_arn: "ListenerArn",
|
1592
|
-
# rule_arns: ["RuleArn"],
|
1593
|
-
# marker: "Marker",
|
1594
|
-
# page_size: 1,
|
1595
|
-
# }
|
1596
|
-
#
|
1597
1126
|
# @!attribute [rw] listener_arn
|
1598
1127
|
# The Amazon Resource Name (ARN) of the listener.
|
1599
1128
|
# @return [String]
|
@@ -1640,16 +1169,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1640
1169
|
include Aws::Structure
|
1641
1170
|
end
|
1642
1171
|
|
1643
|
-
# @note When making an API call, you may pass DescribeSSLPoliciesInput
|
1644
|
-
# data as a hash:
|
1645
|
-
#
|
1646
|
-
# {
|
1647
|
-
# names: ["SslPolicyName"],
|
1648
|
-
# marker: "Marker",
|
1649
|
-
# page_size: 1,
|
1650
|
-
# load_balancer_type: "application", # accepts application, network, gateway
|
1651
|
-
# }
|
1652
|
-
#
|
1653
1172
|
# @!attribute [rw] names
|
1654
1173
|
# The names of the policies.
|
1655
1174
|
# @return [Array<String>]
|
@@ -1697,13 +1216,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1697
1216
|
include Aws::Structure
|
1698
1217
|
end
|
1699
1218
|
|
1700
|
-
# @note When making an API call, you may pass DescribeTagsInput
|
1701
|
-
# data as a hash:
|
1702
|
-
#
|
1703
|
-
# {
|
1704
|
-
# resource_arns: ["ResourceArn"], # required
|
1705
|
-
# }
|
1706
|
-
#
|
1707
1219
|
# @!attribute [rw] resource_arns
|
1708
1220
|
# The Amazon Resource Names (ARN) of the resources. You can specify up
|
1709
1221
|
# to 20 resources in a single call.
|
@@ -1729,13 +1241,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1729
1241
|
include Aws::Structure
|
1730
1242
|
end
|
1731
1243
|
|
1732
|
-
# @note When making an API call, you may pass DescribeTargetGroupAttributesInput
|
1733
|
-
# data as a hash:
|
1734
|
-
#
|
1735
|
-
# {
|
1736
|
-
# target_group_arn: "TargetGroupArn", # required
|
1737
|
-
# }
|
1738
|
-
#
|
1739
1244
|
# @!attribute [rw] target_group_arn
|
1740
1245
|
# The Amazon Resource Name (ARN) of the target group.
|
1741
1246
|
# @return [String]
|
@@ -1760,17 +1265,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1760
1265
|
include Aws::Structure
|
1761
1266
|
end
|
1762
1267
|
|
1763
|
-
# @note When making an API call, you may pass DescribeTargetGroupsInput
|
1764
|
-
# data as a hash:
|
1765
|
-
#
|
1766
|
-
# {
|
1767
|
-
# load_balancer_arn: "LoadBalancerArn",
|
1768
|
-
# target_group_arns: ["TargetGroupArn"],
|
1769
|
-
# names: ["TargetGroupName"],
|
1770
|
-
# marker: "Marker",
|
1771
|
-
# page_size: 1,
|
1772
|
-
# }
|
1773
|
-
#
|
1774
1268
|
# @!attribute [rw] load_balancer_arn
|
1775
1269
|
# The Amazon Resource Name (ARN) of the load balancer.
|
1776
1270
|
# @return [String]
|
@@ -1822,20 +1316,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1822
1316
|
include Aws::Structure
|
1823
1317
|
end
|
1824
1318
|
|
1825
|
-
# @note When making an API call, you may pass DescribeTargetHealthInput
|
1826
|
-
# data as a hash:
|
1827
|
-
#
|
1828
|
-
# {
|
1829
|
-
# target_group_arn: "TargetGroupArn", # required
|
1830
|
-
# targets: [
|
1831
|
-
# {
|
1832
|
-
# id: "TargetId", # required
|
1833
|
-
# port: 1,
|
1834
|
-
# availability_zone: "ZoneName",
|
1835
|
-
# },
|
1836
|
-
# ],
|
1837
|
-
# }
|
1838
|
-
#
|
1839
1319
|
# @!attribute [rw] target_group_arn
|
1840
1320
|
# The Amazon Resource Name (ARN) of the target group.
|
1841
1321
|
# @return [String]
|
@@ -1891,15 +1371,6 @@ module Aws::ElasticLoadBalancingV2
|
|
1891
1371
|
|
1892
1372
|
# Information about an action that returns a custom HTTP response.
|
1893
1373
|
#
|
1894
|
-
# @note When making an API call, you may pass FixedResponseActionConfig
|
1895
|
-
# data as a hash:
|
1896
|
-
#
|
1897
|
-
# {
|
1898
|
-
# message_body: "FixedResponseActionMessage",
|
1899
|
-
# status_code: "FixedResponseActionStatusCode", # required
|
1900
|
-
# content_type: "FixedResponseActionContentType",
|
1901
|
-
# }
|
1902
|
-
#
|
1903
1374
|
# @!attribute [rw] message_body
|
1904
1375
|
# The message.
|
1905
1376
|
# @return [String]
|
@@ -1927,25 +1398,9 @@ module Aws::ElasticLoadBalancingV2
|
|
1927
1398
|
|
1928
1399
|
# Information about a forward action.
|
1929
1400
|
#
|
1930
|
-
# @note When making an API call, you may pass ForwardActionConfig
|
1931
|
-
# data as a hash:
|
1932
|
-
#
|
1933
|
-
# {
|
1934
|
-
# target_groups: [
|
1935
|
-
# {
|
1936
|
-
# target_group_arn: "TargetGroupArn",
|
1937
|
-
# weight: 1,
|
1938
|
-
# },
|
1939
|
-
# ],
|
1940
|
-
# target_group_stickiness_config: {
|
1941
|
-
# enabled: false,
|
1942
|
-
# duration_seconds: 1,
|
1943
|
-
# },
|
1944
|
-
# }
|
1945
|
-
#
|
1946
1401
|
# @!attribute [rw] target_groups
|
1947
|
-
#
|
1948
|
-
#
|
1402
|
+
# The target groups. For Network Load Balancers, you can specify a
|
1403
|
+
# single target group.
|
1949
1404
|
# @return [Array<Types::TargetGroupTuple>]
|
1950
1405
|
#
|
1951
1406
|
# @!attribute [rw] target_group_stickiness_config
|
@@ -1970,18 +1425,11 @@ module Aws::ElasticLoadBalancingV2
|
|
1970
1425
|
|
1971
1426
|
# Information about a host header condition.
|
1972
1427
|
#
|
1973
|
-
# @note When making an API call, you may pass HostHeaderConditionConfig
|
1974
|
-
# data as a hash:
|
1975
|
-
#
|
1976
|
-
# {
|
1977
|
-
# values: ["StringValue"],
|
1978
|
-
# }
|
1979
|
-
#
|
1980
1428
|
# @!attribute [rw] values
|
1981
|
-
#
|
1982
|
-
#
|
1983
|
-
#
|
1984
|
-
#
|
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).
|
1985
1433
|
#
|
1986
1434
|
# If you specify multiple strings, the condition is satisfied if one
|
1987
1435
|
# of the strings matches the host name.
|
@@ -2000,14 +1448,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2000
1448
|
# There is a set of standard HTTP header fields. You can also define
|
2001
1449
|
# custom HTTP header fields.
|
2002
1450
|
#
|
2003
|
-
# @note When making an API call, you may pass HttpHeaderConditionConfig
|
2004
|
-
# data as a hash:
|
2005
|
-
#
|
2006
|
-
# {
|
2007
|
-
# http_header_name: "HttpHeaderConditionName",
|
2008
|
-
# values: ["StringValue"],
|
2009
|
-
# }
|
2010
|
-
#
|
2011
1451
|
# @!attribute [rw] http_header_name
|
2012
1452
|
# The name of the HTTP header field. The maximum size is 40
|
2013
1453
|
# characters. The header name is case insensitive. The allowed
|
@@ -2018,8 +1458,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2018
1458
|
# @return [String]
|
2019
1459
|
#
|
2020
1460
|
# @!attribute [rw] values
|
2021
|
-
#
|
2022
|
-
#
|
1461
|
+
# The strings to compare against the value of the HTTP header. The
|
1462
|
+
# maximum size of each string is 128 characters. The comparison
|
2023
1463
|
# strings are case insensitive. The following wildcard characters are
|
2024
1464
|
# supported: * (matches 0 or more characters) and ? (matches exactly
|
2025
1465
|
# 1 character).
|
@@ -2051,13 +1491,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2051
1491
|
#
|
2052
1492
|
# [1]: https://www.iana.org/assignments/http-methods/http-methods.xhtml
|
2053
1493
|
#
|
2054
|
-
# @note When making an API call, you may pass HttpRequestMethodConditionConfig
|
2055
|
-
# data as a hash:
|
2056
|
-
#
|
2057
|
-
# {
|
2058
|
-
# values: ["StringValue"],
|
2059
|
-
# }
|
2060
|
-
#
|
2061
1494
|
# @!attribute [rw] values
|
2062
1495
|
# The name of the request method. The maximum size is 40 characters.
|
2063
1496
|
# The allowed characters are A-Z, hyphen (-), and underscore (\_). The
|
@@ -2355,24 +1788,20 @@ module Aws::ElasticLoadBalancingV2
|
|
2355
1788
|
|
2356
1789
|
# Information about a load balancer attribute.
|
2357
1790
|
#
|
2358
|
-
# @note When making an API call, you may pass LoadBalancerAttribute
|
2359
|
-
# data as a hash:
|
2360
|
-
#
|
2361
|
-
# {
|
2362
|
-
# key: "LoadBalancerAttributeKey",
|
2363
|
-
# value: "LoadBalancerAttributeValue",
|
2364
|
-
# }
|
2365
|
-
#
|
2366
1791
|
# @!attribute [rw] key
|
2367
1792
|
# The name of the attribute.
|
2368
1793
|
#
|
2369
|
-
# The following
|
1794
|
+
# The following attributes are supported by all load balancers:
|
2370
1795
|
#
|
2371
1796
|
# * `deletion_protection.enabled` - Indicates whether deletion
|
2372
1797
|
# protection is enabled. The value is `true` or `false`. The default
|
2373
1798
|
# is `false`.
|
2374
1799
|
#
|
2375
|
-
#
|
1800
|
+
# * `load_balancing.cross_zone.enabled` - Indicates whether cross-zone
|
1801
|
+
# load balancing is enabled. The possible values are `true` and
|
1802
|
+
# `false`. The default for Network Load Balancers and Gateway Load
|
1803
|
+
# Balancers is `false`. The default for Application Load Balancers
|
1804
|
+
# is `true`, and cannot be changed.
|
2376
1805
|
#
|
2377
1806
|
# The following attributes are supported by both Application Load
|
2378
1807
|
# Balancers and Network Load Balancers:
|
@@ -2460,15 +1889,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2460
1889
|
# load balancer to route requests to targets if it is unable to
|
2461
1890
|
# forward the request to Amazon Web Services WAF. The possible
|
2462
1891
|
# values are `true` and `false`. The default is `false`.
|
2463
|
-
#
|
2464
|
-
# The following attribute is supported by Network Load Balancers and
|
2465
|
-
# Gateway Load Balancers:
|
2466
|
-
#
|
2467
|
-
# * `load_balancing.cross_zone.enabled` - Indicates whether cross-zone
|
2468
|
-
# load balancing is enabled. The possible values are `true` and
|
2469
|
-
# `false`. The default is `false`.
|
2470
|
-
#
|
2471
|
-
# ^
|
2472
1892
|
# @return [String]
|
2473
1893
|
#
|
2474
1894
|
# @!attribute [rw] value
|
@@ -2518,22 +1938,18 @@ module Aws::ElasticLoadBalancingV2
|
|
2518
1938
|
# target. If the protocol version is gRPC, these are gRPC codes.
|
2519
1939
|
# Otherwise, these are HTTP codes.
|
2520
1940
|
#
|
2521
|
-
# @note When making an API call, you may pass Matcher
|
2522
|
-
# data as a hash:
|
2523
|
-
#
|
2524
|
-
# {
|
2525
|
-
# http_code: "HttpCode",
|
2526
|
-
# grpc_code: "GrpcCode",
|
2527
|
-
# }
|
2528
|
-
#
|
2529
1941
|
# @!attribute [rw] http_code
|
2530
1942
|
# For Application Load Balancers, you can specify values between 200
|
2531
|
-
# and 499,
|
1943
|
+
# and 499, with the default value being 200. You can specify multiple
|
1944
|
+
# values (for example, "200,202") or a range of values (for example,
|
1945
|
+
# "200-299").
|
1946
|
+
#
|
1947
|
+
# For Network Load Balancers, you can specify values between 200 and
|
1948
|
+
# 599, with the default value being 200-399. You can specify multiple
|
2532
1949
|
# values (for example, "200,202") or a range of values (for example,
|
2533
1950
|
# "200-299").
|
2534
1951
|
#
|
2535
|
-
# For
|
2536
|
-
# "200–399".
|
1952
|
+
# For Gateway Load Balancers, this must be "200–399".
|
2537
1953
|
#
|
2538
1954
|
# Note that when using shorthand syntax, some values such as commas
|
2539
1955
|
# need to be escaped.
|
@@ -2554,83 +1970,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2554
1970
|
include Aws::Structure
|
2555
1971
|
end
|
2556
1972
|
|
2557
|
-
# @note When making an API call, you may pass ModifyListenerInput
|
2558
|
-
# data as a hash:
|
2559
|
-
#
|
2560
|
-
# {
|
2561
|
-
# listener_arn: "ListenerArn", # required
|
2562
|
-
# port: 1,
|
2563
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
2564
|
-
# ssl_policy: "SslPolicyName",
|
2565
|
-
# certificates: [
|
2566
|
-
# {
|
2567
|
-
# certificate_arn: "CertificateArn",
|
2568
|
-
# is_default: false,
|
2569
|
-
# },
|
2570
|
-
# ],
|
2571
|
-
# default_actions: [
|
2572
|
-
# {
|
2573
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
|
2574
|
-
# target_group_arn: "TargetGroupArn",
|
2575
|
-
# authenticate_oidc_config: {
|
2576
|
-
# issuer: "AuthenticateOidcActionIssuer", # required
|
2577
|
-
# authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
|
2578
|
-
# token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
|
2579
|
-
# user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
|
2580
|
-
# client_id: "AuthenticateOidcActionClientId", # required
|
2581
|
-
# client_secret: "AuthenticateOidcActionClientSecret",
|
2582
|
-
# session_cookie_name: "AuthenticateOidcActionSessionCookieName",
|
2583
|
-
# scope: "AuthenticateOidcActionScope",
|
2584
|
-
# session_timeout: 1,
|
2585
|
-
# authentication_request_extra_params: {
|
2586
|
-
# "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
|
2587
|
-
# },
|
2588
|
-
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
2589
|
-
# use_existing_client_secret: false,
|
2590
|
-
# },
|
2591
|
-
# authenticate_cognito_config: {
|
2592
|
-
# user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
|
2593
|
-
# user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
|
2594
|
-
# user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
|
2595
|
-
# session_cookie_name: "AuthenticateCognitoActionSessionCookieName",
|
2596
|
-
# scope: "AuthenticateCognitoActionScope",
|
2597
|
-
# session_timeout: 1,
|
2598
|
-
# authentication_request_extra_params: {
|
2599
|
-
# "AuthenticateCognitoActionAuthenticationRequestParamName" => "AuthenticateCognitoActionAuthenticationRequestParamValue",
|
2600
|
-
# },
|
2601
|
-
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
2602
|
-
# },
|
2603
|
-
# order: 1,
|
2604
|
-
# redirect_config: {
|
2605
|
-
# protocol: "RedirectActionProtocol",
|
2606
|
-
# port: "RedirectActionPort",
|
2607
|
-
# host: "RedirectActionHost",
|
2608
|
-
# path: "RedirectActionPath",
|
2609
|
-
# query: "RedirectActionQuery",
|
2610
|
-
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
2611
|
-
# },
|
2612
|
-
# fixed_response_config: {
|
2613
|
-
# message_body: "FixedResponseActionMessage",
|
2614
|
-
# status_code: "FixedResponseActionStatusCode", # required
|
2615
|
-
# content_type: "FixedResponseActionContentType",
|
2616
|
-
# },
|
2617
|
-
# forward_config: {
|
2618
|
-
# target_groups: [
|
2619
|
-
# {
|
2620
|
-
# target_group_arn: "TargetGroupArn",
|
2621
|
-
# weight: 1,
|
2622
|
-
# },
|
2623
|
-
# ],
|
2624
|
-
# target_group_stickiness_config: {
|
2625
|
-
# enabled: false,
|
2626
|
-
# duration_seconds: 1,
|
2627
|
-
# },
|
2628
|
-
# },
|
2629
|
-
# },
|
2630
|
-
# ],
|
2631
|
-
# alpn_policy: ["AlpnPolicyValue"],
|
2632
|
-
# }
|
2633
|
-
#
|
2634
1973
|
# @!attribute [rw] listener_arn
|
2635
1974
|
# The Amazon Resource Name (ARN) of the listener.
|
2636
1975
|
# @return [String]
|
@@ -2722,19 +2061,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2722
2061
|
include Aws::Structure
|
2723
2062
|
end
|
2724
2063
|
|
2725
|
-
# @note When making an API call, you may pass ModifyLoadBalancerAttributesInput
|
2726
|
-
# data as a hash:
|
2727
|
-
#
|
2728
|
-
# {
|
2729
|
-
# load_balancer_arn: "LoadBalancerArn", # required
|
2730
|
-
# attributes: [ # required
|
2731
|
-
# {
|
2732
|
-
# key: "LoadBalancerAttributeKey",
|
2733
|
-
# value: "LoadBalancerAttributeValue",
|
2734
|
-
# },
|
2735
|
-
# ],
|
2736
|
-
# }
|
2737
|
-
#
|
2738
2064
|
# @!attribute [rw] load_balancer_arn
|
2739
2065
|
# The Amazon Resource Name (ARN) of the load balancer.
|
2740
2066
|
# @return [String]
|
@@ -2764,103 +2090,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2764
2090
|
include Aws::Structure
|
2765
2091
|
end
|
2766
2092
|
|
2767
|
-
# @note When making an API call, you may pass ModifyRuleInput
|
2768
|
-
# data as a hash:
|
2769
|
-
#
|
2770
|
-
# {
|
2771
|
-
# rule_arn: "RuleArn", # required
|
2772
|
-
# conditions: [
|
2773
|
-
# {
|
2774
|
-
# field: "ConditionFieldName",
|
2775
|
-
# values: ["StringValue"],
|
2776
|
-
# host_header_config: {
|
2777
|
-
# values: ["StringValue"],
|
2778
|
-
# },
|
2779
|
-
# path_pattern_config: {
|
2780
|
-
# values: ["StringValue"],
|
2781
|
-
# },
|
2782
|
-
# http_header_config: {
|
2783
|
-
# http_header_name: "HttpHeaderConditionName",
|
2784
|
-
# values: ["StringValue"],
|
2785
|
-
# },
|
2786
|
-
# query_string_config: {
|
2787
|
-
# values: [
|
2788
|
-
# {
|
2789
|
-
# key: "StringValue",
|
2790
|
-
# value: "StringValue",
|
2791
|
-
# },
|
2792
|
-
# ],
|
2793
|
-
# },
|
2794
|
-
# http_request_method_config: {
|
2795
|
-
# values: ["StringValue"],
|
2796
|
-
# },
|
2797
|
-
# source_ip_config: {
|
2798
|
-
# values: ["StringValue"],
|
2799
|
-
# },
|
2800
|
-
# },
|
2801
|
-
# ],
|
2802
|
-
# actions: [
|
2803
|
-
# {
|
2804
|
-
# type: "forward", # required, accepts forward, authenticate-oidc, authenticate-cognito, redirect, fixed-response
|
2805
|
-
# target_group_arn: "TargetGroupArn",
|
2806
|
-
# authenticate_oidc_config: {
|
2807
|
-
# issuer: "AuthenticateOidcActionIssuer", # required
|
2808
|
-
# authorization_endpoint: "AuthenticateOidcActionAuthorizationEndpoint", # required
|
2809
|
-
# token_endpoint: "AuthenticateOidcActionTokenEndpoint", # required
|
2810
|
-
# user_info_endpoint: "AuthenticateOidcActionUserInfoEndpoint", # required
|
2811
|
-
# client_id: "AuthenticateOidcActionClientId", # required
|
2812
|
-
# client_secret: "AuthenticateOidcActionClientSecret",
|
2813
|
-
# session_cookie_name: "AuthenticateOidcActionSessionCookieName",
|
2814
|
-
# scope: "AuthenticateOidcActionScope",
|
2815
|
-
# session_timeout: 1,
|
2816
|
-
# authentication_request_extra_params: {
|
2817
|
-
# "AuthenticateOidcActionAuthenticationRequestParamName" => "AuthenticateOidcActionAuthenticationRequestParamValue",
|
2818
|
-
# },
|
2819
|
-
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
2820
|
-
# use_existing_client_secret: false,
|
2821
|
-
# },
|
2822
|
-
# authenticate_cognito_config: {
|
2823
|
-
# user_pool_arn: "AuthenticateCognitoActionUserPoolArn", # required
|
2824
|
-
# user_pool_client_id: "AuthenticateCognitoActionUserPoolClientId", # required
|
2825
|
-
# user_pool_domain: "AuthenticateCognitoActionUserPoolDomain", # required
|
2826
|
-
# session_cookie_name: "AuthenticateCognitoActionSessionCookieName",
|
2827
|
-
# scope: "AuthenticateCognitoActionScope",
|
2828
|
-
# session_timeout: 1,
|
2829
|
-
# authentication_request_extra_params: {
|
2830
|
-
# "AuthenticateCognitoActionAuthenticationRequestParamName" => "AuthenticateCognitoActionAuthenticationRequestParamValue",
|
2831
|
-
# },
|
2832
|
-
# on_unauthenticated_request: "deny", # accepts deny, allow, authenticate
|
2833
|
-
# },
|
2834
|
-
# order: 1,
|
2835
|
-
# redirect_config: {
|
2836
|
-
# protocol: "RedirectActionProtocol",
|
2837
|
-
# port: "RedirectActionPort",
|
2838
|
-
# host: "RedirectActionHost",
|
2839
|
-
# path: "RedirectActionPath",
|
2840
|
-
# query: "RedirectActionQuery",
|
2841
|
-
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
2842
|
-
# },
|
2843
|
-
# fixed_response_config: {
|
2844
|
-
# message_body: "FixedResponseActionMessage",
|
2845
|
-
# status_code: "FixedResponseActionStatusCode", # required
|
2846
|
-
# content_type: "FixedResponseActionContentType",
|
2847
|
-
# },
|
2848
|
-
# forward_config: {
|
2849
|
-
# target_groups: [
|
2850
|
-
# {
|
2851
|
-
# target_group_arn: "TargetGroupArn",
|
2852
|
-
# weight: 1,
|
2853
|
-
# },
|
2854
|
-
# ],
|
2855
|
-
# target_group_stickiness_config: {
|
2856
|
-
# enabled: false,
|
2857
|
-
# duration_seconds: 1,
|
2858
|
-
# },
|
2859
|
-
# },
|
2860
|
-
# },
|
2861
|
-
# ],
|
2862
|
-
# }
|
2863
|
-
#
|
2864
2093
|
# @!attribute [rw] rule_arn
|
2865
2094
|
# The Amazon Resource Name (ARN) of the rule.
|
2866
2095
|
# @return [String]
|
@@ -2895,19 +2124,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2895
2124
|
include Aws::Structure
|
2896
2125
|
end
|
2897
2126
|
|
2898
|
-
# @note When making an API call, you may pass ModifyTargetGroupAttributesInput
|
2899
|
-
# data as a hash:
|
2900
|
-
#
|
2901
|
-
# {
|
2902
|
-
# target_group_arn: "TargetGroupArn", # required
|
2903
|
-
# attributes: [ # required
|
2904
|
-
# {
|
2905
|
-
# key: "TargetGroupAttributeKey",
|
2906
|
-
# value: "TargetGroupAttributeValue",
|
2907
|
-
# },
|
2908
|
-
# ],
|
2909
|
-
# }
|
2910
|
-
#
|
2911
2127
|
# @!attribute [rw] target_group_arn
|
2912
2128
|
# The Amazon Resource Name (ARN) of the target group.
|
2913
2129
|
# @return [String]
|
@@ -2937,25 +2153,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2937
2153
|
include Aws::Structure
|
2938
2154
|
end
|
2939
2155
|
|
2940
|
-
# @note When making an API call, you may pass ModifyTargetGroupInput
|
2941
|
-
# data as a hash:
|
2942
|
-
#
|
2943
|
-
# {
|
2944
|
-
# target_group_arn: "TargetGroupArn", # required
|
2945
|
-
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
2946
|
-
# health_check_port: "HealthCheckPort",
|
2947
|
-
# health_check_path: "Path",
|
2948
|
-
# health_check_enabled: false,
|
2949
|
-
# health_check_interval_seconds: 1,
|
2950
|
-
# health_check_timeout_seconds: 1,
|
2951
|
-
# healthy_threshold_count: 1,
|
2952
|
-
# unhealthy_threshold_count: 1,
|
2953
|
-
# matcher: {
|
2954
|
-
# http_code: "HttpCode",
|
2955
|
-
# grpc_code: "GrpcCode",
|
2956
|
-
# },
|
2957
|
-
# }
|
2958
|
-
#
|
2959
2156
|
# @!attribute [rw] target_group_arn
|
2960
2157
|
# The Amazon Resource Name (ARN) of the target group.
|
2961
2158
|
# @return [String]
|
@@ -2993,8 +2190,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2993
2190
|
#
|
2994
2191
|
# @!attribute [rw] health_check_interval_seconds
|
2995
2192
|
# The approximate amount of time, in seconds, between health checks of
|
2996
|
-
# an individual target.
|
2997
|
-
# are 10 or 30 seconds.
|
2193
|
+
# an individual target.
|
2998
2194
|
# @return [Integer]
|
2999
2195
|
#
|
3000
2196
|
# @!attribute [rw] health_check_timeout_seconds
|
@@ -3009,14 +2205,16 @@ module Aws::ElasticLoadBalancingV2
|
|
3009
2205
|
#
|
3010
2206
|
# @!attribute [rw] unhealthy_threshold_count
|
3011
2207
|
# The number of consecutive health check failures required before
|
3012
|
-
# considering the target unhealthy.
|
3013
|
-
# of TCP or TLS, this value must be the same as the healthy threshold
|
3014
|
-
# count.
|
2208
|
+
# considering the target unhealthy.
|
3015
2209
|
# @return [Integer]
|
3016
2210
|
#
|
3017
2211
|
# @!attribute [rw] matcher
|
3018
2212
|
# \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
|
3019
|
-
# checking for a successful response from a target.
|
2213
|
+
# checking for a successful response from a target. For target groups
|
2214
|
+
# with a protocol of TCP, TCP\_UDP, UDP or TLS the range is 200-599.
|
2215
|
+
# For target groups with a protocol of HTTP or HTTPS, the range is
|
2216
|
+
# 200-499. For target groups with a protocol of GENEVE, the range is
|
2217
|
+
# 200-399.
|
3020
2218
|
# @return [Types::Matcher]
|
3021
2219
|
#
|
3022
2220
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupInput AWS API Documentation
|
@@ -3056,17 +2254,10 @@ module Aws::ElasticLoadBalancingV2
|
|
3056
2254
|
|
3057
2255
|
# Information about a path pattern condition.
|
3058
2256
|
#
|
3059
|
-
# @note When making an API call, you may pass PathPatternConditionConfig
|
3060
|
-
# data as a hash:
|
3061
|
-
#
|
3062
|
-
# {
|
3063
|
-
# values: ["StringValue"],
|
3064
|
-
# }
|
3065
|
-
#
|
3066
2257
|
# @!attribute [rw] values
|
3067
|
-
#
|
3068
|
-
#
|
3069
|
-
#
|
2258
|
+
# The path patterns to compare against the request URL. The maximum
|
2259
|
+
# size of each string is 128 characters. The comparison is case
|
2260
|
+
# sensitive. The following wildcard characters are supported: *
|
3070
2261
|
# (matches 0 or more characters) and ? (matches exactly 1 character).
|
3071
2262
|
#
|
3072
2263
|
# If you specify multiple strings, the condition is satisfied if one
|
@@ -3097,21 +2288,9 @@ module Aws::ElasticLoadBalancingV2
|
|
3097
2288
|
# '&' characters. The allowed characters are specified by RFC
|
3098
2289
|
# 3986. Any character can be percentage encoded.
|
3099
2290
|
#
|
3100
|
-
# @note When making an API call, you may pass QueryStringConditionConfig
|
3101
|
-
# data as a hash:
|
3102
|
-
#
|
3103
|
-
# {
|
3104
|
-
# values: [
|
3105
|
-
# {
|
3106
|
-
# key: "StringValue",
|
3107
|
-
# value: "StringValue",
|
3108
|
-
# },
|
3109
|
-
# ],
|
3110
|
-
# }
|
3111
|
-
#
|
3112
2291
|
# @!attribute [rw] values
|
3113
|
-
#
|
3114
|
-
#
|
2292
|
+
# The key/value pairs or values to find in the query string. The
|
2293
|
+
# maximum size of each string is 128 characters. The comparison is
|
3115
2294
|
# case insensitive. The following wildcard characters are supported:
|
3116
2295
|
# * (matches 0 or more characters) and ? (matches exactly 1
|
3117
2296
|
# character). To search for a literal '*' or '?' character in a
|
@@ -3132,14 +2311,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3132
2311
|
|
3133
2312
|
# Information about a key/value pair.
|
3134
2313
|
#
|
3135
|
-
# @note When making an API call, you may pass QueryStringKeyValuePair
|
3136
|
-
# data as a hash:
|
3137
|
-
#
|
3138
|
-
# {
|
3139
|
-
# key: "StringValue",
|
3140
|
-
# value: "StringValue",
|
3141
|
-
# }
|
3142
|
-
#
|
3143
2314
|
# @!attribute [rw] key
|
3144
2315
|
# The key. You can omit the key.
|
3145
2316
|
# @return [String]
|
@@ -3181,18 +2352,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3181
2352
|
# hostname to "example.#\\\{host\\}", or the query to
|
3182
2353
|
# "#\\\{query\\}&value=xyz".
|
3183
2354
|
#
|
3184
|
-
# @note When making an API call, you may pass RedirectActionConfig
|
3185
|
-
# data as a hash:
|
3186
|
-
#
|
3187
|
-
# {
|
3188
|
-
# protocol: "RedirectActionProtocol",
|
3189
|
-
# port: "RedirectActionPort",
|
3190
|
-
# host: "RedirectActionHost",
|
3191
|
-
# path: "RedirectActionPath",
|
3192
|
-
# query: "RedirectActionQuery",
|
3193
|
-
# status_code: "HTTP_301", # required, accepts HTTP_301, HTTP_302
|
3194
|
-
# }
|
3195
|
-
#
|
3196
2355
|
# @!attribute [rw] protocol
|
3197
2356
|
# The protocol. You can specify HTTP, HTTPS, or #\\\{protocol\\}. You
|
3198
2357
|
# can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You
|
@@ -3238,20 +2397,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3238
2397
|
include Aws::Structure
|
3239
2398
|
end
|
3240
2399
|
|
3241
|
-
# @note When making an API call, you may pass RegisterTargetsInput
|
3242
|
-
# data as a hash:
|
3243
|
-
#
|
3244
|
-
# {
|
3245
|
-
# target_group_arn: "TargetGroupArn", # required
|
3246
|
-
# targets: [ # required
|
3247
|
-
# {
|
3248
|
-
# id: "TargetId", # required
|
3249
|
-
# port: 1,
|
3250
|
-
# availability_zone: "ZoneName",
|
3251
|
-
# },
|
3252
|
-
# ],
|
3253
|
-
# }
|
3254
|
-
#
|
3255
2400
|
# @!attribute [rw] target_group_arn
|
3256
2401
|
# The Amazon Resource Name (ARN) of the target group.
|
3257
2402
|
# @return [String]
|
@@ -3273,19 +2418,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3273
2418
|
#
|
3274
2419
|
class RegisterTargetsOutput < Aws::EmptyStructure; end
|
3275
2420
|
|
3276
|
-
# @note When making an API call, you may pass RemoveListenerCertificatesInput
|
3277
|
-
# data as a hash:
|
3278
|
-
#
|
3279
|
-
# {
|
3280
|
-
# listener_arn: "ListenerArn", # required
|
3281
|
-
# certificates: [ # required
|
3282
|
-
# {
|
3283
|
-
# certificate_arn: "CertificateArn",
|
3284
|
-
# is_default: false,
|
3285
|
-
# },
|
3286
|
-
# ],
|
3287
|
-
# }
|
3288
|
-
#
|
3289
2421
|
# @!attribute [rw] listener_arn
|
3290
2422
|
# The Amazon Resource Name (ARN) of the listener.
|
3291
2423
|
# @return [String]
|
@@ -3309,14 +2441,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3309
2441
|
#
|
3310
2442
|
class RemoveListenerCertificatesOutput < Aws::EmptyStructure; end
|
3311
2443
|
|
3312
|
-
# @note When making an API call, you may pass RemoveTagsInput
|
3313
|
-
# data as a hash:
|
3314
|
-
#
|
3315
|
-
# {
|
3316
|
-
# resource_arns: ["ResourceArn"], # required
|
3317
|
-
# tag_keys: ["TagKey"], # required
|
3318
|
-
# }
|
3319
|
-
#
|
3320
2444
|
# @!attribute [rw] resource_arns
|
3321
2445
|
# The Amazon Resource Name (ARN) of the resource.
|
3322
2446
|
# @return [Array<String>]
|
@@ -3391,38 +2515,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3391
2515
|
# of the following conditions: `http-header` and `query-string`. Note
|
3392
2516
|
# that the value for a condition cannot be empty.
|
3393
2517
|
#
|
3394
|
-
# @note When making an API call, you may pass RuleCondition
|
3395
|
-
# data as a hash:
|
3396
|
-
#
|
3397
|
-
# {
|
3398
|
-
# field: "ConditionFieldName",
|
3399
|
-
# values: ["StringValue"],
|
3400
|
-
# host_header_config: {
|
3401
|
-
# values: ["StringValue"],
|
3402
|
-
# },
|
3403
|
-
# path_pattern_config: {
|
3404
|
-
# values: ["StringValue"],
|
3405
|
-
# },
|
3406
|
-
# http_header_config: {
|
3407
|
-
# http_header_name: "HttpHeaderConditionName",
|
3408
|
-
# values: ["StringValue"],
|
3409
|
-
# },
|
3410
|
-
# query_string_config: {
|
3411
|
-
# values: [
|
3412
|
-
# {
|
3413
|
-
# key: "StringValue",
|
3414
|
-
# value: "StringValue",
|
3415
|
-
# },
|
3416
|
-
# ],
|
3417
|
-
# },
|
3418
|
-
# http_request_method_config: {
|
3419
|
-
# values: ["StringValue"],
|
3420
|
-
# },
|
3421
|
-
# source_ip_config: {
|
3422
|
-
# values: ["StringValue"],
|
3423
|
-
# },
|
3424
|
-
# }
|
3425
|
-
#
|
3426
2518
|
# @!attribute [rw] field
|
3427
2519
|
# The field in the HTTP request. The following are the possible
|
3428
2520
|
# values:
|
@@ -3530,14 +2622,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3530
2622
|
|
3531
2623
|
# Information about the priorities for the rules for a listener.
|
3532
2624
|
#
|
3533
|
-
# @note When making an API call, you may pass RulePriorityPair
|
3534
|
-
# data as a hash:
|
3535
|
-
#
|
3536
|
-
# {
|
3537
|
-
# rule_arn: "RuleArn",
|
3538
|
-
# priority: 1,
|
3539
|
-
# }
|
3540
|
-
#
|
3541
2625
|
# @!attribute [rw] rule_arn
|
3542
2626
|
# The Amazon Resource Name (ARN) of the rule.
|
3543
2627
|
# @return [String]
|
@@ -3561,14 +2645,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3561
2645
|
#
|
3562
2646
|
class SSLPolicyNotFoundException < Aws::EmptyStructure; end
|
3563
2647
|
|
3564
|
-
# @note When making an API call, you may pass SetIpAddressTypeInput
|
3565
|
-
# data as a hash:
|
3566
|
-
#
|
3567
|
-
# {
|
3568
|
-
# load_balancer_arn: "LoadBalancerArn", # required
|
3569
|
-
# ip_address_type: "ipv4", # required, accepts ipv4, dualstack
|
3570
|
-
# }
|
3571
|
-
#
|
3572
2648
|
# @!attribute [rw] load_balancer_arn
|
3573
2649
|
# The Amazon Resource Name (ARN) of the load balancer.
|
3574
2650
|
# @return [String]
|
@@ -3601,18 +2677,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3601
2677
|
include Aws::Structure
|
3602
2678
|
end
|
3603
2679
|
|
3604
|
-
# @note When making an API call, you may pass SetRulePrioritiesInput
|
3605
|
-
# data as a hash:
|
3606
|
-
#
|
3607
|
-
# {
|
3608
|
-
# rule_priorities: [ # required
|
3609
|
-
# {
|
3610
|
-
# rule_arn: "RuleArn",
|
3611
|
-
# priority: 1,
|
3612
|
-
# },
|
3613
|
-
# ],
|
3614
|
-
# }
|
3615
|
-
#
|
3616
2680
|
# @!attribute [rw] rule_priorities
|
3617
2681
|
# The rule priorities.
|
3618
2682
|
# @return [Array<Types::RulePriorityPair>]
|
@@ -3637,14 +2701,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3637
2701
|
include Aws::Structure
|
3638
2702
|
end
|
3639
2703
|
|
3640
|
-
# @note When making an API call, you may pass SetSecurityGroupsInput
|
3641
|
-
# data as a hash:
|
3642
|
-
#
|
3643
|
-
# {
|
3644
|
-
# load_balancer_arn: "LoadBalancerArn", # required
|
3645
|
-
# security_groups: ["SecurityGroupId"], # required
|
3646
|
-
# }
|
3647
|
-
#
|
3648
2704
|
# @!attribute [rw] load_balancer_arn
|
3649
2705
|
# The Amazon Resource Name (ARN) of the load balancer.
|
3650
2706
|
# @return [String]
|
@@ -3674,23 +2730,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3674
2730
|
include Aws::Structure
|
3675
2731
|
end
|
3676
2732
|
|
3677
|
-
# @note When making an API call, you may pass SetSubnetsInput
|
3678
|
-
# data as a hash:
|
3679
|
-
#
|
3680
|
-
# {
|
3681
|
-
# load_balancer_arn: "LoadBalancerArn", # required
|
3682
|
-
# subnets: ["SubnetId"],
|
3683
|
-
# subnet_mappings: [
|
3684
|
-
# {
|
3685
|
-
# subnet_id: "SubnetId",
|
3686
|
-
# allocation_id: "AllocationId",
|
3687
|
-
# private_i_pv_4_address: "PrivateIPv4Address",
|
3688
|
-
# i_pv_6_address: "IPv6Address",
|
3689
|
-
# },
|
3690
|
-
# ],
|
3691
|
-
# ip_address_type: "ipv4", # accepts ipv4, dualstack
|
3692
|
-
# }
|
3693
|
-
#
|
3694
2733
|
# @!attribute [rw] load_balancer_arn
|
3695
2734
|
# The Amazon Resource Name (ARN) of the load balancer.
|
3696
2735
|
# @return [String]
|
@@ -3780,16 +2819,9 @@ module Aws::ElasticLoadBalancingV2
|
|
3780
2819
|
# proxy, this is the IP address of the proxy not the IP address of the
|
3781
2820
|
# client.
|
3782
2821
|
#
|
3783
|
-
# @note When making an API call, you may pass SourceIpConditionConfig
|
3784
|
-
# data as a hash:
|
3785
|
-
#
|
3786
|
-
# {
|
3787
|
-
# values: ["StringValue"],
|
3788
|
-
# }
|
3789
|
-
#
|
3790
2822
|
# @!attribute [rw] values
|
3791
|
-
#
|
3792
|
-
#
|
2823
|
+
# The source IP addresses, in CIDR format. You can use both IPv4 and
|
2824
|
+
# IPv6 addresses. Wildcards are not supported.
|
3793
2825
|
#
|
3794
2826
|
# If you specify multiple addresses, the condition is satisfied if the
|
3795
2827
|
# source IP address of the request matches one of the CIDR blocks.
|
@@ -3837,16 +2869,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3837
2869
|
|
3838
2870
|
# Information about a subnet mapping.
|
3839
2871
|
#
|
3840
|
-
# @note When making an API call, you may pass SubnetMapping
|
3841
|
-
# data as a hash:
|
3842
|
-
#
|
3843
|
-
# {
|
3844
|
-
# subnet_id: "SubnetId",
|
3845
|
-
# allocation_id: "AllocationId",
|
3846
|
-
# private_i_pv_4_address: "PrivateIPv4Address",
|
3847
|
-
# i_pv_6_address: "IPv6Address",
|
3848
|
-
# }
|
3849
|
-
#
|
3850
2872
|
# @!attribute [rw] subnet_id
|
3851
2873
|
# The ID of the subnet.
|
3852
2874
|
# @return [String]
|
@@ -3884,14 +2906,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3884
2906
|
|
3885
2907
|
# Information about a tag.
|
3886
2908
|
#
|
3887
|
-
# @note When making an API call, you may pass Tag
|
3888
|
-
# data as a hash:
|
3889
|
-
#
|
3890
|
-
# {
|
3891
|
-
# key: "TagKey", # required
|
3892
|
-
# value: "TagValue",
|
3893
|
-
# }
|
3894
|
-
#
|
3895
2909
|
# @!attribute [rw] key
|
3896
2910
|
# The key of the tag.
|
3897
2911
|
# @return [String]
|
@@ -3930,15 +2944,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3930
2944
|
|
3931
2945
|
# Information about a target.
|
3932
2946
|
#
|
3933
|
-
# @note When making an API call, you may pass TargetDescription
|
3934
|
-
# data as a hash:
|
3935
|
-
#
|
3936
|
-
# {
|
3937
|
-
# id: "TargetId", # required
|
3938
|
-
# port: 1,
|
3939
|
-
# availability_zone: "ZoneName",
|
3940
|
-
# }
|
3941
|
-
#
|
3942
2947
|
# @!attribute [rw] id
|
3943
2948
|
# The ID of the target. If the target type of the target group is
|
3944
2949
|
# `instance`, specify an instance ID. If the target type is `ip`,
|
@@ -3961,6 +2966,11 @@ module Aws::ElasticLoadBalancingV2
|
|
3961
2966
|
# Availability Zone or from all enabled Availability Zones for the
|
3962
2967
|
# load balancer.
|
3963
2968
|
#
|
2969
|
+
# For Application Load Balancer target groups, the specified
|
2970
|
+
# Availability Zone value is only applicable when cross-zone load
|
2971
|
+
# balancing is off. Otherwise the parameter is ignored and treated as
|
2972
|
+
# `all`.
|
2973
|
+
#
|
3964
2974
|
# This parameter is not supported if the target type of the target
|
3965
2975
|
# group is `instance` or `alb`.
|
3966
2976
|
#
|
@@ -3969,9 +2979,10 @@ module Aws::ElasticLoadBalancingV2
|
|
3969
2979
|
# detected and this parameter is optional. If the IP address is
|
3970
2980
|
# outside the VPC, this parameter is required.
|
3971
2981
|
#
|
3972
|
-
#
|
3973
|
-
# the
|
3974
|
-
#
|
2982
|
+
# For Application Load Balancer target groups with cross-zone load
|
2983
|
+
# balancing off, if the target type is `ip` and the IP address is
|
2984
|
+
# outside of the VPC for the target group, this should be an
|
2985
|
+
# Availability Zone inside the VPC for the target group.
|
3975
2986
|
#
|
3976
2987
|
# If the target type is `lambda`, this parameter is optional and the
|
3977
2988
|
# only supported value is `all`.
|
@@ -4110,18 +3121,10 @@ module Aws::ElasticLoadBalancingV2
|
|
4110
3121
|
|
4111
3122
|
# Information about a target group attribute.
|
4112
3123
|
#
|
4113
|
-
# @note When making an API call, you may pass TargetGroupAttribute
|
4114
|
-
# data as a hash:
|
4115
|
-
#
|
4116
|
-
# {
|
4117
|
-
# key: "TargetGroupAttributeKey",
|
4118
|
-
# value: "TargetGroupAttributeValue",
|
4119
|
-
# }
|
4120
|
-
#
|
4121
3124
|
# @!attribute [rw] key
|
4122
3125
|
# The name of the attribute.
|
4123
3126
|
#
|
4124
|
-
# The following
|
3127
|
+
# The following attributes are supported by all load balancers:
|
4125
3128
|
#
|
4126
3129
|
# * `deregistration_delay.timeout_seconds` - The amount of time, in
|
4127
3130
|
# seconds, for Elastic Load Balancing to wait before changing the
|
@@ -4129,11 +3132,6 @@ module Aws::ElasticLoadBalancingV2
|
|
4129
3132
|
# range is 0-3600 seconds. The default value is 300 seconds. If the
|
4130
3133
|
# target is a Lambda function, this attribute is not supported.
|
4131
3134
|
#
|
4132
|
-
# ^
|
4133
|
-
#
|
4134
|
-
# The following attributes are supported by Application Load
|
4135
|
-
# Balancers, Network Load Balancers, and Gateway Load Balancers:
|
4136
|
-
#
|
4137
3135
|
# * `stickiness.enabled` - Indicates whether target stickiness is
|
4138
3136
|
# enabled. The value is `true` or `false`. The default is `false`.
|
4139
3137
|
#
|
@@ -4147,6 +3145,40 @@ module Aws::ElasticLoadBalancingV2
|
|
4147
3145
|
# * `source_ip_dest_ip` and `source_ip_dest_ip_proto` for Gateway
|
4148
3146
|
# Load Balancers.
|
4149
3147
|
#
|
3148
|
+
# The following attributes are supported by Application Load Balancers
|
3149
|
+
# and Network Load Balancers:
|
3150
|
+
#
|
3151
|
+
# * `load_balancing.cross_zone.enabled` - Indicates whether cross zone
|
3152
|
+
# load balancing is enabled. The value is `true`, `false` or
|
3153
|
+
# `use_load_balancer_configuration`. The default is
|
3154
|
+
# `use_load_balancer_configuration`.
|
3155
|
+
#
|
3156
|
+
# * `target_group_health.dns_failover.minimum_healthy_targets.count` -
|
3157
|
+
# The minimum number of targets that must be healthy. If the number
|
3158
|
+
# of healthy targets is below this value, mark the zone as unhealthy
|
3159
|
+
# in DNS, so that traffic is routed only to healthy zones. The
|
3160
|
+
# possible values are `off` or an integer from 1 to the maximum
|
3161
|
+
# number of targets. The default is `off`.
|
3162
|
+
#
|
3163
|
+
# * `target_group_health.dns_failover.minimum_healthy_targets.percentage`
|
3164
|
+
# - The minimum percentage of targets that must be healthy. If the
|
3165
|
+
# percentage of healthy targets is below this value, mark the zone
|
3166
|
+
# as unhealthy in DNS, so that traffic is routed only to healthy
|
3167
|
+
# zones. The possible values are `off` or an integer from 1 to 100.
|
3168
|
+
# The default is `off`.
|
3169
|
+
#
|
3170
|
+
# * `target_group_health.unhealthy_state_routing.minimum_healthy_targets.count`
|
3171
|
+
# - The minimum number of targets that must be healthy. If the
|
3172
|
+
# number of healthy targets is below this value, send traffic to all
|
3173
|
+
# targets, including unhealthy targets. The possible values are 1 to
|
3174
|
+
# the maximum number of targets. The default is 1.
|
3175
|
+
#
|
3176
|
+
# * `target_group_health.unhealthy_state_routing.minimum_healthy_targets.percentage`
|
3177
|
+
# - The minimum percentage of targets that must be healthy. If the
|
3178
|
+
# percentage of healthy targets is below this value, send traffic to
|
3179
|
+
# all targets, including unhealthy targets. The possible values are
|
3180
|
+
# `off` or an integer from 1 to 100. The default is `off`.
|
3181
|
+
#
|
4150
3182
|
# The following attributes are supported only if the load balancer is
|
4151
3183
|
# an Application Load Balancer and the target is an instance or an IP
|
4152
3184
|
# address:
|
@@ -4254,14 +3286,6 @@ module Aws::ElasticLoadBalancingV2
|
|
4254
3286
|
|
4255
3287
|
# Information about the target group stickiness for a rule.
|
4256
3288
|
#
|
4257
|
-
# @note When making an API call, you may pass TargetGroupStickinessConfig
|
4258
|
-
# data as a hash:
|
4259
|
-
#
|
4260
|
-
# {
|
4261
|
-
# enabled: false,
|
4262
|
-
# duration_seconds: 1,
|
4263
|
-
# }
|
4264
|
-
#
|
4265
3289
|
# @!attribute [rw] enabled
|
4266
3290
|
# Indicates whether target group stickiness is enabled.
|
4267
3291
|
# @return [Boolean]
|
@@ -4284,14 +3308,6 @@ module Aws::ElasticLoadBalancingV2
|
|
4284
3308
|
# Information about how traffic will be distributed between multiple
|
4285
3309
|
# target groups in a forward rule.
|
4286
3310
|
#
|
4287
|
-
# @note When making an API call, you may pass TargetGroupTuple
|
4288
|
-
# data as a hash:
|
4289
|
-
#
|
4290
|
-
# {
|
4291
|
-
# target_group_arn: "TargetGroupArn",
|
4292
|
-
# weight: 1,
|
4293
|
-
# }
|
4294
|
-
#
|
4295
3311
|
# @!attribute [rw] target_group_arn
|
4296
3312
|
# The Amazon Resource Name (ARN) of the target group.
|
4297
3313
|
# @return [String]
|