Skip to content

EciScalingConfigurationProps

Properties for defining a EciScalingConfiguration.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ess-eciscalingconfiguration

Initializer

import ros_cdk_ess
ros_cdk_ess.EciScalingConfigurationProps(
  container_group_name: typing.Union[str, IResolvable],
  scaling_configuration_name: typing.Union[str, IResolvable],
  scaling_group_id: typing.Union[str, IResolvable],
  security_group_id: typing.Union[str, IResolvable],
  acr_registry_infos: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, AcrRegistryInfosProperty]]] = None,
  active_deadline_seconds: typing.Union[typing.Union[int, float], IResolvable] = None,
  auto_create_eip: typing.Union[bool, IResolvable] = None,
  auto_match_image_cache: typing.Union[bool, IResolvable] = None,
  containers: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ContainersProperty]]] = None,
  cost_optimization: typing.Union[bool, IResolvable] = None,
  cpu: typing.Union[typing.Union[int, float], IResolvable] = None,
  cpu_options_core: typing.Union[typing.Union[int, float], IResolvable] = None,
  cpu_options_threads_per_core: typing.Union[typing.Union[int, float], IResolvable] = None,
  data_cache_bucket: typing.Union[str, IResolvable] = None,
  data_cache_bursting_enabled: typing.Union[bool, IResolvable] = None,
  data_cache_pl: typing.Union[str, IResolvable] = None,
  data_cache_provisioned_iops: typing.Union[typing.Union[int, float], IResolvable] = None,
  dns_config_name_servers: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  dns_config_options: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DnsConfigOptionsProperty]]] = None,
  dns_config_searches: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  dns_policy: typing.Union[str, IResolvable] = None,
  egress_bandwidth: typing.Union[typing.Union[int, float], IResolvable] = None,
  eip_bandwidth: typing.Union[typing.Union[int, float], IResolvable] = None,
  ephemeral_storage: typing.Union[typing.Union[int, float], IResolvable] = None,
  host_aliases: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, HostAliasesProperty]]] = None,
  host_name: typing.Union[str, IResolvable] = None,
  image_registry_credentials: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ImageRegistryCredentialsProperty]]] = None,
  image_snapshot_id: typing.Union[str, IResolvable] = None,
  ingress_bandwidth: typing.Union[typing.Union[int, float], IResolvable] = None,
  init_containers: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, InitContainersProperty]]] = None,
  instance_family_level: typing.Union[str, IResolvable] = None,
  instance_types: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  ipv6_address_count: typing.Union[typing.Union[int, float], IResolvable] = None,
  load_balancer_weight: typing.Union[typing.Union[int, float], IResolvable] = None,
  memory: typing.Union[typing.Union[int, float], IResolvable] = None,
  ntp_servers: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
  ram_role_name: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  restart_policy: typing.Union[str, IResolvable] = None,
  security_context_sysctls: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, SecurityContextSysctlsProperty]]] = None,
  spot_price_limit: typing.Union[typing.Union[int, float], IResolvable] = None,
  spot_strategy: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None,
  termination_grace_period_seconds: typing.Union[typing.Union[int, float], IResolvable] = None,
  volumes: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, VolumesProperty]]] = None
)

Properties

