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< ? resourceSetIds, Input<String> ?>String?> ? resourceTagLogicalOperator, Input<Map< ? resourceTags, Input<String, String> ?>String?> ? resourceType, Input<List< ? resourceTypeLists, Input<String> ?>PolicySecurityServicePolicyData?> ? securityServicePolicyData, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll})String, String> ?> -
Creates a new PolicyState.
arnARN of the policy.deleteAllPolicyResourcesIf true, the request will also perform a clean-up process. Defaults totrue. More information can be found here AWS Firewall Manager delete policydeleteUnusedFmManagedResourcesIf true, Firewall Manager will automatically remove protections from resources that leave the policy scope. Defaults tofalse. More information can be found here AWS Firewall Manager policy contentsdescriptionDescription of the AWS Network Firewall firewall policy.excludeMapMap of lists of accounts and OUs to exclude from the policy. See theexcludeMapblock.excludeResourceTagsWhether resources with the tags specified inresourceTagsare excluded from protection. Iftrue, tagged resources are not protected by this policy. IffalseandresourceTagsare populated, resources that contain those tags are protected by this policy.includeMapMap of lists of accounts and OUs to include in the policy. See theincludeMapblock.nameFriendly name of the AWS Firewall Manager Policy.policyUpdateTokenUnique identifier for each update to the policy.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.remediationEnabledWhether the policy is automatically applied to resources that already exist in the account.resourceSetIdsSet of resource set IDs associated with the policy.resourceTagLogicalOperatorControls 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 areANDandOR.resourceTagsMap of resource tags that, if present, filter protections on resources based onexcludeResourceTags.resourceTypeResource type to protect. Conflicts withresourceTypeList. See the FMS API Reference for more information about supported values.resourceTypeListsList of resource types to protect. Conflicts withresourceType. See the FMS API Reference for more information about supported values. Lists with only one element are not supported, instead useresourceType.securityServicePolicyDataObjects to include in Security Service Policy Data. See thesecurityServicePolicyDatablock.tagsKey-value mapping of resource tags. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-leveltagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration 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 policyfinal -
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 contentsfinal -
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
excludeMapblock.final -
excludeResourceTags
→ Input<
bool?> ? -
Whether resources with the tags specified in
resourceTagsare excluded from protection. Iftrue, tagged resources are not protected by this policy. IffalseandresourceTagsare 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
includeMapblock.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
ANDandOR.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 useresourceType.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
securityServicePolicyDatablock.final -
Key-value mapping of resource tags. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-levelfinal -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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