cdk-iam-floyd
Version:
AWS IAM policy statement generator with fluent interface for AWS CDK
83 lines (82 loc) • 3.26 kB
TypeScript
import { AccessLevelList } from '../../shared/access-level';
import { PolicyStatement } from '../../shared';
import { aws_iam as iam } from "aws-cdk-lib";
/**
* Statement provider for service [geo-places](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonlocationserviceplaces.html).
*
* @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement
*/
export declare class GeoPlaces extends PolicyStatement {
servicePrefix: string;
/**
* Grants permission to autocomplete text input with potential places and addresses as the user types
*
* Access Level: Read
*
* https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_Autocomplete.html
*/
toAutocomplete(): this;
/**
* Grants permission to geocode a textual address or place into geographic coordinates
*
* Access Level: Read
*
* https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_Geocode.html
*/
toGeocode(): this;
/**
* Grants permission to query a place by it's unqiue place ID
*
* Access Level: Read
*
* https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_GetPlace.html
*/
toGetPlace(): this;
/**
* Grants permission to convert geographic coordinates into a human-readable address or place
*
* Access Level: Read
*
* https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_ReverseGeocode.html
*/
toReverseGeocode(): this;
/**
* Grants permission to retrieve places near a position which match to a set of user defined restrictions such as category or food type offered by the place
*
* Access Level: Read
*
* https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_SearchNearby.html
*/
toSearchNearby(): this;
/**
* Grants permission to query for places using a single free-form text input
*
* Access Level: Read
*
* https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_SearchText.html
*/
toSearchText(): this;
/**
* Grants permission to suggest potential places based on the user's input
*
* Access Level: Read
*
* https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_Suggest.html
*/
toSuggest(): this;
protected accessLevelList: AccessLevelList;
/**
* Adds a resource of type provider to the statement
*
* https://docs.aws.amazon.com/location/latest/developerguide/Welcome.html
*
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
*/
onProvider(region?: string, partition?: string): this;
/**
* Statement provider for service [geo-places](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonlocationserviceplaces.html).
*
*/
constructor(props?: iam.PolicyStatementProps);
}