PolicyState class

Input properties used for looking up and filtering Policy resources.

Constructors

PolicyState({Input<String?>? arn, Input<bool?>? deleteAllPolicyResources, Input<bool?>? deleteUnusedFmManagedResources, Input<String?>? description, Input<PolicyExcludeMap?>? excludeMap, Input<bool?>? excludeResourceTags, Input<PolicyIncludeMap?>? includeMap, Input<String?>? name, Input<String?>? policyUpdateToken, Input<String?>? region, Input<bool?>? remediationEnabled, Input<List<String>?>? resourceSetIds, Input<String?>? resourceTagLogicalOperator, Input<Map<String, String>?>? resourceTags, Input<String?>? resourceType, Input<List<String>?>? resourceTypeLists, Input<PolicySecurityServicePolicyData?>? securityServicePolicyData, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll})
Creates a new PolicyState. arn ARN of the policy. deleteAllPolicyResources If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy deleteUnusedFmManagedResources If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents description Description of the AWS Network Firewall firewall policy. excludeMap Map of lists of accounts and OUs to exclude from the policy. See the excludeMap block. excludeResourceTags Whether resources with the tags specified in resourceTags are excluded from protection. If true, tagged resources are not protected by this policy. If false and resourceTags are populated, resources that contain those tags are protected by this policy. includeMap Map of lists of accounts and OUs to include in the policy. See the includeMap block. name Friendly name of the AWS Firewall Manager Policy. policyUpdateToken Unique identifier for each update to the policy. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. remediationEnabled Whether the policy is automatically applied to resources that already exist in the account. resourceSetIds Set of resource set IDs associated with the policy. resourceTagLogicalOperator Controls how multiple resource tags are combined: with AND, so that a resource must have all tags to be included or excluded, or OR, so that a resource must have at least one tag. The valid values are AND and OR. resourceTags Map of resource tags that, if present, filter protections on resources based on excludeResourceTags. resourceType Resource type to protect. Conflicts with resourceTypeList. See the FMS API Reference for more information about supported values. resourceTypeLists List of resource types to protect. Conflicts with resourceType. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resourceType. securityServicePolicyData Objects to include in Security Service Policy Data. See the securityServicePolicyData block. tags Key-value mapping of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
const
PolicyState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
ARN of the policy.
final
deleteAllPolicyResources → Input<bool?>?
If true, the request will also perform a clean-up process. Defaults to true. More information can be found here AWS Firewall Manager delete policy
final
deleteUnusedFmManagedResources → Input<bool?>?
If true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults to false. More information can be found here AWS Firewall Manager policy contents
final
description → Input<String?>?
Description of the AWS Network Firewall firewall policy.
final
excludeMap → Input<PolicyExcludeMap?>?
Map of lists of accounts and OUs to exclude from the policy. See the excludeMap block.
final
excludeResourceTags → Input<bool?>?
Whether resources with the tags specified in resourceTags are excluded from protection. If true, tagged resources are not protected by this policy. If false and resourceTags are populated, resources that contain those tags are protected by this policy.
final
hashCode → int
The hash code for this object.
no setterinherited
includeMap → Input<PolicyIncludeMap?>?
Map of lists of accounts and OUs to include in the policy. See the includeMap block.
final
name → Input<String?>?
Friendly name of the AWS Firewall Manager Policy.
final
policyUpdateToken → Input<String?>?
Unique identifier for each update to the policy.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
remediationEnabled → Input<bool?>?
Whether the policy is automatically applied to resources that already exist in the account.
final
resourceSetIds → Input<List<String>?>?
Set of resource set IDs associated with the policy.
final
resourceTagLogicalOperator → Input<String?>?
Controls how multiple resource tags are combined: with AND, so that a resource must have all tags to be included or excluded, or OR, so that a resource must have at least one tag. The valid values are AND and OR.
final
resourceTags → Input<Map<String, String>?>?
Map of resource tags that, if present, filter protections on resources based on excludeResourceTags.
final
resourceType → Input<String?>?
Resource type to protect. Conflicts with resourceTypeList. See the FMS API Reference for more information about supported values.
final
resourceTypeLists → Input<List<String>?>?
List of resource types to protect. Conflicts with resourceType. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead use resourceType.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securityServicePolicyData → Input<PolicySecurityServicePolicyData?>?
Objects to include in Security Service Policy Data. See the securityServicePolicyData block.
final
tags → Input<Map<String, String>?>?
Key-value mapping of resource tags. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level
final
tagsAll → Input<Map<String, String>?>?
Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited