Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates the configuration of your Amazon Lightsail container service, such as its power, scale, and public domain names.
Synopsis
- data UpdateContainerService = UpdateContainerService' {}
- newUpdateContainerService :: Text -> UpdateContainerService
- updateContainerService_isDisabled :: Lens' UpdateContainerService (Maybe Bool)
- updateContainerService_power :: Lens' UpdateContainerService (Maybe ContainerServicePowerName)
- updateContainerService_privateRegistryAccess :: Lens' UpdateContainerService (Maybe PrivateRegistryAccessRequest)
- updateContainerService_publicDomainNames :: Lens' UpdateContainerService (Maybe (HashMap Text [Text]))
- updateContainerService_scale :: Lens' UpdateContainerService (Maybe Natural)
- updateContainerService_serviceName :: Lens' UpdateContainerService Text
- data UpdateContainerServiceResponse = UpdateContainerServiceResponse' {}
- newUpdateContainerServiceResponse :: Int -> UpdateContainerServiceResponse
- updateContainerServiceResponse_containerService :: Lens' UpdateContainerServiceResponse (Maybe ContainerService)
- updateContainerServiceResponse_httpStatus :: Lens' UpdateContainerServiceResponse Int
Creating a Request
data UpdateContainerService Source #
See: newUpdateContainerService
smart constructor.
UpdateContainerService' | |
|
Instances
newUpdateContainerService Source #
Create a value of UpdateContainerService
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateContainerService
, updateContainerService_isDisabled
- A Boolean value to indicate whether the container service is disabled.
UpdateContainerService
, updateContainerService_power
- The power for the container service.
The power specifies the amount of memory, vCPUs, and base monthly cost
of each node of the container service. The power
and scale
of a
container service makes up its configured capacity. To determine the
monthly price of your container service, multiply the base price of the
power
with the scale
(the number of nodes) of the service.
Use the GetContainerServicePowers
action to view the specifications of
each power option.
UpdateContainerService
, updateContainerService_privateRegistryAccess
- An object to describe the configuration for the container service to
access private container image repositories, such as Amazon Elastic
Container Registry (Amazon ECR) private repositories.
For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.
UpdateContainerService
, updateContainerService_publicDomainNames
- The public domain names to use with the container service, such as
example.com
and www.example.com
.
You can specify up to four public domain names for a container service. The domain names that you specify are used when you create a deployment with a container configured as the public endpoint of your container service.
If you don't specify public domain names, then you can use the default domain of the container service.
You must create and validate an SSL/TLS certificate before you can use
public domain names with your container service. Use the
CreateCertificate
action to create a certificate for the public domain
names you want to use with your container service.
You can specify public domain names using a string to array map as shown in the example later on this page.
UpdateContainerService
, updateContainerService_scale
- The scale for the container service.
The scale specifies the allocated compute nodes of the container
service. The power
and scale
of a container service makes up its
configured capacity. To determine the monthly price of your container
service, multiply the base price of the power
with the scale
(the
number of nodes) of the service.
UpdateContainerService
, updateContainerService_serviceName
- The name of the container service to update.
Request Lenses
updateContainerService_isDisabled :: Lens' UpdateContainerService (Maybe Bool) Source #
A Boolean value to indicate whether the container service is disabled.
updateContainerService_power :: Lens' UpdateContainerService (Maybe ContainerServicePowerName) Source #
The power for the container service.
The power specifies the amount of memory, vCPUs, and base monthly cost
of each node of the container service. The power
and scale
of a
container service makes up its configured capacity. To determine the
monthly price of your container service, multiply the base price of the
power
with the scale
(the number of nodes) of the service.
Use the GetContainerServicePowers
action to view the specifications of
each power option.
updateContainerService_privateRegistryAccess :: Lens' UpdateContainerService (Maybe PrivateRegistryAccessRequest) Source #
An object to describe the configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories.
For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.
updateContainerService_publicDomainNames :: Lens' UpdateContainerService (Maybe (HashMap Text [Text])) Source #
The public domain names to use with the container service, such as
example.com
and www.example.com
.
You can specify up to four public domain names for a container service. The domain names that you specify are used when you create a deployment with a container configured as the public endpoint of your container service.
If you don't specify public domain names, then you can use the default domain of the container service.
You must create and validate an SSL/TLS certificate before you can use
public domain names with your container service. Use the
CreateCertificate
action to create a certificate for the public domain
names you want to use with your container service.
You can specify public domain names using a string to array map as shown in the example later on this page.
updateContainerService_scale :: Lens' UpdateContainerService (Maybe Natural) Source #
The scale for the container service.
The scale specifies the allocated compute nodes of the container
service. The power
and scale
of a container service makes up its
configured capacity. To determine the monthly price of your container
service, multiply the base price of the power
with the scale
(the
number of nodes) of the service.
updateContainerService_serviceName :: Lens' UpdateContainerService Text Source #
The name of the container service to update.
Destructuring the Response
data UpdateContainerServiceResponse Source #
See: newUpdateContainerServiceResponse
smart constructor.
UpdateContainerServiceResponse' | |
|
Instances
Generic UpdateContainerServiceResponse Source # | |
Read UpdateContainerServiceResponse Source # | |
Show UpdateContainerServiceResponse Source # | |
Defined in Amazonka.Lightsail.UpdateContainerService | |
NFData UpdateContainerServiceResponse Source # | |
Defined in Amazonka.Lightsail.UpdateContainerService rnf :: UpdateContainerServiceResponse -> () # | |
Eq UpdateContainerServiceResponse Source # | |
type Rep UpdateContainerServiceResponse Source # | |
Defined in Amazonka.Lightsail.UpdateContainerService type Rep UpdateContainerServiceResponse = D1 ('MetaData "UpdateContainerServiceResponse" "Amazonka.Lightsail.UpdateContainerService" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "UpdateContainerServiceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "containerService") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContainerService)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateContainerServiceResponse Source #
Create a value of UpdateContainerServiceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:containerService:UpdateContainerServiceResponse'
, updateContainerServiceResponse_containerService
- An object that describes a container service.
$sel:httpStatus:UpdateContainerServiceResponse'
, updateContainerServiceResponse_httpStatus
- The response's http status code.
Response Lenses
updateContainerServiceResponse_containerService :: Lens' UpdateContainerServiceResponse (Maybe ContainerService) Source #
An object that describes a container service.
updateContainerServiceResponse_httpStatus :: Lens' UpdateContainerServiceResponse Int Source #
The response's http status code.