Skip to content

DeployRevisionProps

Properties for defining a DeployRevision.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-deployrevision

Initializer

import com.aliyun.ros.cdk.oos.DeployRevisionProps;
DeployRevisionProps.builder()
    .applicationName(java.lang.String)
    .applicationName(IResolvable)
//  .deployResourceType(java.lang.String)
//  .deployResourceType(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .hooks(IResolvable)
//  .hooks(java.util.Map<java.lang.String, java.lang.Object>)
//  .location(IResolvable)
//  .location(java.util.Map<java.lang.String, java.lang.Object>)
//  .revisionType(java.lang.String)
//  .revisionType(IResolvable)
    .build();

Properties

Name Type Description
applicationName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property applicationName: The name of the application.
deployResourceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property deployResourceType: The type of the deployment resource.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the revision.
hooks com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property hooks: The hook of the code to be deployed.
location com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property location: The location of the code to be deployed.
revisionType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property revisionType: The type of the deployment revision.

applicationNameRequired

public java.lang.Object getApplicationName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property applicationName: The name of the application.


deployResourceTypeOptional

public java.lang.Object getDeployResourceType();
  • Type: java.lang.String OR com.aliyun.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 java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the revision.


hooksOptional

public java.lang.Object getHooks();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

Property hooks: The hook of the code to be deployed.


locationOptional

public java.lang.Object getLocation();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

Property location: The location of the code to be deployed.


revisionTypeOptional

public java.lang.Object getRevisionType();
  • Type: java.lang.String OR com.aliyun.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.