aquasec.FirewallPolicy
Explore with Pulumi AI
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:
- Block
Icmp boolPing Indicates whether policy includes blocking incoming 'ping' requests.
- Block
Metadata boolService Indicates whether policy includes blocking metadata services of the cloud.
- Description string
Description of the Firewall Policy.
- Inbound
Networks List<Pulumiverse.Aquasec. Inputs. Firewall Policy Inbound Network Args> 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.
- Outbound
Networks List<Pulumiverse.Aquasec. Inputs. Firewall Policy Outbound Network Args> 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 boolPing Indicates whether policy includes blocking incoming 'ping' requests.
- Block
Metadata boolService Indicates whether policy includes blocking metadata services of the cloud.
- Description string
Description of the Firewall Policy.
- Inbound
Networks []FirewallPolicy Inbound Network Args 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.
- Outbound
Networks []FirewallPolicy Outbound Network Args 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 BooleanPing Indicates whether policy includes blocking incoming 'ping' requests.
- block
Metadata BooleanService Indicates whether policy includes blocking metadata services of the cloud.
- description String
Description of the Firewall Policy.
- inbound
Networks List<FirewallPolicy Inbound Network Args> 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.
- outbound
Networks List<FirewallPolicy Outbound Network Args> 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 booleanPing Indicates whether policy includes blocking incoming 'ping' requests.
- block
Metadata booleanService Indicates whether policy includes blocking metadata services of the cloud.
- description string
Description of the Firewall Policy.
- inbound
Networks FirewallPolicy Inbound Network Args[] 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.
- outbound
Networks FirewallPolicy Outbound Network Args[] 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_ boolping Indicates whether policy includes blocking incoming 'ping' requests.
- block_
metadata_ boolservice Indicates whether policy includes blocking metadata services of the cloud.
- description str
Description of the Firewall Policy.
- inbound_
networks Sequence[FirewallPolicy Inbound Network Args] 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[FirewallPolicy Outbound Network Args] 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
- block
Icmp BooleanPing Indicates whether policy includes blocking incoming 'ping' requests.
- block
Metadata BooleanService Indicates whether policy includes blocking metadata services of the cloud.
- description String
Description of the Firewall Policy.
- inbound
Networks 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.
- outbound
Networks 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- string
Username of the account that created the policy.
- Block
Icmp boolPing Indicates whether policy includes blocking incoming 'ping' requests.
- Block
Metadata boolService Indicates whether policy includes blocking metadata services of the cloud.
- Description string
Description of the Firewall Policy.
- Inbound
Networks List<Pulumiverse.Aquasec. Inputs. Firewall Policy Inbound Network Args> 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.
- Outbound
Networks List<Pulumiverse.Aquasec. Inputs. Firewall Policy Outbound Network Args> 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
- string
Username of the account that created the policy.
- Block
Icmp boolPing Indicates whether policy includes blocking incoming 'ping' requests.
- Block
Metadata boolService Indicates whether policy includes blocking metadata services of the cloud.
- Description string
Description of the Firewall Policy.
- Inbound
Networks []FirewallPolicy Inbound Network Args 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.
- Outbound
Networks []FirewallPolicy Outbound Network Args 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
- String
Username of the account that created the policy.
- block
Icmp BooleanPing Indicates whether policy includes blocking incoming 'ping' requests.
- block
Metadata BooleanService Indicates whether policy includes blocking metadata services of the cloud.
- description String
Description of the Firewall Policy.
- inbound
Networks List<FirewallPolicy Inbound Network Args> 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.
- outbound
Networks List<FirewallPolicy Outbound Network Args> 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
- string
Username of the account that created the policy.
- block
Icmp booleanPing Indicates whether policy includes blocking incoming 'ping' requests.
- block
Metadata booleanService Indicates whether policy includes blocking metadata services of the cloud.
- description string
Description of the Firewall Policy.
- inbound
Networks FirewallPolicy Inbound Network Args[] 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.
- outbound
Networks FirewallPolicy Outbound Network Args[] 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
- str
Username of the account that created the policy.
- block_
icmp_ boolping Indicates whether policy includes blocking incoming 'ping' requests.
- block_
metadata_ boolservice Indicates whether policy includes blocking metadata services of the cloud.
- description str
Description of the Firewall Policy.
- inbound_
networks Sequence[FirewallPolicy Inbound Network Args] 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[FirewallPolicy Outbound Network Args] 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
- String
Username of the account that created the policy.
- block
Icmp BooleanPing Indicates whether policy includes blocking incoming 'ping' requests.
- block
Metadata BooleanService Indicates whether policy includes blocking metadata services of the cloud.
- description String
Description of the Firewall Policy.
- inbound
Networks 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.
- outbound
Networks 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.
- Port
Range string Range of ports affected by firewall.
- Resource
Type 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 string Range of ports affected by firewall.
- Resource
Type 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.
- port
Range String Range of ports affected by firewall.
- resource
Type 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.
- port
Range string Range of ports affected by firewall.
- resource
Type 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.
- port
Range String Range of ports affected by firewall.
- resource
Type 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.
- Port
Range string Range of ports affected by firewall.
- Resource
Type 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 string Range of ports affected by firewall.
- Resource
Type 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.
- port
Range String Range of ports affected by firewall.
- resource
Type 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.
- port
Range string Range of ports affected by firewall.
- resource
Type 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.
- port
Range String Range of ports affected by firewall.
- resource
Type String Type of the resource.
- resource String
Information of the resource.
Package Details
- Repository
- aquasec pulumiverse/pulumi-aquasec
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aquasec
Terraform Provider.