Name Type Description
container_group_name typing.Union[str, ros_cdk_core.IResolvable] Property containerGroupName: The name of the elastic container instance.
scaling_configuration_name typing.Union[str, ros_cdk_core.IResolvable] Property scalingConfigurationName: The name of the scaling configuration.
scaling_group_id typing.Union[str, ros_cdk_core.IResolvable] Property scalingGroupId: The ID of the scaling group for which you want to create the scaling configuration.
security_group_id typing.Union[str, ros_cdk_core.IResolvable] Property securityGroupId: The ID of the security group with which you want to associate the elastic container instance.
acr_registry_infos typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, AcrRegistryInfosProperty]]] Property acrRegistryInfos:.
active_deadline_seconds typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property activeDeadlineSeconds: The validity period of the scaling configuration.
auto_create_eip typing.Union[bool, ros_cdk_core.IResolvable] Property autoCreateEip: Specifies whether to automatically create an elastic IP address (EIP) and bind the EIP to the elastic container instance.
auto_match_image_cache typing.Union[bool, ros_cdk_core.IResolvable] Property autoMatchImageCache: Specifies whether to automatically match the image cache.
containers typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ContainersProperty]]] Property containers:.
cost_optimization typing.Union[bool, ros_cdk_core.IResolvable] Property costOptimization: Specifies whether to enable the Cost Optimization feature.
cpu typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property cpu: The number of vCPUs that you want to allocate to the elastic container instance.
cpu_options_core typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property cpuOptionsCore: The number of physical CPU cores.
cpu_options_threads_per_core typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property cpuOptionsThreadsPerCore: The number of threads per core.
data_cache_bucket typing.Union[str, ros_cdk_core.IResolvable] Property dataCacheBucket: The bucket that stores data caches.
data_cache_bursting_enabled typing.Union[bool, ros_cdk_core.IResolvable] Property dataCacheBurstingEnabled: Specifies whether to enable the Performance Burst feature for the ESSD AutoPL disk used for data caching.
data_cache_pl typing.Union[str, ros_cdk_core.IResolvable] Property dataCachePl: The performance level (PL) of the disk used for data caching.
data_cache_provisioned_iops typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property dataCacheProvisionedIops: The IOPS provisioned for the ESSD AutoPL disk used for data caching.
dns_config_name_servers typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property dnsConfigNameServers: The IP addresses of the DNS servers.
dns_config_options typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DnsConfigOptionsProperty]]] Property dnsConfigOptions:.
dns_config_searches typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property dnsConfigSearches: The search domains of the DNS server.
dns_policy typing.Union[str, ros_cdk_core.IResolvable] Property dnsPolicy: The Domain Name System (DNS) policy.
egress_bandwidth typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property egressBandwidth: The maximum outbound bandwidth.
eip_bandwidth typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property eipBandwidth: The bandwidth of the EIP.
ephemeral_storage typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property ephemeralStorage: The size of the temporary storage space.
host_aliases typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, HostAliasesProperty]]] Property hostAliases:.
host_name typing.Union[str, ros_cdk_core.IResolvable] Property hostName: The hostname of the elastic container instance.
image_registry_credentials typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ImageRegistryCredentialsProperty]]] Property imageRegistryCredentials:.
image_snapshot_id typing.Union[str, ros_cdk_core.IResolvable] Property imageSnapshotId: The ID of the image cache snapshot.
ingress_bandwidth typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property ingressBandwidth: The maximum inbound bandwidth.
init_containers typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, InitContainersProperty]]] Property initContainers:.
instance_family_level typing.Union[str, ros_cdk_core.IResolvable] Property instanceFamilyLevel: The level of the instance family.
instance_types typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property instanceTypes: The specified ECS instance types.
ipv6_address_count typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property ipv6AddressCount: The number of IPv6 addresses.
load_balancer_weight typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property loadBalancerWeight: The weight of the elastic container instance as a backend server.
memory typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property memory: The memory size that you want to allocate to the elastic container instance.
ntp_servers typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property ntpServers: The Network Time Protocol (NTP) server.
ram_role_name typing.Union[str, ros_cdk_core.IResolvable] Property ramRoleName: The name of the Resource Access Management (RAM) role that you want to assign to the elastic container instance.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group.
restart_policy typing.Union[str, ros_cdk_core.IResolvable] Property restartPolicy: The restart policy of the elastic container instance.
security_context_sysctls typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, SecurityContextSysctlsProperty]]] Property securityContextSysctls:.
spot_price_limit typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property spotPriceLimit: The maximum hourly price of the preemptible elastic container instance.
spot_strategy typing.Union[str, ros_cdk_core.IResolvable] Property spotStrategy: The bidding policy of the instance.
tags typing.List[TagsProperty] Property tags:.
termination_grace_period_seconds typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property terminationGracePeriodSeconds: The buffer period during which a program handles operations before the program is stopped.
volumes typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, VolumesProperty]]] Property volumes:.

container_group_nameRequired

container_group_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property containerGroupName: The name of the elastic container instance.


scaling_configuration_nameRequired

scaling_configuration_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property scalingConfigurationName: The name of the scaling configuration.

