Aquasec

v0.2.2 published on Monday, Nov 14, 2022 by Pulumiverse

FirewallPolicy

Create FirewallPolicy Resource

new FirewallPolicy(name: string, args?: FirewallPolicyArgs, opts?: CustomResourceOptions);
@overload
def FirewallPolicy(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   block_icmp_ping: Optional[bool] = None,
                   block_metadata_service: Optional[bool] = None,
                   description: Optional[str] = None,
                   inbound_networks: Optional[Sequence[FirewallPolicyInboundNetworkArgs]] = None,
                   name: Optional[str] = None,
                   outbound_networks: Optional[Sequence[FirewallPolicyOutboundNetworkArgs]] = None,
                   type: Optional[str] = None,
                   version: Optional[str] = None)
@overload
def FirewallPolicy(resource_name: str,
                   args: Optional[FirewallPolicyArgs] = None,
                   opts: Optional[ResourceOptions] = None)
func NewFirewallPolicy(ctx *Context, name string, args *FirewallPolicyArgs, opts ...ResourceOption) (*FirewallPolicy, error)
public FirewallPolicy(string name, FirewallPolicyArgs? args = null, CustomResourceOptions? opts = null)
public FirewallPolicy(String name, FirewallPolicyArgs args)
public FirewallPolicy(String name, FirewallPolicyArgs args, CustomResourceOptions options)
type: aquasec:FirewallPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args FirewallPolicyArgs
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 FirewallPolicyArgs
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 FirewallPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args FirewallPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args FirewallPolicyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

FirewallPolicy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The FirewallPolicy resource accepts the following input properties:

BlockIcmpPing bool

Indicates whether policy includes blocking incoming 'ping' requests.

BlockMetadataService bool

Indicates whether policy includes blocking metadata services of the cloud.

Description string

Description of the Firewall Policy.

InboundNetworks List<Pulumiverse.Aquasec.Inputs.FirewallPolicyInboundNetworkArgs>

Information on network addresses that are allowed to pass in data or requests.

Name string

Name of the policy, no longer than 128 characters and no slash characters.

OutboundNetworks List<Pulumiverse.Aquasec.Inputs.FirewallPolicyOutboundNetworkArgs>

Information on network addresses that are allowed to receive data or requests.

Type string

Indicates the class of protection defined by the firewall.

Version string

Aqua version functionality supported

BlockIcmpPing bool

Indicates whether policy includes blocking incoming 'ping' requests.

BlockMetadataService bool

Indicates whether policy includes blocking metadata services of the cloud.

Description string

Description of the Firewall Policy.

InboundNetworks []FirewallPolicyInboundNetworkArgs

Information on network addresses that are allowed to pass in data or requests.

Name string

Name of the policy, no longer than 128 characters and no slash characters.

OutboundNetworks []FirewallPolicyOutboundNetworkArgs

Information on network addresses that are allowed to receive data or requests.

Type string

Indicates the class of protection defined by the firewall.

Version string

Aqua version functionality supported

blockIcmpPing Boolean

Indicates whether policy includes blocking incoming 'ping' requests.

blockMetadataService Boolean

Indicates whether policy includes blocking metadata services of the cloud.

description String

Description of the Firewall Policy.

inboundNetworks List<FirewallPolicyInboundNetworkArgs>

Information on network addresses that are allowed to pass in data or requests.

name String

Name of the policy, no longer than 128 characters and no slash characters.

outboundNetworks List<FirewallPolicyOutboundNetworkArgs>

Information on network addresses that are allowed to receive data or requests.

type String

Indicates the class of protection defined by the firewall.

version String

Aqua version functionality supported

blockIcmpPing boolean

Indicates whether policy includes blocking incoming 'ping' requests.

blockMetadataService boolean

Indicates whether policy includes blocking metadata services of the cloud.

description string

Description of the Firewall Policy.

inboundNetworks FirewallPolicyInboundNetworkArgs[]

Information on network addresses that are allowed to pass in data or requests.

name string

Name of the policy, no longer than 128 characters and no slash characters.

outboundNetworks FirewallPolicyOutboundNetworkArgs[]

Information on network addresses that are allowed to receive data or requests.

type string

Indicates the class of protection defined by the firewall.

version string

Aqua version functionality supported

block_icmp_ping bool

Indicates whether policy includes blocking incoming 'ping' requests.

block_metadata_service bool

Indicates whether policy includes blocking metadata services of the cloud.

description str

Description of the Firewall Policy.

inbound_networks Sequence[FirewallPolicyInboundNetworkArgs]

Information on network addresses that are allowed to pass in data or requests.

name str

Name of the policy, no longer than 128 characters and no slash characters.

outbound_networks Sequence[FirewallPolicyOutboundNetworkArgs]

Information on network addresses that are allowed to receive data or requests.

type str

Indicates the class of protection defined by the firewall.

version str

Aqua version functionality supported

