ContainerServiceArgs constructor
- Input<
bool?> ? isDisabled, - Input<
String?> ? name, - required Input<
String> power, - Input<
ContainerServicePrivateRegistryAccess?> ? privateRegistryAccess, - Input<
ContainerServicePublicDomainNames?> ? publicDomainNames, - Input<
String?> ? region, - required Input<
int> scale, - Input<
Map< ? tags,String, String> ?>
Creates a new ContainerServiceArgs.
isDisabled Whether to disable the container service. Defaults to false.
name Name of the container service. Names must be of length 1 to 63, and be unique within each AWS Region in your Lightsail account.
power Power specification for the container service. The power specifies the amount of memory, the number of vCPUs, and the monthly price of each node of the container service. Possible values: nano, micro, small, medium, large, xlarge.
privateRegistryAccess Configuration for the container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories. See below.
publicDomainNames 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. See below.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
scale Scale specification for the container service. The scale specifies the allocated compute nodes of the container service.
tags Map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Implementation
const ContainerServiceArgs({
this.isDisabled,
this.name,
required this.power,
this.privateRegistryAccess,
this.publicDomainNames,
this.region,
required this.scale,
this.tags,
});