FirewallVpcFirewall

Provides a Cloud Firewall Vpc Firewall resource. For information about Cloud Firewall Vpc Firewall and how to use it, see What is Vpc Firewall.

NOTE: Available in v1.194.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cloudfirewall.FirewallVpcFirewall;
import com.pulumi.alicloud.cloudfirewall.FirewallVpcFirewallArgs;
import com.pulumi.alicloud.cloudfirewall.inputs.FirewallVpcFirewallLocalVpcArgs;
import com.pulumi.alicloud.cloudfirewall.inputs.FirewallVpcFirewallPeerVpcArgs;
import java.util.List;
import java.util.ArrayList;
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 default_ = new FirewallVpcFirewall("default", FirewallVpcFirewallArgs.builder()
.localVpc(FirewallVpcFirewallLocalVpcArgs.builder()
.localVpcCidrTableLists(FirewallVpcFirewallLocalVpcLocalVpcCidrTableListArgs.builder()
.localRouteEntryList(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.localRouteTableId("vtb-bp1lj0ddg846856chpzrv")
.build())
.regionNo("cn-hangzhou")
.vpcId("vpc-bp1d065m6hzn1xbw8ibfd")
.build())
.memberUid("1415189284827022")
.peerVpc(FirewallVpcFirewallPeerVpcArgs.builder()
.peerVpcCidrTableLists(FirewallVpcFirewallPeerVpcPeerVpcCidrTableListArgs.builder()
.peerRouteEntryList(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.peerRouteTableId("vtb-bp1f516f2hh4sok1ig9b5")
.build())
.regionNo("cn-hangzhou")
.vpcId("vpc-bp1gcmm64o3caox84v0nz")
.build())
.status("open")
.vpcFirewallName("tf-test")
.build());
}
}

Import

Cloud Firewall Vpc Firewall can be imported using the id, e.g.

$ pulumi import alicloud:cloudfirewall/firewallVpcFirewall:FirewallVpcFirewall example <id>

Properties

Link copied to clipboard
val bandwidth: Output<Int>

Bandwidth specifications for high-speed channels. Unit: Mbps.

Link copied to clipboard
val connectType: Output<String>

The communication type of the VPC firewall. Valid value: expressconnect, which indicates Express Connect.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val lang: Output<String>

The language type of the requested and received messages. Value:zh (default): Chinese.en: English.

Link copied to clipboard

The details of the local VPC. See the following Block LocalVpc.

Link copied to clipboard
val memberUid: Output<String>?

The UID of the Alibaba Cloud member account.

Link copied to clipboard

The details of the peer VPC. See the following Block PeerVpc.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val regionStatus: Output<String>

The region is open. Value:-enable: is enabled, indicating that VPC firewall can be configured in this region.-disable: indicates that VPC firewall cannot be configured in this region.

Link copied to clipboard
val status: Output<String>

The status of the resource

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcFirewallId: Output<String>

The ID of the VPC firewall instance.

Link copied to clipboard
val vpcFirewallName: Output<String>

The name of the VPC firewall instance.