DeployRevisionProps
Properties for defining a DeployRevision.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-deployrevision
Initializer
import { DeployRevisionProps } from '@alicloud/ros-cdk-oos'
const deployRevisionProps: DeployRevisionProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
applicationName | string | @alicloud/ros-cdk-core.IResolvable | Property applicationName: The name of the application. |
deployResourceType | string | @alicloud/ros-cdk-core.IResolvable | Property deployResourceType: The type of the deployment resource. |
description | string | @alicloud/ros-cdk-core.IResolvable | Property description: The description of the revision. |
hooks | @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} | Property hooks: The hook of the code to be deployed. |
location | @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} | Property location: The location of the code to be deployed. |
revisionType | string | @alicloud/ros-cdk-core.IResolvable | Property revisionType: The type of the deployment revision. |
applicationNameRequired
public readonly applicationName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property applicationName: The name of the application.
deployResourceTypeOptional
public readonly deployResourceType: string | IResolvable;
- Type: string | @alicloud/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
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the revision.
hooksOptional
public readonly hooks: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property hooks: The hook of the code to be deployed.
locationOptional
public readonly location: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property location: The location of the code to be deployed.
revisionTypeOptional
public readonly revisionType: string | IResolvable;
- Type: string | @alicloud/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.