amazonka-fms-2.0: Amazon Firewall Management Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.FMS.Types.PolicySummary

Description

 
Synopsis

Documentation

data PolicySummary Source #

Details of the Firewall Manager policy.

See: newPolicySummary smart constructor.

Constructors

PolicySummary' 

Fields

  • deleteUnusedFMManagedResources :: Maybe Bool

    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.

  • policyArn :: Maybe Text

    The Amazon Resource Name (ARN) of the specified policy.

  • policyId :: Maybe Text

    The ID of the specified policy.

  • policyName :: Maybe Text

    The name of the specified policy.

  • remediationEnabled :: Maybe Bool

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

  • resourceType :: Maybe Text

    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.

  • securityServiceType :: Maybe 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.

Instances

Instances details
FromJSON PolicySummary Source # 
Instance details

Defined in Amazonka.FMS.Types.PolicySummary

Generic PolicySummary Source # 
Instance details

Defined in Amazonka.FMS.Types.PolicySummary

Associated Types

type Rep PolicySummary :: Type -> Type #

Read PolicySummary Source # 
Instance details

Defined in Amazonka.FMS.Types.PolicySummary

Show PolicySummary Source # 
Instance details

Defined in Amazonka.FMS.Types.PolicySummary

NFData PolicySummary Source # 
Instance details

Defined in Amazonka.FMS.Types.PolicySummary

Methods

rnf :: PolicySummary -> () #

Eq PolicySummary Source # 
Instance details

Defined in Amazonka.FMS.Types.PolicySummary

Hashable PolicySummary Source # 
Instance details

Defined in Amazonka.FMS.Types.PolicySummary

type Rep PolicySummary Source # 
Instance details

Defined in Amazonka.FMS.Types.PolicySummary

type Rep PolicySummary = D1 ('MetaData "PolicySummary" "Amazonka.FMS.Types.PolicySummary" "amazonka-fms-2.0-351knTjuYAjE9GRQTo0ohx" 'False) (C1 ('MetaCons "PolicySummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deleteUnusedFMManagedResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "policyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "remediationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "securityServiceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SecurityServiceType))))))

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.