Interface CfnContainerProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:59.720Z") @Stability(Stable) public interface CfnContainerProps extends
Properties for defining a CfnContainer.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnContainerProps cfnContainerProps = CfnContainerProps.builder()
         // the properties below are optional
  • Method Details

    • getPower

      @Stability(Stable) @NotNull String getPower()
      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.

    • getScale

      @Stability(Stable) @NotNull Number getScale()
      The scale specification of the container service.

      The scale specifies the allocated compute nodes of the container service.

    • getServiceName

      @Stability(Stable) @NotNull String getServiceName()
      The name of the container service.
    • getContainerServiceDeployment

      @Stability(Stable) @Nullable default Object getContainerServiceDeployment()
      An object that describes the current container deployment of the container service.
    • getIsDisabled

      @Stability(Stable) @Nullable default Object getIsDisabled()
      A Boolean value indicating whether the container service is disabled.
    • getPublicDomainNames

      @Stability(Stable) @Nullable default Object getPublicDomainNames()
      The public domain name of the container service, such as and .

      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.

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag in the AWS CloudFormation User Guide .

      The Value of Tags is optional for Lightsail resources.

    • builder

      @Stability(Stable) static CfnContainerProps.Builder builder()
      a CfnContainerProps.Builder of CfnContainerProps