AWS Native

v0.29.0 published on Thursday, Sep 8, 2022 by Pulumi

getFirewallPolicy

Resource type definition for AWS::NetworkFirewall::FirewallPolicy

Using getFirewallPolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getFirewallPolicy(args: GetFirewallPolicyArgs, opts?: InvokeOptions): Promise<GetFirewallPolicyResult>
function getFirewallPolicyOutput(args: GetFirewallPolicyOutputArgs, opts?: InvokeOptions): Output<GetFirewallPolicyResult>
def get_firewall_policy(firewall_policy_arn: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetFirewallPolicyResult
def get_firewall_policy_output(firewall_policy_arn: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetFirewallPolicyResult]
func LookupFirewallPolicy(ctx *Context, args *LookupFirewallPolicyArgs, opts ...InvokeOption) (*LookupFirewallPolicyResult, error)
func LookupFirewallPolicyOutput(ctx *Context, args *LookupFirewallPolicyOutputArgs, opts ...InvokeOption) LookupFirewallPolicyResultOutput

> Note: This function is named LookupFirewallPolicy in the Go SDK.

public static class GetFirewallPolicy 
{
    public static Task<GetFirewallPolicyResult> InvokeAsync(GetFirewallPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetFirewallPolicyResult> Invoke(GetFirewallPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFirewallPolicyResult> getFirewallPolicy(GetFirewallPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:networkfirewall:getFirewallPolicy
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getFirewallPolicy Result

The following output properties are available:

Supporting Types

FirewallPolicy

FirewallPolicyActionDefinition

FirewallPolicyCustomAction

FirewallPolicyDimension

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

FirewallPolicyPublishMetricAction

FirewallPolicyRuleOrder

FirewallPolicyStatefulEngineOptions

FirewallPolicyStatefulRuleGroupReference

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

FirewallPolicyStatelessRuleGroupReference

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

FirewallPolicyTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0