published on Thursday, Jul 16, 2026 by Byteplus
published on Thursday, Jul 16, 2026 by Byteplus
VPC border firewall access control policy (ACL rule), used to define allow, block, or observe rules for traffic between VPCs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
const example = new bytepluscc.fwcenter.VpcFireWallAclRule("Example", {
action: "accept",
description: "this is a test",
destPort: "60000",
destPortType: "port",
destination: "0.0.0.0/0",
destinationType: "net",
domainResolutionMode: "",
endTime: 1782662340,
ipType: "v4",
prio: 1,
proto: "TCP",
repeatDays: [
2,
3,
],
repeatEndTime: "04:00",
repeatStartTime: "02:00",
repeatType: "Weekly",
source: "0.0.0.0/0",
sourceType: "net",
startTime: 1782403200,
status: true,
vpcFirewallId: "vfw-yeoxxxxxx4vvsy6xj",
});
import pulumi
import pulumi_bytepluscc as bytepluscc
example = bytepluscc.fwcenter.VpcFireWallAclRule("Example",
action="accept",
description="this is a test",
dest_port="60000",
dest_port_type="port",
destination="0.0.0.0/0",
destination_type="net",
domain_resolution_mode="",
end_time=1782662340,
ip_type="v4",
prio=1,
proto="TCP",
repeat_days=[
2,
3,
],
repeat_end_time="04:00",
repeat_start_time="02:00",
repeat_type="Weekly",
source="0.0.0.0/0",
source_type="net",
start_time=1782403200,
status=True,
vpc_firewall_id="vfw-yeoxxxxxx4vvsy6xj")
package main
import (
"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/fwcenter"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fwcenter.NewVpcFireWallAclRule(ctx, "Example", &fwcenter.VpcFireWallAclRuleArgs{
Action: pulumi.String("accept"),
Description: pulumi.String("this is a test"),
DestPort: pulumi.String("60000"),
DestPortType: pulumi.String("port"),
Destination: pulumi.String("0.0.0.0/0"),
DestinationType: pulumi.String("net"),
DomainResolutionMode: pulumi.String(""),
EndTime: pulumi.Int(1782662340),
IpType: pulumi.String("v4"),
Prio: pulumi.Int(1),
Proto: pulumi.String("TCP"),
RepeatDays: pulumi.IntArray{
pulumi.Int(2),
pulumi.Int(3),
},
RepeatEndTime: pulumi.String("04:00"),
RepeatStartTime: pulumi.String("02:00"),
RepeatType: pulumi.String("Weekly"),
Source: pulumi.String("0.0.0.0/0"),
SourceType: pulumi.String("net"),
StartTime: pulumi.Int(1782403200),
Status: pulumi.Bool(true),
VpcFirewallId: pulumi.String("vfw-yeoxxxxxx4vvsy6xj"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
return await Deployment.RunAsync(() =>
{
var example = new Bytepluscc.Fwcenter.VpcFireWallAclRule("Example", new()
{
Action = "accept",
Description = "this is a test",
DestPort = "60000",
DestPortType = "port",
Destination = "0.0.0.0/0",
DestinationType = "net",
DomainResolutionMode = "",
EndTime = 1782662340,
IpType = "v4",
Prio = 1,
Proto = "TCP",
RepeatDays = new[]
{
2,
3,
},
RepeatEndTime = "04:00",
RepeatStartTime = "02:00",
RepeatType = "Weekly",
Source = "0.0.0.0/0",
SourceType = "net",
StartTime = 1782403200,
Status = true,
VpcFirewallId = "vfw-yeoxxxxxx4vvsy6xj",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.byteplus.bytepluscc.fwcenter.VpcFireWallAclRule;
import com.byteplus.bytepluscc.fwcenter.VpcFireWallAclRuleArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VpcFireWallAclRule("example", VpcFireWallAclRuleArgs.builder()
.action("accept")
.description("this is a test")
.destPort("60000")
.destPortType("port")
.destination("0.0.0.0/0")
.destinationType("net")
.domainResolutionMode("")
.endTime(1782662340)
.ipType("v4")
.prio(1)
.proto("TCP")
.repeatDays(
2,
3)
.repeatEndTime("04:00")
.repeatStartTime("02:00")
.repeatType("Weekly")
.source("0.0.0.0/0")
.sourceType("net")
.startTime(1782403200)
.status(true)
.vpcFirewallId("vfw-yeoxxxxxx4vvsy6xj")
.build());
}
}
resources:
example:
type: bytepluscc:fwcenter:VpcFireWallAclRule
name: Example
properties:
action: accept
description: this is a test
destPort: '60000'
destPortType: port
destination: 0.0.0.0/0
destinationType: net
domainResolutionMode: ""
endTime: 1.78266234e+09
ipType: v4
prio: 1
proto: TCP
repeatDays:
- 2
- 3
repeatEndTime: 04:00
repeatStartTime: 02:00
repeatType: Weekly
source: 0.0.0.0/0
sourceType: net
startTime: 1.7824032e+09
status: true
vpcFirewallId: vfw-yeoxxxxxx4vvsy6xj
pulumi {
required_providers {
bytepluscc = {
source = "pulumi/bytepluscc"
}
}
}
resource "bytepluscc_fwcenter_vpcfirewallaclrule" "Example" {
action = "accept"
description = "this is a test"
dest_port = "60000"
dest_port_type = "port"
destination = "0.0.0.0/0"
destination_type = "net"
domain_resolution_mode = ""
end_time = 1782662340
ip_type = "v4"
prio = 1
proto = "TCP"
repeat_days = [2, 3]
repeat_end_time = "04:00"
repeat_start_time = "02:00"
repeat_type = "Weekly"
source = "0.0.0.0/0"
source_type = "net"
start_time = 1782403200
status = true
vpc_firewall_id = "vfw-yeoxxxxxx4vvsy6xj"
}
Create VpcFireWallAclRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcFireWallAclRule(name: string, args: VpcFireWallAclRuleArgs, opts?: CustomResourceOptions);@overload
def VpcFireWallAclRule(resource_name: str,
args: VpcFireWallAclRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcFireWallAclRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
proto: Optional[str] = None,
action: Optional[str] = None,
vpc_firewall_id: Optional[str] = None,
source_type: Optional[str] = None,
destination: Optional[str] = None,
destination_type: Optional[str] = None,
source: Optional[str] = None,
description: Optional[str] = None,
prio: Optional[int] = None,
ip_type: Optional[str] = None,
repeat_end_time: Optional[str] = None,
repeat_days: Optional[Sequence[int]] = None,
end_time: Optional[int] = None,
repeat_start_time: Optional[str] = None,
repeat_type: Optional[str] = None,
domain_resolution_mode: Optional[str] = None,
dest_port_type: Optional[str] = None,
start_time: Optional[int] = None,
status: Optional[bool] = None,
dest_port: Optional[str] = None)func NewVpcFireWallAclRule(ctx *Context, name string, args VpcFireWallAclRuleArgs, opts ...ResourceOption) (*VpcFireWallAclRule, error)public VpcFireWallAclRule(string name, VpcFireWallAclRuleArgs args, CustomResourceOptions? opts = null)
public VpcFireWallAclRule(String name, VpcFireWallAclRuleArgs args)
public VpcFireWallAclRule(String name, VpcFireWallAclRuleArgs args, CustomResourceOptions options)
type: bytepluscc:fwcenter:VpcFireWallAclRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "bytepluscc_fwcenter_vpcfirewallaclrule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args VpcFireWallAclRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VpcFireWallAclRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VpcFireWallAclRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcFireWallAclRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcFireWallAclRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vpcFireWallAclRuleResource = new Bytepluscc.Fwcenter.VpcFireWallAclRule("vpcFireWallAclRuleResource", new()
{
Proto = "string",
Action = "string",
VpcFirewallId = "string",
SourceType = "string",
Destination = "string",
DestinationType = "string",
Source = "string",
Description = "string",
Prio = 0,
IpType = "string",
RepeatEndTime = "string",
RepeatDays = new[]
{
0,
},
EndTime = 0,
RepeatStartTime = "string",
RepeatType = "string",
DomainResolutionMode = "string",
DestPortType = "string",
StartTime = 0,
Status = false,
DestPort = "string",
});
example, err := fwcenter.NewVpcFireWallAclRule(ctx, "vpcFireWallAclRuleResource", &fwcenter.VpcFireWallAclRuleArgs{
Proto: pulumi.String("string"),
Action: pulumi.String("string"),
VpcFirewallId: pulumi.String("string"),
SourceType: pulumi.String("string"),
Destination: pulumi.String("string"),
DestinationType: pulumi.String("string"),
Source: pulumi.String("string"),
Description: pulumi.String("string"),
Prio: pulumi.Int(0),
IpType: pulumi.String("string"),
RepeatEndTime: pulumi.String("string"),
RepeatDays: pulumi.IntArray{
pulumi.Int(0),
},
EndTime: pulumi.Int(0),
RepeatStartTime: pulumi.String("string"),
RepeatType: pulumi.String("string"),
DomainResolutionMode: pulumi.String("string"),
DestPortType: pulumi.String("string"),
StartTime: pulumi.Int(0),
Status: pulumi.Bool(false),
DestPort: pulumi.String("string"),
})
resource "bytepluscc_fwcenter_vpcfirewallaclrule" "vpcFireWallAclRuleResource" {
proto = "string"
action = "string"
vpc_firewall_id = "string"
source_type = "string"
destination = "string"
destination_type = "string"
source = "string"
description = "string"
prio = 0
ip_type = "string"
repeat_end_time = "string"
repeat_days = [0]
end_time = 0
repeat_start_time = "string"
repeat_type = "string"
domain_resolution_mode = "string"
dest_port_type = "string"
start_time = 0
status = false
dest_port = "string"
}
var vpcFireWallAclRuleResource = new VpcFireWallAclRule("vpcFireWallAclRuleResource", VpcFireWallAclRuleArgs.builder()
.proto("string")
.action("string")
.vpcFirewallId("string")
.sourceType("string")
.destination("string")
.destinationType("string")
.source("string")
.description("string")
.prio(0)
.ipType("string")
.repeatEndTime("string")
.repeatDays(0)
.endTime(0)
.repeatStartTime("string")
.repeatType("string")
.domainResolutionMode("string")
.destPortType("string")
.startTime(0)
.status(false)
.destPort("string")
.build());
vpc_fire_wall_acl_rule_resource = bytepluscc.fwcenter.VpcFireWallAclRule("vpcFireWallAclRuleResource",
proto="string",
action="string",
vpc_firewall_id="string",
source_type="string",
destination="string",
destination_type="string",
source="string",
description="string",
prio=0,
ip_type="string",
repeat_end_time="string",
repeat_days=[0],
end_time=0,
repeat_start_time="string",
repeat_type="string",
domain_resolution_mode="string",
dest_port_type="string",
start_time=0,
status=False,
dest_port="string")
const vpcFireWallAclRuleResource = new bytepluscc.fwcenter.VpcFireWallAclRule("vpcFireWallAclRuleResource", {
proto: "string",
action: "string",
vpcFirewallId: "string",
sourceType: "string",
destination: "string",
destinationType: "string",
source: "string",
description: "string",
prio: 0,
ipType: "string",
repeatEndTime: "string",
repeatDays: [0],
endTime: 0,
repeatStartTime: "string",
repeatType: "string",
domainResolutionMode: "string",
destPortType: "string",
startTime: 0,
status: false,
destPort: "string",
});
type: bytepluscc:fwcenter:VpcFireWallAclRule
properties:
action: string
description: string
destPort: string
destPortType: string
destination: string
destinationType: string
domainResolutionMode: string
endTime: 0
ipType: string
prio: 0
proto: string
repeatDays:
- 0
repeatEndTime: string
repeatStartTime: string
repeatType: string
source: string
sourceType: string
startTime: 0
status: false
vpcFirewallId: string
VpcFireWallAclRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VpcFireWallAclRule resource accepts the following input properties:
- Action string
- Policy action: accept (allow); deny (block); monitor (observe).
- Destination string
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- Destination
Type string - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- Proto string
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- Source string
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- Source
Type string - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- Vpc
Firewall stringId - VPC border firewall instance ID.
- Description string
- Policy description, used to explain the purpose and function of the policy.
- Dest
Port string - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- Dest
Port stringType - Destination port type: port (single port or port range); group (port address book).
- Domain
Resolution stringMode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- End
Time int - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- Ip
Type string - IP version: v4 indicates IPv4; v6 indicates IPv6.
- Prio int
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- Repeat
Days List<int> - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- Repeat
End stringTime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- Repeat
Start stringTime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- Repeat
Type string - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- Start
Time int - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- Status bool
- Policy enable status: true enabled; false disabled.
- Action string
- Policy action: accept (allow); deny (block); monitor (observe).
- Destination string
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- Destination
Type string - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- Proto string
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- Source string
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- Source
Type string - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- Vpc
Firewall stringId - VPC border firewall instance ID.
- Description string
- Policy description, used to explain the purpose and function of the policy.
- Dest
Port string - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- Dest
Port stringType - Destination port type: port (single port or port range); group (port address book).
- Domain
Resolution stringMode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- End
Time int - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- Ip
Type string - IP version: v4 indicates IPv4; v6 indicates IPv6.
- Prio int
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- Repeat
Days []int - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- Repeat
End stringTime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- Repeat
Start stringTime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- Repeat
Type string - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- Start
Time int - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- Status bool
- Policy enable status: true enabled; false disabled.
- action string
- Policy action: accept (allow); deny (block); monitor (observe).
- destination string
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- destination_
type string - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- proto string
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- source string
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- source_
type string - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- vpc_
firewall_ stringid - VPC border firewall instance ID.
- description string
- Policy description, used to explain the purpose and function of the policy.
- dest_
port string - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- dest_
port_ stringtype - Destination port type: port (single port or port range); group (port address book).
- domain_
resolution_ stringmode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- end_
time number - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- ip_
type string - IP version: v4 indicates IPv4; v6 indicates IPv6.
- prio number
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- repeat_
days list(number) - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- repeat_
end_ stringtime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- repeat_
start_ stringtime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- repeat_
type string - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- start_
time number - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- status bool
- Policy enable status: true enabled; false disabled.
- action String
- Policy action: accept (allow); deny (block); monitor (observe).
- destination String
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- destination
Type String - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- proto String
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- source String
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- source
Type String - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- vpc
Firewall StringId - VPC border firewall instance ID.
- description String
- Policy description, used to explain the purpose and function of the policy.
- dest
Port String - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- dest
Port StringType - Destination port type: port (single port or port range); group (port address book).
- domain
Resolution StringMode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- end
Time Integer - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- ip
Type String - IP version: v4 indicates IPv4; v6 indicates IPv6.
- prio Integer
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- repeat
Days List<Integer> - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- repeat
End StringTime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- repeat
Start StringTime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- repeat
Type String - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- start
Time Integer - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- status Boolean
- Policy enable status: true enabled; false disabled.
- action string
- Policy action: accept (allow); deny (block); monitor (observe).
- destination string
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- destination
Type string - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- proto string
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- source string
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- source
Type string - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- vpc
Firewall stringId - VPC border firewall instance ID.
- description string
- Policy description, used to explain the purpose and function of the policy.
- dest
Port string - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- dest
Port stringType - Destination port type: port (single port or port range); group (port address book).
- domain
Resolution stringMode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- end
Time number - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- ip
Type string - IP version: v4 indicates IPv4; v6 indicates IPv6.
- prio number
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- repeat
Days number[] - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- repeat
End stringTime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- repeat
Start stringTime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- repeat
Type string - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- start
Time number - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- status boolean
- Policy enable status: true enabled; false disabled.
- action str
- Policy action: accept (allow); deny (block); monitor (observe).
- destination str
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- destination_
type str - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- proto str
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- source str
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- source_
type str - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- vpc_
firewall_ strid - VPC border firewall instance ID.
- description str
- Policy description, used to explain the purpose and function of the policy.
- dest_
port str - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- dest_
port_ strtype - Destination port type: port (single port or port range); group (port address book).
- domain_
resolution_ strmode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- end_
time int - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- ip_
type str - IP version: v4 indicates IPv4; v6 indicates IPv6.
- prio int
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- repeat_
days Sequence[int] - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- repeat_
end_ strtime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- repeat_
start_ strtime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- repeat_
type str - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- start_
time int - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- status bool
- Policy enable status: true enabled; false disabled.
- action String
- Policy action: accept (allow); deny (block); monitor (observe).
- destination String
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- destination
Type String - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- proto String
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- source String
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- source
Type String - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- vpc
Firewall StringId - VPC border firewall instance ID.
- description String
- Policy description, used to explain the purpose and function of the policy.
- dest
Port String - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- dest
Port StringType - Destination port type: port (single port or port range); group (port address book).
- domain
Resolution StringMode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- end
Time Number - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- ip
Type String - IP version: v4 indicates IPv4; v6 indicates IPv6.
- prio Number
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- repeat
Days List<Number> - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- repeat
End StringTime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- repeat
Start StringTime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- repeat
Type String - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- start
Time Number - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- status Boolean
- Policy enable status: true enabled; false disabled.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcFireWallAclRule resource produces the following output properties:
- Account
Id string - User unique ID.
- Dest
Port stringGroup Type - Destination port book type.
- Dest
Port List<Byteplus.List V1s Vpc Fire Wall Acl Rule Dest Port List V1> - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Dest
Port List<string>Lists - Destination port list.
- Destination
Cidr List<Byteplus.List V1s Vpc Fire Wall Acl Rule Destination Cidr List V1> - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Destination
Cidr List<string>Lists - Destination CIDR list.
- Destination
Domain List<string>Lists - Destination domain name list.
- Destination
Group stringType - Destination address book type.
- Effect
Status int - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- Hit
Cnt int - Hit count of the access control policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Effected bool - Whether the access control policy is effective. true: effective; false: not effective.
- Rule
Id string - Unique ID of the access control policy.
- Source
Cidr List<Byteplus.List V1s Vpc Fire Wall Acl Rule Source Cidr List V1> - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Source
Cidr List<string>Lists - Source CIDR list.
- Source
Group stringType - Source address book type.
- Update
Time int - Last policy update time, Unix timestamp.
- Use
Count int - Number of policies used.
- Vpc
Firewall stringName - VPC border firewall instance name.
- Account
Id string - User unique ID.
- Dest
Port stringGroup Type - Destination port book type.
- Dest
Port []VpcList V1s Fire Wall Acl Rule Dest Port List V1 - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Dest
Port []stringLists - Destination port list.
- Destination
Cidr []VpcList V1s Fire Wall Acl Rule Destination Cidr List V1 - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Destination
Cidr []stringLists - Destination CIDR list.
- Destination
Domain []stringLists - Destination domain name list.
- Destination
Group stringType - Destination address book type.
- Effect
Status int - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- Hit
Cnt int - Hit count of the access control policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Effected bool - Whether the access control policy is effective. true: effective; false: not effective.
- Rule
Id string - Unique ID of the access control policy.
- Source
Cidr []VpcList V1s Fire Wall Acl Rule Source Cidr List V1 - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Source
Cidr []stringLists - Source CIDR list.
- Source
Group stringType - Source address book type.
- Update
Time int - Last policy update time, Unix timestamp.
- Use
Count int - Number of policies used.
- Vpc
Firewall stringName - VPC border firewall instance name.
- account_
id string - User unique ID.
- dest_
port_ stringgroup_ type - Destination port book type.
- dest_
port_ list(object)list_ v1s - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dest_
port_ list(string)lists - Destination port list.
- destination_
cidr_ list(object)list_ v1s - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- destination_
cidr_ list(string)lists - Destination CIDR list.
- destination_
domain_ list(string)lists - Destination domain name list.
- destination_
group_ stringtype - Destination address book type.
- effect_
status number - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- hit_
cnt number - Hit count of the access control policy.
- id string
- The provider-assigned unique ID for this managed resource.
- is_
effected bool - Whether the access control policy is effective. true: effective; false: not effective.
- rule_
id string - Unique ID of the access control policy.
- source_
cidr_ list(object)list_ v1s - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- source_
cidr_ list(string)lists - Source CIDR list.
- source_
group_ stringtype - Source address book type.
- update_
time number - Last policy update time, Unix timestamp.
- use_
count number - Number of policies used.
- vpc_
firewall_ stringname - VPC border firewall instance name.
- account
Id String - User unique ID.
- dest
Port StringGroup Type - Destination port book type.
- dest
Port List<VpcList V1s Fire Wall Acl Rule Dest Port List V1> - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dest
Port List<String>Lists - Destination port list.
- destination
Cidr List<VpcList V1s Fire Wall Acl Rule Destination Cidr List V1> - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- destination
Cidr List<String>Lists - Destination CIDR list.
- destination
Domain List<String>Lists - Destination domain name list.
- destination
Group StringType - Destination address book type.
- effect
Status Integer - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- hit
Cnt Integer - Hit count of the access control policy.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Effected Boolean - Whether the access control policy is effective. true: effective; false: not effective.
- rule
Id String - Unique ID of the access control policy.
- source
Cidr List<VpcList V1s Fire Wall Acl Rule Source Cidr List V1> - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- source
Cidr List<String>Lists - Source CIDR list.
- source
Group StringType - Source address book type.
- update
Time Integer - Last policy update time, Unix timestamp.
- use
Count Integer - Number of policies used.
- vpc
Firewall StringName - VPC border firewall instance name.
- account
Id string - User unique ID.
- dest
Port stringGroup Type - Destination port book type.
- dest
Port VpcList V1s Fire Wall Acl Rule Dest Port List V1[] - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dest
Port string[]Lists - Destination port list.
- destination
Cidr VpcList V1s Fire Wall Acl Rule Destination Cidr List V1[] - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- destination
Cidr string[]Lists - Destination CIDR list.
- destination
Domain string[]Lists - Destination domain name list.
- destination
Group stringType - Destination address book type.
- effect
Status number - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- hit
Cnt number - Hit count of the access control policy.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Effected boolean - Whether the access control policy is effective. true: effective; false: not effective.
- rule
Id string - Unique ID of the access control policy.
- source
Cidr VpcList V1s Fire Wall Acl Rule Source Cidr List V1[] - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- source
Cidr string[]Lists - Source CIDR list.
- source
Group stringType - Source address book type.
- update
Time number - Last policy update time, Unix timestamp.
- use
Count number - Number of policies used.
- vpc
Firewall stringName - VPC border firewall instance name.
- account_
id str - User unique ID.
- dest_
port_ strgroup_ type - Destination port book type.
- dest_
port_ Sequence[Vpclist_ v1s Fire Wall Acl Rule Dest Port List V1] - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dest_
port_ Sequence[str]lists - Destination port list.
- destination_
cidr_ Sequence[Vpclist_ v1s Fire Wall Acl Rule Destination Cidr List V1] - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- destination_
cidr_ Sequence[str]lists - Destination CIDR list.
- destination_
domain_ Sequence[str]lists - Destination domain name list.
- destination_
group_ strtype - Destination address book type.
- effect_
status int - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- hit_
cnt int - Hit count of the access control policy.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
effected bool - Whether the access control policy is effective. true: effective; false: not effective.
- rule_
id str - Unique ID of the access control policy.
- source_
cidr_ Sequence[Vpclist_ v1s Fire Wall Acl Rule Source Cidr List V1] - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- source_
cidr_ Sequence[str]lists - Source CIDR list.
- source_
group_ strtype - Source address book type.
- update_
time int - Last policy update time, Unix timestamp.
- use_
count int - Number of policies used.
- vpc_
firewall_ strname - VPC border firewall instance name.
- account
Id String - User unique ID.
- dest
Port StringGroup Type - Destination port book type.
- dest
Port List<Property Map>List V1s - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dest
Port List<String>Lists - Destination port list.
- destination
Cidr List<Property Map>List V1s - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- destination
Cidr List<String>Lists - Destination CIDR list.
- destination
Domain List<String>Lists - Destination domain name list.
- destination
Group StringType - Destination address book type.
- effect
Status Number - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- hit
Cnt Number - Hit count of the access control policy.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Effected Boolean - Whether the access control policy is effective. true: effective; false: not effective.
- rule
Id String - Unique ID of the access control policy.
- source
Cidr List<Property Map>List V1s - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- source
Cidr List<String>Lists - Source CIDR list.
- source
Group StringType - Source address book type.
- update
Time Number - Last policy update time, Unix timestamp.
- use
Count Number - Number of policies used.
- vpc
Firewall StringName - VPC border firewall instance name.
Look up Existing VpcFireWallAclRule Resource
Get an existing VpcFireWallAclRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VpcFireWallAclRuleState, opts?: CustomResourceOptions): VpcFireWallAclRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
action: Optional[str] = None,
description: Optional[str] = None,
dest_port: Optional[str] = None,
dest_port_group_type: Optional[str] = None,
dest_port_list_v1s: Optional[Sequence[VpcFireWallAclRuleDestPortListV1Args]] = None,
dest_port_lists: Optional[Sequence[str]] = None,
dest_port_type: Optional[str] = None,
destination: Optional[str] = None,
destination_cidr_list_v1s: Optional[Sequence[VpcFireWallAclRuleDestinationCidrListV1Args]] = None,
destination_cidr_lists: Optional[Sequence[str]] = None,
destination_domain_lists: Optional[Sequence[str]] = None,
destination_group_type: Optional[str] = None,
destination_type: Optional[str] = None,
domain_resolution_mode: Optional[str] = None,
effect_status: Optional[int] = None,
end_time: Optional[int] = None,
hit_cnt: Optional[int] = None,
ip_type: Optional[str] = None,
is_effected: Optional[bool] = None,
prio: Optional[int] = None,
proto: Optional[str] = None,
repeat_days: Optional[Sequence[int]] = None,
repeat_end_time: Optional[str] = None,
repeat_start_time: Optional[str] = None,
repeat_type: Optional[str] = None,
rule_id: Optional[str] = None,
source: Optional[str] = None,
source_cidr_list_v1s: Optional[Sequence[VpcFireWallAclRuleSourceCidrListV1Args]] = None,
source_cidr_lists: Optional[Sequence[str]] = None,
source_group_type: Optional[str] = None,
source_type: Optional[str] = None,
start_time: Optional[int] = None,
status: Optional[bool] = None,
update_time: Optional[int] = None,
use_count: Optional[int] = None,
vpc_firewall_id: Optional[str] = None,
vpc_firewall_name: Optional[str] = None) -> VpcFireWallAclRulefunc GetVpcFireWallAclRule(ctx *Context, name string, id IDInput, state *VpcFireWallAclRuleState, opts ...ResourceOption) (*VpcFireWallAclRule, error)public static VpcFireWallAclRule Get(string name, Input<string> id, VpcFireWallAclRuleState? state, CustomResourceOptions? opts = null)public static VpcFireWallAclRule get(String name, Output<String> id, VpcFireWallAclRuleState state, CustomResourceOptions options)resources: _: type: bytepluscc:fwcenter:VpcFireWallAclRule get: id: ${id}import {
to = bytepluscc_fwcenter_vpcfirewallaclrule.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - User unique ID.
- Action string
- Policy action: accept (allow); deny (block); monitor (observe).
- Description string
- Policy description, used to explain the purpose and function of the policy.
- Dest
Port string - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- Dest
Port stringGroup Type - Destination port book type.
- Dest
Port List<Byteplus.List V1s Vpc Fire Wall Acl Rule Dest Port List V1> - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Dest
Port List<string>Lists - Destination port list.
- Dest
Port stringType - Destination port type: port (single port or port range); group (port address book).
- Destination string
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- Destination
Cidr List<Byteplus.List V1s Vpc Fire Wall Acl Rule Destination Cidr List V1> - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Destination
Cidr List<string>Lists - Destination CIDR list.
- Destination
Domain List<string>Lists - Destination domain name list.
- Destination
Group stringType - Destination address book type.
- Destination
Type string - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- Domain
Resolution stringMode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- Effect
Status int - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- End
Time int - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- Hit
Cnt int - Hit count of the access control policy.
- Ip
Type string - IP version: v4 indicates IPv4; v6 indicates IPv6.
- Is
Effected bool - Whether the access control policy is effective. true: effective; false: not effective.
- Prio int
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- Proto string
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- Repeat
Days List<int> - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- Repeat
End stringTime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- Repeat
Start stringTime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- Repeat
Type string - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- Rule
Id string - Unique ID of the access control policy.
- Source string
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- Source
Cidr List<Byteplus.List V1s Vpc Fire Wall Acl Rule Source Cidr List V1> - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Source
Cidr List<string>Lists - Source CIDR list.
- Source
Group stringType - Source address book type.
- Source
Type string - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- Start
Time int - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- Status bool
- Policy enable status: true enabled; false disabled.
- Update
Time int - Last policy update time, Unix timestamp.
- Use
Count int - Number of policies used.
- Vpc
Firewall stringId - VPC border firewall instance ID.
- Vpc
Firewall stringName - VPC border firewall instance name.
- Account
Id string - User unique ID.
- Action string
- Policy action: accept (allow); deny (block); monitor (observe).
- Description string
- Policy description, used to explain the purpose and function of the policy.
- Dest
Port string - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- Dest
Port stringGroup Type - Destination port book type.
- Dest
Port []VpcList V1s Fire Wall Acl Rule Dest Port List V1Args - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Dest
Port []stringLists - Destination port list.
- Dest
Port stringType - Destination port type: port (single port or port range); group (port address book).
- Destination string
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- Destination
Cidr []VpcList V1s Fire Wall Acl Rule Destination Cidr List V1Args - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Destination
Cidr []stringLists - Destination CIDR list.
- Destination
Domain []stringLists - Destination domain name list.
- Destination
Group stringType - Destination address book type.
- Destination
Type string - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- Domain
Resolution stringMode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- Effect
Status int - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- End
Time int - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- Hit
Cnt int - Hit count of the access control policy.
- Ip
Type string - IP version: v4 indicates IPv4; v6 indicates IPv6.
- Is
Effected bool - Whether the access control policy is effective. true: effective; false: not effective.
- Prio int
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- Proto string
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- Repeat
Days []int - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- Repeat
End stringTime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- Repeat
Start stringTime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- Repeat
Type string - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- Rule
Id string - Unique ID of the access control policy.
- Source string
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- Source
Cidr []VpcList V1s Fire Wall Acl Rule Source Cidr List V1Args - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Source
Cidr []stringLists - Source CIDR list.
- Source
Group stringType - Source address book type.
- Source
Type string - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- Start
Time int - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- Status bool
- Policy enable status: true enabled; false disabled.
- Update
Time int - Last policy update time, Unix timestamp.
- Use
Count int - Number of policies used.
- Vpc
Firewall stringId - VPC border firewall instance ID.
- Vpc
Firewall stringName - VPC border firewall instance name.
- account_
id string - User unique ID.
- action string
- Policy action: accept (allow); deny (block); monitor (observe).
- description string
- Policy description, used to explain the purpose and function of the policy.
- dest_
port string - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- dest_
port_ stringgroup_ type - Destination port book type.
- dest_
port_ list(object)list_ v1s - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dest_
port_ list(string)lists - Destination port list.
- dest_
port_ stringtype - Destination port type: port (single port or port range); group (port address book).
- destination string
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- destination_
cidr_ list(object)list_ v1s - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- destination_
cidr_ list(string)lists - Destination CIDR list.
- destination_
domain_ list(string)lists - Destination domain name list.
- destination_
group_ stringtype - Destination address book type.
- destination_
type string - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- domain_
resolution_ stringmode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- effect_
status number - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- end_
time number - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- hit_
cnt number - Hit count of the access control policy.
- ip_
type string - IP version: v4 indicates IPv4; v6 indicates IPv6.
- is_
effected bool - Whether the access control policy is effective. true: effective; false: not effective.
- prio number
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- proto string
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- repeat_
days list(number) - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- repeat_
end_ stringtime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- repeat_
start_ stringtime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- repeat_
type string - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- rule_
id string - Unique ID of the access control policy.
- source string
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- source_
cidr_ list(object)list_ v1s - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- source_
cidr_ list(string)lists - Source CIDR list.
- source_
group_ stringtype - Source address book type.
- source_
type string - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- start_
time number - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- status bool
- Policy enable status: true enabled; false disabled.
- update_
time number - Last policy update time, Unix timestamp.
- use_
count number - Number of policies used.
- vpc_
firewall_ stringid - VPC border firewall instance ID.
- vpc_
firewall_ stringname - VPC border firewall instance name.
- account
Id String - User unique ID.
- action String
- Policy action: accept (allow); deny (block); monitor (observe).
- description String
- Policy description, used to explain the purpose and function of the policy.
- dest
Port String - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- dest
Port StringGroup Type - Destination port book type.
- dest
Port List<VpcList V1s Fire Wall Acl Rule Dest Port List V1> - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dest
Port List<String>Lists - Destination port list.
- dest
Port StringType - Destination port type: port (single port or port range); group (port address book).
- destination String
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- destination
Cidr List<VpcList V1s Fire Wall Acl Rule Destination Cidr List V1> - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- destination
Cidr List<String>Lists - Destination CIDR list.
- destination
Domain List<String>Lists - Destination domain name list.
- destination
Group StringType - Destination address book type.
- destination
Type String - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- domain
Resolution StringMode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- effect
Status Integer - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- end
Time Integer - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- hit
Cnt Integer - Hit count of the access control policy.
- ip
Type String - IP version: v4 indicates IPv4; v6 indicates IPv6.
- is
Effected Boolean - Whether the access control policy is effective. true: effective; false: not effective.
- prio Integer
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- proto String
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- repeat
Days List<Integer> - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- repeat
End StringTime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- repeat
Start StringTime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- repeat
Type String - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- rule
Id String - Unique ID of the access control policy.
- source String
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- source
Cidr List<VpcList V1s Fire Wall Acl Rule Source Cidr List V1> - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- source
Cidr List<String>Lists - Source CIDR list.
- source
Group StringType - Source address book type.
- source
Type String - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- start
Time Integer - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- status Boolean
- Policy enable status: true enabled; false disabled.
- update
Time Integer - Last policy update time, Unix timestamp.
- use
Count Integer - Number of policies used.
- vpc
Firewall StringId - VPC border firewall instance ID.
- vpc
Firewall StringName - VPC border firewall instance name.
- account
Id string - User unique ID.
- action string
- Policy action: accept (allow); deny (block); monitor (observe).
- description string
- Policy description, used to explain the purpose and function of the policy.
- dest
Port string - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- dest
Port stringGroup Type - Destination port book type.
- dest
Port VpcList V1s Fire Wall Acl Rule Dest Port List V1[] - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dest
Port string[]Lists - Destination port list.
- dest
Port stringType - Destination port type: port (single port or port range); group (port address book).
- destination string
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- destination
Cidr VpcList V1s Fire Wall Acl Rule Destination Cidr List V1[] - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- destination
Cidr string[]Lists - Destination CIDR list.
- destination
Domain string[]Lists - Destination domain name list.
- destination
Group stringType - Destination address book type.
- destination
Type string - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- domain
Resolution stringMode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- effect
Status number - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- end
Time number - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- hit
Cnt number - Hit count of the access control policy.
- ip
Type string - IP version: v4 indicates IPv4; v6 indicates IPv6.
- is
Effected boolean - Whether the access control policy is effective. true: effective; false: not effective.
- prio number
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- proto string
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- repeat
Days number[] - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- repeat
End stringTime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- repeat
Start stringTime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- repeat
Type string - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- rule
Id string - Unique ID of the access control policy.
- source string
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- source
Cidr VpcList V1s Fire Wall Acl Rule Source Cidr List V1[] - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- source
Cidr string[]Lists - Source CIDR list.
- source
Group stringType - Source address book type.
- source
Type string - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- start
Time number - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- status boolean
- Policy enable status: true enabled; false disabled.
- update
Time number - Last policy update time, Unix timestamp.
- use
Count number - Number of policies used.
- vpc
Firewall stringId - VPC border firewall instance ID.
- vpc
Firewall stringName - VPC border firewall instance name.
- account_
id str - User unique ID.
- action str
- Policy action: accept (allow); deny (block); monitor (observe).
- description str
- Policy description, used to explain the purpose and function of the policy.
- dest_
port str - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- dest_
port_ strgroup_ type - Destination port book type.
- dest_
port_ Sequence[Vpclist_ v1s Fire Wall Acl Rule Dest Port List V1Args] - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dest_
port_ Sequence[str]lists - Destination port list.
- dest_
port_ strtype - Destination port type: port (single port or port range); group (port address book).
- destination str
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- destination_
cidr_ Sequence[Vpclist_ v1s Fire Wall Acl Rule Destination Cidr List V1Args] - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- destination_
cidr_ Sequence[str]lists - Destination CIDR list.
- destination_
domain_ Sequence[str]lists - Destination domain name list.
- destination_
group_ strtype - Destination address book type.
- destination_
type str - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- domain_
resolution_ strmode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- effect_
status int - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- end_
time int - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- hit_
cnt int - Hit count of the access control policy.
- ip_
type str - IP version: v4 indicates IPv4; v6 indicates IPv6.
- is_
effected bool - Whether the access control policy is effective. true: effective; false: not effective.
- prio int
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- proto str
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- repeat_
days Sequence[int] - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- repeat_
end_ strtime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- repeat_
start_ strtime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- repeat_
type str - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- rule_
id str - Unique ID of the access control policy.
- source str
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- source_
cidr_ Sequence[Vpclist_ v1s Fire Wall Acl Rule Source Cidr List V1Args] - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- source_
cidr_ Sequence[str]lists - Source CIDR list.
- source_
group_ strtype - Source address book type.
- source_
type str - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- start_
time int - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- status bool
- Policy enable status: true enabled; false disabled.
- update_
time int - Last policy update time, Unix timestamp.
- use_
count int - Number of policies used.
- vpc_
firewall_ strid - VPC border firewall instance ID.
- vpc_
firewall_ strname - VPC border firewall instance name.
- account
Id String - User unique ID.
- action String
- Policy action: accept (allow); deny (block); monitor (observe).
- description String
- Policy description, used to explain the purpose and function of the policy.
- dest
Port String - Destination port, single port or port range (e.g., 22/22, 100/200). If DestPortType is group, it is a list of port address book UUIDs, separated by commas. Leave blank if protocol is ICMP or ANY.
- dest
Port StringGroup Type - Destination port book type.
- dest
Port List<Property Map>List V1s - Destination port list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- dest
Port List<String>Lists - Destination port list.
- dest
Port StringType - Destination port type: port (single port or port range); group (port address book).
- destination String
- Destination address. The value depends on DestinationType: net for destination CIDR address; group for destination address book UUIDs, separated by commas; domain for destination domain name.
- destination
Cidr List<Property Map>List V1s - Destination CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- destination
Cidr List<String>Lists - Destination CIDR list.
- destination
Domain List<String>Lists - Destination domain name list.
- destination
Group StringType - Destination address book type.
- destination
Type String - Destination address type: net for subnet (CIDR format); group for address book (UUID format); domain for domain name.
- domain
Resolution StringMode - Domain name resolution mode: fqdn for full domain name resolution; dns for dynamic DNS resolution.
- effect
Status Number - Effectiveness status of the access control policy. 1: not effective; 2: deploying; 3: effective.
- end
Time Number - Policy activation end time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- hit
Cnt Number - Hit count of the access control policy.
- ip
Type String - IP version: v4 indicates IPv4; v6 indicates IPv6.
- is
Effected Boolean - Whether the access control policy is effective. true: effective; false: not effective.
- prio Number
- Policy priority. Lower values indicate higher priority. 0 is the lowest priority, 1 is the highest. When modifying, the minimum value for this parameter is 1.
- proto String
- Protocol type: ICMP, TCP, UDP, ANY. Only TCP is supported when the destination address type is domain.
- repeat
Days List<Number> - Specific dates for repeated activation. Valid only when RepeatType is Weekly (0-6 for Sunday to Saturday) or Monthly (1-31 for each day of the month).
- repeat
End StringTime - Recurring daily end time, format: hh:mm. Valid only when RepeatType is Weekly or Monthly.
- repeat
Start StringTime - Recurring daily start time, format: hh:mm. Valid only when RepeatType is Daily, Weekly, or Monthly.
- repeat
Type String - Activation repeat type: Permanent always effective; Once single activation; Daily repeat daily; Weekly repeat weekly; Monthly repeat monthly.
- rule
Id String - Unique ID of the access control policy.
- source String
- Source address. The value depends on SourceType: net for source CIDR address; group for source address book UUIDs, separated by commas.
- source
Cidr List<Property Map>List V1s - Source CIDR list (structured). Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- source
Cidr List<String>Lists - Source CIDR list.
- source
Group StringType - Source address book type.
- source
Type String - Source address type: net for subnet (CIDR format); group for address book (UUID format).
- start
Time Number - Policy activation start time, Unix timestamp. Fill in only when RepeatType is Once, Daily, Weekly, or Monthly.
- status Boolean
- Policy enable status: true enabled; false disabled.
- update
Time Number - Last policy update time, Unix timestamp.
- use
Count Number - Number of policies used.
- vpc
Firewall StringId - VPC border firewall instance ID.
- vpc
Firewall StringName - VPC border firewall instance name.
Supporting Types
VpcFireWallAclRuleDestPortListV1, VpcFireWallAclRuleDestPortListV1Args
- Address string
- Detailed address information.
- Description string
- Description.
- Type string
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- Address string
- Detailed address information.
- Description string
- Description.
- Type string
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address string
- Detailed address information.
- description string
- Description.
- type string
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address String
- Detailed address information.
- description String
- Description.
- type String
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address string
- Detailed address information.
- description string
- Description.
- type string
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address str
- Detailed address information.
- description str
- Description.
- type str
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address String
- Detailed address information.
- description String
- Description.
- type String
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
VpcFireWallAclRuleDestinationCidrListV1, VpcFireWallAclRuleDestinationCidrListV1Args
- Address string
- Detailed address information.
- Description string
- Description.
- Type string
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- Address string
- Detailed address information.
- Description string
- Description.
- Type string
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address string
- Detailed address information.
- description string
- Description.
- type string
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address String
- Detailed address information.
- description String
- Description.
- type String
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address string
- Detailed address information.
- description string
- Description.
- type string
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address str
- Detailed address information.
- description str
- Description.
- type str
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address String
- Detailed address information.
- description String
- Description.
- type String
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
VpcFireWallAclRuleSourceCidrListV1, VpcFireWallAclRuleSourceCidrListV1Args
- Address string
- Detailed address information.
- Description string
- Description.
- Type string
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- Address string
- Detailed address information.
- Description string
- Description.
- Type string
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address string
- Detailed address information.
- description string
- Description.
- type string
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address String
- Detailed address information.
- description String
- Description.
- type String
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address string
- Detailed address information.
- description string
- Description.
- type string
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address str
- Detailed address information.
- description str
- Description.
- type str
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
- address String
- Detailed address information.
- description String
- Description.
- type String
- Address type. ip: IPv4; ipv6: IPv6; domain: domain name; port: port.
Import
$ pulumi import bytepluscc:fwcenter/vpcFireWallAclRule:VpcFireWallAclRule example "vpc_firewall_id|rule_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
published on Thursday, Jul 16, 2026 by Byteplus