1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. MagicTransitSiteAcl
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

cloudflare.MagicTransitSiteAcl

Explore with Pulumi AI

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  exampleMagicTransitSiteAcl:
    type: cloudflare:MagicTransitSiteAcl
    name: example_magic_transit_site_acl
    properties:
      accountId: 023e105f4ecef8ad9ca31a8372d0c353
      siteId: 023e105f4ecef8ad9ca31a8372d0c353
      lan1:
        lan_id: lan_id
        lan_name: lan_name
        port_ranges:
          - 8080-9000
        ports:
          - 1
        subnets:
          - 192.0.2.1
      lan2:
        lan_id: lan_id
        lan_name: lan_name
        port_ranges:
          - 8080-9000
        ports:
          - 1
        subnets:
          - 192.0.2.1
      name: PIN Pad - Cash Register
      description: Allows local traffic between PIN pads and cash register.
      forwardLocally: true
      protocols:
        - tcp
      unidirectional: true
Copy

Create MagicTransitSiteAcl Resource

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

Constructor syntax

new MagicTransitSiteAcl(name: string, args: MagicTransitSiteAclArgs, opts?: CustomResourceOptions);
@overload
def MagicTransitSiteAcl(resource_name: str,
                        args: MagicTransitSiteAclArgs,
                        opts: Optional[ResourceOptions] = None)

@overload
def MagicTransitSiteAcl(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        account_id: Optional[str] = None,
                        lan1: Optional[MagicTransitSiteAclLan1Args] = None,
                        lan2: Optional[MagicTransitSiteAclLan2Args] = None,
                        name: Optional[str] = None,
                        site_id: Optional[str] = None,
                        description: Optional[str] = None,
                        forward_locally: Optional[bool] = None,
                        protocols: Optional[Sequence[str]] = None,
                        unidirectional: Optional[bool] = None)
