Skip to content

ActivationsProps

Properties for defining a Activations.

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

Initializer

from ros_cdk_ecs import datasource
datasource.ActivationsProps(
  activation_id: typing.Union[str, IResolvable] = None,
  instance_name: typing.Union[str, IResolvable] = None,
  refresh_options: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
activation_id typing.Union[str, ros_cdk_core.IResolvable] Property activationId: Activation code ID.
instance_name typing.Union[str, ros_cdk_core.IResolvable] Property instanceName: The default prefix of the instance name.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

activation_idOptional

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

Property activationId: Activation code ID.


instance_nameOptional

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

Property instanceName: The default prefix of the instance name.


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.