We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
published on Monday, Nov 2, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
published on Monday, Nov 2, 2026 by Pulumi
Resource Type definition for AWS::NetworkSecurityManager::Policy. Creates and manages a Network Security 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?: InvokeOutputOptions): Output<GetPolicyResult>def get_policy(policy_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicyResult
def get_policy_output(policy_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = 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 Output<GetPolicyResult> Invoke(GetPolicyInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
public static Output<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
public static Output<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:networksecuritymanager:getPolicy
arguments:
# arguments dictionarydata "aws-native_networksecuritymanager_get_policy" "name" {
# arguments
}The following arguments are supported:
- Policy
Arn string - The ARN of the policy.
- Policy
Arn string - The ARN of the policy.
- policy_
arn string - The ARN of the policy.
- policy
Arn String - The ARN of the policy.
- policy
Arn string - The ARN of the policy.
- policy_
arn str - The ARN of the policy.
- policy
Arn String - The ARN of the policy.
getPolicy Result
The following output properties are available:
- Associated
Template List<Pulumi.And Rule List Aws Native. Network Security Manager. Outputs. Policy Associated Template And Rule> - List of templates and rules associated with this policy.
- Policy
Arn string - The ARN of the policy.
- Policy
Configuration Pulumi.Aws Native. Network Security Manager. Outputs. Policy Configuration - Configuration settings for policy behavior.
- Policy
Description string - A description of the policy.
- Policy
Id string - The unique identifier of the policy.
- Priority int
- The priority of the policy.
- Status
Pulumi.
Aws Native. Network Security Manager. Policy Status - The status of the policy.
-
List<Pulumi.
Aws Native. Outputs. Tag> - The tags associated with the policy.
- Updated
At string - An ISO 8601 timestamp indicating when the policy was last modified.
- Version string
- The version number.
- Associated
Template []PolicyAnd Rule List Associated Template And Rule - List of templates and rules associated with this policy.
- Policy
Arn string - The ARN of the policy.
- Policy
Configuration PolicyConfiguration - Configuration settings for policy behavior.
- Policy
Description string - A description of the policy.
- Policy
Id string - The unique identifier of the policy.
- Priority int
- The priority of the policy.
- Status
Policy
Status - The status of the policy.
- Tag
- The tags associated with the policy.
- Updated
At string - An ISO 8601 timestamp indicating when the policy was last modified.
- Version string
- The version number.
- associated_
template_ list(object)and_ rule_ list - List of templates and rules associated with this policy.
- policy_
arn string - The ARN of the policy.
- policy_
configuration object - Configuration settings for policy behavior.
- policy_
description string - A description of the policy.
- policy_
id string - The unique identifier of the policy.
- priority number
- The priority of the policy.
- status "DRAFT" | "ACTIVE" | "DISABLED"
- The status of the policy.
- list(object)
- The tags associated with the policy.
- updated_
at string - An ISO 8601 timestamp indicating when the policy was last modified.
- version string
- The version number.
- associated
Template List<PolicyAnd Rule List Associated Template And Rule> - List of templates and rules associated with this policy.
- policy
Arn String - The ARN of the policy.
- policy
Configuration PolicyConfiguration - Configuration settings for policy behavior.
- policy
Description String - A description of the policy.
- policy
Id String - The unique identifier of the policy.
- priority Integer
- The priority of the policy.
- status
Policy
Status - The status of the policy.
- List<Tag>
- The tags associated with the policy.
- updated
At String - An ISO 8601 timestamp indicating when the policy was last modified.
- version String
- The version number.
- associated
Template PolicyAnd Rule List Associated Template And Rule[] - List of templates and rules associated with this policy.
- policy
Arn string - The ARN of the policy.
- policy
Configuration PolicyConfiguration - Configuration settings for policy behavior.
- policy
Description string - A description of the policy.
- policy
Id string - The unique identifier of the policy.
- priority number
- The priority of the policy.
- status
Policy
Status - The status of the policy.
- Tag[]
- The tags associated with the policy.
- updated
At string - An ISO 8601 timestamp indicating when the policy was last modified.
- version string
- The version number.
- associated_
template_ Sequence[Policyand_ rule_ list Associated Template And Rule] - List of templates and rules associated with this policy.
- policy_
arn str - The ARN of the policy.
- policy_
configuration PolicyConfiguration - Configuration settings for policy behavior.
- policy_
description str - A description of the policy.
- policy_
id str - The unique identifier of the policy.
- priority int
- The priority of the policy.
- status
Policy
Status - The status of the policy.
- Sequence[root_Tag]
- The tags associated with the policy.
- updated_
at str - An ISO 8601 timestamp indicating when the policy was last modified.
- version str
- The version number.
- associated
Template List<Property Map>And Rule List - List of templates and rules associated with this policy.
- policy
Arn String - The ARN of the policy.
- policy
Configuration Property Map - Configuration settings for policy behavior.
- policy
Description String - A description of the policy.
- policy
Id String - The unique identifier of the policy.
- priority Number
- The priority of the policy.
- status "DRAFT" | "ACTIVE" | "DISABLED"
- The status of the policy.
- List<Property Map>
- The tags associated with the policy.
- updated
At String - An ISO 8601 timestamp indicating when the policy was last modified.
- version String
- The version number.
Supporting Types
PolicyAssociatedTemplateAndRule
- Rule
Arn string - ARN of the associated rule.
- Template
Arn string - ARN of the associated template.
- Rule
Arn string - ARN of the associated rule.
- Template
Arn string - ARN of the associated template.
- rule_
arn string - ARN of the associated rule.
- template_
arn string - ARN of the associated template.
- rule
Arn String - ARN of the associated rule.
- template
Arn String - ARN of the associated template.
- rule
Arn string - ARN of the associated rule.
- template
Arn string - ARN of the associated template.
- rule_
arn str - ARN of the associated rule.
- template_
arn str - ARN of the associated template.
- rule
Arn String - ARN of the associated rule.
- template
Arn String - ARN of the associated template.
PolicyConfiguration
- Remediation
Enabled bool - Controls automatic remediation of non-compliant resources.
- Resources
Clean boolUp - Controls automatic cleanup of unused resources.
- Waf
Config Pulumi.Aws Native. Network Security Manager. Inputs. Policy Waf Config
- Remediation
Enabled bool - Controls automatic remediation of non-compliant resources.
- Resources
Clean boolUp - Controls automatic cleanup of unused resources.
- Waf
Config PolicyWaf Config
- remediation_
enabled bool - Controls automatic remediation of non-compliant resources.
- resources_
clean_ boolup - Controls automatic cleanup of unused resources.
- waf_
config object
- remediation
Enabled Boolean - Controls automatic remediation of non-compliant resources.
- resources
Clean BooleanUp - Controls automatic cleanup of unused resources.
- waf
Config PolicyWaf Config
- remediation
Enabled boolean - Controls automatic remediation of non-compliant resources.
- resources
Clean booleanUp - Controls automatic cleanup of unused resources.
- waf
Config PolicyWaf Config
- remediation_
enabled bool - Controls automatic remediation of non-compliant resources.
- resources_
clean_ boolup - Controls automatic cleanup of unused resources.
- waf_
config PolicyWaf Config
- remediation
Enabled Boolean - Controls automatic remediation of non-compliant resources.
- resources
Clean BooleanUp - Controls automatic cleanup of unused resources.
- waf
Config Property Map
PolicyStatus
PolicyWafConfig
- Conflict
Resolution Pulumi.Aws Native. Network Security Manager. Policy Waf Config Conflict Resolution - Conflict-resolution strategy applied to AWS WAF policies.
- Existing
Customer Pulumi.Web Acl Resolution Aws Native. Network Security Manager. Policy Waf Config Existing Customer Web Acl Resolution - Controls how Network Security Manager handles remediation when a resource already has a customer-created WebACL.
- Conflict
Resolution PolicyWaf Config Conflict Resolution - Conflict-resolution strategy applied to AWS WAF policies.
- Existing
Customer PolicyWeb Acl Resolution Waf Config Existing Customer Web Acl Resolution - Controls how Network Security Manager handles remediation when a resource already has a customer-created WebACL.
- conflict_
resolution "MERGE_WHERE_APPLICABLE" - Conflict-resolution strategy applied to AWS WAF policies.
- existing_
customer_ "RETROFIT" | "OVERRIDE_ASSOCIATION" | "NO_REMEDIATION"web_ acl_ resolution - Controls how Network Security Manager handles remediation when a resource already has a customer-created WebACL.
- conflict
Resolution PolicyWaf Config Conflict Resolution - Conflict-resolution strategy applied to AWS WAF policies.
- existing
Customer PolicyWeb Acl Resolution Waf Config Existing Customer Web Acl Resolution - Controls how Network Security Manager handles remediation when a resource already has a customer-created WebACL.
- conflict
Resolution PolicyWaf Config Conflict Resolution - Conflict-resolution strategy applied to AWS WAF policies.
- existing
Customer PolicyWeb Acl Resolution Waf Config Existing Customer Web Acl Resolution - Controls how Network Security Manager handles remediation when a resource already has a customer-created WebACL.
- conflict_
resolution PolicyWaf Config Conflict Resolution - Conflict-resolution strategy applied to AWS WAF policies.
- existing_
customer_ Policyweb_ acl_ resolution Waf Config Existing Customer Web Acl Resolution - Controls how Network Security Manager handles remediation when a resource already has a customer-created WebACL.
- conflict
Resolution "MERGE_WHERE_APPLICABLE" - Conflict-resolution strategy applied to AWS WAF policies.
- existing
Customer "RETROFIT" | "OVERRIDE_ASSOCIATION" | "NO_REMEDIATION"Web Acl Resolution - Controls how Network Security Manager handles remediation when a resource already has a customer-created WebACL.
PolicyWafConfigConflictResolution
PolicyWafConfigExistingCustomerWebAclResolution
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
published on Monday, Nov 2, 2026 by Pulumi