func NewMagicTransitSiteAcl(ctx *Context, name string, args MagicTransitSiteAclArgs, opts ...ResourceOption) (*MagicTransitSiteAcl, error)
public MagicTransitSiteAcl(string name, MagicTransitSiteAclArgs args, CustomResourceOptions? opts = null)
public MagicTransitSiteAcl(String name, MagicTransitSiteAclArgs args)
public MagicTransitSiteAcl(String name, MagicTransitSiteAclArgs args, CustomResourceOptions options)
type: cloudflare:MagicTransitSiteAcl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. MagicTransitSiteAclArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. MagicTransitSiteAclArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. MagicTransitSiteAclArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. MagicTransitSiteAclArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. MagicTransitSiteAclArgs
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 magicTransitSiteAclResource = new Cloudflare.MagicTransitSiteAcl("magicTransitSiteAclResource", new()
{
    AccountId = "string",
    Lan1 = new Cloudflare.Inputs.MagicTransitSiteAclLan1Args
    {
        LanId = "string",
        LanName = "string",
        PortRanges = new[]
        {
            "string",
        },
        Ports = new[]
        {
            0,
        },
        Subnets = new[]
        {
            "string",
        },
    },
    Lan2 = new Cloudflare.Inputs.MagicTransitSiteAclLan2Args
    {
        LanId = "string",
        LanName = "string",
        PortRanges = new[]
        {
            "string",
        },
        Ports = new[]
        {
            0,
        },
        Subnets = new[]
        {
            "string",
        },
    },
    Name = "string",
    SiteId = "string",
    Description = "string",
    ForwardLocally = false,
    Protocols = new[]
    {
        "string",
    },
    Unidirectional = false,
});
Copy
example, err := cloudflare.NewMagicTransitSiteAcl(ctx, "magicTransitSiteAclResource", &cloudflare.MagicTransitSiteAclArgs{
	AccountId: pulumi.String("string"),
	Lan1: &cloudflare.MagicTransitSiteAclLan1Args{
		LanId:   pulumi.String("string"),
		LanName: pulumi.String("string"),
		PortRanges: pulumi.StringArray{
			pulumi.String("string"),
		},
		Ports: pulumi.IntArray{
			pulumi.Int(0),
		},
		Subnets: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	Lan2: &cloudflare.MagicTransitSiteAclLan2Args{
		LanId:   pulumi.String("string"),
		LanName: pulumi.String("string"),
		PortRanges: pulumi.StringArray{
			pulumi.String("string"),
		},
		Ports: pulumi.IntArray{
			pulumi.Int(0),
		},
		Subnets: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	Name:           pulumi.String("string"),
	SiteId:         pulumi.String("string"),
	Description:    pulumi.String("string"),
	ForwardLocally: pulumi.Bool(false),
	Protocols: pulumi.StringArray{
		pulumi.String("string"),
	},
	Unidirectional: pulumi.Bool(false),
})
Copy
var magicTransitSiteAclResource = new MagicTransitSiteAcl("magicTransitSiteAclResource", MagicTransitSiteAclArgs.builder()
    .accountId("string")
    .lan1(MagicTransitSiteAclLan1Args.builder()
        .lanId("string")
        .lanName("string")
        .portRanges("string")
        .ports(0)
        .subnets("string")
        .build())
    .lan2(MagicTransitSiteAclLan2Args.builder()
        .lanId("string")
        .lanName("string")
        .portRanges("string")
        .ports(0)
        .subnets("string")
        .build())
    .name("string")
    .siteId("string")
    .description("string")
    .forwardLocally(false)
    .protocols("string")
    .unidirectional(false)
    .build());
Copy
magic_transit_site_acl_resource = cloudflare.MagicTransitSiteAcl("magicTransitSiteAclResource",
    account_id="string",
    lan1={
        "lan_id": "string",
        "lan_name": "string",
        "port_ranges": ["string"],
        "ports": [0],
        "subnets": ["string"],
    },
    lan2={
        "lan_id": "string",
        "lan_name": "string",
        "port_ranges": ["string"],
        "ports": [0],
        "subnets": ["string"],
    },
    name="string",
    site_id="string",
    description="string",
    forward_locally=False,
    protocols=["string"],
    unidirectional=False)
Copy
const magicTransitSiteAclResource = new cloudflare.MagicTransitSiteAcl("magicTransitSiteAclResource", {
    accountId: "string",
    lan1: {
        lanId: "string",
        lanName: "string",
        portRanges: ["string"],
        ports: [0],
        subnets: ["string"],
    },
    lan2: {
        lanId: "string",
        lanName: "string",
        portRanges: ["string"],
        ports: [0],
        subnets: ["string"],
    },
    name: "string",
    siteId: "string",
    description: "string",
    forwardLocally: false,
    protocols: ["string"],
    unidirectional: false,
});
Copy
type: cloudflare:MagicTransitSiteAcl
properties:
    accountId: string
    description: string
    forwardLocally: false
    lan1:
        lanId: string
        lanName: string
        portRanges:
            - string
        ports:
            - 0
        subnets:
            - string
    lan2:
        lanId: string
        lanName: string
        portRanges:
            - string
        ports:
            - 0
        subnets:
            - string
    name: string
    protocols:
        - string
    siteId: string
    unidirectional: false
Copy

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

AccountId This property is required. string
Identifier
Lan1 This property is required. MagicTransitSiteAclLan1
Lan2 This property is required. MagicTransitSiteAclLan2
Name This property is required. string
The name of the ACL.
SiteId This property is required. string
Identifier
Description string
Description for the ACL.
ForwardLocally bool
The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
Protocols List<string>
Unidirectional bool
The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
AccountId This property is required. string
Identifier
Lan1 This property is required. MagicTransitSiteAclLan1Args
Lan2 This property is required. MagicTransitSiteAclLan2Args
Name This property is required. string
The name of the ACL.
SiteId This property is required. string
Identifier
Description string
Description for the ACL.
ForwardLocally bool
The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
Protocols []string
Unidirectional bool
The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
accountId This property is required. String
Identifier
lan1 This property is required. MagicTransitSiteAclLan1
lan2 This property is required. MagicTransitSiteAclLan2
name This property is required. String
The name of the ACL.
siteId This property is required. String
Identifier
description String
Description for the ACL.
forwardLocally Boolean
The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
protocols List<String>
unidirectional Boolean
The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
accountId This property is required. string
Identifier
lan1 This property is required. MagicTransitSiteAclLan1
lan2 This property is required. MagicTransitSiteAclLan2
name This property is required. string
The name of the ACL.
siteId This property is required. string
Identifier
description string
Description for the ACL.
forwardLocally boolean
The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
protocols string[]
unidirectional boolean
The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
account_id This property is required. str
Identifier
lan1 This property is required. MagicTransitSiteAclLan1Args
lan2 This property is required. MagicTransitSiteAclLan2Args
name This property is required. str
The name of the ACL.
site_id This property is required. str
Identifier
description str
Description for the ACL.
forward_locally bool
The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
protocols Sequence[str]
unidirectional bool
The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
accountId This property is required. String
Identifier
lan1 This property is required. Property Map
lan2 This property is required. Property Map
name This property is required. String
The name of the ACL.
siteId This property is required. String
Identifier
description String
Description for the ACL.
forwardLocally Boolean
The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
protocols List<String>
unidirectional Boolean
The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.

Outputs

All input properties are implicitly available as output properties. Additionally, the MagicTransitSiteAcl 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 MagicTransitSiteAcl Resource

Get an existing MagicTransitSiteAcl 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?: MagicTransitSiteAclState, opts?: CustomResourceOptions): MagicTransitSiteAcl
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        description: Optional[str] = None,
        forward_locally: Optional[bool] = None,
        lan1: Optional[MagicTransitSiteAclLan1Args] = None,
        lan2: Optional[MagicTransitSiteAclLan2Args] = None,
        name: Optional[str] = None,
        protocols: Optional[Sequence[str]] = None,
        site_id: Optional[str] = None,
        unidirectional: Optional[bool] = None) -> MagicTransitSiteAcl
