Class CfnContainerPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainerPropsMixin>
- Enclosing class:
CfnContainerPropsMixin
CfnContainerPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()containerServiceDeployment(CfnContainerPropsMixin.ContainerServiceDeploymentProperty containerServiceDeployment) An object that describes the current container deployment of the container service.containerServiceDeployment(IResolvable containerServiceDeployment) An object that describes the current container deployment of the container service.create()create(CfnPropertyMixinOptions options) isDisabled(Boolean isDisabled) A Boolean value indicating whether the container service is disabled.isDisabled(IResolvable isDisabled) A Boolean value indicating whether the container service is disabled.The power specification of the container service.privateRegistryAccess(CfnContainerPropsMixin.PrivateRegistryAccessProperty privateRegistryAccess) An object that describes the configuration for the container service to access private container image repositories, such as ( Amazon ECR ) private repositories.privateRegistryAccess(IResolvable privateRegistryAccess) An object that describes the configuration for the container service to access private container image repositories, such as ( Amazon ECR ) private repositories.publicDomainNames(List<? extends Object> publicDomainNames) The public domain name of the container service, such asexample.comandwww.example.com.publicDomainNames(IResolvable publicDomainNames) The public domain name of the container service, such asexample.comandwww.example.com.The scale specification of the container service.serviceName(String serviceName) The name of the container service.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnContainerPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnContainerPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnContainerPropsMixin.Builder.
-
containerServiceDeployment
@Stability(Stable) public CfnContainerPropsMixin.Builder containerServiceDeployment(IResolvable containerServiceDeployment) An object that describes the current container deployment of the container service.- Parameters:
containerServiceDeployment- An object that describes the current container deployment of the container service. This parameter is required.- Returns:
this- See Also:
-
containerServiceDeployment
@Stability(Stable) public CfnContainerPropsMixin.Builder containerServiceDeployment(CfnContainerPropsMixin.ContainerServiceDeploymentProperty containerServiceDeployment) An object that describes the current container deployment of the container service.- Parameters:
containerServiceDeployment- An object that describes the current container deployment of the container service. This parameter is required.- Returns:
this- See Also:
-
isDisabled
A Boolean value indicating whether the container service is disabled.- Parameters:
isDisabled- A Boolean value indicating whether the container service is disabled. This parameter is required.- Returns:
this- See Also:
-
isDisabled
A Boolean value indicating whether the container service is disabled.- Parameters:
isDisabled- A Boolean value indicating whether the container service is disabled. This parameter is required.- Returns:
this- See Also:
-
power
The power specification of the container service.The power specifies the amount of RAM, the number of vCPUs, and the base price of the container service.
- Parameters:
power- The power specification of the container service. This parameter is required.- Returns:
this- See Also:
-
privateRegistryAccess
@Stability(Stable) public CfnContainerPropsMixin.Builder privateRegistryAccess(IResolvable privateRegistryAccess) An object that describes the configuration for the container service to access private container image repositories, such as ( 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 .
- Parameters:
privateRegistryAccess- An object that describes the configuration for the container service to access private container image repositories, such as ( Amazon ECR ) private repositories. This parameter is required.- Returns:
this- See Also:
-
privateRegistryAccess
@Stability(Stable) public CfnContainerPropsMixin.Builder privateRegistryAccess(CfnContainerPropsMixin.PrivateRegistryAccessProperty privateRegistryAccess) An object that describes the configuration for the container service to access private container image repositories, such as ( 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 .
- Parameters:
privateRegistryAccess- An object that describes the configuration for the container service to access private container image repositories, such as ( Amazon ECR ) private repositories. This parameter is required.- Returns:
this- See Also:
-
publicDomainNames
@Stability(Stable) public CfnContainerPropsMixin.Builder publicDomainNames(IResolvable publicDomainNames) The public domain name of the container service, such asexample.comandwww.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 that is 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 AWS::Lightsail::Certificate resource to create a certificate for the public domain names that you want to use with your container service.
- Parameters:
publicDomainNames- The public domain name of the container service, such asexample.comandwww.example.com. This parameter is required.- Returns:
this- See Also:
-
publicDomainNames
@Stability(Stable) public CfnContainerPropsMixin.Builder publicDomainNames(List<? extends Object> publicDomainNames) The public domain name of the container service, such asexample.comandwww.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 that is 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 AWS::Lightsail::Certificate resource to create a certificate for the public domain names that you want to use with your container service.
- Parameters:
publicDomainNames- The public domain name of the container service, such asexample.comandwww.example.com. This parameter is required.- Returns:
this- See Also:
-
scale
The scale specification of the container service.The scale specifies the allocated compute nodes of the container service.
- Parameters:
scale- The scale specification of the container service. This parameter is required.- Returns:
this- See Also:
-
serviceName
The name of the container service.- Parameters:
serviceName- The name of the container service. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag in the AWS CloudFormation User Guide .
The
ValueofTagsis optional for Lightsail resources.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContainerPropsMixin>- Returns:
- a newly built instance of
CfnContainerPropsMixin.
-