MagicTransitSiteAclArgs

data class MagicTransitSiteAclArgs(val accountId: Output<String>? = null, val description: Output<String>? = null, val forwardLocally: Output<Boolean>? = null, val lan1: Output<MagicTransitSiteAclLan1Args>? = null, val lan2: Output<MagicTransitSiteAclLan2Args>? = null, val name: Output<String>? = null, val protocols: Output<List<String>>? = null, val siteId: Output<String>? = null, val unidirectional: Output<Boolean>? = null) : ConvertibleToJava<MagicTransitSiteAclArgs>

Example Usage

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

Import

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

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, description: Output<String>? = null, forwardLocally: Output<Boolean>? = null, lan1: Output<MagicTransitSiteAclLan1Args>? = null, lan2: Output<MagicTransitSiteAclLan2Args>? = null, name: Output<String>? = null, protocols: Output<List<String>>? = null, siteId: Output<String>? = null, unidirectional: Output<Boolean>? = null)

Properties

Link copied to clipboard
val accountId: Output<String>? = null

Identifier

Link copied to clipboard
val description: Output<String>? = null

Description for the ACL.

Link copied to clipboard
val forwardLocally: Output<Boolean>? = null

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.

Link copied to clipboard
val lan1: Output<MagicTransitSiteAclLan1Args>? = null
Link copied to clipboard
val lan2: Output<MagicTransitSiteAclLan2Args>? = null
Link copied to clipboard
val name: Output<String>? = null

The name of the ACL.

Link copied to clipboard
val protocols: Output<List<String>>? = null
Link copied to clipboard
val siteId: Output<String>? = null

Identifier

Link copied to clipboard
val unidirectional: Output<Boolean>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): MagicTransitSiteAclArgs