1. Packages
  2. Packages
  3. Civo Provider
  4. API Docs
  5. VpcFirewall
Viewing docs for civo 1.2.3
published on Thursday, Apr 9, 2026 by civo
civo logo
Viewing docs for civo 1.2.3
published on Thursday, Apr 9, 2026 by civo

    Create VpcFirewall Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VpcFirewall(name: string, args?: VpcFirewallArgs, opts?: CustomResourceOptions);
    @overload
    def VpcFirewall(resource_name: str,
                    args: Optional[VpcFirewallArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcFirewall(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    create_default_rules: Optional[bool] = None,
                    egress_rules: Optional[Sequence[VpcFirewallEgressRuleArgs]] = None,
                    ingress_rules: Optional[Sequence[VpcFirewallIngressRuleArgs]] = None,
                    name: Optional[str] = None,
                    network_id: Optional[str] = None,
                    region: Optional[str] = None,
                    timeouts: Optional[VpcFirewallTimeoutsArgs] = None,
                    vpc_firewall_id: Optional[str] = None)
    func NewVpcFirewall(ctx *Context, name string, args *VpcFirewallArgs, opts ...ResourceOption) (*VpcFirewall, error)
    public VpcFirewall(string name, VpcFirewallArgs? args = null, CustomResourceOptions? opts = null)
    public VpcFirewall(String name, VpcFirewallArgs args)
    public VpcFirewall(String name, VpcFirewallArgs args, CustomResourceOptions options)
    
    type: civo:VpcFirewall
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VpcFirewallArgs
    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 VpcFirewallArgs
    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 VpcFirewallArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcFirewallArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcFirewallArgs
    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 vpcFirewallResource = new Civo.VpcFirewall("vpcFirewallResource", new()
    {
        CreateDefaultRules = false,
        EgressRules = new[]
        {
            new Civo.Inputs.VpcFirewallEgressRuleArgs
            {
                Action = "string",
                Cidrs = new[]
                {
                    "string",
                },
                Id = "string",
                Label = "string",
                PortRange = "string",
                Protocol = "string",
            },
        },
        IngressRules = new[]
        {
            new Civo.Inputs.VpcFirewallIngressRuleArgs
            {
                Action = "string",
                Cidrs = new[]
                {
                    "string",
                },
                Id = "string",
                Label = "string",
                PortRange = "string",
                Protocol = "string",
            },
        },
        Name = "string",
        NetworkId = "string",
        Region = "string",
        Timeouts = new Civo.Inputs.VpcFirewallTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        VpcFirewallId = "string",
    });
    
    example, err := civo.NewVpcFirewall(ctx, "vpcFirewallResource", &civo.VpcFirewallArgs{
    	CreateDefaultRules: pulumi.Bool(false),
    	EgressRules: civo.VpcFirewallEgressRuleArray{
    		&civo.VpcFirewallEgressRuleArgs{
    			Action: pulumi.String("string"),
    			Cidrs: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Id:        pulumi.String("string"),
    			Label:     pulumi.String("string"),
    			PortRange: pulumi.String("string"),
    			Protocol:  pulumi.String("string"),
    		},
    	},
    	IngressRules: civo.VpcFirewallIngressRuleArray{
    		&civo.VpcFirewallIngressRuleArgs{
    			Action: pulumi.String("string"),
    			Cidrs: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Id:        pulumi.String("string"),
    			Label:     pulumi.String("string"),
    			PortRange: pulumi.String("string"),
    			Protocol:  pulumi.String("string"),
    		},
    	},
    	Name:      pulumi.String("string"),
    	NetworkId: pulumi.String("string"),
    	Region:    pulumi.String("string"),
    	Timeouts: &civo.VpcFirewallTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	VpcFirewallId: pulumi.String("string"),
    })
    
    var vpcFirewallResource = new VpcFirewall("vpcFirewallResource", VpcFirewallArgs.builder()
        .createDefaultRules(false)
        .egressRules(VpcFirewallEgressRuleArgs.builder()
            .action("string")
            .cidrs("string")
            .id("string")
            .label("string")
            .portRange("string")
            .protocol("string")
            .build())
        .ingressRules(VpcFirewallIngressRuleArgs.builder()
            .action("string")
            .cidrs("string")
            .id("string")
            .label("string")
            .portRange("string")
            .protocol("string")
            .build())
        .name("string")
        .networkId("string")
        .region("string")
        .timeouts(VpcFirewallTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .vpcFirewallId("string")
        .build());
    
    vpc_firewall_resource = civo.VpcFirewall("vpcFirewallResource",
        create_default_rules=False,
        egress_rules=[{
            "action": "string",
            "cidrs": ["string"],
            "id": "string",
            "label": "string",
            "port_range": "string",
            "protocol": "string",
        }],
        ingress_rules=[{
            "action": "string",
            "cidrs": ["string"],
            "id": "string",
            "label": "string",
            "port_range": "string",
            "protocol": "string",
        }],
        name="string",
        network_id="string",
        region="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        vpc_firewall_id="string")
    
    const vpcFirewallResource = new civo.VpcFirewall("vpcFirewallResource", {
        createDefaultRules: false,
        egressRules: [{
            action: "string",
            cidrs: ["string"],
            id: "string",
            label: "string",
            portRange: "string",
            protocol: "string",
        }],
        ingressRules: [{
            action: "string",
            cidrs: ["string"],
            id: "string",
            label: "string",
            portRange: "string",
            protocol: "string",
        }],
        name: "string",
        networkId: "string",
        region: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        vpcFirewallId: "string",
    });
    
    type: civo:VpcFirewall
    properties:
        createDefaultRules: false
        egressRules:
            - action: string
              cidrs:
                - string
              id: string
              label: string
              portRange: string
              protocol: string
        ingressRules:
            - action: string
              cidrs:
                - string
              id: string
              label: string
              portRange: string
              protocol: string
        name: string
        networkId: string
        region: string
        timeouts:
            create: string
            delete: string
            update: string
        vpcFirewallId: string
    

    VpcFirewall 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 VpcFirewall resource accepts the following input properties:

    CreateDefaultRules bool
    The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
    EgressRules List<VpcFirewallEgressRule>
    The egress rules, this is a list of rules that will be applied to the firewall
    IngressRules List<VpcFirewallIngressRule>
    The ingress rules, this is a list of rules that will be applied to the firewall
    Name string
    The firewall name
    NetworkId string
    The firewall network, if is not defined we use the default network
    Region string
    The firewall region, if is not defined we use the global defined in the provider
    Timeouts VpcFirewallTimeouts
    VpcFirewallId string
    CreateDefaultRules bool
    The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
    EgressRules []VpcFirewallEgressRuleArgs
    The egress rules, this is a list of rules that will be applied to the firewall
    IngressRules []VpcFirewallIngressRuleArgs
    The ingress rules, this is a list of rules that will be applied to the firewall
    Name string
    The firewall name
    NetworkId string
    The firewall network, if is not defined we use the default network
    Region string
    The firewall region, if is not defined we use the global defined in the provider
    Timeouts VpcFirewallTimeoutsArgs
    VpcFirewallId string
    createDefaultRules Boolean
    The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
    egressRules List<VpcFirewallEgressRule>
    The egress rules, this is a list of rules that will be applied to the firewall
    ingressRules List<VpcFirewallIngressRule>
    The ingress rules, this is a list of rules that will be applied to the firewall
    name String
    The firewall name
    networkId String
    The firewall network, if is not defined we use the default network
    region String
    The firewall region, if is not defined we use the global defined in the provider
    timeouts VpcFirewallTimeouts
    vpcFirewallId String
    createDefaultRules boolean
    The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
    egressRules VpcFirewallEgressRule[]
    The egress rules, this is a list of rules that will be applied to the firewall
    ingressRules VpcFirewallIngressRule[]
    The ingress rules, this is a list of rules that will be applied to the firewall
    name string
    The firewall name
    networkId string
    The firewall network, if is not defined we use the default network
    region string
    The firewall region, if is not defined we use the global defined in the provider
    timeouts VpcFirewallTimeouts
    vpcFirewallId string
    create_default_rules bool
    The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
    egress_rules Sequence[VpcFirewallEgressRuleArgs]
    The egress rules, this is a list of rules that will be applied to the firewall
    ingress_rules Sequence[VpcFirewallIngressRuleArgs]
    The ingress rules, this is a list of rules that will be applied to the firewall
    name str
    The firewall name
    network_id str
    The firewall network, if is not defined we use the default network
    region str
    The firewall region, if is not defined we use the global defined in the provider
    timeouts VpcFirewallTimeoutsArgs
    vpc_firewall_id str
    createDefaultRules Boolean
    The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
    egressRules List<Property Map>
    The egress rules, this is a list of rules that will be applied to the firewall
    ingressRules List<Property Map>
    The ingress rules, this is a list of rules that will be applied to the firewall
    name String
    The firewall name
    networkId String
    The firewall network, if is not defined we use the default network
    region String
    The firewall region, if is not defined we use the global defined in the provider
    timeouts Property Map
    vpcFirewallId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VpcFirewall resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing VpcFirewall Resource

    Get an existing VpcFirewall 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?: VpcFirewallState, opts?: CustomResourceOptions): VpcFirewall
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            create_default_rules: Optional[bool] = None,
            egress_rules: Optional[Sequence[VpcFirewallEgressRuleArgs]] = None,
            ingress_rules: Optional[Sequence[VpcFirewallIngressRuleArgs]] = None,
            name: Optional[str] = None,
            network_id: Optional[str] = None,
            region: Optional[str] = None,
            timeouts: Optional[VpcFirewallTimeoutsArgs] = None,
            vpc_firewall_id: Optional[str] = None) -> VpcFirewall
    func GetVpcFirewall(ctx *Context, name string, id IDInput, state *VpcFirewallState, opts ...ResourceOption) (*VpcFirewall, error)
    public static VpcFirewall Get(string name, Input<string> id, VpcFirewallState? state, CustomResourceOptions? opts = null)
    public static VpcFirewall get(String name, Output<String> id, VpcFirewallState state, CustomResourceOptions options)
    resources:  _:    type: civo:VpcFirewall    get:      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.
    The following state arguments are supported:
    CreateDefaultRules bool
    The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
    EgressRules List<VpcFirewallEgressRule>
    The egress rules, this is a list of rules that will be applied to the firewall
    IngressRules List<VpcFirewallIngressRule>
    The ingress rules, this is a list of rules that will be applied to the firewall
    Name string
    The firewall name
    NetworkId string
    The firewall network, if is not defined we use the default network
    Region string
    The firewall region, if is not defined we use the global defined in the provider
    Timeouts VpcFirewallTimeouts
    VpcFirewallId string
    CreateDefaultRules bool
    The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
    EgressRules []VpcFirewallEgressRuleArgs
    The egress rules, this is a list of rules that will be applied to the firewall
    IngressRules []VpcFirewallIngressRuleArgs
    The ingress rules, this is a list of rules that will be applied to the firewall
    Name string
    The firewall name
    NetworkId string
    The firewall network, if is not defined we use the default network
    Region string
    The firewall region, if is not defined we use the global defined in the provider
    Timeouts VpcFirewallTimeoutsArgs
    VpcFirewallId string
    createDefaultRules Boolean
    The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
    egressRules List<VpcFirewallEgressRule>
    The egress rules, this is a list of rules that will be applied to the firewall
    ingressRules List<VpcFirewallIngressRule>
    The ingress rules, this is a list of rules that will be applied to the firewall
    name String
    The firewall name
    networkId String
    The firewall network, if is not defined we use the default network
    region String
    The firewall region, if is not defined we use the global defined in the provider
    timeouts VpcFirewallTimeouts
    vpcFirewallId String
    createDefaultRules boolean
    The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
    egressRules VpcFirewallEgressRule[]
    The egress rules, this is a list of rules that will be applied to the firewall
    ingressRules VpcFirewallIngressRule[]
    The ingress rules, this is a list of rules that will be applied to the firewall
    name string
    The firewall name
    networkId string
    The firewall network, if is not defined we use the default network
    region string
    The firewall region, if is not defined we use the global defined in the provider
    timeouts VpcFirewallTimeouts
    vpcFirewallId string
    create_default_rules bool
    The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
    egress_rules Sequence[VpcFirewallEgressRuleArgs]
    The egress rules, this is a list of rules that will be applied to the firewall
    ingress_rules Sequence[VpcFirewallIngressRuleArgs]
    The ingress rules, this is a list of rules that will be applied to the firewall
    name str
    The firewall name
    network_id str
    The firewall network, if is not defined we use the default network
    region str
    The firewall region, if is not defined we use the global defined in the provider
    timeouts VpcFirewallTimeoutsArgs
    vpc_firewall_id str
    createDefaultRules Boolean
    The create rules flag is used to create the default firewall rules, if is not defined will be set to true, and if you set to false you need to define at least one ingress or egress rule
    egressRules List<Property Map>
    The egress rules, this is a list of rules that will be applied to the firewall
    ingressRules List<Property Map>
    The ingress rules, this is a list of rules that will be applied to the firewall
    name String
    The firewall name
    networkId String
    The firewall network, if is not defined we use the default network
    region String
    The firewall region, if is not defined we use the global defined in the provider
    timeouts Property Map
    vpcFirewallId String

    Supporting Types

    VpcFirewallEgressRule, VpcFirewallEgressRuleArgs

    Action string
    The action of the rule can be allow or deny. When we set the action = 'allow', this is going to add a rule to allow traffic. Similarly, setting action = 'deny' will deny the traffic.
    Cidrs List<string>
    The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
    Id string
    Label string
    A string that will be the displayed name/reference for this rule
    PortRange string
    The port or port range to open, can be a single port or a range separated by a dash (-), e.g. 80 or 80-443
    Protocol string
    The protocol choice from tcp, udp or icmp (the default if unspecified is tcp)
    Action string
    The action of the rule can be allow or deny. When we set the action = 'allow', this is going to add a rule to allow traffic. Similarly, setting action = 'deny' will deny the traffic.
    Cidrs []string
    The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
    Id string
    Label string
    A string that will be the displayed name/reference for this rule
    PortRange string
    The port or port range to open, can be a single port or a range separated by a dash (-), e.g. 80 or 80-443
    Protocol string
    The protocol choice from tcp, udp or icmp (the default if unspecified is tcp)
    action String
    The action of the rule can be allow or deny. When we set the action = 'allow', this is going to add a rule to allow traffic. Similarly, setting action = 'deny' will deny the traffic.
    cidrs List<String>
    The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
    id String
    label String
    A string that will be the displayed name/reference for this rule
    portRange String
    The port or port range to open, can be a single port or a range separated by a dash (-), e.g. 80 or 80-443
    protocol String
    The protocol choice from tcp, udp or icmp (the default if unspecified is tcp)
    action string
    The action of the rule can be allow or deny. When we set the action = 'allow', this is going to add a rule to allow traffic. Similarly, setting action = 'deny' will deny the traffic.
    cidrs string[]
    The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
    id string
    label string
    A string that will be the displayed name/reference for this rule
    portRange string
    The port or port range to open, can be a single port or a range separated by a dash (-), e.g. 80 or 80-443
    protocol string
    The protocol choice from tcp, udp or icmp (the default if unspecified is tcp)
    action str
    The action of the rule can be allow or deny. When we set the action = 'allow', this is going to add a rule to allow traffic. Similarly, setting action = 'deny' will deny the traffic.
    cidrs Sequence[str]
    The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
    id str
    label str
    A string that will be the displayed name/reference for this rule
    port_range str
    The port or port range to open, can be a single port or a range separated by a dash (-), e.g. 80 or 80-443
    protocol str
    The protocol choice from tcp, udp or icmp (the default if unspecified is tcp)
    action String
    The action of the rule can be allow or deny. When we set the action = 'allow', this is going to add a rule to allow traffic. Similarly, setting action = 'deny' will deny the traffic.
    cidrs List<String>
    The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
    id String
    label String
    A string that will be the displayed name/reference for this rule
    portRange String
    The port or port range to open, can be a single port or a range separated by a dash (-), e.g. 80 or 80-443
    protocol String
    The protocol choice from tcp, udp or icmp (the default if unspecified is tcp)

    VpcFirewallIngressRule, VpcFirewallIngressRuleArgs

    Action string
    The action of the rule can be allow or deny. When we set the action = 'allow', this is going to add a rule to allow traffic. Similarly, setting action = 'deny' will deny the traffic.
    Cidrs List<string>
    The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
    Id string
    Label string
    A string that will be the displayed name/reference for this rule
    PortRange string
    The port or port range to open, can be a single port or a range separated by a dash (-), e.g. 80 or 80-443
    Protocol string
    The protocol choice from tcp, udp or icmp (the default if unspecified is tcp)
    Action string
    The action of the rule can be allow or deny. When we set the action = 'allow', this is going to add a rule to allow traffic. Similarly, setting action = 'deny' will deny the traffic.
    Cidrs []string
    The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
    Id string
    Label string
    A string that will be the displayed name/reference for this rule
    PortRange string
    The port or port range to open, can be a single port or a range separated by a dash (-), e.g. 80 or 80-443
    Protocol string
    The protocol choice from tcp, udp or icmp (the default if unspecified is tcp)
    action String
    The action of the rule can be allow or deny. When we set the action = 'allow', this is going to add a rule to allow traffic. Similarly, setting action = 'deny' will deny the traffic.
    cidrs List<String>
    The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
    id String
    label String
    A string that will be the displayed name/reference for this rule
    portRange String
    The port or port range to open, can be a single port or a range separated by a dash (-), e.g. 80 or 80-443
    protocol String
    The protocol choice from tcp, udp or icmp (the default if unspecified is tcp)
    action string
    The action of the rule can be allow or deny. When we set the action = 'allow', this is going to add a rule to allow traffic. Similarly, setting action = 'deny' will deny the traffic.
    cidrs string[]
    The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
    id string
    label string
    A string that will be the displayed name/reference for this rule
    portRange string
    The port or port range to open, can be a single port or a range separated by a dash (-), e.g. 80 or 80-443
    protocol string
    The protocol choice from tcp, udp or icmp (the default if unspecified is tcp)
    action str
    The action of the rule can be allow or deny. When we set the action = 'allow', this is going to add a rule to allow traffic. Similarly, setting action = 'deny' will deny the traffic.
    cidrs Sequence[str]
    The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
    id str
    label str
    A string that will be the displayed name/reference for this rule
    port_range str
    The port or port range to open, can be a single port or a range separated by a dash (-), e.g. 80 or 80-443
    protocol str
    The protocol choice from tcp, udp or icmp (the default if unspecified is tcp)
    action String
    The action of the rule can be allow or deny. When we set the action = 'allow', this is going to add a rule to allow traffic. Similarly, setting action = 'deny' will deny the traffic.
    cidrs List<String>
    The CIDR notation of the other end to affect, or a valid network CIDR (e.g. 0.0.0.0/0 to open for everyone or 1.2.3.4/32 to open just for a specific IP address)
    id String
    label String
    A string that will be the displayed name/reference for this rule
    portRange String
    The port or port range to open, can be a single port or a range separated by a dash (-), e.g. 80 or 80-443
    protocol String
    The protocol choice from tcp, udp or icmp (the default if unspecified is tcp)

    VpcFirewallTimeouts, VpcFirewallTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Package Details

    Repository
    Civo civo/terraform-provider-civo
    License
    Notes
    This Pulumi package is based on the civo Terraform Provider.
    civo logo
    Viewing docs for civo 1.2.3
    published on Thursday, Apr 9, 2026 by civo
      Try Pulumi Cloud free. Your team will thank you.