public static interface PolicySummary.Builder extends SdkPojo, CopyableBuilder<PolicySummary.Builder,PolicySummary>
| Modifier and Type | Method and Description |
|---|---|
PolicySummary.Builder |
deleteUnusedFMManagedResources(Boolean 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.
|
PolicySummary.Builder |
policyArn(String policyArn)
The Amazon Resource Name (ARN) of the specified policy.
|
PolicySummary.Builder |
policyId(String policyId)
The ID of the specified policy.
|
PolicySummary.Builder |
policyName(String policyName)
The name of the specified policy.
|
PolicySummary.Builder |
policyStatus(CustomerPolicyStatus policyStatus)
Indicates whether the policy is in or out of an admin's policy or Region scope.
|
PolicySummary.Builder |
policyStatus(String policyStatus)
Indicates whether the policy is in or out of an admin's policy or Region scope.
|
PolicySummary.Builder |
remediationEnabled(Boolean remediationEnabled)
Indicates if the policy should be automatically applied to new resources.
|
PolicySummary.Builder |
resourceType(String resourceType)
The type of resource protected by or in scope of the policy.
|
PolicySummary.Builder |
securityServiceType(SecurityServiceType securityServiceType)
The service that the policy is using to protect the resources.
|
PolicySummary.Builder |
securityServiceType(String securityServiceType)
The service that the policy is using to protect the resources.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPolicySummary.Builder policyArn(String policyArn)
The Amazon Resource Name (ARN) of the specified policy.
policyArn - The Amazon Resource Name (ARN) of the specified policy.PolicySummary.Builder policyId(String policyId)
The ID of the specified policy.
policyId - The ID of the specified policy.PolicySummary.Builder policyName(String policyName)
The name of the specified policy.
policyName - The name of the specified policy.PolicySummary.Builder resourceType(String 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.
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.PolicySummary.Builder securityServiceType(String 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.
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.SecurityServiceType,
SecurityServiceTypePolicySummary.Builder securityServiceType(SecurityServiceType 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.
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.SecurityServiceType,
SecurityServiceTypePolicySummary.Builder remediationEnabled(Boolean remediationEnabled)
Indicates if the policy should be automatically applied to new resources.
remediationEnabled - Indicates if the policy should be automatically applied to new resources.PolicySummary.Builder deleteUnusedFMManagedResources(Boolean 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.
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.
PolicySummary.Builder policyStatus(String policyStatus)
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.
policyStatus - 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.
CustomerPolicyStatus,
CustomerPolicyStatusPolicySummary.Builder policyStatus(CustomerPolicyStatus policyStatus)
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.
policyStatus - 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.
CustomerPolicyStatus,
CustomerPolicyStatusCopyright © 2023. All rights reserved.