Interface CfnDistribution.RestrictionsProperty

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

@Stability(Stable) public static interface CfnDistribution.RestrictionsProperty extends software.amazon.jsii.JsiiSerializable
A complex type that identifies ways in which you want to restrict distribution of your content.

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.*;
 RestrictionsProperty restrictionsProperty = RestrictionsProperty.builder()
         .geoRestriction(GeoRestrictionProperty.builder()
                 .restrictionType("restrictionType")
                 // the properties below are optional
                 .locations(List.of("locations"))
                 .build())
         .build();
 

See Also: