agent-claw: automated task changes
This commit is contained in:
34
cdk/node_modules/aws-cdk-lib/aws-cloudfront/lib/geo-restriction.d.ts
generated
vendored
Normal file
34
cdk/node_modules/aws-cdk-lib/aws-cloudfront/lib/geo-restriction.d.ts
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* Controls the countries in which content is distributed.
|
||||
*/
|
||||
export declare class GeoRestriction {
|
||||
readonly restrictionType: 'whitelist' | 'blacklist';
|
||||
readonly locations: string[];
|
||||
/**
|
||||
* Allow specific countries which you want CloudFront to distribute your content.
|
||||
*
|
||||
* @param locations Two-letter, uppercase country code for a country
|
||||
* that you want to allow. Include one element for each country.
|
||||
* See ISO 3166-1-alpha-2 code on the *International Organization for Standardization* website
|
||||
*/
|
||||
static allowlist(this: void, ...locations: string[]): GeoRestriction;
|
||||
/**
|
||||
* Deny specific countries which you don't want CloudFront to distribute your content.
|
||||
*
|
||||
* @param locations Two-letter, uppercase country code for a country
|
||||
* that you want to deny. Include one element for each country.
|
||||
* See ISO 3166-1-alpha-2 code on the *International Organization for Standardization* website
|
||||
*/
|
||||
static denylist(this: void, ...locations: string[]): GeoRestriction;
|
||||
private static LOCATION_REGEX;
|
||||
private static validateLocations;
|
||||
/**
|
||||
* Creates an instance of GeoRestriction for internal use
|
||||
*
|
||||
* @param restrictionType Specifies the restriction type to impose
|
||||
* @param locations Two-letter, uppercase country code for a country
|
||||
* that you want to allow/deny. Include one element for each country.
|
||||
* See ISO 3166-1-alpha-2 code on the *International Organization for Standardization* website
|
||||
*/
|
||||
private constructor();
|
||||
}
|
||||
Reference in New Issue
Block a user