Skip to content

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)
//  .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.
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.


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.