The name must be 2 to 64 characters in length and can contain letters, digits, underscores (_), hyphens (-), and periods (.). The name must start with a letter or a digit. The name of the scaling configuration must be unique in a region. If you do not specify this parameter, the scaling configuration ID is used.


scaling_group_idRequired

scaling_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property scalingGroupId: The ID of the scaling group for which you want to create the scaling configuration.


security_group_idRequired

security_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property securityGroupId: The ID of the security group with which you want to associate the elastic container instance.

Elastic container instances that are associated with the same security group can access each other. If you do not specify a security group, the system uses the default security group in the region that you selected. Make sure that the inbound rules of the security group contain the protocols and the port numbers of the containers that you want to expose. If you do not have a default security group in the region, the system creates a default security group and adds the declared container protocols and port numbers to the inbound rules of the security group.


acr_registry_infosOptional

acr_registry_infos: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, AcrRegistryInfosProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, AcrRegistryInfosProperty]]]

Property acrRegistryInfos:.


active_deadline_secondsOptional

active_deadline_seconds: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property activeDeadlineSeconds: The validity period of the scaling configuration.

Unit: seconds.


auto_create_eipOptional

auto_create_eip: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property autoCreateEip: Specifies whether to automatically create an elastic IP address (EIP) and bind the EIP to the elastic container instance.


auto_match_image_cacheOptional

auto_match_image_cache: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property autoMatchImageCache: Specifies whether to automatically match the image cache.

Valid values: true false Default value: false.


containersOptional

containers: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ContainersProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ContainersProperty]]]

Property containers:.


cost_optimizationOptional

cost_optimization: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property costOptimization: Specifies whether to enable the Cost Optimization feature.

Valid values: true false Default value: false.


cpuOptional

cpu: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property cpu: The number of vCPUs that you want to allocate to the elastic container instance.


cpu_options_coreOptional

cpu_options_core: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property cpuOptionsCore: The number of physical CPU cores.

You can specify this parameter for only specific instance types. For more information, see Specify custom CPU options.


cpu_options_threads_per_coreOptional

cpu_options_threads_per_core: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property cpuOptionsThreadsPerCore: The number of threads per core.

You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled. For more information, see Specify custom CPU options.


data_cache_bucketOptional

data_cache_bucket: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dataCacheBucket: The bucket that stores data caches.


data_cache_bursting_enabledOptional

data_cache_bursting_enabled: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property dataCacheBurstingEnabled: Specifies whether to enable the Performance Burst feature for the ESSD AutoPL disk used for data caching.

Valid values: true false Default value: false. Note For more information about ESSD AutoPL disks, see ESSD AutoPL disks.


data_cache_plOptional

data_cache_pl: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dataCachePl: The performance level (PL) of the disk used for data caching.

We recommend that you use ESSDs. Valid values if you use ESSDs: PL0: An ESSD can provide up to 10,000 random read/write IOPS. PL1: An ESSD can provide up to 50,000 random read/write IOPS. PL2: An ESSD can provide up to 100,000 random read/write IOPS. PL3: An ESSD can provide up to 1,000,000 random read/write IOPS. Default value: PL1. Note For more information about ESSDs, see ESSDs.


data_cache_provisioned_iopsOptional

data_cache_provisioned_iops: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property dataCacheProvisionedIops: The IOPS provisioned for the ESSD AutoPL disk used for data caching.

Valid values: 0 to min{50000, 1000 × Capacity - Baseline IOPS}, where Baseline IOPS = min{1800 + 50 × Capacity - 50000}. Note For more information about ESSD AutoPL disks, see ESSD AutoPL disks.


dns_config_name_serversOptional

dns_config_name_servers: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property dnsConfigNameServers: The IP addresses of the DNS servers.


dns_config_optionsOptional

dns_config_options: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DnsConfigOptionsProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DnsConfigOptionsProperty]]]

Property dnsConfigOptions:.


dns_config_searchesOptional

dns_config_searches: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property dnsConfigSearches: The search domains of the DNS server.


dns_policyOptional

dns_policy: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dnsPolicy: The Domain Name System (DNS) policy.

Valid values: None: uses the DNS that is specified by DnsConfig. Default: uses the DNS that is specified for the runtime environment.


