Module Smaws_Client_Shield.CreateProtection

val request : Smaws_Lib.Context.t -> create_protection_request -> (create_protection_response, [> Smaws_Lib.Protocols.AwsJson.error | `InternalErrorException of internal_error_exception | `InvalidOperationException of invalid_operation_exception | `InvalidParameterException of invalid_parameter_exception | `InvalidResourceException of invalid_resource_exception | `LimitsExceededException of limits_exceeded_exception | `OptimisticLockException of optimistic_lock_exception | `ResourceAlreadyExistsException of resource_already_exists_exception | `ResourceNotFoundException of resource_not_found_exception ]) Stdlib.result

Enables Shield Advanced for a specific Amazon Web Services resource. The resource can be an Amazon CloudFront distribution, Amazon Route 53 hosted zone, Global Accelerator standard accelerator, Elastic IP Address, Application Load Balancer, or a Classic Load Balancer. You can protect Amazon EC2 instances and Network Load Balancers by association with protected Amazon EC2 Elastic IP addresses.

You can add protection to only a single resource with each CreateProtection request. You can add protection to multiple resources at once through the Shield Advanced console at https://console.aws.amazon.com/wafv2/shieldv2#/. For more information see Getting Started with Shield Advanced and Adding Shield Advanced protection to Amazon Web Services resources.