ActivationsProps
Properties for defining a Activations
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-activations
Initializer
import com.aliyun.ros.cdk.ecs.datasource.ActivationsProps;
ActivationsProps.builder()
// .activationId(java.lang.String)
// .activationId(IResolvable)
// .instanceName(java.lang.String)
// .instanceName(IResolvable)
// .refreshOptions(java.lang.String)
// .refreshOptions(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
activationId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property activationId: Activation code ID. |
instanceName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceName: The default prefix of the instance name. |
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. |
activationId
Optional
public java.lang.Object getActivationId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property activationId: Activation code ID.
instanceName
Optional
public java.lang.Object getInstanceName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceName: The default prefix of the instance name.
refreshOptions
Optional
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.