1. Packages
  2. AWS Native
  3. API Docs
  4. networkfirewall
  5. FirewallPolicy

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.networkfirewall.FirewallPolicy

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    Resource type definition for AWS::NetworkFirewall::FirewallPolicy

    Create FirewallPolicy Resource

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

    Constructor syntax

    new FirewallPolicy(name: string, args: FirewallPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def FirewallPolicy(resource_name: str,
                       args: FirewallPolicyInitArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def FirewallPolicy(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       firewall_policy: Optional[FirewallPolicyArgs] = None,
                       description: Optional[str] = None,
                       firewall_policy_name: Optional[str] = None,
                       tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewFirewallPolicy(ctx *Context, name string, args FirewallPolicyArgs, opts ...ResourceOption) (*FirewallPolicy, error)
    public FirewallPolicy(string name, FirewallPolicyArgs args, CustomResourceOptions? opts = null)
    public FirewallPolicy(String name, FirewallPolicyArgs args)
    public FirewallPolicy(String name, FirewallPolicyArgs args, CustomResourceOptions options)
    
    type: aws-native:networkfirewall:FirewallPolicy
    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 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 FirewallPolicyInitArgs
    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.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const firewallPolicyResource = new aws_native.networkfirewall.FirewallPolicy("firewallPolicyResource", {
        firewallPolicy: {
            statelessDefaultActions: ["string"],
            statelessFragmentDefaultActions: ["string"],
            policyVariables: {
                ruleVariables: {
                    string: {
                        definition: ["string"],
                    },
                },
            },
            statefulDefaultActions: ["string"],
            statefulEngineOptions: {
                ruleOrder: aws_native.networkfirewall.FirewallPolicyRuleOrder.DefaultActionOrder,
                streamExceptionPolicy: aws_native.networkfirewall.FirewallPolicyStreamExceptionPolicy.Drop,
            },
            statefulRuleGroupReferences: [{
                resourceArn: "string",
                override: {
                    action: aws_native.networkfirewall.FirewallPolicyOverrideAction.DropToAlert,
                },
                priority: 0,
            }],
            statelessCustomActions: [{
                actionDefinition: {
                    publishMetricAction: {
                        dimensions: [{
                            value: "string",
                        }],
                    },
                },
                actionName: "string",
            }],
            statelessRuleGroupReferences: [{
                priority: 0,
                resourceArn: "string",
            }],
            tlsInspectionConfigurationArn: "string",
        },
        description: "string",
        firewallPolicyName: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    Coming soon!
    

    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:

    Outputs

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

    FirewallPolicyArn string
    FirewallPolicyId string
    Id string
    The provider-assigned unique ID for this managed resource.
    FirewallPolicyArn string
    FirewallPolicyId string
    Id string
    The provider-assigned unique ID for this managed resource.
    firewallPolicyArn String
    firewallPolicyId String
    id String
    The provider-assigned unique ID for this managed resource.
    firewallPolicyArn string
    firewallPolicyId string
    id string
    The provider-assigned unique ID for this managed resource.
    firewall_policy_arn str
    firewall_policy_id str
    id str
    The provider-assigned unique ID for this managed resource.
    firewallPolicyArn String
    firewallPolicyId String
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    FirewallPolicy, FirewallPolicyArgs

    FirewallPolicyActionDefinition, FirewallPolicyActionDefinitionArgs

    FirewallPolicyCustomAction, FirewallPolicyCustomActionArgs

    FirewallPolicyDimension, FirewallPolicyDimensionArgs

    Value string
    Value string
    value String
    value string
    value str
    value String

    FirewallPolicyIpSet, FirewallPolicyIpSetArgs

    Definition List<string>
    Definition []string
    definition List<String>
    definition string[]
    definition Sequence[str]
    definition List<String>

    FirewallPolicyOverrideAction, FirewallPolicyOverrideActionArgs

    DropToAlert
    DROP_TO_ALERT
    FirewallPolicyOverrideActionDropToAlert
    DROP_TO_ALERT
    DropToAlert
    DROP_TO_ALERT
    DropToAlert
    DROP_TO_ALERT
    DROP_TO_ALERT
    DROP_TO_ALERT
    "DROP_TO_ALERT"
    DROP_TO_ALERT

    FirewallPolicyPolicyVariablesProperties, FirewallPolicyPolicyVariablesPropertiesArgs

    RuleVariables Dictionary<string, Pulumi.AwsNative.NetworkFirewall.Inputs.FirewallPolicyIpSet>
    RuleVariables map[string]FirewallPolicyIpSet
    ruleVariables Map<String,FirewallPolicyIpSet>
    ruleVariables {[key: string]: FirewallPolicyIpSet}
    rule_variables Mapping[str, FirewallPolicyIpSet]
    ruleVariables Map<Property Map>

    FirewallPolicyPublishMetricAction, FirewallPolicyPublishMetricActionArgs

    FirewallPolicyRuleOrder, FirewallPolicyRuleOrderArgs

    DefaultActionOrder
    DEFAULT_ACTION_ORDER
    StrictOrder
    STRICT_ORDER
    FirewallPolicyRuleOrderDefaultActionOrder
    DEFAULT_ACTION_ORDER
    FirewallPolicyRuleOrderStrictOrder
    STRICT_ORDER
    DefaultActionOrder
    DEFAULT_ACTION_ORDER
    StrictOrder
    STRICT_ORDER
    DefaultActionOrder
    DEFAULT_ACTION_ORDER
    StrictOrder
    STRICT_ORDER
    DEFAULT_ACTION_ORDER
    DEFAULT_ACTION_ORDER
    STRICT_ORDER
    STRICT_ORDER
    "DEFAULT_ACTION_ORDER"
    DEFAULT_ACTION_ORDER
    "STRICT_ORDER"
    STRICT_ORDER

    FirewallPolicyStatefulEngineOptions, FirewallPolicyStatefulEngineOptionsArgs

    FirewallPolicyStatefulRuleGroupOverride, FirewallPolicyStatefulRuleGroupOverrideArgs

    FirewallPolicyStatefulRuleGroupReference, FirewallPolicyStatefulRuleGroupReferenceArgs

    FirewallPolicyStatelessRuleGroupReference, FirewallPolicyStatelessRuleGroupReferenceArgs

    priority Integer
    resourceArn String
    priority number
    resourceArn string
    priority Number
    resourceArn String

    FirewallPolicyStreamExceptionPolicy, FirewallPolicyStreamExceptionPolicyArgs

    Drop
    DROP
    Continue
    CONTINUE
    Reject
    REJECT
    FirewallPolicyStreamExceptionPolicyDrop
    DROP
    FirewallPolicyStreamExceptionPolicyContinue
    CONTINUE
    FirewallPolicyStreamExceptionPolicyReject
    REJECT
    Drop
    DROP
    Continue
    CONTINUE
    Reject
    REJECT
    Drop
    DROP
    Continue
    CONTINUE
    Reject
    REJECT
    DROP
    DROP
    CONTINUE_
    CONTINUE
    REJECT
    REJECT
    "DROP"
    DROP
    "CONTINUE"
    CONTINUE
    "REJECT"
    REJECT

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi