Skip to content

DeploymentProps

Properties for defining a Deployment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-deployment

Initializer

import com.aliyun.ros.cdk.apigateway.DeploymentProps;
DeploymentProps.builder()
    .apiId(java.lang.String)
    .apiId(IResolvable)
    .groupId(java.lang.String)
    .groupId(IResolvable)
    .stageName(java.lang.String)
    .stageName(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .historyVersion(java.lang.String)
//  .historyVersion(IResolvable)
    .build();

Properties

Name Type Description
apiId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property apiId: The id of the API.
groupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property groupId: The id of the Group.
stageName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property stageName: Bind traffic in this stage.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: Description of the deployment, less than 180 characters.
historyVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property historyVersion: The history version.

apiIdRequired

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

Property apiId: The id of the API.


groupIdRequired

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

Property groupId: The id of the Group.


stageNameRequired

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

Property stageName: Bind traffic in this stage.


descriptionOptional

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

Property description: Description of the deployment, less than 180 characters.


historyVersionOptional

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

Property historyVersion: The history version.