Skip to content

DeploymentSetsProps

Properties for defining a DeploymentSets.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-deploymentsets

Initializer

from ros_cdk_ecs import datasource
datasource.DeploymentSetsProps(
  deployment_set_ids: typing.Union[typing.List[typing.Any], IResolvable] = None,
  deployment_set_name: typing.Union[str, IResolvable] = None,
  domain: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None,
  strategy: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
deployment_set_ids typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] Property deploymentSetIds: he IDs of deployment sets.
deployment_set_name typing.Union[str, ros_cdk_core.IResolvable] Property deploymentSetName: The name of the deployment set.
domain typing.Union[str, ros_cdk_core.IResolvable] Property domain: The deployment domain.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
strategy typing.Union[str, ros_cdk_core.IResolvable] Property strategy: The deployment strategy.

deployment_set_idsOptional

deployment_set_ids: typing.Union[typing.List[typing.Any], IResolvable]
  • Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]

Property deploymentSetIds: he IDs of deployment sets.

The value can be a JSON array that consists of up to 100 deployment set IDs in the format of ["ds-xxxxxxxxx", "ds-yyyyyyyyy", … "ds-zzzzzzzzz"]. Separate multiple deployment set IDs with commas (,).


deployment_set_nameOptional

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

Property deploymentSetName: The name of the deployment set.


domainOptional

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

Property domain: The deployment domain.


refresh_optionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

strategyOptional

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

Property strategy: The deployment strategy.

Valid values: Availability: high availability strategy. AvailabilityGroup: high availability group strategy.