Interface CfnDistribution.OriginShieldProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDistribution.OriginShieldProperty.Jsii$Proxy
Enclosing class:
CfnDistribution

@Stability(Stable) public static interface CfnDistribution.OriginShieldProperty extends software.amazon.jsii.JsiiSerializable
CloudFront Origin Shield.

Using Origin Shield can help reduce the load on your origin. For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudfront.*;
 OriginShieldProperty originShieldProperty = OriginShieldProperty.builder()
         .enabled(false)
         .originShieldRegion("originShieldRegion")
         .build();
 

See Also: