PolicyState constructor
- 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,String> ?> - Input<
String?> ? resourceTagLogicalOperator, - Input<
Map< ? resourceTags,String, String> ?> - Input<
String?> ? resourceType, - Input<
List< ? resourceTypeLists,String> ?> - Input<
PolicySecurityServicePolicyData?> ? securityServicePolicyData, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?>
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.
Implementation
const PolicyState({
this.arn,
this.deleteAllPolicyResources,
this.deleteUnusedFmManagedResources,
this.description,
this.excludeMap,
this.excludeResourceTags,
this.includeMap,
this.name,
this.policyUpdateToken,
this.region,
this.remediationEnabled,
this.resourceSetIds,
this.resourceTagLogicalOperator,
this.resourceTags,
this.resourceType,
this.resourceTypeLists,
this.securityServicePolicyData,
this.tags,
this.tagsAll,
});