Policy

class Policy

An Firewall Manager policy.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

Specifies the Amazon Web Services account IDs and Organizations organizational units (OUs) to exclude from the policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

Link copied to clipboard

If set to True, resources with the tags that are specified in the ResourceTag array are not in scope of the policy. If set to False, and the ResourceTag array is not null, only resources with the specified tags are in scope of the policy.

Link copied to clipboard

Specifies the Amazon Web Services account IDs and Organizations organizational units (OUs) to include in the policy. Specifying an OU is the equivalent of specifying all accounts in the OU and in any of its child OUs, including any child OUs and accounts that are added at a later time.

Link copied to clipboard

The definition of the Network Firewall firewall policy.

Link copied to clipboard

The ID of the Firewall Manager policy.

Link copied to clipboard

The name of the Firewall Manager policy.

Link copied to clipboard

Indicates whether the policy is in or out of an admin's policy or Region scope.

Link copied to clipboard

A unique identifier for each update to the policy. When issuing a PutPolicy request, the PolicyUpdateToken in the request must match the PolicyUpdateToken of the current policy version. To get the PolicyUpdateToken of the current policy version, use a GetPolicy request.

Link copied to clipboard

Indicates if the policy should be automatically applied to new resources.

Link copied to clipboard

The unique identifiers of the resource sets used by the policy.

Link copied to clipboard

An array of ResourceTag objects.

Link copied to clipboard

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. To apply this policy to multiple resource types, specify a resource type of ResourceTypeList and then specify the resource types in a ResourceTypeList.

Link copied to clipboard

An array of ResourceType objects. Use this only to specify multiple resource types. To specify a single resource type, use ResourceType.

Link copied to clipboard

Details about the security service that is being used to protect the resources.

Functions

Link copied to clipboard
inline fun copy(block: Policy.Builder.() -> Unit = {}): Policy
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String