blockIcmpPing Boolean

Indicates whether policy includes blocking incoming 'ping' requests.

blockMetadataService Boolean

Indicates whether policy includes blocking metadata services of the cloud.

description String

Description of the Firewall Policy.

inboundNetworks List<Property Map>

Information on network addresses that are allowed to pass in data or requests.

name String

Name of the policy, no longer than 128 characters and no slash characters.

outboundNetworks List<Property Map>

Information on network addresses that are allowed to receive data or requests.

type String

Indicates the class of protection defined by the firewall.

version String

Aqua version functionality supported

Outputs

All input properties are implicitly available as output properties. Additionally, the FirewallPolicy resource produces the following output properties:

Author string

Username of the account that created the policy.

Id string

The provider-assigned unique ID for this managed resource.

Lastupdate int

Timestamp of the last update in Unix time format.

Author string

Username of the account that created the policy.

Id string

The provider-assigned unique ID for this managed resource.

Lastupdate int

Timestamp of the last update in Unix time format.

author String

Username of the account that created the policy.

id String

The provider-assigned unique ID for this managed resource.

lastupdate Integer

Timestamp of the last update in Unix time format.

author string

Username of the account that created the policy.

id string

The provider-assigned unique ID for this managed resource.

lastupdate number

Timestamp of the last update in Unix time format.

author str

Username of the account that created the policy.

id str

The provider-assigned unique ID for this managed resource.

lastupdate int

Timestamp of the last update in Unix time format.

author String

Username of the account that created the policy.

id String

The provider-assigned unique ID for this managed resource.

lastupdate Number

Timestamp of the last update in Unix time format.

Look up Existing FirewallPolicy Resource

Get an existing FirewallPolicy 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?: FirewallPolicyState, opts?: CustomResourceOptions): FirewallPolicy
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        author: Optional[str] = None,
        block_icmp_ping: Optional[bool] = None,
        block_metadata_service: Optional[bool] = None,
        description: Optional[str] = None,
        inbound_networks: Optional[Sequence[FirewallPolicyInboundNetworkArgs]] = None,
        lastupdate: Optional[int] = None,
        name: Optional[str] = None,
        outbound_networks: Optional[Sequence[FirewallPolicyOutboundNetworkArgs]] = None,
        type: Optional[str] = None,
        version: Optional[str] = None) -> FirewallPolicy