func GetMagicTransitSiteAcl(ctx *Context, name string, id IDInput, state *MagicTransitSiteAclState, opts ...ResourceOption) (*MagicTransitSiteAcl, error)
public static MagicTransitSiteAcl Get(string name, Input<string> id, MagicTransitSiteAclState? state, CustomResourceOptions? opts = null)
public static MagicTransitSiteAcl get(String name, Output<String> id, MagicTransitSiteAclState state, CustomResourceOptions options)
resources:  _:    type: cloudflare:MagicTransitSiteAcl    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AccountId string
Identifier
Description string
Description for the ACL.
ForwardLocally bool
The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
Lan1 MagicTransitSiteAclLan1
Lan2 MagicTransitSiteAclLan2
Name string
The name of the ACL.
Protocols List<string>
SiteId string
Identifier
Unidirectional bool
The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
AccountId string
Identifier
Description string
Description for the ACL.
ForwardLocally bool
The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
Lan1 MagicTransitSiteAclLan1Args
Lan2 MagicTransitSiteAclLan2Args
Name string
The name of the ACL.
Protocols []string
SiteId string
Identifier
Unidirectional bool
The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
accountId String
Identifier
description String
Description for the ACL.
forwardLocally Boolean
The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
lan1 MagicTransitSiteAclLan1
lan2 MagicTransitSiteAclLan2
name String
The name of the ACL.
protocols List<String>
siteId String
Identifier
unidirectional Boolean
The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
accountId string
Identifier
description string
Description for the ACL.
forwardLocally boolean
The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
lan1 MagicTransitSiteAclLan1
lan2 MagicTransitSiteAclLan2
name string
The name of the ACL.
protocols string[]
siteId string
Identifier
unidirectional boolean
The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
account_id str
Identifier
description str
Description for the ACL.
forward_locally bool
The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
lan1 MagicTransitSiteAclLan1Args
lan2 MagicTransitSiteAclLan2Args
name str
The name of the ACL.
protocols Sequence[str]
site_id str
Identifier
unidirectional bool
The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.
accountId String
Identifier
description String
Description for the ACL.
forwardLocally Boolean
The desired forwarding action for this ACL policy. If set to "false", the policy will forward traffic to Cloudflare. If set to "true", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.
lan1 Property Map
lan2 Property Map
name String
The name of the ACL.
protocols List<String>
siteId String
Identifier
unidirectional Boolean
The desired traffic direction for this ACL policy. If set to "false", the policy will allow bidirectional traffic. If set to "true", the policy will only allow traffic in one direction. If not included in request, will default to false.

