NetworkRuleProps
Properties for defining a NetworkRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-kms-networkrule
Initializer
import { NetworkRuleProps } from '@alicloud/ros-cdk-kms'
const networkRuleProps: NetworkRuleProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
networkRuleName | string | @alicloud/ros-cdk-core.IResolvable | Property networkRuleName: The name of the access control rule. |
type | string | @alicloud/ros-cdk-core.IResolvable | Property type: Network type. |
description | string | @alicloud/ros-cdk-core.IResolvable | Property description: The description of the network rule. |
sourcePrivateIp | @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] | 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 readonly networkRuleName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property networkRuleName: The name of the access control rule.
typeRequired
public readonly type: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property type: Network type.
The value can be Private only, that is, only private IP addresses are supported.
descriptionOptional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the network rule.
sourcePrivateIpOptional
public readonly sourcePrivateIp: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property sourcePrivateIp: VPC network whitelist, The private IP address or private CIDR block, Supports binding up to 800 CIDR blocks or IP addresses.