Skip to content

AddressProps

Properties for defining a Address.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-eip-address

Initializer

import com.aliyun.ros.cdk.vpc.datasource.AddressProps;
AddressProps.builder()
    .allocationId(java.lang.String)
    .allocationId(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
    .build();

Properties

Name Type Description
allocationId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property allocationId: The ID of the EIP instance.
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.

allocationIdRequired

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

Property allocationId: The ID of the EIP instance.


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.