1. Packages
  2. Aviatrix
  3. API Docs
  4. AviatrixFirewallManagementAccess
Aviatrix v0.0.11 published on Saturday, Jun 17, 2023 by Aviatrix

aviatrix.AviatrixFirewallManagementAccess

Explore with Pulumi AI

The aviatrix_firewall_management_access resource allows the management of which resource to permit visibility into the Transit (FireNet) VPC.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;

return await Deployment.RunAsync(() => 
{
    // Create an Aviatrix Firewall Management Access
    var testFirewallManagementAccess = new Aviatrix.AviatrixFirewallManagementAccess("testFirewallManagementAccess", new()
    {
        ManagementAccessResourceName = "SPOKE:spoke-gw",
        TransitFirenetGatewayName = "transit-gw",
    });

});
Copy
package main

import (
	"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := aviatrix.NewAviatrixFirewallManagementAccess(ctx, "testFirewallManagementAccess", &aviatrix.AviatrixFirewallManagementAccessArgs{
			ManagementAccessResourceName: pulumi.String("SPOKE:spoke-gw"),
			TransitFirenetGatewayName:    pulumi.String("transit-gw"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aviatrix.AviatrixFirewallManagementAccess;
import com.pulumi.aviatrix.AviatrixFirewallManagementAccessArgs;
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 testFirewallManagementAccess = new AviatrixFirewallManagementAccess("testFirewallManagementAccess", AviatrixFirewallManagementAccessArgs.builder()        
            .managementAccessResourceName("SPOKE:spoke-gw")
            .transitFirenetGatewayName("transit-gw")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";

// Create an Aviatrix Firewall Management Access
const testFirewallManagementAccess = new aviatrix.AviatrixFirewallManagementAccess("test_firewall_management_access", {
    managementAccessResourceName: "SPOKE:spoke-gw",
    transitFirenetGatewayName: "transit-gw",
});
Copy
import pulumi
import pulumi_aviatrix as aviatrix

# Create an Aviatrix Firewall Management Access
test_firewall_management_access = aviatrix.AviatrixFirewallManagementAccess("testFirewallManagementAccess",
    management_access_resource_name="SPOKE:spoke-gw",
    transit_firenet_gateway_name="transit-gw")
Copy
resources:
  # Create an Aviatrix Firewall Management Access
  testFirewallManagementAccess:
    type: aviatrix:AviatrixFirewallManagementAccess
    properties:
      managementAccessResourceName: SPOKE:spoke-gw
      transitFirenetGatewayName: transit-gw
Copy

Create AviatrixFirewallManagementAccess Resource

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

Constructor syntax

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

@overload
def AviatrixFirewallManagementAccess(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     management_access_resource_name: Optional[str] = None,
                                     transit_firenet_gateway_name: Optional[str] = None)
func NewAviatrixFirewallManagementAccess(ctx *Context, name string, args AviatrixFirewallManagementAccessArgs, opts ...ResourceOption) (*AviatrixFirewallManagementAccess, error)
public AviatrixFirewallManagementAccess(string name, AviatrixFirewallManagementAccessArgs args, CustomResourceOptions? opts = null)
public AviatrixFirewallManagementAccess(String name, AviatrixFirewallManagementAccessArgs args)
public AviatrixFirewallManagementAccess(String name, AviatrixFirewallManagementAccessArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixFirewallManagementAccess
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. AviatrixFirewallManagementAccessArgs
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. AviatrixFirewallManagementAccessArgs
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. AviatrixFirewallManagementAccessArgs
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. AviatrixFirewallManagementAccessArgs
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. AviatrixFirewallManagementAccessArgs
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 aviatrixFirewallManagementAccessResource = new Aviatrix.AviatrixFirewallManagementAccess("aviatrixFirewallManagementAccessResource", new()
{
    ManagementAccessResourceName = "string",
    TransitFirenetGatewayName = "string",
});
Copy
example, err := aviatrix.NewAviatrixFirewallManagementAccess(ctx, "aviatrixFirewallManagementAccessResource", &aviatrix.AviatrixFirewallManagementAccessArgs{
	ManagementAccessResourceName: pulumi.String("string"),
	TransitFirenetGatewayName:    pulumi.String("string"),
})
Copy
var aviatrixFirewallManagementAccessResource = new AviatrixFirewallManagementAccess("aviatrixFirewallManagementAccessResource", AviatrixFirewallManagementAccessArgs.builder()
    .managementAccessResourceName("string")
    .transitFirenetGatewayName("string")
    .build());
Copy
aviatrix_firewall_management_access_resource = aviatrix.AviatrixFirewallManagementAccess("aviatrixFirewallManagementAccessResource",
    management_access_resource_name="string",
    transit_firenet_gateway_name="string")
Copy
const aviatrixFirewallManagementAccessResource = new aviatrix.AviatrixFirewallManagementAccess("aviatrixFirewallManagementAccessResource", {
    managementAccessResourceName: "string",
    transitFirenetGatewayName: "string",
});
Copy
type: aviatrix:AviatrixFirewallManagementAccess
properties:
    managementAccessResourceName: string
    transitFirenetGatewayName: string
Copy

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

ManagementAccessResourceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource to enable Firewall Management Access.
TransitFirenetGatewayName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Transit FireNet-enabled transit gateway. Currently supports AWS(1) and Azure(8) providers.
ManagementAccessResourceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource to enable Firewall Management Access.
TransitFirenetGatewayName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Transit FireNet-enabled transit gateway. Currently supports AWS(1) and Azure(8) providers.
managementAccessResourceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource to enable Firewall Management Access.
transitFirenetGatewayName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Transit FireNet-enabled transit gateway. Currently supports AWS(1) and Azure(8) providers.
managementAccessResourceName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource to enable Firewall Management Access.
transitFirenetGatewayName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Transit FireNet-enabled transit gateway. Currently supports AWS(1) and Azure(8) providers.
management_access_resource_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource to enable Firewall Management Access.
transit_firenet_gateway_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Transit FireNet-enabled transit gateway. Currently supports AWS(1) and Azure(8) providers.
managementAccessResourceName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource to enable Firewall Management Access.
transitFirenetGatewayName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Transit FireNet-enabled transit gateway. Currently supports AWS(1) and Azure(8) providers.

Outputs

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

Get an existing AviatrixFirewallManagementAccess 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?: AviatrixFirewallManagementAccessState, opts?: CustomResourceOptions): AviatrixFirewallManagementAccess
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        management_access_resource_name: Optional[str] = None,
        transit_firenet_gateway_name: Optional[str] = None) -> AviatrixFirewallManagementAccess
func GetAviatrixFirewallManagementAccess(ctx *Context, name string, id IDInput, state *AviatrixFirewallManagementAccessState, opts ...ResourceOption) (*AviatrixFirewallManagementAccess, error)
public static AviatrixFirewallManagementAccess Get(string name, Input<string> id, AviatrixFirewallManagementAccessState? state, CustomResourceOptions? opts = null)
public static AviatrixFirewallManagementAccess get(String name, Output<String> id, AviatrixFirewallManagementAccessState state, CustomResourceOptions options)
resources:  _:    type: aviatrix:AviatrixFirewallManagementAccess    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:
ManagementAccessResourceName Changes to this property will trigger replacement. string
Name of the resource to enable Firewall Management Access.
TransitFirenetGatewayName Changes to this property will trigger replacement. string
Name of the Transit FireNet-enabled transit gateway. Currently supports AWS(1) and Azure(8) providers.
ManagementAccessResourceName Changes to this property will trigger replacement. string
Name of the resource to enable Firewall Management Access.
TransitFirenetGatewayName Changes to this property will trigger replacement. string
Name of the Transit FireNet-enabled transit gateway. Currently supports AWS(1) and Azure(8) providers.
managementAccessResourceName Changes to this property will trigger replacement. String
Name of the resource to enable Firewall Management Access.
transitFirenetGatewayName Changes to this property will trigger replacement. String
Name of the Transit FireNet-enabled transit gateway. Currently supports AWS(1) and Azure(8) providers.
managementAccessResourceName Changes to this property will trigger replacement. string
Name of the resource to enable Firewall Management Access.
transitFirenetGatewayName Changes to this property will trigger replacement. string
Name of the Transit FireNet-enabled transit gateway. Currently supports AWS(1) and Azure(8) providers.
management_access_resource_name Changes to this property will trigger replacement. str
Name of the resource to enable Firewall Management Access.
transit_firenet_gateway_name Changes to this property will trigger replacement. str
Name of the Transit FireNet-enabled transit gateway. Currently supports AWS(1) and Azure(8) providers.
managementAccessResourceName Changes to this property will trigger replacement. String
Name of the resource to enable Firewall Management Access.
transitFirenetGatewayName Changes to this property will trigger replacement. String
Name of the Transit FireNet-enabled transit gateway. Currently supports AWS(1) and Azure(8) providers.

Import

firewall_management_access can be imported using the transit_firenet_gateway_name, e.g.

 $ pulumi import aviatrix:index/aviatrixFirewallManagementAccess:AviatrixFirewallManagementAccess test transit_firenet_gateway_name
Copy

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

Package Details

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