AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateProtection operation. Enables AWS Shield Advanced for a specific AWS resource. The resource can be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, Elastic IP Address, or an Amazon Route 53 hosted zone.

You can add protection to only a single resource with each CreateProtection request. If you want to add protection to multiple resources at once, use the AWS WAF console. For more information see Getting Started with AWS Shield Advanced and Add AWS Shield Advanced Protection to more AWS Resources.

Inheritance Hierarchy


Namespace: Amazon.Shield.Model
Assembly: AWSSDK.Shield.dll
Version: 3.x.y.z


public class CreateProtectionRequest : AmazonShieldRequest

The CreateProtectionRequest type exposes the following members


Public Method CreateProtectionRequest()


Public Property Name System.String

Gets and sets the property Name.

Friendly name for the Protection you are creating.

Public Property ResourceArn System.String

Gets and sets the property ResourceArn.

The ARN (Amazon Resource Name) of the resource to be protected.

The ARN should be in one of the following formats:

  • For an Application Load Balancer:


  • For an Elastic Load Balancer (Classic Load Balancer):


  • For AWS CloudFront distribution:


  • For Amazon Route 53:


  • For an Elastic IP address:


Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms