Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data PolicySummary = PolicySummary' {}
- newPolicySummary :: PolicySummary
- policySummary_deleteUnusedFMManagedResources :: Lens' PolicySummary (Maybe Bool)
- policySummary_policyArn :: Lens' PolicySummary (Maybe Text)
- policySummary_policyId :: Lens' PolicySummary (Maybe Text)
- policySummary_policyName :: Lens' PolicySummary (Maybe Text)
- policySummary_remediationEnabled :: Lens' PolicySummary (Maybe Bool)
- policySummary_resourceType :: Lens' PolicySummary (Maybe Text)
- policySummary_securityServiceType :: Lens' PolicySummary (Maybe SecurityServiceType)
Documentation
data PolicySummary Source #
Details of the Firewall Manager policy.
See: newPolicySummary
smart constructor.
PolicySummary' | |
|
Instances
newPolicySummary :: PolicySummary Source #
Create a value of PolicySummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deleteUnusedFMManagedResources:PolicySummary'
, policySummary_deleteUnusedFMManagedResources
- 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.
$sel:policyArn:PolicySummary'
, policySummary_policyArn
- The Amazon Resource Name (ARN) of the specified policy.
$sel:policyId:PolicySummary'
, policySummary_policyId
- The ID of the specified policy.
$sel:policyName:PolicySummary'
, policySummary_policyName
- The name of the specified policy.
$sel:remediationEnabled:PolicySummary'
, policySummary_remediationEnabled
- Indicates if the policy should be automatically applied to new
resources.
$sel:resourceType:PolicySummary'
, policySummary_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.
For WAF and Shield Advanced, examples include
AWS::ElasticLoadBalancingV2::LoadBalancer
and
AWS::CloudFront::Distribution
. For a security group common policy,
valid values are AWS::EC2::NetworkInterface
and AWS::EC2::Instance
.
For a security group content audit policy, valid values are
AWS::EC2::SecurityGroup
, AWS::EC2::NetworkInterface
, and
AWS::EC2::Instance
. For a security group usage audit policy, the value
is AWS::EC2::SecurityGroup
. For an Network Firewall policy or DNS
Firewall policy, the value is AWS::EC2::VPC
.
$sel:securityServiceType:PolicySummary'
, policySummary_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.
policySummary_deleteUnusedFMManagedResources :: Lens' PolicySummary (Maybe Bool) Source #
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.
policySummary_policyArn :: Lens' PolicySummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the specified policy.
policySummary_policyId :: Lens' PolicySummary (Maybe Text) Source #
The ID of the specified policy.
policySummary_policyName :: Lens' PolicySummary (Maybe Text) Source #
The name of the specified policy.
policySummary_remediationEnabled :: Lens' PolicySummary (Maybe Bool) Source #
Indicates if the policy should be automatically applied to new resources.
policySummary_resourceType :: Lens' PolicySummary (Maybe Text) Source #
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.
For WAF and Shield Advanced, examples include
AWS::ElasticLoadBalancingV2::LoadBalancer
and
AWS::CloudFront::Distribution
. For a security group common policy,
valid values are AWS::EC2::NetworkInterface
and AWS::EC2::Instance
.
For a security group content audit policy, valid values are
AWS::EC2::SecurityGroup
, AWS::EC2::NetworkInterface
, and
AWS::EC2::Instance
. For a security group usage audit policy, the value
is AWS::EC2::SecurityGroup
. For an Network Firewall policy or DNS
Firewall policy, the value is AWS::EC2::VPC
.
policySummary_securityServiceType :: Lens' PolicySummary (Maybe SecurityServiceType) Source #
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.