# GeoRestrictionCustomizationProperty

The customizations that you specified for the distribution tenant for geographic restrictions.

- Source: Generated code
- Type last changed: v2.194.0 · 2 May 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const geoRestrictionCustomizationProperty: cloudfront.CfnDistributionTenant.GeoRestrictionCustomizationProperty = {
  locations: ['locations'],
  restrictionType: 'restrictionType',
};
```

## Properties

- `locations`: string[] — The locations for geographic restrictions.

- `restrictionType`: string — The method that you want to use to restrict distribution of your content by country:.

  - `none` : No geographic restriction is enabled, meaning access to content is not restricted by client geo location.
  - `blacklist` : The `Location` elements specify the countries in which you don't want CloudFront to distribute your content.
  - `whitelist` : The `Location` elements specify the countries in which you want CloudFront to distribute your content.
