Skip to content

NatIpCidrsProps

Properties for defining a NatIpCidrs.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-vpc-natipcidrs

Initializer

import com.aliyun.ros.cdk.vpc.datasource.NatIpCidrsProps;
NatIpCidrsProps.builder()
    .natGatewayId(java.lang.String)
    .natGatewayId(IResolvable)
//  .natIpCidr(java.lang.String)
//  .natIpCidr(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
    .build();

Properties

Name Type Description
natGatewayId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property natGatewayId: NAT IP ADDRESS range to the security group of the Kafka VPC NAT gateway instance ID.
natIpCidr java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property natIpCidr: Create a NAT IP ADDRESS.
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.

natGatewayIdRequired

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

Property natGatewayId: NAT IP ADDRESS range to the security group of the Kafka VPC NAT gateway instance ID.


natIpCidrOptional

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

Property natIpCidr: Create a NAT IP ADDRESS.

The new address segment must meet the following conditions: belong to 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16 network segment and its subnet. Support the subnet mask of the number of bits in the range of 16 to 32-bit. If you want to use the IP address of a public network segment as the NAT IP ADDRESS, the Virtual Private Cloud (VPC NAT is already using the IP address of a public network of permissions. For more information, see create a virtual private cloud (VPC NAT gateway 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.