aws-sdk-lightsail 1.67.0 → 1.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail/client.rb +45 -1
- data/lib/aws-sdk-lightsail/client_api.rb +20 -0
- data/lib/aws-sdk-lightsail/types.rb +193 -3
- data/lib/aws-sdk-lightsail.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d16f2b0957cdbc9a808ee81724362fedbe0a13a0f4050913b8db4b39c47fab6c
|
4
|
+
data.tar.gz: d5a6892f70d69335015dc82f4e4e17641f1ac9dfbefe8d23739cee865ee11931
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1c364a152da6b8920516649912433f8460b4550ba207b2e8f4c6122a9705c8e0d5c1cec44e99582daa2efed81a52b2c22670c5f06f8b0fff217c1dc7f441d9c
|
7
|
+
data.tar.gz: c49709d7c395a3b084a40b5805c432e6bbc61f04965876273190d95b92953c56ef0828ca0acd7a870b806950a4336af4f808b2a575377b3a5380fe19df61297e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.68.0 (2022-05-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Lightsail now supports the ability to configure a Lightsail Container Service to pull images from Amazon ECR private repositories in your account.
|
8
|
+
|
4
9
|
1.67.0 (2022-05-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.68.0
|
@@ -1479,6 +1479,19 @@ module Aws::Lightsail
|
|
1479
1479
|
# deployment and its settings, such as the HTTP or HTTPS port to use,
|
1480
1480
|
# and the health check configuration.
|
1481
1481
|
#
|
1482
|
+
# @option params [Types::PrivateRegistryAccessRequest] :private_registry_access
|
1483
|
+
# An object to describe the configuration for the container service to
|
1484
|
+
# access private container image repositories, such as Amazon Elastic
|
1485
|
+
# Container Registry (Amazon ECR) private repositories.
|
1486
|
+
#
|
1487
|
+
# For more information, see [Configuring access to an Amazon ECR private
|
1488
|
+
# repository for an Amazon Lightsail container service][1] in the
|
1489
|
+
# *Amazon Lightsail Developer Guide*.
|
1490
|
+
#
|
1491
|
+
#
|
1492
|
+
#
|
1493
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
1494
|
+
#
|
1482
1495
|
# @return [Types::CreateContainerServiceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1483
1496
|
#
|
1484
1497
|
# * {Types::CreateContainerServiceResult#container_service #container_service} => Types::ContainerService
|
@@ -1524,6 +1537,11 @@ module Aws::Lightsail
|
|
1524
1537
|
# },
|
1525
1538
|
# },
|
1526
1539
|
# },
|
1540
|
+
# private_registry_access: {
|
1541
|
+
# ecr_image_puller_role: {
|
1542
|
+
# is_active: false,
|
1543
|
+
# },
|
1544
|
+
# },
|
1527
1545
|
# })
|
1528
1546
|
#
|
1529
1547
|
# @example Response structure
|
@@ -1588,6 +1606,8 @@ module Aws::Lightsail
|
|
1588
1606
|
# resp.container_service.public_domain_names["string"] #=> Array
|
1589
1607
|
# resp.container_service.public_domain_names["string"][0] #=> String
|
1590
1608
|
# resp.container_service.url #=> String
|
1609
|
+
# resp.container_service.private_registry_access.ecr_image_puller_role.is_active #=> Boolean
|
1610
|
+
# resp.container_service.private_registry_access.ecr_image_puller_role.principal_arn #=> String
|
1591
1611
|
#
|
1592
1612
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContainerService AWS API Documentation
|
1593
1613
|
#
|
@@ -1724,6 +1744,8 @@ module Aws::Lightsail
|
|
1724
1744
|
# resp.container_service.public_domain_names["string"] #=> Array
|
1725
1745
|
# resp.container_service.public_domain_names["string"][0] #=> String
|
1726
1746
|
# resp.container_service.url #=> String
|
1747
|
+
# resp.container_service.private_registry_access.ecr_image_puller_role.is_active #=> Boolean
|
1748
|
+
# resp.container_service.private_registry_access.ecr_image_puller_role.principal_arn #=> String
|
1727
1749
|
#
|
1728
1750
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContainerServiceDeployment AWS API Documentation
|
1729
1751
|
#
|
@@ -6463,6 +6485,8 @@ module Aws::Lightsail
|
|
6463
6485
|
# resp.container_services[0].public_domain_names["string"] #=> Array
|
6464
6486
|
# resp.container_services[0].public_domain_names["string"][0] #=> String
|
6465
6487
|
# resp.container_services[0].url #=> String
|
6488
|
+
# resp.container_services[0].private_registry_access.ecr_image_puller_role.is_active #=> Boolean
|
6489
|
+
# resp.container_services[0].private_registry_access.ecr_image_puller_role.principal_arn #=> String
|
6466
6490
|
#
|
6467
6491
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerServices AWS API Documentation
|
6468
6492
|
#
|
@@ -11029,6 +11053,19 @@ module Aws::Lightsail
|
|
11029
11053
|
# You can specify public domain names using a string to array map as
|
11030
11054
|
# shown in the example later on this page.
|
11031
11055
|
#
|
11056
|
+
# @option params [Types::PrivateRegistryAccessRequest] :private_registry_access
|
11057
|
+
# An object to describe the configuration for the container service to
|
11058
|
+
# access private container image repositories, such as Amazon Elastic
|
11059
|
+
# Container Registry (Amazon ECR) private repositories.
|
11060
|
+
#
|
11061
|
+
# For more information, see [Configuring access to an Amazon ECR private
|
11062
|
+
# repository for an Amazon Lightsail container service][1] in the
|
11063
|
+
# *Amazon Lightsail Developer Guide*.
|
11064
|
+
#
|
11065
|
+
#
|
11066
|
+
#
|
11067
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
11068
|
+
#
|
11032
11069
|
# @return [Types::UpdateContainerServiceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11033
11070
|
#
|
11034
11071
|
# * {Types::UpdateContainerServiceResult#container_service #container_service} => Types::ContainerService
|
@@ -11043,6 +11080,11 @@ module Aws::Lightsail
|
|
11043
11080
|
# public_domain_names: {
|
11044
11081
|
# "string" => ["string"],
|
11045
11082
|
# },
|
11083
|
+
# private_registry_access: {
|
11084
|
+
# ecr_image_puller_role: {
|
11085
|
+
# is_active: false,
|
11086
|
+
# },
|
11087
|
+
# },
|
11046
11088
|
# })
|
11047
11089
|
#
|
11048
11090
|
# @example Response structure
|
@@ -11107,6 +11149,8 @@ module Aws::Lightsail
|
|
11107
11149
|
# resp.container_service.public_domain_names["string"] #=> Array
|
11108
11150
|
# resp.container_service.public_domain_names["string"][0] #=> String
|
11109
11151
|
# resp.container_service.url #=> String
|
11152
|
+
# resp.container_service.private_registry_access.ecr_image_puller_role.is_active #=> Boolean
|
11153
|
+
# resp.container_service.private_registry_access.ecr_image_puller_role.principal_arn #=> String
|
11110
11154
|
#
|
11111
11155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateContainerService AWS API Documentation
|
11112
11156
|
#
|
@@ -11684,7 +11728,7 @@ module Aws::Lightsail
|
|
11684
11728
|
params: params,
|
11685
11729
|
config: config)
|
11686
11730
|
context[:gem_name] = 'aws-sdk-lightsail'
|
11687
|
-
context[:gem_version] = '1.
|
11731
|
+
context[:gem_version] = '1.68.0'
|
11688
11732
|
Seahorse::Client::Request.new(handlers, context)
|
11689
11733
|
end
|
11690
11734
|
|
@@ -106,6 +106,8 @@ module Aws::Lightsail
|
|
106
106
|
ContainerServiceDeploymentList = Shapes::ListShape.new(name: 'ContainerServiceDeploymentList')
|
107
107
|
ContainerServiceDeploymentRequest = Shapes::StructureShape.new(name: 'ContainerServiceDeploymentRequest')
|
108
108
|
ContainerServiceDeploymentState = Shapes::StringShape.new(name: 'ContainerServiceDeploymentState')
|
109
|
+
ContainerServiceECRImagePullerRole = Shapes::StructureShape.new(name: 'ContainerServiceECRImagePullerRole')
|
110
|
+
ContainerServiceECRImagePullerRoleRequest = Shapes::StructureShape.new(name: 'ContainerServiceECRImagePullerRoleRequest')
|
109
111
|
ContainerServiceEndpoint = Shapes::StructureShape.new(name: 'ContainerServiceEndpoint')
|
110
112
|
ContainerServiceHealthCheckConfig = Shapes::StructureShape.new(name: 'ContainerServiceHealthCheckConfig')
|
111
113
|
ContainerServiceList = Shapes::ListShape.new(name: 'ContainerServiceList')
|
@@ -504,6 +506,8 @@ module Aws::Lightsail
|
|
504
506
|
PortList = Shapes::ListShape.new(name: 'PortList')
|
505
507
|
PortMap = Shapes::MapShape.new(name: 'PortMap')
|
506
508
|
PortState = Shapes::StringShape.new(name: 'PortState')
|
509
|
+
PrivateRegistryAccess = Shapes::StructureShape.new(name: 'PrivateRegistryAccess')
|
510
|
+
PrivateRegistryAccessRequest = Shapes::StructureShape.new(name: 'PrivateRegistryAccessRequest')
|
507
511
|
PutAlarmRequest = Shapes::StructureShape.new(name: 'PutAlarmRequest')
|
508
512
|
PutAlarmResult = Shapes::StructureShape.new(name: 'PutAlarmResult')
|
509
513
|
PutInstancePublicPortsRequest = Shapes::StructureShape.new(name: 'PutInstancePublicPortsRequest')
|
@@ -960,6 +964,7 @@ module Aws::Lightsail
|
|
960
964
|
ContainerService.add_member(:private_domain_name, Shapes::ShapeRef.new(shape: string, location_name: "privateDomainName"))
|
961
965
|
ContainerService.add_member(:public_domain_names, Shapes::ShapeRef.new(shape: ContainerServicePublicDomains, location_name: "publicDomainNames"))
|
962
966
|
ContainerService.add_member(:url, Shapes::ShapeRef.new(shape: string, location_name: "url"))
|
967
|
+
ContainerService.add_member(:private_registry_access, Shapes::ShapeRef.new(shape: PrivateRegistryAccess, location_name: "privateRegistryAccess"))
|
963
968
|
ContainerService.struct_class = Types::ContainerService
|
964
969
|
|
965
970
|
ContainerServiceDeployment.add_member(:version, Shapes::ShapeRef.new(shape: integer, location_name: "version"))
|
@@ -975,6 +980,13 @@ module Aws::Lightsail
|
|
975
980
|
ContainerServiceDeploymentRequest.add_member(:public_endpoint, Shapes::ShapeRef.new(shape: EndpointRequest, location_name: "publicEndpoint"))
|
976
981
|
ContainerServiceDeploymentRequest.struct_class = Types::ContainerServiceDeploymentRequest
|
977
982
|
|
983
|
+
ContainerServiceECRImagePullerRole.add_member(:is_active, Shapes::ShapeRef.new(shape: boolean, location_name: "isActive"))
|
984
|
+
ContainerServiceECRImagePullerRole.add_member(:principal_arn, Shapes::ShapeRef.new(shape: string, location_name: "principalArn"))
|
985
|
+
ContainerServiceECRImagePullerRole.struct_class = Types::ContainerServiceECRImagePullerRole
|
986
|
+
|
987
|
+
ContainerServiceECRImagePullerRoleRequest.add_member(:is_active, Shapes::ShapeRef.new(shape: boolean, location_name: "isActive"))
|
988
|
+
ContainerServiceECRImagePullerRoleRequest.struct_class = Types::ContainerServiceECRImagePullerRoleRequest
|
989
|
+
|
978
990
|
ContainerServiceEndpoint.add_member(:container_name, Shapes::ShapeRef.new(shape: string, location_name: "containerName"))
|
979
991
|
ContainerServiceEndpoint.add_member(:container_port, Shapes::ShapeRef.new(shape: integer, location_name: "containerPort"))
|
980
992
|
ContainerServiceEndpoint.add_member(:health_check, Shapes::ShapeRef.new(shape: ContainerServiceHealthCheckConfig, location_name: "healthCheck"))
|
@@ -1103,6 +1115,7 @@ module Aws::Lightsail
|
|
1103
1115
|
CreateContainerServiceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1104
1116
|
CreateContainerServiceRequest.add_member(:public_domain_names, Shapes::ShapeRef.new(shape: ContainerServicePublicDomains, location_name: "publicDomainNames"))
|
1105
1117
|
CreateContainerServiceRequest.add_member(:deployment, Shapes::ShapeRef.new(shape: ContainerServiceDeploymentRequest, location_name: "deployment"))
|
1118
|
+
CreateContainerServiceRequest.add_member(:private_registry_access, Shapes::ShapeRef.new(shape: PrivateRegistryAccessRequest, location_name: "privateRegistryAccess"))
|
1106
1119
|
CreateContainerServiceRequest.struct_class = Types::CreateContainerServiceRequest
|
1107
1120
|
|
1108
1121
|
CreateContainerServiceResult.add_member(:container_service, Shapes::ShapeRef.new(shape: ContainerService, location_name: "containerService"))
|
@@ -2471,6 +2484,12 @@ module Aws::Lightsail
|
|
2471
2484
|
PortMap.key = Shapes::ShapeRef.new(shape: string)
|
2472
2485
|
PortMap.value = Shapes::ShapeRef.new(shape: ContainerServiceProtocol)
|
2473
2486
|
|
2487
|
+
PrivateRegistryAccess.add_member(:ecr_image_puller_role, Shapes::ShapeRef.new(shape: ContainerServiceECRImagePullerRole, location_name: "ecrImagePullerRole"))
|
2488
|
+
PrivateRegistryAccess.struct_class = Types::PrivateRegistryAccess
|
2489
|
+
|
2490
|
+
PrivateRegistryAccessRequest.add_member(:ecr_image_puller_role, Shapes::ShapeRef.new(shape: ContainerServiceECRImagePullerRoleRequest, location_name: "ecrImagePullerRole"))
|
2491
|
+
PrivateRegistryAccessRequest.struct_class = Types::PrivateRegistryAccessRequest
|
2492
|
+
|
2474
2493
|
PutAlarmRequest.add_member(:alarm_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "alarmName"))
|
2475
2494
|
PutAlarmRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "metricName"))
|
2476
2495
|
PutAlarmRequest.add_member(:monitored_resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "monitoredResourceName"))
|
@@ -2800,6 +2819,7 @@ module Aws::Lightsail
|
|
2800
2819
|
UpdateContainerServiceRequest.add_member(:scale, Shapes::ShapeRef.new(shape: ContainerServiceScale, location_name: "scale"))
|
2801
2820
|
UpdateContainerServiceRequest.add_member(:is_disabled, Shapes::ShapeRef.new(shape: boolean, location_name: "isDisabled"))
|
2802
2821
|
UpdateContainerServiceRequest.add_member(:public_domain_names, Shapes::ShapeRef.new(shape: ContainerServicePublicDomains, location_name: "publicDomainNames"))
|
2822
|
+
UpdateContainerServiceRequest.add_member(:private_registry_access, Shapes::ShapeRef.new(shape: PrivateRegistryAccessRequest, location_name: "privateRegistryAccess"))
|
2803
2823
|
UpdateContainerServiceRequest.struct_class = Types::UpdateContainerServiceRequest
|
2804
2824
|
|
2805
2825
|
UpdateContainerServiceResult.add_member(:container_service, Shapes::ShapeRef.new(shape: ContainerService, location_name: "containerService"))
|
@@ -2344,6 +2344,20 @@ module Aws::Lightsail
|
|
2344
2344
|
# URL returns a 404 response.
|
2345
2345
|
# @return [String]
|
2346
2346
|
#
|
2347
|
+
# @!attribute [rw] private_registry_access
|
2348
|
+
# An object that describes the configuration for the container service
|
2349
|
+
# to access private container image repositories, such as Amazon
|
2350
|
+
# Elastic Container Registry (Amazon ECR) private repositories.
|
2351
|
+
#
|
2352
|
+
# For more information, see [Configuring access to an Amazon ECR
|
2353
|
+
# private repository for an Amazon Lightsail container service][1] in
|
2354
|
+
# the *Amazon Lightsail Developer Guide*.
|
2355
|
+
#
|
2356
|
+
#
|
2357
|
+
#
|
2358
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
2359
|
+
# @return [Types::PrivateRegistryAccess]
|
2360
|
+
#
|
2347
2361
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContainerService AWS API Documentation
|
2348
2362
|
#
|
2349
2363
|
class ContainerService < Struct.new(
|
@@ -2364,7 +2378,8 @@ module Aws::Lightsail
|
|
2364
2378
|
:principal_arn,
|
2365
2379
|
:private_domain_name,
|
2366
2380
|
:public_domain_names,
|
2367
|
-
:url
|
2381
|
+
:url,
|
2382
|
+
:private_registry_access)
|
2368
2383
|
SENSITIVE = []
|
2369
2384
|
include Aws::Structure
|
2370
2385
|
end
|
@@ -2477,6 +2492,78 @@ module Aws::Lightsail
|
|
2477
2492
|
include Aws::Structure
|
2478
2493
|
end
|
2479
2494
|
|
2495
|
+
# Describes the activation status of the role that you can use to grant
|
2496
|
+
# an Amazon Lightsail container service access to Amazon Elastic
|
2497
|
+
# Container Registry (Amazon ECR) private repositories.
|
2498
|
+
#
|
2499
|
+
# When activated, Lightsail creates an Identity and Access Management
|
2500
|
+
# (IAM) role for the specified Lightsail container service. You can use
|
2501
|
+
# the ARN of the role to create a trust relationship between your
|
2502
|
+
# Lightsail container service and an Amazon ECR private repository in
|
2503
|
+
# your Amazon Web Services account. This allows your container service
|
2504
|
+
# to pull images from Amazon ECR private repositories. For more
|
2505
|
+
# information, see [Configuring access to an Amazon ECR private
|
2506
|
+
# repository for an Amazon Lightsail container service][1] in the
|
2507
|
+
# *Amazon Lightsail Developer Guide*.
|
2508
|
+
#
|
2509
|
+
#
|
2510
|
+
#
|
2511
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
2512
|
+
#
|
2513
|
+
# @!attribute [rw] is_active
|
2514
|
+
# A Boolean value that indicates whether the role is activated.
|
2515
|
+
# @return [Boolean]
|
2516
|
+
#
|
2517
|
+
# @!attribute [rw] principal_arn
|
2518
|
+
# The Amazon Resource Name (ARN) of the role, if it is activated.
|
2519
|
+
# @return [String]
|
2520
|
+
#
|
2521
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContainerServiceECRImagePullerRole AWS API Documentation
|
2522
|
+
#
|
2523
|
+
class ContainerServiceECRImagePullerRole < Struct.new(
|
2524
|
+
:is_active,
|
2525
|
+
:principal_arn)
|
2526
|
+
SENSITIVE = []
|
2527
|
+
include Aws::Structure
|
2528
|
+
end
|
2529
|
+
|
2530
|
+
# Describes a request to activate or deactivate the role that you can
|
2531
|
+
# use to grant an Amazon Lightsail container service access to Amazon
|
2532
|
+
# Elastic Container Registry (Amazon ECR) private repositories.
|
2533
|
+
#
|
2534
|
+
# When activated, Lightsail creates an Identity and Access Management
|
2535
|
+
# (IAM) role for the specified Lightsail container service. You can use
|
2536
|
+
# the ARN of the role to create a trust relationship between your
|
2537
|
+
# Lightsail container service and an Amazon ECR private repository in
|
2538
|
+
# your Amazon Web Services account. This allows your container service
|
2539
|
+
# to pull images from Amazon ECR private repositories. For more
|
2540
|
+
# information, see [Configuring access to an Amazon ECR private
|
2541
|
+
# repository for an Amazon Lightsail container service][1] in the
|
2542
|
+
# *Amazon Lightsail Developer Guide*.
|
2543
|
+
#
|
2544
|
+
#
|
2545
|
+
#
|
2546
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
2547
|
+
#
|
2548
|
+
# @note When making an API call, you may pass ContainerServiceECRImagePullerRoleRequest
|
2549
|
+
# data as a hash:
|
2550
|
+
#
|
2551
|
+
# {
|
2552
|
+
# is_active: false,
|
2553
|
+
# }
|
2554
|
+
#
|
2555
|
+
# @!attribute [rw] is_active
|
2556
|
+
# A Boolean value that indicates whether to activate the role.
|
2557
|
+
# @return [Boolean]
|
2558
|
+
#
|
2559
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContainerServiceECRImagePullerRoleRequest AWS API Documentation
|
2560
|
+
#
|
2561
|
+
class ContainerServiceECRImagePullerRoleRequest < Struct.new(
|
2562
|
+
:is_active)
|
2563
|
+
SENSITIVE = []
|
2564
|
+
include Aws::Structure
|
2565
|
+
end
|
2566
|
+
|
2480
2567
|
# Describes the public endpoint configuration of a deployment of an
|
2481
2568
|
# Amazon Lightsail container service.
|
2482
2569
|
#
|
@@ -3357,6 +3444,11 @@ module Aws::Lightsail
|
|
3357
3444
|
# },
|
3358
3445
|
# },
|
3359
3446
|
# },
|
3447
|
+
# private_registry_access: {
|
3448
|
+
# ecr_image_puller_role: {
|
3449
|
+
# is_active: false,
|
3450
|
+
# },
|
3451
|
+
# },
|
3360
3452
|
# }
|
3361
3453
|
#
|
3362
3454
|
# @!attribute [rw] service_name
|
@@ -3456,6 +3548,20 @@ module Aws::Lightsail
|
|
3456
3548
|
# to use, and the health check configuration.
|
3457
3549
|
# @return [Types::ContainerServiceDeploymentRequest]
|
3458
3550
|
#
|
3551
|
+
# @!attribute [rw] private_registry_access
|
3552
|
+
# An object to describe the configuration for the container service to
|
3553
|
+
# access private container image repositories, such as Amazon Elastic
|
3554
|
+
# Container Registry (Amazon ECR) private repositories.
|
3555
|
+
#
|
3556
|
+
# For more information, see [Configuring access to an Amazon ECR
|
3557
|
+
# private repository for an Amazon Lightsail container service][1] in
|
3558
|
+
# the *Amazon Lightsail Developer Guide*.
|
3559
|
+
#
|
3560
|
+
#
|
3561
|
+
#
|
3562
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
3563
|
+
# @return [Types::PrivateRegistryAccessRequest]
|
3564
|
+
#
|
3459
3565
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContainerServiceRequest AWS API Documentation
|
3460
3566
|
#
|
3461
3567
|
class CreateContainerServiceRequest < Struct.new(
|
@@ -3464,7 +3570,8 @@ module Aws::Lightsail
|
|
3464
3570
|
:scale,
|
3465
3571
|
:tags,
|
3466
3572
|
:public_domain_names,
|
3467
|
-
:deployment
|
3573
|
+
:deployment,
|
3574
|
+
:private_registry_access)
|
3468
3575
|
SENSITIVE = []
|
3469
3576
|
include Aws::Structure
|
3470
3577
|
end
|
@@ -13102,6 +13209,69 @@ module Aws::Lightsail
|
|
13102
13209
|
include Aws::Structure
|
13103
13210
|
end
|
13104
13211
|
|
13212
|
+
# Describes the configuration for an Amazon Lightsail container service
|
13213
|
+
# to access private container image repositories, such as Amazon Elastic
|
13214
|
+
# Container Registry (Amazon ECR) private repositories.
|
13215
|
+
#
|
13216
|
+
# For more information, see [Configuring access to an Amazon ECR private
|
13217
|
+
# repository for an Amazon Lightsail container service][1] in the
|
13218
|
+
# *Amazon Lightsail Developer Guide*.
|
13219
|
+
#
|
13220
|
+
#
|
13221
|
+
#
|
13222
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
13223
|
+
#
|
13224
|
+
# @!attribute [rw] ecr_image_puller_role
|
13225
|
+
# An object that describes the activation status of the role that you
|
13226
|
+
# can use to grant a Lightsail container service access to Amazon ECR
|
13227
|
+
# private repositories. If the role is activated, the Amazon Resource
|
13228
|
+
# Name (ARN) of the role is also listed.
|
13229
|
+
# @return [Types::ContainerServiceECRImagePullerRole]
|
13230
|
+
#
|
13231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PrivateRegistryAccess AWS API Documentation
|
13232
|
+
#
|
13233
|
+
class PrivateRegistryAccess < Struct.new(
|
13234
|
+
:ecr_image_puller_role)
|
13235
|
+
SENSITIVE = []
|
13236
|
+
include Aws::Structure
|
13237
|
+
end
|
13238
|
+
|
13239
|
+
# Describes a request to configure an Amazon Lightsail container service
|
13240
|
+
# to access private container image repositories, such as Amazon Elastic
|
13241
|
+
# Container Registry (Amazon ECR) private repositories.
|
13242
|
+
#
|
13243
|
+
# For more information, see [Configuring access to an Amazon ECR private
|
13244
|
+
# repository for an Amazon Lightsail container service][1] in the
|
13245
|
+
# *Amazon Lightsail Developer Guide*.
|
13246
|
+
#
|
13247
|
+
#
|
13248
|
+
#
|
13249
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
13250
|
+
#
|
13251
|
+
# @note When making an API call, you may pass PrivateRegistryAccessRequest
|
13252
|
+
# data as a hash:
|
13253
|
+
#
|
13254
|
+
# {
|
13255
|
+
# ecr_image_puller_role: {
|
13256
|
+
# is_active: false,
|
13257
|
+
# },
|
13258
|
+
# }
|
13259
|
+
#
|
13260
|
+
# @!attribute [rw] ecr_image_puller_role
|
13261
|
+
# An object to describe a request to activate or deactivate the role
|
13262
|
+
# that you can use to grant an Amazon Lightsail container service
|
13263
|
+
# access to Amazon Elastic Container Registry (Amazon ECR) private
|
13264
|
+
# repositories.
|
13265
|
+
# @return [Types::ContainerServiceECRImagePullerRoleRequest]
|
13266
|
+
#
|
13267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PrivateRegistryAccessRequest AWS API Documentation
|
13268
|
+
#
|
13269
|
+
class PrivateRegistryAccessRequest < Struct.new(
|
13270
|
+
:ecr_image_puller_role)
|
13271
|
+
SENSITIVE = []
|
13272
|
+
include Aws::Structure
|
13273
|
+
end
|
13274
|
+
|
13105
13275
|
# @note When making an API call, you may pass PutAlarmRequest
|
13106
13276
|
# data as a hash:
|
13107
13277
|
#
|
@@ -15023,6 +15193,11 @@ module Aws::Lightsail
|
|
15023
15193
|
# public_domain_names: {
|
15024
15194
|
# "string" => ["string"],
|
15025
15195
|
# },
|
15196
|
+
# private_registry_access: {
|
15197
|
+
# ecr_image_puller_role: {
|
15198
|
+
# is_active: false,
|
15199
|
+
# },
|
15200
|
+
# },
|
15026
15201
|
# }
|
15027
15202
|
#
|
15028
15203
|
# @!attribute [rw] service_name
|
@@ -15079,6 +15254,20 @@ module Aws::Lightsail
|
|
15079
15254
|
# shown in the example later on this page.
|
15080
15255
|
# @return [Hash<String,Array<String>>]
|
15081
15256
|
#
|
15257
|
+
# @!attribute [rw] private_registry_access
|
15258
|
+
# An object to describe the configuration for the container service to
|
15259
|
+
# access private container image repositories, such as Amazon Elastic
|
15260
|
+
# Container Registry (Amazon ECR) private repositories.
|
15261
|
+
#
|
15262
|
+
# For more information, see [Configuring access to an Amazon ECR
|
15263
|
+
# private repository for an Amazon Lightsail container service][1] in
|
15264
|
+
# the *Amazon Lightsail Developer Guide*.
|
15265
|
+
#
|
15266
|
+
#
|
15267
|
+
#
|
15268
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-service-ecr-private-repo-access
|
15269
|
+
# @return [Types::PrivateRegistryAccessRequest]
|
15270
|
+
#
|
15082
15271
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateContainerServiceRequest AWS API Documentation
|
15083
15272
|
#
|
15084
15273
|
class UpdateContainerServiceRequest < Struct.new(
|
@@ -15086,7 +15275,8 @@ module Aws::Lightsail
|
|
15086
15275
|
:power,
|
15087
15276
|
:scale,
|
15088
15277
|
:is_disabled,
|
15089
|
-
:public_domain_names
|
15278
|
+
:public_domain_names,
|
15279
|
+
:private_registry_access)
|
15090
15280
|
SENSITIVE = []
|
15091
15281
|
include Aws::Structure
|
15092
15282
|
end
|
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.68.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-05-
|
11
|
+
date: 2022-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|