func GetFirewallPolicy(ctx *Context, name string, id IDInput, state *FirewallPolicyState, opts ...ResourceOption) (*FirewallPolicy, error)
public static FirewallPolicy Get(string name, Input<string> id, FirewallPolicyState? state, CustomResourceOptions? opts = null)
public static FirewallPolicy get(String name, Output<String> id, FirewallPolicyState 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.
The following state arguments are supported:
Author string

Username of the account that created the policy.

BlockIcmpPing bool

Indicates whether policy includes blocking incoming 'ping' requests.

BlockMetadataService bool

Indicates whether policy includes blocking metadata services of the cloud.

Description string

Description of the Firewall Policy.

InboundNetworks List<Pulumiverse.Aquasec.Inputs.FirewallPolicyInboundNetworkArgs>

Information on network addresses that are allowed to pass in data or requests.

Lastupdate int

Timestamp of the last update in Unix time format.

Name string

Name of the policy, no longer than 128 characters and no slash characters.

OutboundNetworks List<Pulumiverse.Aquasec.Inputs.FirewallPolicyOutboundNetworkArgs>

Information on network addresses that are allowed to receive data or requests.

Type string

Indicates the class of protection defined by the firewall.

Version string

Aqua version functionality supported

Author string

Username of the account that created the policy.

BlockIcmpPing bool

Indicates whether policy includes blocking incoming 'ping' requests.

BlockMetadataService bool

Indicates whether policy includes blocking metadata services of the cloud.

Description string

Description of the Firewall Policy.

InboundNetworks []FirewallPolicyInboundNetworkArgs

Information on network addresses that are allowed to pass in data or requests.

Lastupdate int

Timestamp of the last update in Unix time format.

Name string

Name of the policy, no longer than 128 characters and no slash characters.

OutboundNetworks []FirewallPolicyOutboundNetworkArgs

Information on network addresses that are allowed to receive data or requests.

Type string

Indicates the class of protection defined by the firewall.

Version string

Aqua version functionality supported

author String

Username of the account that created the policy.

blockIcmpPing Boolean

Indicates whether policy includes blocking incoming 'ping' requests.

blockMetadataService Boolean

Indicates whether policy includes blocking metadata services of the cloud.

description String

Description of the Firewall Policy.

inboundNetworks List<FirewallPolicyInboundNetworkArgs>

Information on network addresses that are allowed to pass in data or requests.

lastupdate Integer

Timestamp of the last update in Unix time format.

name String

Name of the policy, no longer than 128 characters and no slash characters.

outboundNetworks List<FirewallPolicyOutboundNetworkArgs>

Information on network addresses that are allowed to receive data or requests.

type String

Indicates the class of protection defined by the firewall.

version String

Aqua version functionality supported

author string

Username of the account that created the policy.

blockIcmpPing boolean

Indicates whether policy includes blocking incoming 'ping' requests.

blockMetadataService boolean

Indicates whether policy includes blocking metadata services of the cloud.

description string

Description of the Firewall Policy.

inboundNetworks FirewallPolicyInboundNetworkArgs[]

Information on network addresses that are allowed to pass in data or requests.

lastupdate number

Timestamp of the last update in Unix time format.

name string

Name of the policy, no longer than 128 characters and no slash characters.

outboundNetworks FirewallPolicyOutboundNetworkArgs[]

Information on network addresses that are allowed to receive data or requests.

type string

Indicates the class of protection defined by the firewall.

version string

Aqua version functionality supported

author str

Username of the account that created the policy.

block_icmp_ping bool

Indicates whether policy includes blocking incoming 'ping' requests.

block_metadata_service bool

Indicates whether policy includes blocking metadata services of the cloud.

description str

Description of the Firewall Policy.

inbound_networks Sequence[FirewallPolicyInboundNetworkArgs]

Information on network addresses that are allowed to pass in data or requests.

lastupdate int

Timestamp of the last update in Unix time format.

name str

Name of the policy, no longer than 128 characters and no slash characters.

outbound_networks Sequence[FirewallPolicyOutboundNetworkArgs]

Information on network addresses that are allowed to receive data or requests.

type str

Indicates the class of protection defined by the firewall.

version str

Aqua version functionality supported

author String

Username of the account that created the policy.

blockIcmpPing Boolean

Indicates whether policy includes blocking incoming 'ping' requests.

blockMetadataService Boolean

Indicates whether policy includes blocking metadata services of the cloud.

description String

Description of the Firewall Policy.

inboundNetworks List<Property Map>

Information on network addresses that are allowed to pass in data or requests.

lastupdate Number

Timestamp of the last update in Unix time format.

name String

Name of the policy, no longer than 128 characters and no slash characters.

outboundNetworks List<Property Map>

Information on network addresses that are allowed to receive data or requests.

type String

Indicates the class of protection defined by the firewall.

version String

Aqua version functionality supported

Supporting Types

FirewallPolicyInboundNetwork

Allow bool

Indicates whether the specified resources are allowed to pass in data or requests.

PortRange string

Range of ports affected by firewall.

ResourceType string

Type of the resource

Resource string

Information of the resource.

Allow bool

Indicates whether the specified resources are allowed to pass in data or requests.

PortRange string

Range of ports affected by firewall.

ResourceType string

Type of the resource

Resource string

Information of the resource.

allow Boolean

Indicates whether the specified resources are allowed to pass in data or requests.

portRange String

Range of ports affected by firewall.

resourceType String

Type of the resource

resource String

Information of the resource.

allow boolean

Indicates whether the specified resources are allowed to pass in data or requests.

portRange string

Range of ports affected by firewall.

resourceType string

Type of the resource

resource string

Information of the resource.

allow bool

Indicates whether the specified resources are allowed to pass in data or requests.

port_range str

Range of ports affected by firewall.

resource_type str

Type of the resource

resource str

Information of the resource.

allow Boolean

Indicates whether the specified resources are allowed to pass in data or requests.

portRange String

Range of ports affected by firewall.

resourceType String

Type of the resource

resource String

Information of the resource.

FirewallPolicyOutboundNetwork

Allow bool

Indicates whether the specified resources are allowed to receive data or requests.

PortRange string

Range of ports affected by firewall.

ResourceType string

Type of the resource.

Resource string

Information of the resource.

Allow bool

Indicates whether the specified resources are allowed to receive data or requests.

PortRange string

Range of ports affected by firewall.

ResourceType string

Type of the resource.

Resource string

Information of the resource.

allow Boolean

Indicates whether the specified resources are allowed to receive data or requests.

portRange String

Range of ports affected by firewall.

resourceType String

Type of the resource.

resource String

Information of the resource.

allow boolean

Indicates whether the specified resources are allowed to receive data or requests.

portRange string

Range of ports affected by firewall.

resourceType string

Type of the resource.

resource string

Information of the resource.

allow bool

Indicates whether the specified resources are allowed to receive data or requests.

port_range str

Range of ports affected by firewall.

resource_type str

Type of the resource.

resource str

Information of the resource.

allow Boolean

Indicates whether the specified resources are allowed to receive data or requests.

portRange String

Range of ports affected by firewall.

resourceType String

Type of the resource.

resource String

Information of the resource.

Package Details

Repository
https://github.com/pulumiverse/pulumi-aquasec
License
Apache-2.0
Notes

This Pulumi package is based on the aquasec Terraform Provider.