NetworkRuleProps
Properties for defining a NetworkRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-kms-networkrule
Initializer
import com.aliyun.ros.cdk.kms.NetworkRuleProps;
NetworkRuleProps.builder()
.networkRuleName(java.lang.String)
.networkRuleName(IResolvable)
.type(java.lang.String)
.type(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .sourcePrivateIp(IResolvable)
// .sourcePrivateIp(java.util.List<java.lang.String)
// .sourcePrivateIp(IResolvable>)
.build();
Properties
| Name | Type | Description |
|---|---|---|
networkRuleName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property networkRuleName: The name of the access control rule. |
type | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property type: Network type. |
description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: The description of the network rule. |
sourcePrivateIp | com.aliyun.ros.cdk.core.IResolvable OR java.util.List | Property sourcePrivateIp: VPC network whitelist, The private IP address or private CIDR block, Supports binding up to 800 CIDR blocks or IP addresses. |
networkRuleNameRequired
public java.lang.Object getNetworkRuleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property networkRuleName: The name of the access control rule.
typeRequired
public java.lang.Object getType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property type: Network type.
The value can be Private only, that is, only private IP addresses are supported.
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the network rule.
sourcePrivateIpOptional
public java.lang.Object getSourcePrivateIp();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
Property sourcePrivateIp: VPC network whitelist, The private IP address or private CIDR block, Supports binding up to 800 CIDR blocks or IP addresses.