DeployRevisionProps
Properties for defining a DeployRevision.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-deployrevision
Initializer
import ros_cdk_oos
ros_cdk_oos.DeployRevisionProps(
application_name: typing.Union[str, IResolvable],
deploy_resource_type: typing.Union[str, IResolvable] = None,
description: typing.Union[str, IResolvable] = None,
hooks: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
location: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
revision_type: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
application_name | typing.Union[str, ros_cdk_core.IResolvable] | Property applicationName: The name of the application. |
deploy_resource_type | typing.Union[str, ros_cdk_core.IResolvable] | Property deployResourceType: The type of the deployment resource. |
description | typing.Union[str, ros_cdk_core.IResolvable] | Property description: The description of the revision. |
hooks | typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] | Property hooks: The hook of the code to be deployed. |
location | typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] | Property location: The location of the code to be deployed. |
revision_type | typing.Union[str, ros_cdk_core.IResolvable] | Property revisionType: The type of the deployment revision. |
application_nameRequired
application_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property applicationName: The name of the application.
deploy_resource_typeOptional
deploy_resource_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property deployResourceType: The type of the deployment resource.
Valid values:
Kubernetes: A Kubernetes cluster.Ecs: An ECS instance.FC: A Function Compute service.SWAS: A Simple Application Server instance.
descriptionOptional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: The description of the revision.
hooksOptional
hooks: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]
Property hooks: The hook of the code to be deployed.
locationOptional
location: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]
Property location: The location of the code to be deployed.
revision_typeOptional
revision_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property revisionType: The type of the deployment revision.
Valid values:
Command: A command.GitRepo: A Git repository.HelmChart: A Helm chart.Oss: An object in Object Storage Service (OSS).EcsImage: An ECS image.DockerImage: A Docker image.Yaml: A YAML file.