aws-sdk-lightsail 1.63.0 → 1.66.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail/client.rb +187 -66
- data/lib/aws-sdk-lightsail/client_api.rb +46 -0
- data/lib/aws-sdk-lightsail/types.rb +344 -53
- data/lib/aws-sdk-lightsail.rb +1 -1
- metadata +2 -2
@@ -211,6 +211,115 @@ module Aws::Lightsail
|
|
211
211
|
include Aws::Structure
|
212
212
|
end
|
213
213
|
|
214
|
+
# Describes the synchronization status of the Amazon Simple Storage
|
215
|
+
# Service (Amazon S3) account-level block public access (BPA) feature
|
216
|
+
# for your Lightsail buckets.
|
217
|
+
#
|
218
|
+
# The account-level BPA feature of Amazon S3 provides centralized
|
219
|
+
# controls to limit public access to all Amazon S3 buckets in an
|
220
|
+
# account. BPA can make all Amazon S3 buckets in an Amazon Web Services
|
221
|
+
# account private regardless of the individual bucket and object
|
222
|
+
# permissions that are configured. Lightsail buckets take into account
|
223
|
+
# the Amazon S3 account-level BPA configuration when allowing or denying
|
224
|
+
# public access. To do this, Lightsail periodically fetches the
|
225
|
+
# account-level BPA configuration from Amazon S3. When the account-level
|
226
|
+
# BPA status is `InSync`, the Amazon S3 account-level BPA configuration
|
227
|
+
# is synchronized and it applies to your Lightsail buckets. For more
|
228
|
+
# information about Amazon Simple Storage Service account-level BPA and
|
229
|
+
# how it affects Lightsail buckets, see [Block public access for buckets
|
230
|
+
# in Amazon Lightsail][1] in the *Amazon Lightsail Developer Guide*.
|
231
|
+
#
|
232
|
+
#
|
233
|
+
#
|
234
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-block-public-access-for-buckets
|
235
|
+
#
|
236
|
+
# @!attribute [rw] status
|
237
|
+
# The status of the account-level BPA synchronization.
|
238
|
+
#
|
239
|
+
# The following statuses are possible:
|
240
|
+
#
|
241
|
+
# * `InSync` - Account-level BPA is synchronized. The Amazon S3
|
242
|
+
# account-level BPA configuration applies to your Lightsail buckets.
|
243
|
+
#
|
244
|
+
# * `NeverSynced` - Synchronization has not yet happened. The Amazon
|
245
|
+
# S3 account-level BPA configuration does not apply to your
|
246
|
+
# Lightsail buckets.
|
247
|
+
#
|
248
|
+
# * `Failed` - Synchronization failed. The Amazon S3 account-level BPA
|
249
|
+
# configuration does not apply to your Lightsail buckets.
|
250
|
+
#
|
251
|
+
# * `Defaulted` - Synchronization failed and account-level BPA for
|
252
|
+
# your Lightsail buckets is defaulted to *active*.
|
253
|
+
#
|
254
|
+
# <note markdown="1"> You might need to complete further actions if the status is `Failed`
|
255
|
+
# or `Defaulted`. The `message` parameter provides more information
|
256
|
+
# for those statuses.
|
257
|
+
#
|
258
|
+
# </note>
|
259
|
+
# @return [String]
|
260
|
+
#
|
261
|
+
# @!attribute [rw] last_synced_at
|
262
|
+
# The timestamp of when the account-level BPA configuration was last
|
263
|
+
# synchronized. This value is null when the account-level BPA
|
264
|
+
# configuration has not been synchronized.
|
265
|
+
# @return [Time]
|
266
|
+
#
|
267
|
+
# @!attribute [rw] message
|
268
|
+
# A message that provides a reason for a `Failed` or `Defaulted`
|
269
|
+
# synchronization status.
|
270
|
+
#
|
271
|
+
# The following messages are possible:
|
272
|
+
#
|
273
|
+
# * `SYNC_ON_HOLD` - The synchronization has not yet happened. This
|
274
|
+
# status message occurs immediately after you create your first
|
275
|
+
# Lightsail bucket. This status message should change after the
|
276
|
+
# first synchronization happens, approximately 1 hour after the
|
277
|
+
# first bucket is created.
|
278
|
+
#
|
279
|
+
# * `DEFAULTED_FOR_SLR_MISSING` - The synchronization failed because
|
280
|
+
# the required service-linked role is missing from your Amazon Web
|
281
|
+
# Services account. The account-level BPA configuration for your
|
282
|
+
# Lightsail buckets is defaulted to *active* until the
|
283
|
+
# synchronization can occur. This means that all your buckets are
|
284
|
+
# private and not publicly accessible. For more information about
|
285
|
+
# how to create the required service-linked role to allow
|
286
|
+
# synchronization, see [Using Service-Linked Roles for Amazon
|
287
|
+
# Lightsail][1] in the *Amazon Lightsail Developer Guide*.
|
288
|
+
#
|
289
|
+
# * `DEFAULTED_FOR_SLR_MISSING_ON_HOLD` - The synchronization failed
|
290
|
+
# because the required service-linked role is missing from your
|
291
|
+
# Amazon Web Services account. Account-level BPA is not yet
|
292
|
+
# configured for your Lightsail buckets. Therefore, only the bucket
|
293
|
+
# access permissions and individual object access permissions apply
|
294
|
+
# to your Lightsail buckets. For more information about how to
|
295
|
+
# create the required service-linked role to allow synchronization,
|
296
|
+
# see [Using Service-Linked Roles for Amazon Lightsail][1] in the
|
297
|
+
# *Amazon Lightsail Developer Guide*.
|
298
|
+
#
|
299
|
+
# * `Unknown` - The reason that synchronization failed is unknown.
|
300
|
+
# Contact Amazon Web Services Support for more information.
|
301
|
+
#
|
302
|
+
#
|
303
|
+
#
|
304
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-service-linked-roles
|
305
|
+
# @return [String]
|
306
|
+
#
|
307
|
+
# @!attribute [rw] bpa_impacts_lightsail
|
308
|
+
# A Boolean value that indicates whether account-level block public
|
309
|
+
# access is affecting your Lightsail buckets.
|
310
|
+
# @return [Boolean]
|
311
|
+
#
|
312
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AccountLevelBpaSync AWS API Documentation
|
313
|
+
#
|
314
|
+
class AccountLevelBpaSync < Struct.new(
|
315
|
+
:status,
|
316
|
+
:last_synced_at,
|
317
|
+
:message,
|
318
|
+
:bpa_impacts_lightsail)
|
319
|
+
SENSITIVE = []
|
320
|
+
include Aws::Structure
|
321
|
+
end
|
322
|
+
|
214
323
|
# Lightsail throws this exception when an account is still in the setup
|
215
324
|
# in progress state.
|
216
325
|
#
|
@@ -1005,7 +1114,8 @@ module Aws::Lightsail
|
|
1005
1114
|
# @return [String]
|
1006
1115
|
#
|
1007
1116
|
# @!attribute [rw] location
|
1008
|
-
#
|
1117
|
+
# An object that describes the location of the bucket, such as the
|
1118
|
+
# Amazon Web Services Region and Availability Zone.
|
1009
1119
|
# @return [Types::ResourceLocation]
|
1010
1120
|
#
|
1011
1121
|
# @!attribute [rw] name
|
@@ -1046,8 +1156,8 @@ module Aws::Lightsail
|
|
1046
1156
|
# Indicates whether the bundle that is currently applied to a bucket
|
1047
1157
|
# can be changed to another bundle.
|
1048
1158
|
#
|
1049
|
-
# You can update a bucket's bundle only one time within a monthly
|
1050
|
-
# billing cycle.
|
1159
|
+
# You can update a bucket's bundle only one time within a monthly
|
1160
|
+
# Amazon Web Services billing cycle.
|
1051
1161
|
#
|
1052
1162
|
# Use the [UpdateBucketBundle][1] action to change a bucket's bundle.
|
1053
1163
|
#
|
@@ -1057,8 +1167,8 @@ module Aws::Lightsail
|
|
1057
1167
|
# @return [Boolean]
|
1058
1168
|
#
|
1059
1169
|
# @!attribute [rw] readonly_access_accounts
|
1060
|
-
# An array of strings that specify the
|
1061
|
-
# read-only access to the bucket.
|
1170
|
+
# An array of strings that specify the Amazon Web Services account IDs
|
1171
|
+
# that have read-only access to the bucket.
|
1062
1172
|
# @return [Array<String>]
|
1063
1173
|
#
|
1064
1174
|
# @!attribute [rw] resources_receiving_access
|
@@ -1131,9 +1241,9 @@ module Aws::Lightsail
|
|
1131
1241
|
# @return [Boolean]
|
1132
1242
|
#
|
1133
1243
|
# @!attribute [rw] destination
|
1134
|
-
# The name of the bucket where the access
|
1135
|
-
# can be a Lightsail bucket in the same account, and in
|
1136
|
-
# Region as the source bucket.
|
1244
|
+
# The name of the bucket where the access logs are saved. The
|
1245
|
+
# destination can be a Lightsail bucket in the same account, and in
|
1246
|
+
# the same Amazon Web Services Region as the source bucket.
|
1137
1247
|
#
|
1138
1248
|
# <note markdown="1"> This parameter is required when enabling the access log for a
|
1139
1249
|
# bucket, and should be omitted when disabling the access log.
|
@@ -1861,8 +1971,8 @@ module Aws::Lightsail
|
|
1861
1971
|
# @return [Time]
|
1862
1972
|
#
|
1863
1973
|
# @!attribute [rw] location
|
1864
|
-
# A list of objects describing the Availability Zone and
|
1865
|
-
# the CloudFormation stack record.
|
1974
|
+
# A list of objects describing the Availability Zone and Amazon Web
|
1975
|
+
# Services Region of the CloudFormation stack record.
|
1866
1976
|
# @return [Types::ResourceLocation]
|
1867
1977
|
#
|
1868
1978
|
# @!attribute [rw] resource_type
|
@@ -1970,7 +2080,8 @@ module Aws::Lightsail
|
|
1970
2080
|
# @return [Time]
|
1971
2081
|
#
|
1972
2082
|
# @!attribute [rw] location
|
1973
|
-
#
|
2083
|
+
# An object that describes the location of the contact method, such as
|
2084
|
+
# the Amazon Web Services Region and Availability Zone.
|
1974
2085
|
# @return [Types::ResourceLocation]
|
1975
2086
|
#
|
1976
2087
|
# @!attribute [rw] resource_type
|
@@ -2100,7 +2211,7 @@ module Aws::Lightsail
|
|
2100
2211
|
#
|
2101
2212
|
# @!attribute [rw] location
|
2102
2213
|
# An object that describes the location of the container service, such
|
2103
|
-
# as the
|
2214
|
+
# as the Amazon Web Services Region and Availability Zone.
|
2104
2215
|
# @return [Types::ResourceLocation]
|
2105
2216
|
#
|
2106
2217
|
# @!attribute [rw] resource_type
|
@@ -2192,9 +2303,9 @@ module Aws::Lightsail
|
|
2192
2303
|
# The principal ARN of the container service.
|
2193
2304
|
#
|
2194
2305
|
# The principal ARN can be used to create a trust relationship between
|
2195
|
-
# your standard
|
2196
|
-
# allows you to give your service permission
|
2197
|
-
# your standard
|
2306
|
+
# your standard Amazon Web Services account and your Lightsail
|
2307
|
+
# container service. This allows you to give your service permission
|
2308
|
+
# to access resources in your standard Amazon Web Services account.
|
2198
2309
|
# @return [String]
|
2199
2310
|
#
|
2200
2311
|
# @!attribute [rw] private_domain_name
|
@@ -2752,8 +2863,8 @@ module Aws::Lightsail
|
|
2752
2863
|
# @return [String]
|
2753
2864
|
#
|
2754
2865
|
# @!attribute [rw] source_region
|
2755
|
-
# The
|
2756
|
-
# located.
|
2866
|
+
# The Amazon Web Services Region where the source manual or automatic
|
2867
|
+
# snapshot is located.
|
2757
2868
|
# @return [String]
|
2758
2869
|
#
|
2759
2870
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CopySnapshotRequest AWS API Documentation
|
@@ -3048,7 +3159,8 @@ module Aws::Lightsail
|
|
3048
3159
|
# The protocol of the contact method, such as `Email` or `SMS` (text
|
3049
3160
|
# messaging).
|
3050
3161
|
#
|
3051
|
-
# The `SMS` protocol is supported only in the following
|
3162
|
+
# The `SMS` protocol is supported only in the following Amazon Web
|
3163
|
+
# Services Regions.
|
3052
3164
|
#
|
3053
3165
|
# * US East (N. Virginia) (`us-east-1`)
|
3054
3166
|
#
|
@@ -3063,9 +3175,9 @@ module Aws::Lightsail
|
|
3063
3175
|
# * Asia Pacific (Sydney) (`ap-southeast-2`)
|
3064
3176
|
#
|
3065
3177
|
# For a list of countries/regions where SMS text messages can be sent,
|
3066
|
-
# and the latest
|
3067
|
-
# see [Supported Regions and Countries][1] in the
|
3068
|
-
# Developer Guide*.
|
3178
|
+
# and the latest Amazon Web Services Regions where SMS text messaging
|
3179
|
+
# is supported, see [Supported Regions and Countries][1] in the
|
3180
|
+
# *Amazon SNS Developer Guide*.
|
3069
3181
|
#
|
3070
3182
|
# For more information about notifications in Amazon Lightsail, see
|
3071
3183
|
# [Notifications in Amazon Lightsail][2].
|
@@ -3262,7 +3374,8 @@ module Aws::Lightsail
|
|
3262
3374
|
#
|
3263
3375
|
# The following are the requirements for container service names:
|
3264
3376
|
#
|
3265
|
-
# * Must be unique within each
|
3377
|
+
# * Must be unique within each Amazon Web Services Region in your
|
3378
|
+
# Lightsail account.
|
3266
3379
|
#
|
3267
3380
|
# * Must contain 1 to 63 characters.
|
3268
3381
|
#
|
@@ -4415,6 +4528,7 @@ module Aws::Lightsail
|
|
4415
4528
|
# },
|
4416
4529
|
# ],
|
4417
4530
|
# ip_address_type: "dualstack", # accepts dualstack, ipv4
|
4531
|
+
# tls_policy_name: "string",
|
4418
4532
|
# }
|
4419
4533
|
#
|
4420
4534
|
# @!attribute [rw] load_balancer_name
|
@@ -4472,6 +4586,22 @@ module Aws::Lightsail
|
|
4472
4586
|
# The default value is `dualstack`.
|
4473
4587
|
# @return [String]
|
4474
4588
|
#
|
4589
|
+
# @!attribute [rw] tls_policy_name
|
4590
|
+
# The name of the TLS policy to apply to the load balancer.
|
4591
|
+
#
|
4592
|
+
# Use the [GetLoadBalancerTlsPolicies][1] action to get a list of TLS
|
4593
|
+
# policy names that you can specify.
|
4594
|
+
#
|
4595
|
+
# For more information about load balancer TLS policies, see
|
4596
|
+
# [Configuring TLS security policies on your Amazon Lightsail load
|
4597
|
+
# balancers][2] in the *Amazon Lightsail Developer Guide*.
|
4598
|
+
#
|
4599
|
+
#
|
4600
|
+
#
|
4601
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetLoadBalancerTlsPolicies.html
|
4602
|
+
# [2]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configure-load-balancer-tls-security-policy
|
4603
|
+
# @return [String]
|
4604
|
+
#
|
4475
4605
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerRequest AWS API Documentation
|
4476
4606
|
#
|
4477
4607
|
class CreateLoadBalancerRequest < Struct.new(
|
@@ -4482,7 +4612,8 @@ module Aws::Lightsail
|
|
4482
4612
|
:certificate_domain_name,
|
4483
4613
|
:certificate_alternative_names,
|
4484
4614
|
:tags,
|
4485
|
-
:ip_address_type
|
4615
|
+
:ip_address_type,
|
4616
|
+
:tls_policy_name)
|
4486
4617
|
SENSITIVE = []
|
4487
4618
|
include Aws::Structure
|
4488
4619
|
end
|
@@ -7258,8 +7389,8 @@ module Aws::Lightsail
|
|
7258
7389
|
# @!attribute [rw] bucket_name
|
7259
7390
|
# The name of the bucket for which to return information.
|
7260
7391
|
#
|
7261
|
-
# When omitted, the response includes all of your buckets in the
|
7262
|
-
# Region where the request is made.
|
7392
|
+
# When omitted, the response includes all of your buckets in the
|
7393
|
+
# Amazon Web Services Region where the request is made.
|
7263
7394
|
# @return [String]
|
7264
7395
|
#
|
7265
7396
|
# @!attribute [rw] page_token
|
@@ -7306,11 +7437,26 @@ module Aws::Lightsail
|
|
7306
7437
|
# parameter.
|
7307
7438
|
# @return [String]
|
7308
7439
|
#
|
7440
|
+
# @!attribute [rw] account_level_bpa_sync
|
7441
|
+
# An object that describes the synchronization status of the Amazon S3
|
7442
|
+
# account-level block public access feature for your Lightsail
|
7443
|
+
# buckets.
|
7444
|
+
#
|
7445
|
+
# For more information about this feature and how it affects Lightsail
|
7446
|
+
# buckets, see [Block public access for buckets in Amazon
|
7447
|
+
# Lightsail][1].
|
7448
|
+
#
|
7449
|
+
#
|
7450
|
+
#
|
7451
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-block-public-access-for-buckets
|
7452
|
+
# @return [Types::AccountLevelBpaSync]
|
7453
|
+
#
|
7309
7454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketsResult AWS API Documentation
|
7310
7455
|
#
|
7311
7456
|
class GetBucketsResult < Struct.new(
|
7312
7457
|
:buckets,
|
7313
|
-
:next_page_token
|
7458
|
+
:next_page_token,
|
7459
|
+
:account_level_bpa_sync)
|
7314
7460
|
SENSITIVE = []
|
7315
7461
|
include Aws::Structure
|
7316
7462
|
end
|
@@ -7387,8 +7533,8 @@ module Aws::Lightsail
|
|
7387
7533
|
# `ISSUED` status.
|
7388
7534
|
#
|
7389
7535
|
# When omitted, the response includes all of your certificates in the
|
7390
|
-
#
|
7391
|
-
# status.
|
7536
|
+
# Amazon Web Services Region where the request is made, regardless of
|
7537
|
+
# their current status.
|
7392
7538
|
# @return [Array<String>]
|
7393
7539
|
#
|
7394
7540
|
# @!attribute [rw] include_certificate_details
|
@@ -7403,7 +7549,7 @@ module Aws::Lightsail
|
|
7403
7549
|
# The name for the certificate for which to return information.
|
7404
7550
|
#
|
7405
7551
|
# When omitted, the response includes all of your certificates in the
|
7406
|
-
#
|
7552
|
+
# Amazon Web Services Region where the request is made.
|
7407
7553
|
# @return [String]
|
7408
7554
|
#
|
7409
7555
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCertificatesRequest AWS API Documentation
|
@@ -7871,7 +8017,7 @@ module Aws::Lightsail
|
|
7871
8017
|
# The name of the container service for which to return information.
|
7872
8018
|
#
|
7873
8019
|
# When omitted, the response includes all of your container services
|
7874
|
-
# in the
|
8020
|
+
# in the Amazon Web Services Region where the request is made.
|
7875
8021
|
# @return [String]
|
7876
8022
|
#
|
7877
8023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerServicesRequest AWS API Documentation
|
@@ -8304,7 +8450,7 @@ module Aws::Lightsail
|
|
8304
8450
|
# The name of the distribution for which to return information.
|
8305
8451
|
#
|
8306
8452
|
# When omitted, the response includes all of your distributions in the
|
8307
|
-
#
|
8453
|
+
# Amazon Web Services Region where the request is made.
|
8308
8454
|
# @return [String]
|
8309
8455
|
#
|
8310
8456
|
# @!attribute [rw] page_token
|
@@ -9316,6 +9462,55 @@ module Aws::Lightsail
|
|
9316
9462
|
include Aws::Structure
|
9317
9463
|
end
|
9318
9464
|
|
9465
|
+
# @note When making an API call, you may pass GetLoadBalancerTlsPoliciesRequest
|
9466
|
+
# data as a hash:
|
9467
|
+
#
|
9468
|
+
# {
|
9469
|
+
# page_token: "string",
|
9470
|
+
# }
|
9471
|
+
#
|
9472
|
+
# @!attribute [rw] page_token
|
9473
|
+
# The token to advance to the next page of results from your request.
|
9474
|
+
#
|
9475
|
+
# To get a page token, perform an initial `GetLoadBalancerTlsPolicies`
|
9476
|
+
# request. If your results are paginated, the response will return a
|
9477
|
+
# next page token that you can specify as the page token in a
|
9478
|
+
# subsequent request.
|
9479
|
+
# @return [String]
|
9480
|
+
#
|
9481
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsPoliciesRequest AWS API Documentation
|
9482
|
+
#
|
9483
|
+
class GetLoadBalancerTlsPoliciesRequest < Struct.new(
|
9484
|
+
:page_token)
|
9485
|
+
SENSITIVE = []
|
9486
|
+
include Aws::Structure
|
9487
|
+
end
|
9488
|
+
|
9489
|
+
# @!attribute [rw] tls_policies
|
9490
|
+
# An array of objects that describe the TLS security policies that are
|
9491
|
+
# available.
|
9492
|
+
# @return [Array<Types::LoadBalancerTlsPolicy>]
|
9493
|
+
#
|
9494
|
+
# @!attribute [rw] next_page_token
|
9495
|
+
# The token to advance to the next page of results from your request.
|
9496
|
+
#
|
9497
|
+
# A next page token is not returned if there are no more results to
|
9498
|
+
# display.
|
9499
|
+
#
|
9500
|
+
# To get the next page of results, perform another
|
9501
|
+
# `GetLoadBalancerTlsPolicies` request and specify the next page token
|
9502
|
+
# using the `pageToken` parameter.
|
9503
|
+
# @return [String]
|
9504
|
+
#
|
9505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsPoliciesResult AWS API Documentation
|
9506
|
+
#
|
9507
|
+
class GetLoadBalancerTlsPoliciesResult < Struct.new(
|
9508
|
+
:tls_policies,
|
9509
|
+
:next_page_token)
|
9510
|
+
SENSITIVE = []
|
9511
|
+
include Aws::Structure
|
9512
|
+
end
|
9513
|
+
|
9319
9514
|
# @note When making an API call, you may pass GetLoadBalancersRequest
|
9320
9515
|
# data as a hash:
|
9321
9516
|
#
|
@@ -11498,8 +11693,9 @@ module Aws::Lightsail
|
|
11498
11693
|
# the validation rules of an input field.
|
11499
11694
|
#
|
11500
11695
|
# <note markdown="1"> Domain and distribution APIs are only available in the N. Virginia
|
11501
|
-
# (`us-east-1`)
|
11502
|
-
# `us-east-1` to create, view, or edit
|
11696
|
+
# (`us-east-1`) Amazon Web Services Region. Please set your Amazon Web
|
11697
|
+
# Services Region configuration to `us-east-1` to create, view, or edit
|
11698
|
+
# these resources.
|
11503
11699
|
#
|
11504
11700
|
# </note>
|
11505
11701
|
#
|
@@ -11629,11 +11825,12 @@ module Aws::Lightsail
|
|
11629
11825
|
#
|
11630
11826
|
# @!attribute [rw] location
|
11631
11827
|
# An object that describes the location of the distribution, such as
|
11632
|
-
# the
|
11828
|
+
# the Amazon Web Services Region and Availability Zone.
|
11633
11829
|
#
|
11634
11830
|
# <note markdown="1"> Lightsail distributions are global resources that can reference an
|
11635
|
-
# origin in any
|
11636
|
-
# However, all distributions are located in the `us-east-1`
|
11831
|
+
# origin in any Amazon Web Services Region, and distribute its content
|
11832
|
+
# globally. However, all distributions are located in the `us-east-1`
|
11833
|
+
# Region.
|
11637
11834
|
#
|
11638
11835
|
# </note>
|
11639
11836
|
# @return [Types::ResourceLocation]
|
@@ -11842,6 +12039,15 @@ module Aws::Lightsail
|
|
11842
12039
|
# IPv4 and IPv6.
|
11843
12040
|
# @return [String]
|
11844
12041
|
#
|
12042
|
+
# @!attribute [rw] https_redirection_enabled
|
12043
|
+
# A Boolean value that indicates whether HTTPS redirection is enabled
|
12044
|
+
# for the load balancer.
|
12045
|
+
# @return [Boolean]
|
12046
|
+
#
|
12047
|
+
# @!attribute [rw] tls_policy_name
|
12048
|
+
# The name of the TLS security policy for the load balancer.
|
12049
|
+
# @return [String]
|
12050
|
+
#
|
11845
12051
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancer AWS API Documentation
|
11846
12052
|
#
|
11847
12053
|
class LoadBalancer < Struct.new(
|
@@ -11861,7 +12067,9 @@ module Aws::Lightsail
|
|
11861
12067
|
:instance_health_summary,
|
11862
12068
|
:tls_certificate_summaries,
|
11863
12069
|
:configuration_options,
|
11864
|
-
:ip_address_type
|
12070
|
+
:ip_address_type,
|
12071
|
+
:https_redirection_enabled,
|
12072
|
+
:tls_policy_name)
|
11865
12073
|
SENSITIVE = []
|
11866
12074
|
include Aws::Structure
|
11867
12075
|
end
|
@@ -12253,6 +12461,52 @@ module Aws::Lightsail
|
|
12253
12461
|
include Aws::Structure
|
12254
12462
|
end
|
12255
12463
|
|
12464
|
+
# Describes the TLS security policies that are available for Lightsail
|
12465
|
+
# load balancers.
|
12466
|
+
#
|
12467
|
+
# For more information about load balancer TLS security policies, see
|
12468
|
+
# [Configuring TLS security policies on your Amazon Lightsail load
|
12469
|
+
# balancers][1] in the *Amazon Lightsail Developer Guide*.
|
12470
|
+
#
|
12471
|
+
#
|
12472
|
+
#
|
12473
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configure-load-balancer-tls-security-policy
|
12474
|
+
#
|
12475
|
+
# @!attribute [rw] name
|
12476
|
+
# The name of the TLS security policy.
|
12477
|
+
# @return [String]
|
12478
|
+
#
|
12479
|
+
# @!attribute [rw] is_default
|
12480
|
+
# A Boolean value that indicates whether the TLS security policy is
|
12481
|
+
# the default.
|
12482
|
+
# @return [Boolean]
|
12483
|
+
#
|
12484
|
+
# @!attribute [rw] description
|
12485
|
+
# The description of the TLS security policy.
|
12486
|
+
# @return [String]
|
12487
|
+
#
|
12488
|
+
# @!attribute [rw] protocols
|
12489
|
+
# The protocols used in a given TLS security policy.
|
12490
|
+
# @return [Array<String>]
|
12491
|
+
#
|
12492
|
+
# @!attribute [rw] ciphers
|
12493
|
+
# The ciphers used by the TLS security policy.
|
12494
|
+
#
|
12495
|
+
# The ciphers are listed in order of preference.
|
12496
|
+
# @return [Array<String>]
|
12497
|
+
#
|
12498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsPolicy AWS API Documentation
|
12499
|
+
#
|
12500
|
+
class LoadBalancerTlsPolicy < Struct.new(
|
12501
|
+
:name,
|
12502
|
+
:is_default,
|
12503
|
+
:description,
|
12504
|
+
:protocols,
|
12505
|
+
:ciphers)
|
12506
|
+
SENSITIVE = []
|
12507
|
+
include Aws::Structure
|
12508
|
+
end
|
12509
|
+
|
12256
12510
|
# Describes a database log event.
|
12257
12511
|
#
|
12258
12512
|
# @!attribute [rw] created_at
|
@@ -12456,7 +12710,7 @@ module Aws::Lightsail
|
|
12456
12710
|
# @return [Time]
|
12457
12711
|
#
|
12458
12712
|
# @!attribute [rw] location
|
12459
|
-
# The
|
12713
|
+
# The Amazon Web Services Region and Availability Zone.
|
12460
12714
|
# @return [Types::ResourceLocation]
|
12461
12715
|
#
|
12462
12716
|
# @!attribute [rw] is_terminal
|
@@ -12965,12 +13219,12 @@ module Aws::Lightsail
|
|
12965
13219
|
# triggered.
|
12966
13220
|
#
|
12967
13221
|
# A notification is not sent if a contact protocol is not specified,
|
12968
|
-
# if the specified contact protocol is not configured in the
|
12969
|
-
# Region, or if notifications are not enabled for the
|
12970
|
-
# `notificationEnabled` paramater.
|
13222
|
+
# if the specified contact protocol is not configured in the Amazon
|
13223
|
+
# Web Services Region, or if notifications are not enabled for the
|
13224
|
+
# alarm using the `notificationEnabled` paramater.
|
12971
13225
|
#
|
12972
13226
|
# Use the `CreateContactMethod` action to configure a contact protocol
|
12973
|
-
# in an
|
13227
|
+
# in an Amazon Web Services Region.
|
12974
13228
|
# @return [Array<String>]
|
12975
13229
|
#
|
12976
13230
|
# @!attribute [rw] notification_triggers
|
@@ -13297,8 +13551,8 @@ module Aws::Lightsail
|
|
13297
13551
|
end
|
13298
13552
|
|
13299
13553
|
# @!attribute [rw] container_image
|
13300
|
-
#
|
13301
|
-
# Lightsail container service
|
13554
|
+
# An object that describes a container image that is registered to a
|
13555
|
+
# Lightsail container service
|
13302
13556
|
# @return [Types::ContainerImage]
|
13303
13557
|
#
|
13304
13558
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RegisterContainerImageResult AWS API Documentation
|
@@ -14083,8 +14337,9 @@ module Aws::Lightsail
|
|
14083
14337
|
# `LoadBalancer`.
|
14084
14338
|
#
|
14085
14339
|
# <note markdown="1"> Distribution-related APIs are available only in the N. Virginia
|
14086
|
-
# (`us-east-1`)
|
14087
|
-
# `us-east-1` to create, view, or
|
14340
|
+
# (`us-east-1`) Amazon Web Services Region. Set your Amazon Web
|
14341
|
+
# Services Region configuration to `us-east-1` to create, view, or
|
14342
|
+
# edit distributions.
|
14088
14343
|
#
|
14089
14344
|
# </note>
|
14090
14345
|
# @return [String]
|
@@ -14707,10 +14962,11 @@ module Aws::Lightsail
|
|
14707
14962
|
# @return [String]
|
14708
14963
|
#
|
14709
14964
|
# @!attribute [rw] readonly_access_accounts
|
14710
|
-
# An array of strings to specify the
|
14711
|
-
# the bucket.
|
14965
|
+
# An array of strings to specify the Amazon Web Services account IDs
|
14966
|
+
# that can access the bucket.
|
14712
14967
|
#
|
14713
|
-
# You can give a maximum of 10
|
14968
|
+
# You can give a maximum of 10 Amazon Web Services accounts access to
|
14969
|
+
# a bucket.
|
14714
14970
|
# @return [Array<String>]
|
14715
14971
|
#
|
14716
14972
|
# @!attribute [rw] access_log_config
|
@@ -14872,7 +15128,9 @@ module Aws::Lightsail
|
|
14872
15128
|
end
|
14873
15129
|
|
14874
15130
|
# @!attribute [rw] operation
|
14875
|
-
#
|
15131
|
+
# An object that describes the result of the action, such as the
|
15132
|
+
# status of the request, the timestamp of the request, and the
|
15133
|
+
# resources affected by the request.
|
14876
15134
|
# @return [Types::Operation]
|
14877
15135
|
#
|
14878
15136
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDistributionBundleResult AWS API Documentation
|
@@ -15044,7 +15302,7 @@ module Aws::Lightsail
|
|
15044
15302
|
#
|
15045
15303
|
# {
|
15046
15304
|
# load_balancer_name: "ResourceName", # required
|
15047
|
-
# attribute_name: "HealthCheckPath", # required, accepts HealthCheckPath, SessionStickinessEnabled, SessionStickiness_LB_CookieDurationSeconds
|
15305
|
+
# attribute_name: "HealthCheckPath", # required, accepts HealthCheckPath, SessionStickinessEnabled, SessionStickiness_LB_CookieDurationSeconds, HttpsRedirectionEnabled, TlsPolicyName
|
15048
15306
|
# attribute_value: "StringMax256", # required
|
15049
15307
|
# }
|
15050
15308
|
#
|
@@ -15054,12 +15312,45 @@ module Aws::Lightsail
|
|
15054
15312
|
# @return [String]
|
15055
15313
|
#
|
15056
15314
|
# @!attribute [rw] attribute_name
|
15057
|
-
# The name of the attribute you want to update.
|
15058
|
-
# below.
|
15315
|
+
# The name of the attribute you want to update.
|
15059
15316
|
# @return [String]
|
15060
15317
|
#
|
15061
15318
|
# @!attribute [rw] attribute_value
|
15062
15319
|
# The value that you want to specify for the attribute name.
|
15320
|
+
#
|
15321
|
+
# The following values are supported depending on what you specify for
|
15322
|
+
# the `attributeName` request parameter:
|
15323
|
+
#
|
15324
|
+
# * If you specify `HealthCheckPath` for the `attributeName` request
|
15325
|
+
# parameter, then the `attributeValue` request parameter must be the
|
15326
|
+
# path to ping on the target (for example,
|
15327
|
+
# `/weather/us/wa/seattle`).
|
15328
|
+
#
|
15329
|
+
# * If you specify `SessionStickinessEnabled` for the `attributeName`
|
15330
|
+
# request parameter, then the `attributeValue` request parameter
|
15331
|
+
# must be `true` to activate session stickiness or `false` to
|
15332
|
+
# deactivate session stickiness.
|
15333
|
+
#
|
15334
|
+
# * If you specify `SessionStickiness_LB_CookieDurationSeconds` for
|
15335
|
+
# the `attributeName` request parameter, then the `attributeValue`
|
15336
|
+
# request parameter must be an interger that represents the cookie
|
15337
|
+
# duration in seconds.
|
15338
|
+
#
|
15339
|
+
# * If you specify `HttpsRedirectionEnabled` for the `attributeName`
|
15340
|
+
# request parameter, then the `attributeValue` request parameter
|
15341
|
+
# must be `true` to activate HTTP to HTTPS redirection or `false` to
|
15342
|
+
# deactivate HTTP to HTTPS redirection.
|
15343
|
+
#
|
15344
|
+
# * If you specify `TlsPolicyName` for the `attributeName` request
|
15345
|
+
# parameter, then the `attributeValue` request parameter must be the
|
15346
|
+
# name of the TLS policy.
|
15347
|
+
#
|
15348
|
+
# Use the [GetLoadBalancerTlsPolicies][1] action to get a list of
|
15349
|
+
# TLS policy names that you can specify.
|
15350
|
+
#
|
15351
|
+
#
|
15352
|
+
#
|
15353
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetLoadBalancerTlsPolicies.html
|
15063
15354
|
# @return [String]
|
15064
15355
|
#
|
15065
15356
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeRequest AWS API Documentation
|
data/lib/aws-sdk-lightsail.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lightsail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.66.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|