UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

1,072 lines 79.2 kB
import * as cdk from "../../core/lib"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; import { APIKeyReference, GeofenceCollectionReference, IAPIKeyRef, IGeofenceCollectionRef, IMapRef, IPlaceIndexRef, IRouteCalculatorRef, ITrackerConsumerRef, ITrackerRef, MapReference, PlaceIndexReference, RouteCalculatorReference, TrackerConsumerReference, TrackerReference } from "../../interfaces/generated/aws-location-interfaces.generated"; /** * The `AWS::Location::GeofenceCollection` resource specifies the ability to detect and act when a tracked device enters or exits a defined geographical boundary known as a geofence. * * @cloudformationResource AWS::Location::GeofenceCollection * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html */ export declare class CfnGeofenceCollection extends cdk.CfnResource implements cdk.IInspectable, IGeofenceCollectionRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnGeofenceCollection from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnGeofenceCollection; /** * Checks whether the given object is a CfnGeofenceCollection */ static isCfnGeofenceCollection(x: any): x is CfnGeofenceCollection; /** * Creates a new IGeofenceCollectionRef from an ARN */ static fromGeofenceCollectionArn(scope: constructs.Construct, id: string, arn: string): IGeofenceCollectionRef; /** * Creates a new IGeofenceCollectionRef from a collectionName */ static fromCollectionName(scope: constructs.Construct, id: string, collectionName: string): IGeofenceCollectionRef; static arnForGeofenceCollection(resource: IGeofenceCollectionRef): string; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * A custom name for the geofence collection. */ private _collectionName; /** * An optional description for the geofence collection. */ private _description?; /** * A key identifier for an [AWS KMS customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html) . Enter a key ID, key ARN, alias name, or alias ARN. */ private _kmsKeyId?; /** * @deprecated this property has been deprecated */ private _pricingPlan?; /** * This shape is deprecated since 2022-02-01: Deprecated. * * @deprecated this property has been deprecated */ private _pricingPlanDataSource?; /** * Applies one or more tags to the geofence collection. */ private _tags?; /** * Create a new `AWS::Location::GeofenceCollection`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnGeofenceCollectionProps); get geofenceCollectionRef(): GeofenceCollectionReference; /** * A custom name for the geofence collection. */ get collectionName(): string; /** * A custom name for the geofence collection. */ set collectionName(value: string); /** * An optional description for the geofence collection. */ get description(): string | undefined; /** * An optional description for the geofence collection. */ set description(value: string | undefined); /** * A key identifier for an [AWS KMS customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html) . Enter a key ID, key ARN, alias name, or alias ARN. */ get kmsKeyId(): string | undefined; /** * A key identifier for an [AWS KMS customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html) . Enter a key ID, key ARN, alias name, or alias ARN. */ set kmsKeyId(value: string | undefined); /** * @deprecated this property has been deprecated */ get pricingPlan(): string | undefined; /** * @deprecated this property has been deprecated */ set pricingPlan(value: string | undefined); /** * This shape is deprecated since 2022-02-01: Deprecated. * * @deprecated this property has been deprecated */ get pricingPlanDataSource(): string | undefined; /** * This shape is deprecated since 2022-02-01: Deprecated. * * @deprecated this property has been deprecated */ set pricingPlanDataSource(value: string | undefined); /** * Applies one or more tags to the geofence collection. */ get tags(): Array<cdk.CfnTag> | undefined; /** * Applies one or more tags to the geofence collection. */ set tags(value: Array<cdk.CfnTag> | undefined); /** * The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS . * * - Format example: `arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection` * * @cloudformationAttribute Arn */ get attrArn(): string; /** * Synonym for `Arn` . The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all AWS . * * - Format example: `arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection` * * @cloudformationAttribute CollectionArn */ get attrCollectionArn(): string; /** * The timestamp for when the geofence collection resource was created in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` . * * @cloudformationAttribute CreateTime */ get attrCreateTime(): string; /** * The timestamp for when the geofence collection resource was last updated in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` . * * @cloudformationAttribute UpdateTime */ get attrUpdateTime(): string; protected get cfnProperties(): Record<string, any>; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record<string, any>): Record<string, any>; } /** * Properties for defining a `CfnGeofenceCollection` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html */ export interface CfnGeofenceCollectionProps { /** * A custom name for the geofence collection. * * Requirements: * * - Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_). * - Must be a unique geofence collection name. * - No spaces allowed. For example, `ExampleGeofenceCollection` . * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-collectionname */ readonly collectionName: string; /** * An optional description for the geofence collection. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-description */ readonly description?: string; /** * A key identifier for an [AWS KMS customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html) . Enter a key ID, key ARN, alias name, or alias ARN. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-kmskeyid */ readonly kmsKeyId?: string; /** * @deprecated this property has been deprecated * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-pricingplan */ readonly pricingPlan?: string; /** * This shape is deprecated since 2022-02-01: Deprecated. * * No longer allowed. * * @deprecated this property has been deprecated * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-pricingplandatasource */ readonly pricingPlanDataSource?: string; /** * Applies one or more tags to the geofence collection. * * A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them. * * Format: `"key" : "value"` * * Restrictions: * * - Maximum 50 tags per resource * - Each resource tag must be unique with a maximum of one value. * - Maximum key length: 128 Unicode characters in UTF-8 * - Maximum value length: 256 Unicode characters in UTF-8 * - Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @. * - Cannot use "aws:" as a prefix for a key. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html#cfn-location-geofencecollection-tags */ readonly tags?: Array<cdk.CfnTag>; } /** * The `AWS::Location::Map` resource specifies a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers. * * @cloudformationResource AWS::Location::Map * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html */ export declare class CfnMap extends cdk.CfnResource implements cdk.IInspectable, IMapRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnMap from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnMap; /** * Checks whether the given object is a CfnMap */ static isCfnMap(x: any): x is CfnMap; /** * Creates a new IMapRef from an ARN */ static fromMapArn(scope: constructs.Construct, id: string, arn: string): IMapRef; /** * Creates a new IMapRef from a mapName */ static fromMapName(scope: constructs.Construct, id: string, mapName: string): IMapRef; static arnForMap(resource: IMapRef): string; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * Specifies the `MapConfiguration` , including the map style, for the map resource that you create. */ private _configuration; /** * An optional description for the map resource. */ private _description?; /** * The name for the map resource. */ private _mapName; /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . */ private _pricingPlan?; /** * Applies one or more tags to the map resource. */ private _tags?; /** * Create a new `AWS::Location::Map`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnMapProps); get mapRef(): MapReference; /** * Specifies the `MapConfiguration` , including the map style, for the map resource that you create. */ get configuration(): cdk.IResolvable | CfnMap.MapConfigurationProperty; /** * Specifies the `MapConfiguration` , including the map style, for the map resource that you create. */ set configuration(value: cdk.IResolvable | CfnMap.MapConfigurationProperty); /** * An optional description for the map resource. */ get description(): string | undefined; /** * An optional description for the map resource. */ set description(value: string | undefined); /** * The name for the map resource. */ get mapName(): string; /** * The name for the map resource. */ set mapName(value: string); /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . */ get pricingPlan(): string | undefined; /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . */ set pricingPlan(value: string | undefined); /** * Applies one or more tags to the map resource. */ get tags(): Array<cdk.CfnTag> | undefined; /** * Applies one or more tags to the map resource. */ set tags(value: Array<cdk.CfnTag> | undefined); /** * The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS . * * - Format example: `arn:aws:geo:region:account-id:maps/ExampleMap` * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The timestamp for when the map resource was created in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` . * * @cloudformationAttribute CreateTime */ get attrCreateTime(): string; /** * @cloudformationAttribute DataSource */ get attrDataSource(): string; /** * Synonym for `Arn` . The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all AWS . * * - Format example: `arn:aws:geo:region:account-id:maps/ExampleMap` * * @cloudformationAttribute MapArn */ get attrMapArn(): string; /** * The timestamp for when the map resource was last updated in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` . * * @cloudformationAttribute UpdateTime */ get attrUpdateTime(): string; protected get cfnProperties(): Record<string, any>; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record<string, any>): Record<string, any>; } export declare namespace CfnMap { /** * Specifies the map tile style selected from an available provider. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-map-mapconfiguration.html */ interface MapConfigurationProperty { /** * Specifies the custom layers for the style. * * Leave unset to not enable any custom layer, or, for styles that support custom layers, you can enable layer(s), such as the `POI` layer for the VectorEsriNavigation style. * * > Currenlty only `VectorEsriNavigation` supports CustomLayers. For more information, see [Custom Layers](https://docs.aws.amazon.com//location/latest/developerguide/map-concepts.html#map-custom-layers) . * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-map-mapconfiguration.html#cfn-location-map-mapconfiguration-customlayers */ readonly customLayers?: Array<string>; /** * Specifies the map political view selected from an available data provider. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-map-mapconfiguration.html#cfn-location-map-mapconfiguration-politicalview */ readonly politicalView?: string; /** * Specifies the map style selected from an available data provider. * * Valid [Esri map styles](https://docs.aws.amazon.com/location/previous/developerguide/esri.html) : * * - `VectorEsriDarkGrayCanvas` – The Esri Dark Gray Canvas map style. A vector basemap with a dark gray, neutral background with minimal colors, labels, and features that's designed to draw attention to your thematic content. * - `RasterEsriImagery` – The Esri Imagery map style. A raster basemap that provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide. * - `VectorEsriLightGrayCanvas` – The Esri Light Gray Canvas map style, which provides a detailed vector basemap with a light gray, neutral background style with minimal colors, labels, and features that's designed to draw attention to your thematic content. * - `VectorEsriTopographic` – The Esri Light map style, which provides a detailed vector basemap with a classic Esri map style. * - `VectorEsriStreets` – The Esri Street Map style, which provides a detailed vector basemap for the world symbolized with a classic Esri street map style. The vector tile layer is similar in content and style to the World Street Map raster map. * - `VectorEsriNavigation` – The Esri Navigation map style, which provides a detailed basemap for the world symbolized with a custom navigation map style that's designed for use during the day in mobile devices. * * Valid [HERE Technologies map styles](https://docs.aws.amazon.com/location/previous/developerguide/HERE.html) : * * - `VectorHereContrast` – The HERE Contrast (Berlin) map style is a high contrast detailed base map of the world that blends 3D and 2D rendering. * * > The `VectorHereContrast` style has been renamed from `VectorHereBerlin` . `VectorHereBerlin` has been deprecated, but will continue to work in applications that use it. * - `VectorHereExplore` – A default HERE map style containing a neutral, global map and its features including roads, buildings, landmarks, and water features. It also now includes a fully designed map of Japan. * - `VectorHereExploreTruck` – A global map containing truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with highlighted segments and icons on top of HERE Explore to support use cases within transport and logistics. * - `RasterHereExploreSatellite` – A global map containing high resolution satellite imagery. * - `HybridHereExploreSatellite` – A global map displaying the road network, street names, and city labels over satellite imagery. This style will automatically retrieve both raster and vector tiles, and your charges will be based on total tiles retrieved. * * > Hybrid styles use both vector and raster tiles when rendering the map that you see. This means that more tiles are retrieved than when using either vector or raster tiles alone. Your charges will include all tiles retrieved. * * Valid [GrabMaps map styles](https://docs.aws.amazon.com/location/previous/developerguide/grab.html) : * * - `VectorGrabStandardLight` – The Grab Standard Light map style provides a basemap with detailed land use coloring, area names, roads, landmarks, and points of interest covering Southeast Asia. * - `VectorGrabStandardDark` – The Grab Standard Dark map style provides a dark variation of the standard basemap covering Southeast Asia. * * > Grab provides maps only for countries in Southeast Asia, and is only available in the Asia Pacific (Singapore) Region ( `ap-southeast-1` ). For more information, see [GrabMaps countries and area covered](https://docs.aws.amazon.com/location/previous/developerguide/grab.html#grab-coverage-area) . * * Valid [Open Data map styles](https://docs.aws.amazon.com/location/previous/developerguide/open-data.html) : * * - `VectorOpenDataStandardLight` – The Open Data Standard Light map style provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries. * - `VectorOpenDataStandardDark` – Open Data Standard Dark is a dark-themed map style that provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries. * - `VectorOpenDataVisualizationLight` – The Open Data Visualization Light map style is a light-themed style with muted colors and fewer features that aids in understanding overlaid data. * - `VectorOpenDataVisualizationDark` – The Open Data Visualization Dark map style is a dark-themed style with muted colors and fewer features that aids in understanding overlaid data. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-map-mapconfiguration.html#cfn-location-map-mapconfiguration-style */ readonly style: string; } } /** * Properties for defining a `CfnMap` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html */ export interface CfnMapProps { /** * Specifies the `MapConfiguration` , including the map style, for the map resource that you create. * * The map style defines the look of maps and the data provider for your map resource. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html#cfn-location-map-configuration */ readonly configuration: cdk.IResolvable | CfnMap.MapConfigurationProperty; /** * An optional description for the map resource. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html#cfn-location-map-description */ readonly description?: string; /** * The name for the map resource. * * Requirements: * * - Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_). * - Must be a unique map resource name. * - No spaces allowed. For example, `ExampleMap` . * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html#cfn-location-map-mapname */ readonly mapName: string; /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . * * *Allowed Values* : `RequestBasedUsage` * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html#cfn-location-map-pricingplan */ readonly pricingPlan?: string; /** * Applies one or more tags to the map resource. * * A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them. * * Format: `"key" : "value"` * * Restrictions: * * - Maximum 50 tags per resource * - Each resource tag must be unique with a maximum of one value. * - Maximum key length: 128 Unicode characters in UTF-8 * - Maximum value length: 256 Unicode characters in UTF-8 * - Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @. * - Cannot use "aws:" as a prefix for a key. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html#cfn-location-map-tags */ readonly tags?: Array<cdk.CfnTag>; } /** * Specifies a place index resource in your AWS account. * * Use a place index resource to geocode addresses and other text queries by using the `SearchPlaceIndexForText` operation, and reverse geocode coordinates by using the `SearchPlaceIndexForPosition` operation, and enable autosuggestions by using the `SearchPlaceIndexForSuggestions` operation. * * > If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the [AWS service terms](https://docs.aws.amazon.com/service-terms) for more details. * * @cloudformationResource AWS::Location::PlaceIndex * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html */ export declare class CfnPlaceIndex extends cdk.CfnResource implements cdk.IInspectable, IPlaceIndexRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnPlaceIndex from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnPlaceIndex; /** * Checks whether the given object is a CfnPlaceIndex */ static isCfnPlaceIndex(x: any): x is CfnPlaceIndex; /** * Creates a new IPlaceIndexRef from an ARN */ static fromPlaceIndexArn(scope: constructs.Construct, id: string, arn: string): IPlaceIndexRef; /** * Creates a new IPlaceIndexRef from a indexName */ static fromIndexName(scope: constructs.Construct, id: string, indexName: string): IPlaceIndexRef; static arnForPlaceIndex(resource: IPlaceIndexRef): string; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * Specifies the geospatial data provider for the new place index. */ private _dataSource; /** * Specifies the data storage option requesting Places. */ private _dataSourceConfiguration?; /** * The optional description for the place index resource. */ private _description?; /** * The name of the place index resource. */ private _indexName; /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . */ private _pricingPlan?; /** * An array of key-value pairs to apply to this resource. */ private _tags?; /** * Create a new `AWS::Location::PlaceIndex`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnPlaceIndexProps); get placeIndexRef(): PlaceIndexReference; /** * Specifies the geospatial data provider for the new place index. */ get dataSource(): string; /** * Specifies the geospatial data provider for the new place index. */ set dataSource(value: string); /** * Specifies the data storage option requesting Places. */ get dataSourceConfiguration(): CfnPlaceIndex.DataSourceConfigurationProperty | cdk.IResolvable | undefined; /** * Specifies the data storage option requesting Places. */ set dataSourceConfiguration(value: CfnPlaceIndex.DataSourceConfigurationProperty | cdk.IResolvable | undefined); /** * The optional description for the place index resource. */ get description(): string | undefined; /** * The optional description for the place index resource. */ set description(value: string | undefined); /** * The name of the place index resource. */ get indexName(): string; /** * The name of the place index resource. */ set indexName(value: string); /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . */ get pricingPlan(): string | undefined; /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . */ set pricingPlan(value: string | undefined); /** * An array of key-value pairs to apply to this resource. */ get tags(): Array<cdk.CfnTag> | undefined; /** * An array of key-value pairs to apply to this resource. */ set tags(value: Array<cdk.CfnTag> | undefined); /** * The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS . * * - Format example: `arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex` * * @cloudformationAttribute Arn */ get attrArn(): string; /** * The timestamp for when the place index resource was created in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` . * * @cloudformationAttribute CreateTime */ get attrCreateTime(): string; /** * Synonym for `Arn` . The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across AWS . * * - Format example: `arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex` * * @cloudformationAttribute IndexArn */ get attrIndexArn(): string; /** * The timestamp for when the place index resource was last updated in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` . * * @cloudformationAttribute UpdateTime */ get attrUpdateTime(): string; protected get cfnProperties(): Record<string, any>; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record<string, any>): Record<string, any>; } export declare namespace CfnPlaceIndex { /** * Specifies the data storage option requesting Places. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-placeindex-datasourceconfiguration.html */ interface DataSourceConfigurationProperty { /** * Specifies how the results of an operation will be stored by the caller. * * Valid values include: * * - `SingleUse` specifies that the results won't be stored. * - `Storage` specifies that the result can be cached or stored in a database. * * Default value: `SingleUse` * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-placeindex-datasourceconfiguration.html#cfn-location-placeindex-datasourceconfiguration-intendeduse */ readonly intendedUse?: string; } } /** * Properties for defining a `CfnPlaceIndex` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html */ export interface CfnPlaceIndexProps { /** * Specifies the geospatial data provider for the new place index. * * > This field is case-sensitive. Enter the valid values as shown. For example, entering `HERE` returns an error. * * Valid values include: * * - `Esri` – For additional information about [Esri](https://docs.aws.amazon.com/location/previous/developerguide/esri.html) 's coverage in your region of interest, see [Esri details on geocoding coverage](https://docs.aws.amazon.com/https://developers.arcgis.com/rest/geocode/api-reference/geocode-coverage.htm) . * - `Grab` – Grab provides place index functionality for Southeast Asia. For additional information about [GrabMaps](https://docs.aws.amazon.com/location/previous/developerguide/grab.html) ' coverage, see [GrabMaps countries and areas covered](https://docs.aws.amazon.com/location/previous/developerguide/grab.html#grab-coverage-area) . * - `Here` – For additional information about [HERE Technologies](https://docs.aws.amazon.com/location/previous/developerguide/HERE.html) ' coverage in your region of interest, see [HERE details on goecoding coverage](https://docs.aws.amazon.com/https://developer.here.com/documentation/geocoder/dev_guide/topics/coverage-geocoder.html) . * * > If you specify HERE Technologies ( `Here` ) as the data provider, you may not [store results](https://docs.aws.amazon.com//location-places/latest/APIReference/API_DataSourceConfiguration.html) for locations in Japan. For more information, see the [AWS service terms](https://docs.aws.amazon.com/service-terms/) for Amazon Location Service. * * For additional information , see [Data providers](https://docs.aws.amazon.com/location/previous/developerguide/what-is-data-provider.html) on the *Amazon Location Service developer guide* . * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html#cfn-location-placeindex-datasource */ readonly dataSource: string; /** * Specifies the data storage option requesting Places. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html#cfn-location-placeindex-datasourceconfiguration */ readonly dataSourceConfiguration?: CfnPlaceIndex.DataSourceConfigurationProperty | cdk.IResolvable; /** * The optional description for the place index resource. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html#cfn-location-placeindex-description */ readonly description?: string; /** * The name of the place index resource. * * Requirements: * * - Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_). * - Must be a unique place index resource name. * - No spaces allowed. For example, `ExamplePlaceIndex` . * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html#cfn-location-placeindex-indexname */ readonly indexName: string; /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . * * *Allowed Values* : `RequestBasedUsage` * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html#cfn-location-placeindex-pricingplan */ readonly pricingPlan?: string; /** * An array of key-value pairs to apply to this resource. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html#cfn-location-placeindex-tags */ readonly tags?: Array<cdk.CfnTag>; } /** * Specifies a route calculator resource in your AWS account. * * You can send requests to a route calculator resource to estimate travel time, distance, and get directions. A route calculator sources traffic and road network data from your chosen data provider. * * > If your application is tracking or routing assets you use in your business, such as delivery vehicles or employees, you must not use Esri as your geolocation provider. See section 82 of the [AWS service terms](https://docs.aws.amazon.com/service-terms) for more details. * * @cloudformationResource AWS::Location::RouteCalculator * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html */ export declare class CfnRouteCalculator extends cdk.CfnResource implements cdk.IInspectable, IRouteCalculatorRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnRouteCalculator from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnRouteCalculator; /** * Checks whether the given object is a CfnRouteCalculator */ static isCfnRouteCalculator(x: any): x is CfnRouteCalculator; /** * Creates a new IRouteCalculatorRef from an ARN */ static fromRouteCalculatorArn(scope: constructs.Construct, id: string, arn: string): IRouteCalculatorRef; /** * Creates a new IRouteCalculatorRef from a calculatorName */ static fromCalculatorName(scope: constructs.Construct, id: string, calculatorName: string): IRouteCalculatorRef; static arnForRouteCalculator(resource: IRouteCalculatorRef): string; /** * The name of the route calculator resource. */ private _calculatorName; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * Specifies the data provider of traffic and road network data. */ private _dataSource; /** * The optional description for the route calculator resource. */ private _description?; /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . */ private _pricingPlan?; /** * An array of key-value pairs to apply to this resource. */ private _tags?; /** * Create a new `AWS::Location::RouteCalculator`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnRouteCalculatorProps); get routeCalculatorRef(): RouteCalculatorReference; /** * The name of the route calculator resource. */ get calculatorName(): string; /** * The name of the route calculator resource. */ set calculatorName(value: string); /** * Specifies the data provider of traffic and road network data. */ get dataSource(): string; /** * Specifies the data provider of traffic and road network data. */ set dataSource(value: string); /** * The optional description for the route calculator resource. */ get description(): string | undefined; /** * The optional description for the route calculator resource. */ set description(value: string | undefined); /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . */ get pricingPlan(): string | undefined; /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . */ set pricingPlan(value: string | undefined); /** * An array of key-value pairs to apply to this resource. */ get tags(): Array<cdk.CfnTag> | undefined; /** * An array of key-value pairs to apply to this resource. */ set tags(value: Array<cdk.CfnTag> | undefined); /** * The Amazon Resource Name (ARN) for the route calculator resource. Use the ARN when you specify a resource across all AWS . * * - Format example: `arn:aws:geo:region:account-id:route-calculator/ExampleCalculator` * * @cloudformationAttribute Arn */ get attrArn(): string; /** * Synonym for `Arn` . The Amazon Resource Name (ARN) for the route calculator resource. Use the ARN when you specify a resource across all AWS . * * - Format example: `arn:aws:geo:region:account-id:route-calculator/ExampleCalculator` * * @cloudformationAttribute CalculatorArn */ get attrCalculatorArn(): string; /** * The timestamp for when the route calculator resource was created in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` . * * @cloudformationAttribute CreateTime */ get attrCreateTime(): string; /** * The timestamp for when the route calculator resource was last updated in [ISO 8601](https://docs.aws.amazon.com/https://www.iso.org/iso-8601-date-and-time-format.html) format: `YYYY-MM-DDThh:mm:ss.sssZ` . * * @cloudformationAttribute UpdateTime */ get attrUpdateTime(): string; protected get cfnProperties(): Record<string, any>; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record<string, any>): Record<string, any>; } /** * Properties for defining a `CfnRouteCalculator` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html */ export interface CfnRouteCalculatorProps { /** * The name of the route calculator resource. * * Requirements: * * - Can use alphanumeric characters (A–Z, a–z, 0–9) , hyphens (-), periods (.), and underscores (_). * - Must be a unique Route calculator resource name. * - No spaces allowed. For example, `ExampleRouteCalculator` . * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html#cfn-location-routecalculator-calculatorname */ readonly calculatorName: string; /** * Specifies the data provider of traffic and road network data. * * > This field is case-sensitive. Enter the valid values as shown. For example, entering `HERE` returns an error. * * Valid values include: * * - `Esri` – For additional information about [Esri](https://docs.aws.amazon.com/location/previous/developerguide/esri.html) 's coverage in your region of interest, see [Esri details on street networks and traffic coverage](https://docs.aws.amazon.com/https://doc.arcgis.com/en/arcgis-online/reference/network-coverage.htm) . * * Route calculators that use Esri as a data source only calculate routes that are shorter than 400 km. * - `Grab` – Grab provides routing functionality for Southeast Asia. For additional information about [GrabMaps](https://docs.aws.amazon.com/location/previous/developerguide/grab.html) ' coverage, see [GrabMaps countries and areas covered](https://docs.aws.amazon.com/location/previous/developerguide/grab.html#grab-coverage-area) . * - `Here` – For additional information about [HERE Technologies](https://docs.aws.amazon.com/location/previous/developerguide/HERE.html) ' coverage in your region of interest, see [HERE car routing coverage](https://docs.aws.amazon.com/https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/car-routing.html) and [HERE truck routing coverage](https://docs.aws.amazon.com/https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/truck-routing.html) . * * For additional information , see [Data providers](https://docs.aws.amazon.com/location/previous/developerguide/what-is-data-provider.html) on the *Amazon Location Service Developer Guide* . * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html#cfn-location-routecalculator-datasource */ readonly dataSource: string; /** * The optional description for the route calculator resource. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html#cfn-location-routecalculator-description */ readonly description?: string; /** * No longer used. If included, the only allowed value is `RequestBasedUsage` . * * *Allowed Values* : `RequestBasedUsage` * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html#cfn-location-routecalculator-pricingplan */ readonly pricingPlan?: string; /** * An array of key-value pairs to apply to this resource. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html#cfn-location-routecalculator-tags */ readonly tags?: Array<cdk.CfnTag>; } /** * Specifies a tracker resource in your AWS account , which lets you receive current and historical location of devices. * * @cloudformationResource AWS::Location::Tracker * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-tracker.html */ export declare class CfnTracker extends cdk.CfnResource implements cdk.IInspectable, ITrackerRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnTracker from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnTracker; /** * Checks whether the given object is a CfnTracker */ static isCfnTracker(x: any): x is CfnTracker; /** * Creates a new ITrackerRef from an ARN */ static fromTrackerArn(scope: constructs.Construct, id: string, arn: string): ITrackerRef; /** * Creates a new ITrackerRef from a trackerName */ static fromTrackerName(scope: constructs.Construct, id: string, trackerName: string): ITrackerRef; static arnForTracker(resource: ITrackerRef): string; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; /** * An optional description for the tracker resource. */ private _description?; private _eventBridgeEnabled?; private _kmsKeyEnableGeospatialQueries?; /** * A key identifier for an [AWS KMS customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html) . Enter a key ID, key ARN, alias name, or alias ARN. */ private _kmsKeyId?; /** * Specifies the position filtering for the tracker resource. */ private _positionFiltering?; /** * @deprecated this property has been deprecated */ private _pricingPlan?; /** * This shape is deprecated since 2022-02-01: Deprecated. * * @deprecated this property has been deprecated */ private _pricingPlanDataSource?; /** * An array of key-value pairs to apply to this resource. */ private _tags?; /** * The name for the tracker resource. */ private _trackerName; /** * Create a new `AWS::Location::Tracker`. * * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnTrackerProps); get trackerRef(): TrackerReference; /** * An optional description for the tracker resource. */ get description(): string | undefined; /** * An optional description for the tracker resource. */ set description(value: string | undefined); get eventBridgeEnabled(): boolean | cdk.IResolvable | undefined; set eventBridgeEnabled(value: boolean | cdk.IResolvable | undefined); get kmsKeyEnableGeospatialQueries(): boolean | cdk.IResolvable | undefined; set kmsKeyEnableGeospatialQueries(value: boolean | cdk.IResolvable | undefined); /** * A key identifier for an [AWS KMS customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html) . Enter a key ID, key ARN, alias name, or alias ARN. */ get kmsKeyId(): string | undefined; /** * A key identifier for an [AWS KMS customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html) . Enter a key ID, key ARN, alias name, or alias ARN. */ set kmsKeyId(value: string | undefined); /** * Specifies the position filtering for the tracker resourc