PolicySummary
¶
Source code in docs_src/capo_fms/types/policy_summary.py
delete_unused_fm_managed_resources
instance-attribute
¶
delete_unused_fm_managed_resources: Boolean
Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL from a protected customer resource when the customer resource leaves policy scope.
By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.
This option is not available for Shield Advanced or WAF Classic policies.
policy_arn
instance-attribute
¶
policy_arn: NotRequired[ResourceArn]
The Amazon Resource Name (ARN) of the specified policy.
policy_name
instance-attribute
¶
policy_name: NotRequired[ResourceName]
The name of the specified policy.
policy_status
instance-attribute
¶
policy_status: NotRequired[CustomerPolicyStatus]
Indicates whether the policy is in or out of an admin's policy or Region scope.
-
ACTIVE- The administrator can manage and delete the policy. -
OUT_OF_ADMIN_SCOPE- The administrator can view the policy, but they can't edit or delete the policy. Existing policy protections stay in place. Any new resources that come into scope of the policy won't be protected.
remediation_enabled
instance-attribute
¶
remediation_enabled: Boolean
Indicates if the policy should be automatically applied to new resources.
resource_type
instance-attribute
¶
resource_type: NotRequired[ResourceType]
The type of resource protected by or in scope of the policy. This is in the format shown in the Amazon Web Services Resource Types Reference.
security_service_type
instance-attribute
¶
security_service_type: NotRequired[SecurityServiceType]
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an WAF policy, a Shield Advanced policy, or a security group policy.