EciScalingConfiguration
This class encapsulates and extends the ROS resource type ALIYUN::ESS::EciScalingConfiguration
.
Initializers
import ros_cdk_ess
ros_cdk_ess.EciScalingConfiguration(
scope: Construct,
id: str,
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,
enable_resource_property_constraint: bool = None
)
Name | Type | Description |
---|---|---|
scope |
ros_cdk_core.Construct |
No description. |
id |
str |
No 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:. |
enable_resource_property_constraint |
bool |
No description. |
scope
Required
- Type: ros_cdk_core.Construct
id
Required
- Type: str
container_group_name
Required
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property containerGroupName: The name of the elastic container instance.
scaling_configuration_name
Required
- 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_id
Required
- 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_id
Required
- 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_infos
Optional
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, AcrRegistryInfosProperty]]]
Property acrRegistryInfos:.
active_deadline_seconds
Optional
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property activeDeadlineSeconds: The validity period of the scaling configuration.
Unit: seconds.
auto_create_eip
Optional
- 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_cache
Optional
- 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.
containers
Optional
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ContainersProperty]]]
Property containers:.
cost_optimization
Optional
- 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.
cpu
Optional
- 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_core
Optional
- 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_core
Optional
- 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_bucket
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dataCacheBucket: The bucket that stores data caches.
data_cache_bursting_enabled
Optional
- 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_pl
Optional
- 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_iops
Optional
- 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_servers
Optional
- 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_options
Optional
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DnsConfigOptionsProperty]]]
Property dnsConfigOptions:.
dns_config_searches
Optional
- 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_policy
Optional
- 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_bandwidth
Optional
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property egressBandwidth: The maximum outbound bandwidth.
Unit: bytes.
eip_bandwidth
Optional
- 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_storage
Optional
- 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_aliases
Optional
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, HostAliasesProperty]]]
Property hostAliases:.
host_name
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property hostName: The hostname of the elastic container instance.
image_registry_credentials
Optional
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ImageRegistryCredentialsProperty]]]
Property imageRegistryCredentials:.
image_snapshot_id
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property imageSnapshotId: The ID of the image cache snapshot.
ingress_bandwidth
Optional
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property ingressBandwidth: The maximum inbound bandwidth.
Unit: bytes.
init_containers
Optional
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, InitContainersProperty]]]
Property initContainers:.
instance_family_level
Optional
- 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_types
Optional
- 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_count
Optional
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property ipv6AddressCount: The number of IPv6 addresses.
load_balancer_weight
Optional
- 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.
memory
Optional
- 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_servers
Optional
- 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_name
Optional
- 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_id
Optional
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property resourceGroupId: The ID of the resource group.
restart_policy
Optional
- 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_sysctls
Optional
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, SecurityContextSysctlsProperty]]]
Property securityContextSysctls:.
spot_price_limit
Optional
- 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_strategy
Optional
- 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.
tags
Optional
- Type: typing.List[TagsProperty]
Property tags:.
termination_grace_period_seconds
Optional
- 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.
volumes
Optional
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, VolumesProperty]]]
Property volumes:.
enable_resource_property_constraint
Optional
- Type: bool
Methods
Name | Description |
---|---|
to_string |
Returns a string representation of this construct. |
synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
add_condition |
No description. |
add_count |
No description. |
add_dependency |
No description. |
add_resource_desc |
No description. |
apply_removal_policy |
No description. |
get_att |
No description. |
set_metadata |
No description. |
to_string
def to_string() -> str
Returns a string representation of this construct.
synthesize
def synthesize(
session: ISynthesisSession
) -> None
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: ros_cdk_core.ISynthesisSession
The synthesis session.
add_condition
def add_condition(
condition: RosCondition
) -> None
- Type: ros_cdk_core.RosCondition
add_count
def add_count(
count: typing.Union[typing.Union[int, float], IResolvable]
) -> None
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
add_dependency
def add_dependency(
resource: Resource
) -> None
- Type: ros_cdk_core.Resource
add_resource_desc
def add_resource_desc(
desc: str
) -> None
- Type: str
apply_removal_policy
def apply_removal_policy(
policy: RemovalPolicy
) -> None
- Type: ros_cdk_core.RemovalPolicy
get_att
def get_att(
name: str
) -> IResolvable
- Type: str
set_metadata
def set_metadata(
key: str,
value: typing.Any
) -> None
- Type: str
- Type: typing.Any
Static Functions
Name | Description |
---|---|
is_construct |
Return whether the given object is a Construct. |
is_construct
import ros_cdk_ess
ros_cdk_ess.EciScalingConfiguration.is_construct(
x: typing.Any
)
Return whether the given object is a Construct.
- Type: typing.Any
Properties
Name | Type | Description |
---|---|---|
node |
ros_cdk_core.ConstructNode |
The construct tree node associated with this construct. |
ref |
str |
No description. |
stack |
ros_cdk_core.Stack |
The stack in which this resource is defined. |
resource |
ros_cdk_core.RosResource |
No description. |
attr_scaling_configuration_id |
ros_cdk_core.IResolvable |
Attribute ScalingConfigurationId: The ID of the elastic container instance. |
node
Required
node: ConstructNode
- Type: ros_cdk_core.ConstructNode
The construct tree node associated with this construct.
ref
Required
ref: str
- Type: str
stack
Required
stack: Stack
- Type: ros_cdk_core.Stack
The stack in which this resource is defined.
resource
Optional
resource: RosResource
- Type: ros_cdk_core.RosResource
attr_scaling_configuration_id
Required
attr_scaling_configuration_id: IResolvable
- Type: ros_cdk_core.IResolvable
Attribute ScalingConfigurationId: The ID of the elastic container instance.