Skip to content

LaunchTemplatesProps

Properties for defining a LaunchTemplates.

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

Initializer

import com.aliyun.ros.cdk.ecs.datasource.LaunchTemplatesProps;
LaunchTemplatesProps.builder()
//  .launchTemplateId(java.lang.String)
//  .launchTemplateId(IResolvable)
//  .launchTemplateName(java.lang.String)
//  .launchTemplateName(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .templateResourceGroupId(java.lang.String)
//  .templateResourceGroupId(IResolvable)
    .build();

Properties

Name Type Description
launchTemplateId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property launchTemplateId: The ID of the launch template.
launchTemplateName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property launchTemplateName: The name of the launch template.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
templateResourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property templateResourceGroupId: The ID of the enterprise resource group to which the template is launched.

launchTemplateIdOptional

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

Property launchTemplateId: The ID of the launch template.


launchTemplateNameOptional

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

Property launchTemplateName: The name of the launch template.


refreshOptionsOptional

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

templateResourceGroupIdOptional

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

Property templateResourceGroupId: The ID of the enterprise resource group to which the template is launched.