published on Tuesday, Oct 27, 2026 by Pulumi
published on Tuesday, Oct 27, 2026 by Pulumi
Provides a Cloud Firewall Fw Switch resource.
The protection switch of an internet boundary firewall asset. The existence of the resource indicates that protection for the public IP asset is enabled (ProtectStatus=open), and removal of the resource indicates that protection is disabled (ProtectStatus=closed).
For information about Cloud Firewall Fw Switch and how to use it, see What is Fw Switch.
NOTE: Available since v1.295.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const example = new alicloud.cloudfirewall.FwSwitch("example", {
internetAddress: "203.0.113.1",
memberUid: 1412345678901234,
});
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.cloudfirewall.FwSwitch("example",
internet_address="203.0.113.1",
member_uid=int(1412345678901234))
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v4/go/alicloud/cloudfirewall"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudfirewall.NewFwSwitch(ctx, "example", &cloudfirewall.FwSwitchArgs{
InternetAddress: pulumi.String("203.0.113.1"),
MemberUid: pulumi.Int(1412345678901234),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var example = new AliCloud.CloudFirewall.FwSwitch("example", new()
{
InternetAddress = "203.0.113.1",
MemberUid = (int)1412345678901234,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cloudfirewall.FwSwitch;
import com.pulumi.alicloud.cloudfirewall.FwSwitchArgs;
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 FwSwitch("example", FwSwitchArgs.builder()
.internetAddress("203.0.113.1")
.memberUid(1412345678901234)
.build());
}
}
resources:
example:
type: alicloud:cloudfirewall:FwSwitch
properties:
internetAddress: 203.0.113.1
memberUid: 1.412345678901234e+15
terraform {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
resource "alicloud_cloudfirewall_fw_switch" "example" {
lifecycle {
create_before_destroy = true
}
internet_address = "203.0.113.1"
member_uid = 1412345678901234
}
Create FwSwitch Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FwSwitch(name: string, args: FwSwitchArgs, opts?: CustomResourceOptions);@overload
def FwSwitch(resource_name: str,
args: FwSwitchArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FwSwitch(resource_name: str,
opts: Optional[ResourceOptions] = None,
internet_address: Optional[str] = None,
dry_run: Optional[bool] = None,
ip_version: Optional[str] = None,
lang: Optional[str] = None,
member_uid: Optional[int] = None)func NewFwSwitch(ctx *Context, name string, args FwSwitchArgs, opts ...ResourceOption) (*FwSwitch, error)public FwSwitch(string name, FwSwitchArgs args, CustomResourceOptions? opts = null)
public FwSwitch(String name, FwSwitchArgs args)
public FwSwitch(String name, FwSwitchArgs args, CustomResourceOptions options)
type: alicloud:cloudfirewall:FwSwitch
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "alicloud_cloudfirewall_fw_switch" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args FwSwitchArgs
- 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 FwSwitchArgs
- 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 FwSwitchArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FwSwitchArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FwSwitchArgs
- 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 fwSwitchResource = new AliCloud.CloudFirewall.FwSwitch("fwSwitchResource", new()
{
InternetAddress = "string",
DryRun = false,
IpVersion = "string",
Lang = "string",
MemberUid = 0,
});
example, err := cloudfirewall.NewFwSwitch(ctx, "fwSwitchResource", &cloudfirewall.FwSwitchArgs{
InternetAddress: pulumi.String("string"),
DryRun: pulumi.Bool(false),
IpVersion: pulumi.String("string"),
Lang: pulumi.String("string"),
MemberUid: pulumi.Int(0),
})
resource "alicloud_cloudfirewall_fw_switch" "fwSwitchResource" {
lifecycle {
create_before_destroy = true
}
internet_address = "string"
dry_run = false
ip_version = "string"
lang = "string"
member_uid = 0
}
var fwSwitchResource = new FwSwitch("fwSwitchResource", FwSwitchArgs.builder()
.internetAddress("string")
.dryRun(false)
.ipVersion("string")
.lang("string")
.memberUid(0)
.build());
fw_switch_resource = alicloud.cloudfirewall.FwSwitch("fwSwitchResource",
internet_address="string",
dry_run=False,
ip_version="string",
lang="string",
member_uid=0)
const fwSwitchResource = new alicloud.cloudfirewall.FwSwitch("fwSwitchResource", {
internetAddress: "string",
dryRun: false,
ipVersion: "string",
lang: "string",
memberUid: 0,
});
type: alicloud:cloudfirewall:FwSwitch
properties:
dryRun: false
internetAddress: string
ipVersion: string
lang: string
memberUid: 0
FwSwitch 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 FwSwitch resource accepts the following input properties:
- Internet
Address string - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- Dry
Run bool Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- Ip
Version string - The IP version. Valid values:
4(IPv4) and6(IPv6). - Lang string
- The language type of the received message.
- Member
Uid int - The UID of the Cloud Firewall member account.
- Internet
Address string - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- Dry
Run bool Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- Ip
Version string - The IP version. Valid values:
4(IPv4) and6(IPv6). - Lang string
- The language type of the received message.
- Member
Uid int - The UID of the Cloud Firewall member account.
- internet_
address string - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- dry_
run bool Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- ip_
version string - The IP version. Valid values:
4(IPv4) and6(IPv6). - lang string
- The language type of the received message.
- member_
uid number - The UID of the Cloud Firewall member account.
- internet
Address String - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- dry
Run Boolean Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- ip
Version String - The IP version. Valid values:
4(IPv4) and6(IPv6). - lang String
- The language type of the received message.
- member
Uid Integer - The UID of the Cloud Firewall member account.
- internet
Address string - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- dry
Run boolean Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- ip
Version string - The IP version. Valid values:
4(IPv4) and6(IPv6). - lang string
- The language type of the received message.
- member
Uid number - The UID of the Cloud Firewall member account.
- internet_
address str - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- dry_
run bool Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- ip_
version str - The IP version. Valid values:
4(IPv4) and6(IPv6). - lang str
- The language type of the received message.
- member_
uid int - The UID of the Cloud Firewall member account.
- internet
Address String - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- dry
Run Boolean Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- ip
Version String - The IP version. Valid values:
4(IPv4) and6(IPv6). - lang String
- The language type of the received message.
- member
Uid Number - The UID of the Cloud Firewall member account.
Outputs
All input properties are implicitly available as output properties. Additionally, the FwSwitch resource produces the following output properties:
- Ali
Uid int - AliUid.
- Bind
Instance stringId - BindInstanceId.
- Bind
Instance stringName - BindInstanceName.
- Id string
- The provider-assigned unique ID for this managed resource.
- Intranet
Address string - IntranetAddress.
- Name string
- Name.
- Note string
- Note.
- Protect
Status string - The protection status of the asset. Valid values:
open,opening,closed,closing. - Region
Id string - RegionId.
- Region
Status string - RegionStatus.
- Resource
Instance stringId - ResourceInstanceId.
- Resource
Type string - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - Sg
Status string - SgStatus.
- Sg
Status intTime - SgStatusTime.
- Sync
Status string - SyncStatus.
- Type string
- Type.
- Ali
Uid int - AliUid.
- Bind
Instance stringId - BindInstanceId.
- Bind
Instance stringName - BindInstanceName.
- Id string
- The provider-assigned unique ID for this managed resource.
- Intranet
Address string - IntranetAddress.
- Name string
- Name.
- Note string
- Note.
- Protect
Status string - The protection status of the asset. Valid values:
open,opening,closed,closing. - Region
Id string - RegionId.
- Region
Status string - RegionStatus.
- Resource
Instance stringId - ResourceInstanceId.
- Resource
Type string - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - Sg
Status string - SgStatus.
- Sg
Status intTime - SgStatusTime.
- Sync
Status string - SyncStatus.
- Type string
- Type.
- ali_
uid number - AliUid.
- bind_
instance_ stringid - BindInstanceId.
- bind_
instance_ stringname - BindInstanceName.
- id string
- The provider-assigned unique ID for this managed resource.
- intranet_
address string - IntranetAddress.
- name string
- Name.
- note string
- Note.
- protect_
status string - The protection status of the asset. Valid values:
open,opening,closed,closing. - region_
id string - RegionId.
- region_
status string - RegionStatus.
- resource_
instance_ stringid - ResourceInstanceId.
- resource_
type string - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - sg_
status string - SgStatus.
- sg_
status_ numbertime - SgStatusTime.
- sync_
status string - SyncStatus.
- type string
- Type.
- ali
Uid Integer - AliUid.
- bind
Instance StringId - BindInstanceId.
- bind
Instance StringName - BindInstanceName.
- id String
- The provider-assigned unique ID for this managed resource.
- intranet
Address String - IntranetAddress.
- name String
- Name.
- note String
- Note.
- protect
Status String - The protection status of the asset. Valid values:
open,opening,closed,closing. - region
Id String - RegionId.
- region
Status String - RegionStatus.
- resource
Instance StringId - ResourceInstanceId.
- resource
Type String - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - sg
Status String - SgStatus.
- sg
Status IntegerTime - SgStatusTime.
- sync
Status String - SyncStatus.
- type String
- Type.
- ali
Uid number - AliUid.
- bind
Instance stringId - BindInstanceId.
- bind
Instance stringName - BindInstanceName.
- id string
- The provider-assigned unique ID for this managed resource.
- intranet
Address string - IntranetAddress.
- name string
- Name.
- note string
- Note.
- protect
Status string - The protection status of the asset. Valid values:
open,opening,closed,closing. - region
Id string - RegionId.
- region
Status string - RegionStatus.
- resource
Instance stringId - ResourceInstanceId.
- resource
Type string - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - sg
Status string - SgStatus.
- sg
Status numberTime - SgStatusTime.
- sync
Status string - SyncStatus.
- type string
- Type.
- ali_
uid int - AliUid.
- bind_
instance_ strid - BindInstanceId.
- bind_
instance_ strname - BindInstanceName.
- id str
- The provider-assigned unique ID for this managed resource.
- intranet_
address str - IntranetAddress.
- name str
- Name.
- note str
- Note.
- protect_
status str - The protection status of the asset. Valid values:
open,opening,closed,closing. - region_
id str - RegionId.
- region_
status str - RegionStatus.
- resource_
instance_ strid - ResourceInstanceId.
- resource_
type str - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - sg_
status str - SgStatus.
- sg_
status_ inttime - SgStatusTime.
- sync_
status str - SyncStatus.
- type str
- Type.
- ali
Uid Number - AliUid.
- bind
Instance StringId - BindInstanceId.
- bind
Instance StringName - BindInstanceName.
- id String
- The provider-assigned unique ID for this managed resource.
- intranet
Address String - IntranetAddress.
- name String
- Name.
- note String
- Note.
- protect
Status String - The protection status of the asset. Valid values:
open,opening,closed,closing. - region
Id String - RegionId.
- region
Status String - RegionStatus.
- resource
Instance StringId - ResourceInstanceId.
- resource
Type String - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - sg
Status String - SgStatus.
- sg
Status NumberTime - SgStatusTime.
- sync
Status String - SyncStatus.
- type String
- Type.
Look up Existing FwSwitch Resource
Get an existing FwSwitch 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?: FwSwitchState, opts?: CustomResourceOptions): FwSwitch@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ali_uid: Optional[int] = None,
bind_instance_id: Optional[str] = None,
bind_instance_name: Optional[str] = None,
dry_run: Optional[bool] = None,
internet_address: Optional[str] = None,
intranet_address: Optional[str] = None,
ip_version: Optional[str] = None,
lang: Optional[str] = None,
member_uid: Optional[int] = None,
name: Optional[str] = None,
note: Optional[str] = None,
protect_status: Optional[str] = None,
region_id: Optional[str] = None,
region_status: Optional[str] = None,
resource_instance_id: Optional[str] = None,
resource_type: Optional[str] = None,
sg_status: Optional[str] = None,
sg_status_time: Optional[int] = None,
sync_status: Optional[str] = None,
type: Optional[str] = None) -> FwSwitchfunc GetFwSwitch(ctx *Context, name string, id IDInput, state *FwSwitchState, opts ...ResourceOption) (*FwSwitch, error)public static FwSwitch Get(string name, Input<string> id, FwSwitchState? state, CustomResourceOptions? opts = null)public static FwSwitch get(String name, Output<String> id, FwSwitchState state, CustomResourceOptions options)resources: _: type: alicloud:cloudfirewall:FwSwitch get: id: ${id}import {
to = alicloud_cloudfirewall_fw_switch.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.
- Ali
Uid int - AliUid.
- Bind
Instance stringId - BindInstanceId.
- Bind
Instance stringName - BindInstanceName.
- Dry
Run bool Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- Internet
Address string - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- Intranet
Address string - IntranetAddress.
- Ip
Version string - The IP version. Valid values:
4(IPv4) and6(IPv6). - Lang string
- The language type of the received message.
- Member
Uid int - The UID of the Cloud Firewall member account.
- Name string
- Name.
- Note string
- Note.
- Protect
Status string - The protection status of the asset. Valid values:
open,opening,closed,closing. - Region
Id string - RegionId.
- Region
Status string - RegionStatus.
- Resource
Instance stringId - ResourceInstanceId.
- Resource
Type string - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - Sg
Status string - SgStatus.
- Sg
Status intTime - SgStatusTime.
- Sync
Status string - SyncStatus.
- Type string
- Type.
- Ali
Uid int - AliUid.
- Bind
Instance stringId - BindInstanceId.
- Bind
Instance stringName - BindInstanceName.
- Dry
Run bool Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- Internet
Address string - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- Intranet
Address string - IntranetAddress.
- Ip
Version string - The IP version. Valid values:
4(IPv4) and6(IPv6). - Lang string
- The language type of the received message.
- Member
Uid int - The UID of the Cloud Firewall member account.
- Name string
- Name.
- Note string
- Note.
- Protect
Status string - The protection status of the asset. Valid values:
open,opening,closed,closing. - Region
Id string - RegionId.
- Region
Status string - RegionStatus.
- Resource
Instance stringId - ResourceInstanceId.
- Resource
Type string - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - Sg
Status string - SgStatus.
- Sg
Status intTime - SgStatusTime.
- Sync
Status string - SyncStatus.
- Type string
- Type.
- ali_
uid number - AliUid.
- bind_
instance_ stringid - BindInstanceId.
- bind_
instance_ stringname - BindInstanceName.
- dry_
run bool Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- internet_
address string - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- intranet_
address string - IntranetAddress.
- ip_
version string - The IP version. Valid values:
4(IPv4) and6(IPv6). - lang string
- The language type of the received message.
- member_
uid number - The UID of the Cloud Firewall member account.
- name string
- Name.
- note string
- Note.
- protect_
status string - The protection status of the asset. Valid values:
open,opening,closed,closing. - region_
id string - RegionId.
- region_
status string - RegionStatus.
- resource_
instance_ stringid - ResourceInstanceId.
- resource_
type string - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - sg_
status string - SgStatus.
- sg_
status_ numbertime - SgStatusTime.
- sync_
status string - SyncStatus.
- type string
- Type.
- ali
Uid Integer - AliUid.
- bind
Instance StringId - BindInstanceId.
- bind
Instance StringName - BindInstanceName.
- dry
Run Boolean Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- internet
Address String - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- intranet
Address String - IntranetAddress.
- ip
Version String - The IP version. Valid values:
4(IPv4) and6(IPv6). - lang String
- The language type of the received message.
- member
Uid Integer - The UID of the Cloud Firewall member account.
- name String
- Name.
- note String
- Note.
- protect
Status String - The protection status of the asset. Valid values:
open,opening,closed,closing. - region
Id String - RegionId.
- region
Status String - RegionStatus.
- resource
Instance StringId - ResourceInstanceId.
- resource
Type String - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - sg
Status String - SgStatus.
- sg
Status IntegerTime - SgStatusTime.
- sync
Status String - SyncStatus.
- type String
- Type.
- ali
Uid number - AliUid.
- bind
Instance stringId - BindInstanceId.
- bind
Instance stringName - BindInstanceName.
- dry
Run boolean Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- internet
Address string - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- intranet
Address string - IntranetAddress.
- ip
Version string - The IP version. Valid values:
4(IPv4) and6(IPv6). - lang string
- The language type of the received message.
- member
Uid number - The UID of the Cloud Firewall member account.
- name string
- Name.
- note string
- Note.
- protect
Status string - The protection status of the asset. Valid values:
open,opening,closed,closing. - region
Id string - RegionId.
- region
Status string - RegionStatus.
- resource
Instance stringId - ResourceInstanceId.
- resource
Type string - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - sg
Status string - SgStatus.
- sg
Status numberTime - SgStatusTime.
- sync
Status string - SyncStatus.
- type string
- Type.
- ali_
uid int - AliUid.
- bind_
instance_ strid - BindInstanceId.
- bind_
instance_ strname - BindInstanceName.
- dry_
run bool Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- internet_
address str - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- intranet_
address str - IntranetAddress.
- ip_
version str - The IP version. Valid values:
4(IPv4) and6(IPv6). - lang str
- The language type of the received message.
- member_
uid int - The UID of the Cloud Firewall member account.
- name str
- Name.
- note str
- Note.
- protect_
status str - The protection status of the asset. Valid values:
open,opening,closed,closing. - region_
id str - RegionId.
- region_
status str - RegionStatus.
- resource_
instance_ strid - ResourceInstanceId.
- resource_
type str - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - sg_
status str - SgStatus.
- sg_
status_ inttime - SgStatusTime.
- sync_
status str - SyncStatus.
- type str
- Type.
- ali
Uid Number - AliUid.
- bind
Instance StringId - BindInstanceId.
- bind
Instance StringName - BindInstanceName.
- dry
Run Boolean Specifies whether to precheck the request only. Valid values:
true,false.NOTE: This parameter is only evaluated during resource creation and deletion. Modifying it in isolation will not trigger any action.
- internet
Address String - The public IP address of the internet boundary firewall asset for which to enable or disable protection. It is also the unique ID of the resource.
- intranet
Address String - IntranetAddress.
- ip
Version String - The IP version. Valid values:
4(IPv4) and6(IPv6). - lang String
- The language type of the received message.
- member
Uid Number - The UID of the Cloud Firewall member account.
- name String
- Name.
- note String
- Note.
- protect
Status String - The protection status of the asset. Valid values:
open,opening,closed,closing. - region
Id String - RegionId.
- region
Status String - RegionStatus.
- resource
Instance StringId - ResourceInstanceId.
- resource
Type String - The type of the asset public IP. Valid values:
BastionHostIP,EcsEIP,EcsPublicIP,EIP,EniEIP,NatEIP,NatPublicIP,SlbEIP. - sg
Status String - SgStatus.
- sg
Status NumberTime - SgStatusTime.
- sync
Status String - SyncStatus.
- type String
- Type.
Import
Cloud Firewall Fw Switch can be imported using the id, e.g.
$ pulumi import alicloud:cloudfirewall/fwSwitch:FwSwitch example <internet_address>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Tuesday, Oct 27, 2026 by Pulumi