Supporting Types

MagicTransitSiteAclLan1
, MagicTransitSiteAclLan1Args

LanId This property is required. string
The identifier for the LAN you want to create an ACL policy with.
LanName string
The name of the LAN based on the provided lan_id.
PortRanges List<string>
Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
Ports List<int>
Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
Subnets List<string>
Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
LanId This property is required. string
The identifier for the LAN you want to create an ACL policy with.
LanName string
The name of the LAN based on the provided lan_id.
PortRanges []string
Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
Ports []int
Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
Subnets []string
Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
lanId This property is required. String
The identifier for the LAN you want to create an ACL policy with.
lanName String
The name of the LAN based on the provided lan_id.
portRanges List<String>
Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
ports List<Integer>
Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
subnets List<String>
Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
lanId This property is required. string
The identifier for the LAN you want to create an ACL policy with.
lanName string
The name of the LAN based on the provided lan_id.
portRanges string[]
Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
ports number[]
Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
subnets string[]
Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
lan_id This property is required. str
The identifier for the LAN you want to create an ACL policy with.
lan_name str
The name of the LAN based on the provided lan_id.
port_ranges Sequence[str]
Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
ports Sequence[int]
Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
subnets Sequence[str]
Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
lanId This property is required. String
The identifier for the LAN you want to create an ACL policy with.
lanName String
The name of the LAN based on the provided lan_id.
portRanges List<String>
Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
ports List<Number>
Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
subnets List<String>
Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.

MagicTransitSiteAclLan2
, MagicTransitSiteAclLan2Args

LanId This property is required. string
The identifier for the LAN you want to create an ACL policy with.
LanName string
The name of the LAN based on the provided lan_id.
PortRanges List<string>
Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
Ports List<int>
Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
Subnets List<string>
Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
LanId This property is required. string
The identifier for the LAN you want to create an ACL policy with.
LanName string
The name of the LAN based on the provided lan_id.
PortRanges []string
Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
Ports []int
Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
Subnets []string
Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
lanId This property is required. String
The identifier for the LAN you want to create an ACL policy with.
lanName String
The name of the LAN based on the provided lan_id.
portRanges List<String>
Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
ports List<Integer>
Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
subnets List<String>
Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
lanId This property is required. string
The identifier for the LAN you want to create an ACL policy with.
lanName string
The name of the LAN based on the provided lan_id.
portRanges string[]
Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
ports number[]
Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
subnets string[]
Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
lan_id This property is required. str
The identifier for the LAN you want to create an ACL policy with.
lan_name str
The name of the LAN based on the provided lan_id.
port_ranges Sequence[str]
Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
ports Sequence[int]
Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
subnets Sequence[str]
Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.
lanId This property is required. String
The identifier for the LAN you want to create an ACL policy with.
lanName String
The name of the LAN based on the provided lan_id.
portRanges List<String>
Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.
ports List<Number>
Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.
subnets List<String>
Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.

Import

$ pulumi import cloudflare:index/magicTransitSiteAcl:MagicTransitSiteAcl example '<account_id>/<site_id>/<acl_id>'
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.