ControlPolicyProps
Properties for defining a ControlPolicy.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudfw-controlpolicy
Initializer
import { ControlPolicyProps } from '@alicloud/ros-cdk-cloudfw'
const controlPolicyProps: ControlPolicyProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
aclAction |
string | @alicloud/ros-cdk-core.IResolvable |
Property aclAction: Traffic access control policy set by the cloud of a firewall. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: Security access control policy description information. |
destination |
string | @alicloud/ros-cdk-core.IResolvable |
Property destination: Security Access Control destination address policy. |
destinationType |
string | @alicloud/ros-cdk-core.IResolvable |
Property destinationType: Security Access Control destination address type of policy. |
direction |
string | @alicloud/ros-cdk-core.IResolvable |
Property direction: Security access control traffic direction policies. |
newOrder |
number | @alicloud/ros-cdk-core.IResolvable |
Property newOrder: Security access control priority policy in force. |
proto |
string | @alicloud/ros-cdk-core.IResolvable |
Property proto: The type of security protocol for traffic access in the security access control policy. |
source |
string | @alicloud/ros-cdk-core.IResolvable |
Property source: Security access control source address policy. |
sourceType |
string | @alicloud/ros-cdk-core.IResolvable |
Property sourceType: Security access control source address type of policy. |
applicationName |
string | @alicloud/ros-cdk-core.IResolvable |
Property applicationName: Application types supported by the security policy. |
applicationNameList |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property applicationNameList: List of application types supported by the access control policy. |
destPort |
string | @alicloud/ros-cdk-core.IResolvable |
Property destPort: Security access control policy access traffic destination port. |
destPortGroup |
string | @alicloud/ros-cdk-core.IResolvable |
Property destPortGroup: Security access control policy access traffic destination port address book name. |
destPortType |
string | @alicloud/ros-cdk-core.IResolvable |
Property destPortType: Security access control policy access destination port traffic type. |
domainResolveType |
string | @alicloud/ros-cdk-core.IResolvable |
Property domainResolveType: The domain name resolution method of the access control policy. |
endTime |
number | @alicloud/ros-cdk-core.IResolvable |
Property endTime: The end time of the policy validity period for an access control policy. |
ipVersion |
string | @alicloud/ros-cdk-core.IResolvable |
Property ipVersion: IP version. |
regionId |
string | @alicloud/ros-cdk-core.IResolvable |
Property regionId: Region ID. |
release |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property release: The enabled state of the access control policy. |
repeatDays |
@alicloud/ros-cdk-core.IResolvable | number | @alicloud/ros-cdk-core.IResolvable[] |
Property repeatDays: A collection of repeated dates of policy validity for an access control policy. |
repeatEndTime |
string | @alicloud/ros-cdk-core.IResolvable |
Property repeatEndTime: The repeated end time of the policy validity period for an access control policy. |
repeatStartTime |
string | @alicloud/ros-cdk-core.IResolvable |
Property repeatStartTime: The repeated start time of the policy validity period for an access control policy. |
repeatType |
string | @alicloud/ros-cdk-core.IResolvable |
Property repeatType: The repetition type of the policy validity period for an access control policy. |
startTime |
number | @alicloud/ros-cdk-core.IResolvable |
Property startTime: The start time of the policy validity period for an access control policy. |
aclActionRequired
public readonly aclAction: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property aclAction: Traffic access control policy set by the cloud of a firewall.
accept: Release drop: rejected log: Observation
descriptionRequired
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: Security access control policy description information.
destinationRequired
public readonly destination: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property destination: Security Access Control destination address policy.
When DestinationType is net, Destination purpose CIDR. For example: 1.2.3.4\/24 When DestinationType as a group, Destination for the purpose of the address book name. For example: db_group When DestinationType for the domain, Destination for the purpose of a domain name. For example:. * Aliyuncs.com When DestinationType as location, Destination area for the purpose (see below position encoding specific regions). For example: [ "BJ11", "ZB"]
destinationTypeRequired
public readonly destinationType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property destinationType: Security Access Control destination address type of policy.
net: Destination network segment (CIDR) group: destination address book domain: The purpose domain location: The purpose area
directionRequired
public readonly direction: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property direction: Security access control traffic direction policies.
in: internal and external traffic access control out: within the flow of external access control
newOrderRequired
public readonly newOrder: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property newOrder: Security access control priority policy in force.
Priority number increments sequentially from 1, lower the priority number, the higher the priority. Description -1 indicates the lowest priority.
protoRequired
public readonly proto: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property proto: The type of security protocol for traffic access in the security access control policy.
Can be set to ANY when you are not sure of the specific protocol type. Allowed values: ANY, TCP, UDP, ICMP
sourceRequired
public readonly source: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property source: Security access control source address policy.
When SourceType for the net, Source is the source CIDR. For example: 1.2.3.0\/24 When SourceType as a group, Source name for the source address book. For example: db_group When SourceType as location, Source source region (specific region position encoder see below). For example, [ "BJ11", "ZB"]
sourceTypeRequired
public readonly sourceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property sourceType: Security access control source address type of policy.
net: Source segment (CIDR) group: source address book location: the source area
applicationNameOptional
public readonly applicationName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property applicationName: Application types supported by the security policy.
The following types of applications are supported: ANY, HTTP, HTTPS, MySQL, SMTP, SMTPS, RDP, VNC, SSH, Redis, MQTT, MongoDB, Memcache, SSL NOTE ANY indicates that the policy is applied to all types of applications. Either ApplicationNameList or ApplicationName must be passed, not both.
applicationNameListOptional
public readonly applicationNameList: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property applicationNameList: List of application types supported by the access control policy.
destPortOptional
public readonly destPort: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property destPort: Security access control policy access traffic destination port.
Note When DestPortType to port, set the item.
destPortGroupOptional
public readonly destPortGroup: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property destPortGroup: Security access control policy access traffic destination port address book name.
Description DestPortType is group, set the item.
destPortTypeOptional
public readonly destPortType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property destPortType: Security access control policy access destination port traffic type.
port: Port group: port address book
domainResolveTypeOptional
public readonly domainResolveType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property domainResolveType: The domain name resolution method of the access control policy.
Value: - FQDN: Based on FQDN - DNS: Based on DNS dynamic resolution - FQDN_AND_DNS: Based on FQDN and DNS dynamic resolution
endTimeOptional
public readonly endTime: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property endTime: The end time of the policy validity period for an access control policy.
It is represented in a second-level timestamp format. It must be the whole hour or half hour, and at least half an hour greater than the start time. Notes: When RepeatType is Permanent, EndTime is empty. When RepeatType is None, Daily, Weekly, Monthly, EndTime must havea value, and you need to set the end time.
ipVersionOptional
public readonly ipVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property ipVersion: IP version.
Valid values: - 4: IPv4 - 6: IPv6
regionIdOptional
public readonly regionId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property regionId: Region ID.
Default to cn-hangzhou.
releaseOptional
public readonly release: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property release: The enabled state of the access control policy.
This policy is enabled by default when it is created. Valid values: - true: Access control policy is enabled - false: Access control policy is not enabled
repeatDaysOptional
public readonly repeatDays: IResolvable | number | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | number | @alicloud/ros-cdk-core.IResolvable[]
Property repeatDays: A collection of repeated dates of policy validity for an access control policy.
When RepeatType is Permanent, None, and Daily, RepeatDays is an empty set. For example: [] When RepeatType is Weekly, RepeatDays cannot be empty. Example: [0, 6] Notes: When RepeatType is set to Weekly, RepeatDays is not allowed. When RepeatType is Monthly, RepeatDays cannot be empty. Examples: [1, 31] Notes: When RepeatType is set to Monthly, RepeatDays is not allowed to repeat.
repeatEndTimeOptional
public readonly repeatEndTime: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property repeatEndTime: The repeated end time of the policy validity period for an access control policy.
For example: 08:00, must be the hour or half time, and less than the repeat start time at least half an hour. Notes: When RepeatType is Permanent and None, RepeatEndTime is empty. When RepeatType is Daily, Weekly, or Monthly, RepeatEndTime musthave a value, and you need to set the repeat end time.
repeatStartTimeOptional
public readonly repeatStartTime: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property repeatStartTime: The repeated start time of the policy validity period for an access control policy.
For example: 08:00, must be the hour or half time, and less than the repeat end time at least half an hour. Notes: When RepeatType is Permanent and None, RepeatStartTime is empty. When RepeatType is Daily, Weekly, or Monthly, RepeatStartTime must have a value, and you need to set the repeat start time.
repeatTypeOptional
public readonly repeatType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property repeatType: The repetition type of the policy validity period for an access control policy.
Valid values: - Permanent (default) - None - Daily - Weekly - Monthly.
startTimeOptional
public readonly startTime: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property startTime: The start time of the policy validity period for an access control policy.
It is represented in a second-level timestamp format. It must be the whole hour or half hour, and at least half an hour less than the end time. Notes: When RepeatType is Permanent, StartTime is empty. When RepeatType is None, Daily, Weekly, Monthly, StartTime must have a value, and you need to set the start time.