java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.location.alpha.PlaceIndex
All Implemented Interfaces:
IResource, IPlaceIndex, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-21T06:34:18.291Z") @Stability(Experimental) public class PlaceIndex extends Resource implements IPlaceIndex
(experimental) A Place Index.

Example:

 PlaceIndex.Builder.create(this, "PlaceIndex")
         .placeIndexName("MyPlaceIndex") // optional, defaults to a generated name
         .dataSource(DataSource.HERE)
         .build();
 

See Also:
  • Constructor Details

    • PlaceIndex

      protected PlaceIndex(software.amazon.jsii.JsiiObjectRef objRef)
    • PlaceIndex

      protected PlaceIndex(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • PlaceIndex

      @Stability(Experimental) public PlaceIndex(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable PlaceIndexProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • PlaceIndex

      @Stability(Experimental) public PlaceIndex(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
  • Method Details

    • fromPlaceIndexArn

      @Stability(Experimental) @NotNull public static IPlaceIndex fromPlaceIndexArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String placeIndexArn)
      (experimental) Use an existing place index by ARN.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      placeIndexArn - This parameter is required.
    • fromPlaceIndexName

      @Stability(Experimental) @NotNull public static IPlaceIndex fromPlaceIndexName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String placeIndexName)
      (experimental) Use an existing place index by name.

      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      placeIndexName - This parameter is required.
    • grant

      @Stability(Experimental) @NotNull public Grant grant(@NotNull IGrantable grantee, @NotNull @NotNull String... actions)
      (experimental) Grant the given principal identity permissions to perform the actions on this place index.

      Parameters:
      grantee - This parameter is required.
      actions - This parameter is required.
    • grantSearch

      @Stability(Experimental) @NotNull public Grant grantSearch(@NotNull IGrantable grantee)
      (experimental) Grant the given identity permissions to search using this index.

      Parameters:
      grantee - This parameter is required.
    • getPlaceIndexArn

      @Stability(Experimental) @NotNull public String getPlaceIndexArn()
      (experimental) The Amazon Resource Name (ARN) of the place index resource.
      Specified by:
      getPlaceIndexArn in interface IPlaceIndex
    • getPlaceIndexCreateTime

      @Stability(Experimental) @NotNull public String getPlaceIndexCreateTime()
      (experimental) The timestamp for when the place index resource was created in ISO 8601 format.
    • getPlaceIndexName

      @Stability(Experimental) @NotNull public String getPlaceIndexName()
      (experimental) The name of the place index.
      Specified by:
      getPlaceIndexName in interface IPlaceIndex
    • getPlaceIndexUpdateTime

      @Stability(Experimental) @NotNull public String getPlaceIndexUpdateTime()
      (experimental) The timestamp for when the place index resource was last updated in ISO 8601 format.