aviatrix.AviatrixGatewaySnat
Explore with Pulumi AI
Import
gateway_snat can be imported using the gw_name
, e.g.
$ pulumi import aviatrix:index/aviatrixGatewaySnat:AviatrixGatewaySnat test gw_name
Create AviatrixGatewaySnat Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixGatewaySnat(name: string, args: AviatrixGatewaySnatArgs, opts?: CustomResourceOptions);
@overload
def AviatrixGatewaySnat(resource_name: str,
args: AviatrixGatewaySnatArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixGatewaySnat(resource_name: str,
opts: Optional[ResourceOptions] = None,
gw_name: Optional[str] = None,
snat_mode: Optional[str] = None,
snat_policies: Optional[Sequence[AviatrixGatewaySnatSnatPolicyArgs]] = None,
sync_to_ha: Optional[bool] = None)
func NewAviatrixGatewaySnat(ctx *Context, name string, args AviatrixGatewaySnatArgs, opts ...ResourceOption) (*AviatrixGatewaySnat, error)
public AviatrixGatewaySnat(string name, AviatrixGatewaySnatArgs args, CustomResourceOptions? opts = null)
public AviatrixGatewaySnat(String name, AviatrixGatewaySnatArgs args)
public AviatrixGatewaySnat(String name, AviatrixGatewaySnatArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixGatewaySnat
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 AviatrixGatewaySnatArgs
- 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 AviatrixGatewaySnatArgs
- 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 AviatrixGatewaySnatArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AviatrixGatewaySnatArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AviatrixGatewaySnatArgs
- 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 aviatrixGatewaySnatResource = new Aviatrix.AviatrixGatewaySnat("aviatrixGatewaySnatResource", new()
{
GwName = "string",
SnatMode = "string",
SnatPolicies = new[]
{
new Aviatrix.Inputs.AviatrixGatewaySnatSnatPolicyArgs
{
ApplyRouteEntry = false,
Connection = "string",
DstCidr = "string",
DstPort = "string",
ExcludeRtb = "string",
Interface = "string",
Mark = "string",
Protocol = "string",
SnatIps = "string",
SnatPort = "string",
SrcCidr = "string",
SrcPort = "string",
},
},
SyncToHa = false,
});
example, err := aviatrix.NewAviatrixGatewaySnat(ctx, "aviatrixGatewaySnatResource", &aviatrix.AviatrixGatewaySnatArgs{
GwName: pulumi.String("string"),
SnatMode: pulumi.String("string"),
SnatPolicies: aviatrix.AviatrixGatewaySnatSnatPolicyArray{
&aviatrix.AviatrixGatewaySnatSnatPolicyArgs{
ApplyRouteEntry: pulumi.Bool(false),
Connection: pulumi.String("string"),
DstCidr: pulumi.String("string"),
DstPort: pulumi.String("string"),
ExcludeRtb: pulumi.String("string"),
Interface: pulumi.String("string"),
Mark: pulumi.String("string"),
Protocol: pulumi.String("string"),
SnatIps: pulumi.String("string"),
SnatPort: pulumi.String("string"),
SrcCidr: pulumi.String("string"),
SrcPort: pulumi.String("string"),
},
},
SyncToHa: pulumi.Bool(false),
})
var aviatrixGatewaySnatResource = new AviatrixGatewaySnat("aviatrixGatewaySnatResource", AviatrixGatewaySnatArgs.builder()
.gwName("string")
.snatMode("string")
.snatPolicies(AviatrixGatewaySnatSnatPolicyArgs.builder()
.applyRouteEntry(false)
.connection("string")
.dstCidr("string")
.dstPort("string")
.excludeRtb("string")
.interface_("string")
.mark("string")
.protocol("string")
.snatIps("string")
.snatPort("string")
.srcCidr("string")
.srcPort("string")
.build())
.syncToHa(false)
.build());
aviatrix_gateway_snat_resource = aviatrix.AviatrixGatewaySnat("aviatrixGatewaySnatResource",
gw_name="string",
snat_mode="string",
snat_policies=[{
"apply_route_entry": False,
"connection": "string",
"dst_cidr": "string",
"dst_port": "string",
"exclude_rtb": "string",
"interface": "string",
"mark": "string",
"protocol": "string",
"snat_ips": "string",
"snat_port": "string",
"src_cidr": "string",
"src_port": "string",
}],
sync_to_ha=False)
const aviatrixGatewaySnatResource = new aviatrix.AviatrixGatewaySnat("aviatrixGatewaySnatResource", {
gwName: "string",
snatMode: "string",
snatPolicies: [{
applyRouteEntry: false,
connection: "string",
dstCidr: "string",
dstPort: "string",
excludeRtb: "string",
"interface": "string",
mark: "string",
protocol: "string",
snatIps: "string",
snatPort: "string",
srcCidr: "string",
srcPort: "string",
}],
syncToHa: false,
});
type: aviatrix:AviatrixGatewaySnat
properties:
gwName: string
snatMode: string
snatPolicies:
- applyRouteEntry: false
connection: string
dstCidr: string
dstPort: string
excludeRtb: string
interface: string
mark: string
protocol: string
snatIps: string
snatPort: string
srcCidr: string
srcPort: string
syncToHa: false
AviatrixGatewaySnat 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 AviatrixGatewaySnat resource accepts the following input properties:
- Gw
Name string - Name of the Aviatrix gateway the custom SNAT will be configured for.
- Snat
Mode string - NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
- Snat
Policies List<AviatrixGateway Snat Snat Policy> - Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
- Sync
To boolHa - Sync the policies to the HA gateway. Valid values: true, false. Default: false.
- Gw
Name string - Name of the Aviatrix gateway the custom SNAT will be configured for.
- Snat
Mode string - NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
- Snat
Policies []AviatrixGateway Snat Snat Policy Args - Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
- Sync
To boolHa - Sync the policies to the HA gateway. Valid values: true, false. Default: false.
- gw
Name String - Name of the Aviatrix gateway the custom SNAT will be configured for.
- snat
Mode String - NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
- snat
Policies List<AviatrixGateway Snat Snat Policy> - Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
- sync
To BooleanHa - Sync the policies to the HA gateway. Valid values: true, false. Default: false.
- gw
Name string - Name of the Aviatrix gateway the custom SNAT will be configured for.
- snat
Mode string - NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
- snat
Policies AviatrixGateway Snat Snat Policy[] - Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
- sync
To booleanHa - Sync the policies to the HA gateway. Valid values: true, false. Default: false.
- gw_
name str - Name of the Aviatrix gateway the custom SNAT will be configured for.
- snat_
mode str - NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
- snat_
policies Sequence[AviatrixGateway Snat Snat Policy Args] - Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
- sync_
to_ boolha - Sync the policies to the HA gateway. Valid values: true, false. Default: false.
- gw
Name String - Name of the Aviatrix gateway the custom SNAT will be configured for.
- snat
Mode String - NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
- snat
Policies List<Property Map> - Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
- sync
To BooleanHa - Sync the policies to the HA gateway. Valid values: true, false. Default: false.
Outputs
All input properties are implicitly available as output properties. Additionally, the AviatrixGatewaySnat resource produces the following output properties:
- Connection
Policies List<AviatrixGateway Snat Connection Policy> - Computed attribute to store the previous connection policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Interface
Policies List<AviatrixGateway Snat Interface Policy> - Computed attribute to store the previous interface policy.
- Connection
Policies []AviatrixGateway Snat Connection Policy - Computed attribute to store the previous connection policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Interface
Policies []AviatrixGateway Snat Interface Policy - Computed attribute to store the previous interface policy.
- connection
Policies List<AviatrixGateway Snat Connection Policy> - Computed attribute to store the previous connection policy.
- id String
- The provider-assigned unique ID for this managed resource.
- interface
Policies List<AviatrixGateway Snat Interface Policy> - Computed attribute to store the previous interface policy.
- connection
Policies AviatrixGateway Snat Connection Policy[] - Computed attribute to store the previous connection policy.
- id string
- The provider-assigned unique ID for this managed resource.
- interface
Policies AviatrixGateway Snat Interface Policy[] - Computed attribute to store the previous interface policy.
- connection_
policies Sequence[AviatrixGateway Snat Connection Policy] - Computed attribute to store the previous connection policy.
- id str
- The provider-assigned unique ID for this managed resource.
- interface_
policies Sequence[AviatrixGateway Snat Interface Policy] - Computed attribute to store the previous interface policy.
- connection
Policies List<Property Map> - Computed attribute to store the previous connection policy.
- id String
- The provider-assigned unique ID for this managed resource.
- interface
Policies List<Property Map> - Computed attribute to store the previous interface policy.
Look up Existing AviatrixGatewaySnat Resource
Get an existing AviatrixGatewaySnat 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?: AviatrixGatewaySnatState, opts?: CustomResourceOptions): AviatrixGatewaySnat
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connection_policies: Optional[Sequence[AviatrixGatewaySnatConnectionPolicyArgs]] = None,
gw_name: Optional[str] = None,
interface_policies: Optional[Sequence[AviatrixGatewaySnatInterfacePolicyArgs]] = None,
snat_mode: Optional[str] = None,
snat_policies: Optional[Sequence[AviatrixGatewaySnatSnatPolicyArgs]] = None,
sync_to_ha: Optional[bool] = None) -> AviatrixGatewaySnat
func GetAviatrixGatewaySnat(ctx *Context, name string, id IDInput, state *AviatrixGatewaySnatState, opts ...ResourceOption) (*AviatrixGatewaySnat, error)
public static AviatrixGatewaySnat Get(string name, Input<string> id, AviatrixGatewaySnatState? state, CustomResourceOptions? opts = null)
public static AviatrixGatewaySnat get(String name, Output<String> id, AviatrixGatewaySnatState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Connection
Policies List<AviatrixGateway Snat Connection Policy> - Computed attribute to store the previous connection policy.
- Gw
Name string - Name of the Aviatrix gateway the custom SNAT will be configured for.
- Interface
Policies List<AviatrixGateway Snat Interface Policy> - Computed attribute to store the previous interface policy.
- Snat
Mode string - NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
- Snat
Policies List<AviatrixGateway Snat Snat Policy> - Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
- Sync
To boolHa - Sync the policies to the HA gateway. Valid values: true, false. Default: false.
- Connection
Policies []AviatrixGateway Snat Connection Policy Args - Computed attribute to store the previous connection policy.
- Gw
Name string - Name of the Aviatrix gateway the custom SNAT will be configured for.
- Interface
Policies []AviatrixGateway Snat Interface Policy Args - Computed attribute to store the previous interface policy.
- Snat
Mode string - NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
- Snat
Policies []AviatrixGateway Snat Snat Policy Args - Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
- Sync
To boolHa - Sync the policies to the HA gateway. Valid values: true, false. Default: false.
- connection
Policies List<AviatrixGateway Snat Connection Policy> - Computed attribute to store the previous connection policy.
- gw
Name String - Name of the Aviatrix gateway the custom SNAT will be configured for.
- interface
Policies List<AviatrixGateway Snat Interface Policy> - Computed attribute to store the previous interface policy.
- snat
Mode String - NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
- snat
Policies List<AviatrixGateway Snat Snat Policy> - Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
- sync
To BooleanHa - Sync the policies to the HA gateway. Valid values: true, false. Default: false.
- connection
Policies AviatrixGateway Snat Connection Policy[] - Computed attribute to store the previous connection policy.
- gw
Name string - Name of the Aviatrix gateway the custom SNAT will be configured for.
- interface
Policies AviatrixGateway Snat Interface Policy[] - Computed attribute to store the previous interface policy.
- snat
Mode string - NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
- snat
Policies AviatrixGateway Snat Snat Policy[] - Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
- sync
To booleanHa - Sync the policies to the HA gateway. Valid values: true, false. Default: false.
- connection_
policies Sequence[AviatrixGateway Snat Connection Policy Args] - Computed attribute to store the previous connection policy.
- gw_
name str - Name of the Aviatrix gateway the custom SNAT will be configured for.
- interface_
policies Sequence[AviatrixGateway Snat Interface Policy Args] - Computed attribute to store the previous interface policy.
- snat_
mode str - NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
- snat_
policies Sequence[AviatrixGateway Snat Snat Policy Args] - Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
- sync_
to_ boolha - Sync the policies to the HA gateway. Valid values: true, false. Default: false.
- connection
Policies List<Property Map> - Computed attribute to store the previous connection policy.
- gw
Name String - Name of the Aviatrix gateway the custom SNAT will be configured for.
- interface
Policies List<Property Map> - Computed attribute to store the previous interface policy.
- snat
Mode String - NAT mode. Valid values: "customized_snat". Default value: "customized_snat".
- snat
Policies List<Property Map> - Policy rule applied for enabling source NAT (mode: "customized_snat"). Currently only supports AWS(1) and Azure(8).
- sync
To BooleanHa - Sync the policies to the HA gateway. Valid values: true, false. Default: false.
Supporting Types
AviatrixGatewaySnatConnectionPolicy, AviatrixGatewaySnatConnectionPolicyArgs
- Apply
Route boolEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- Connection string
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- Dst
Cidr string - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- Dst
Port string - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- Exclude
Rtb string - This field specifies which VPC private route table will not be programmed with the default route entry.
- Interface string
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - Mark string
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- Protocol string
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- Snat
Ips string - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- Snat
Port string - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- Src
Cidr string - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- Src
Port string - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- Apply
Route boolEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- Connection string
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- Dst
Cidr string - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- Dst
Port string - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- Exclude
Rtb string - This field specifies which VPC private route table will not be programmed with the default route entry.
- Interface string
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - Mark string
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- Protocol string
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- Snat
Ips string - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- Snat
Port string - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- Src
Cidr string - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- Src
Port string - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- apply
Route BooleanEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- connection String
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- dst
Cidr String - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- dst
Port String - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- exclude
Rtb String - This field specifies which VPC private route table will not be programmed with the default route entry.
- interface_ String
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - mark String
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- protocol String
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- snat
Ips String - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- snat
Port String - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- src
Cidr String - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- src
Port String - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- apply
Route booleanEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- connection string
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- dst
Cidr string - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- dst
Port string - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- exclude
Rtb string - This field specifies which VPC private route table will not be programmed with the default route entry.
- interface string
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - mark string
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- protocol string
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- snat
Ips string - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- snat
Port string - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- src
Cidr string - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- src
Port string - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- apply_
route_ boolentry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- connection str
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- dst_
cidr str - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- dst_
port str - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- exclude_
rtb str - This field specifies which VPC private route table will not be programmed with the default route entry.
- interface str
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - mark str
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- protocol str
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- snat_
ips str - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- snat_
port str - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- src_
cidr str - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- src_
port str - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- apply
Route BooleanEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- connection String
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- dst
Cidr String - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- dst
Port String - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- exclude
Rtb String - This field specifies which VPC private route table will not be programmed with the default route entry.
- interface String
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - mark String
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- protocol String
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- snat
Ips String - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- snat
Port String - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- src
Cidr String - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- src
Port String - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
AviatrixGatewaySnatInterfacePolicy, AviatrixGatewaySnatInterfacePolicyArgs
- Apply
Route boolEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- Connection string
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- Dst
Cidr string - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- Dst
Port string - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- Exclude
Rtb string - This field specifies which VPC private route table will not be programmed with the default route entry.
- Interface string
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - Mark string
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- Protocol string
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- Snat
Ips string - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- Snat
Port string - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- Src
Cidr string - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- Src
Port string - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- Apply
Route boolEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- Connection string
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- Dst
Cidr string - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- Dst
Port string - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- Exclude
Rtb string - This field specifies which VPC private route table will not be programmed with the default route entry.
- Interface string
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - Mark string
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- Protocol string
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- Snat
Ips string - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- Snat
Port string - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- Src
Cidr string - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- Src
Port string - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- apply
Route BooleanEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- connection String
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- dst
Cidr String - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- dst
Port String - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- exclude
Rtb String - This field specifies which VPC private route table will not be programmed with the default route entry.
- interface_ String
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - mark String
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- protocol String
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- snat
Ips String - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- snat
Port String - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- src
Cidr String - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- src
Port String - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- apply
Route booleanEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- connection string
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- dst
Cidr string - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- dst
Port string - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- exclude
Rtb string - This field specifies which VPC private route table will not be programmed with the default route entry.
- interface string
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - mark string
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- protocol string
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- snat
Ips string - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- snat
Port string - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- src
Cidr string - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- src
Port string - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- apply_
route_ boolentry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- connection str
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- dst_
cidr str - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- dst_
port str - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- exclude_
rtb str - This field specifies which VPC private route table will not be programmed with the default route entry.
- interface str
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - mark str
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- protocol str
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- snat_
ips str - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- snat_
port str - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- src_
cidr str - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- src_
port str - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- apply
Route BooleanEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- connection String
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- dst
Cidr String - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- dst
Port String - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- exclude
Rtb String - This field specifies which VPC private route table will not be programmed with the default route entry.
- interface String
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - mark String
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- protocol String
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- snat
Ips String - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- snat
Port String - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- src
Cidr String - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- src
Port String - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
AviatrixGatewaySnatSnatPolicy, AviatrixGatewaySnatSnatPolicyArgs
- Apply
Route boolEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- Connection string
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- Dst
Cidr string - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- Dst
Port string - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- Exclude
Rtb string - This field specifies which VPC private route table will not be programmed with the default route entry.
- Interface string
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - Mark string
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- Protocol string
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- Snat
Ips string - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- Snat
Port string - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- Src
Cidr string - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- Src
Port string - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- Apply
Route boolEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- Connection string
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- Dst
Cidr string - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- Dst
Port string - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- Exclude
Rtb string - This field specifies which VPC private route table will not be programmed with the default route entry.
- Interface string
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - Mark string
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- Protocol string
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- Snat
Ips string - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- Snat
Port string - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- Src
Cidr string - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- Src
Port string - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- apply
Route BooleanEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- connection String
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- dst
Cidr String - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- dst
Port String - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- exclude
Rtb String - This field specifies which VPC private route table will not be programmed with the default route entry.
- interface_ String
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - mark String
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- protocol String
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- snat
Ips String - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- snat
Port String - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- src
Cidr String - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- src
Port String - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- apply
Route booleanEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- connection string
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- dst
Cidr string - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- dst
Port string - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- exclude
Rtb string - This field specifies which VPC private route table will not be programmed with the default route entry.
- interface string
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - mark string
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- protocol string
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- snat
Ips string - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- snat
Port string - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- src
Cidr string - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- src
Port string - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- apply_
route_ boolentry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- connection str
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- dst_
cidr str - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- dst_
port str - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- exclude_
rtb str - This field specifies which VPC private route table will not be programmed with the default route entry.
- interface str
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - mark str
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- protocol str
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- snat_
ips str - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- snat_
port str - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- src_
cidr str - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- src_
port str - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
- apply
Route BooleanEntry - This is an option to program the route entry 'DST CIDR pointing to Aviatrix Gateway' into Cloud platform routing table. Type: Boolean. Default: True. Available as of provider version R2.21.0+.
- connection String
- This is a qualifier condition that specifies output connection where the rule applies. Default value: "None".
- dst
Cidr String - This is a qualifier condition that specifies a destination IP address range where the rule applies. When not specified, this field is not used.
- dst
Port String - This is a qualifier condition that specifies a destination port where the rule applies. When not specified, this field is not used.
- exclude
Rtb String - This field specifies which VPC private route table will not be programmed with the default route entry.
- interface String
- This is a qualifier condition that specifies output interface where the rule applies. When not specified, this field is not used. Must be empty when
connection
is set. - mark String
- This is a qualifier condition that specifies a tag or mark of a TCP session where the rule applies. When not specified, this field is not used.
- protocol String
- This is a qualifier condition that specifies a destination port protocol where the rule applies. Valid values: 'all', 'tcp', 'udp', 'icmp'. 'Default: 'all'.
- snat
Ips String - This is a rule field that specifies the changed source IP address when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- snat
Port String - This is a rule field that specifies the changed source port when all specified qualifier conditions meet. When not specified, this field is not used. One of the rule fields must be specified for this rule to take effect.
- src
Cidr String - This is a qualifier condition that specifies a source IP address range where the rule applies. When not specified, this field is not used.
- src
Port String - This is a qualifier condition that specifies a source port that the rule applies. When not specified, this field is not used.
Package Details
- Repository
- aviatrix astipkovits/pulumi-aviatrix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aviatrix
Terraform Provider.