egress_bandwidthOptional

egress_bandwidth: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property egressBandwidth: The maximum outbound bandwidth.

Unit: bytes.


eip_bandwidthOptional

eip_bandwidth: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property eipBandwidth: The bandwidth of the EIP.

Default value: 5. Unit: Mbit/s.


ephemeral_storageOptional

ephemeral_storage: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property ephemeralStorage: The size of the temporary storage space.

By default, an enhanced SSD (ESSD) of the PL1 level is used. Unit: GiB.


host_aliasesOptional

host_aliases: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, HostAliasesProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, HostAliasesProperty]]]

Property hostAliases:.


host_nameOptional

host_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property hostName: The hostname of the elastic container instance.


image_registry_credentialsOptional

image_registry_credentials: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ImageRegistryCredentialsProperty]]]

Property imageRegistryCredentials:.


image_snapshot_idOptional

image_snapshot_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property imageSnapshotId: The ID of the image cache snapshot.


ingress_bandwidthOptional

ingress_bandwidth: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property ingressBandwidth: The maximum inbound bandwidth.

Unit: bytes.


init_containersOptional

init_containers: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, InitContainersProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, InitContainersProperty]]]

Property initContainers:.


instance_family_levelOptional

instance_family_level: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property instanceFamilyLevel: The level of the instance family.

You can use this parameter to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel: entry level (shared instance types) Instance types of this level are the most cost-effective but may not provide stable computing performance. Instance types of this level are suitable for scenarios in which CPU utilization is low. For more information, see Shared instance families. EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see Overview of instance families. CreditEntryLevel: credit entry level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for business scenarios in which CPU utilization is low but may fluctuate in specific scenarios. For more information, see Overview of burstable instances.


instance_typesOptional

instance_types: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property instanceTypes: The specified ECS instance types.

You can specify up to five ECS instance types. For more information, see Specify ECS instance types to create an elastic container instance.


ipv6_address_countOptional

ipv6_address_count: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property ipv6AddressCount: The number of IPv6 addresses.


load_balancer_weightOptional

load_balancer_weight: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property loadBalancerWeight: The weight of the elastic container instance as a backend server.

Valid values: 1 to 100. Default value: 50.


memoryOptional

memory: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property memory: The memory size that you want to allocate to the elastic container instance.

Unit: GiB.


ntp_serversOptional

ntp_servers: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]

Property ntpServers: The Network Time Protocol (NTP) server.


ram_role_nameOptional

ram_role_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property ramRoleName: The name of the Resource Access Management (RAM) role that you want to assign to the elastic container instance.

Elastic container instances and Elastic Compute Service (ECS) instances can share the same RAM role. For more information, see Use an instance RAM role by calling API operations.


resource_group_idOptional

resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property resourceGroupId: The ID of the resource group.


restart_policyOptional

restart_policy: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property restartPolicy: The restart policy of the elastic container instance.

Valid values: Always: always restarts the elastic container instance. Never: never restarts the elastic container instance. OnFailure: restarts the elastic container instance upon failures. Default value: Always.


security_context_sysctlsOptional

security_context_sysctls: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, SecurityContextSysctlsProperty]]]

Property securityContextSysctls:.


spot_price_limitOptional

spot_price_limit: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property spotPriceLimit: The maximum hourly price of the preemptible elastic container instance.

The value can be accurate to three decimal places. If you set SpotStrategy to SpotWithPriceLimit, you must specify SpotPriceLimit.


spot_strategyOptional

spot_strategy: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property spotStrategy: The bidding policy of the instance.

Valid values: NoSpot: The instance is created as a pay-as-you-go instance. SpotWithPriceLimit: The instance is created as a preemptible instance with a user-defined maximum hourly price. SpotAsPriceGo: The instance is created as a preemptible instance for which the market price at the time of purchase is used as the bid price. Default value: NoSpot.


tagsOptional

tags: typing.List[TagsProperty]

Property tags:.


termination_grace_period_secondsOptional

termination_grace_period_seconds: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property terminationGracePeriodSeconds: The buffer period during which a program handles operations before the program is stopped.

Unit: seconds.


volumesOptional

volumes: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, VolumesProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, VolumesProperty]]]

Property volumes:.