AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 by Pulumi
aws-native.fms.getPolicy
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 by Pulumi
Creates an AWS Firewall Manager policy.
Using getPolicy
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 getPolicy(args: GetPolicyArgs, opts?: InvokeOptions): Promise<GetPolicyResult>
function getPolicyOutput(args: GetPolicyOutputArgs, opts?: InvokeOptions): Output<GetPolicyResult>
def get_policy(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicyResult
def get_policy_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPolicyResult]
func LookupPolicy(ctx *Context, args *LookupPolicyArgs, opts ...InvokeOption) (*LookupPolicyResult, error)
func LookupPolicyOutput(ctx *Context, args *LookupPolicyOutputArgs, opts ...InvokeOption) LookupPolicyResultOutput
> Note: This function is named LookupPolicy
in the Go SDK.
public static class GetPolicy
{
public static Task<GetPolicyResult> InvokeAsync(GetPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyResult> Invoke(GetPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:fms:getPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getPolicy Result
The following output properties are available:
- Arn string
- Exclude
Map Pulumi.Aws Native. Fms. Outputs. Policy Ie Map - bool
- Id string
- Include
Map Pulumi.Aws Native. Fms. Outputs. Policy Ie Map - Policy
Description string - Policy
Name string - Remediation
Enabled bool - Resource
Set List<string>Ids - List<Pulumi.
Aws Native. Fms. Outputs. Policy Resource Tag> - Resource
Type string - Resource
Type List<string>List - Resources
Clean boolUp - Security
Service Pulumi.Policy Data Aws Native. Fms. Outputs. Policy Security Service Policy Data - List<Pulumi.
Aws Native. Fms. Outputs. Policy Tag>
- Arn string
- Exclude
Map PolicyIe Map - bool
- Id string
- Include
Map PolicyIe Map - Policy
Description string - Policy
Name string - Remediation
Enabled bool - Resource
Set []stringIds - []Policy
Resource Tag - Resource
Type string - Resource
Type []stringList - Resources
Clean boolUp - Security
Service PolicyPolicy Data Security Service Policy Data - []Policy
Tag
- arn String
- exclude
Map PolicyIe Map - Boolean
- id String
- include
Map PolicyIe Map - policy
Description String - policy
Name String - remediation
Enabled Boolean - resource
Set List<String>Ids - List<Policy
Resource Tag> - resource
Type String - resource
Type List<String>List - resources
Clean BooleanUp - security
Service PolicyPolicy Data Security Service Policy Data - List<Policy
Tag>
- arn string
- exclude
Map PolicyIe Map - boolean
- id string
- include
Map PolicyIe Map - policy
Description string - policy
Name string - remediation
Enabled boolean - resource
Set string[]Ids - Policy
Resource Tag[] - resource
Type string - resource
Type string[]List - resources
Clean booleanUp - security
Service PolicyPolicy Data Security Service Policy Data - Policy
Tag[]
- arn str
- exclude_
map PolicyIe Map - bool
- id str
- include_
map PolicyIe Map - policy_
description str - policy_
name str - remediation_
enabled bool - resource_
set_ Sequence[str]ids - Sequence[Policy
Resource Tag] - resource_
type str - resource_
type_ Sequence[str]list - resources_
clean_ boolup - security_
service_ Policypolicy_ data Security Service Policy Data - Sequence[Policy
Tag]
- arn String
- exclude
Map Property Map - Boolean
- id String
- include
Map Property Map - policy
Description String - policy
Name String - remediation
Enabled Boolean - resource
Set List<String>Ids - List<Property Map>
- resource
Type String - resource
Type List<String>List - resources
Clean BooleanUp - security
Service Property MapPolicy Data - List<Property Map>
Supporting Types
PolicyFirewallDeploymentModel
PolicyIeMap
PolicyNetworkFirewallPolicy
PolicyOption
PolicyResourceTag
PolicySecurityServicePolicyData
PolicyTag
PolicyThirdPartyFirewallPolicy
PolicyType
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 by Pulumi