allowActions

@JvmName(name = "bngkiexgytewfnmj")
suspend fun allowActions(value: Output<List<String>>)
@JvmName(name = "irtuliqtjdpbrcwy")
suspend fun allowActions(value: List<String>)

Parameters

value

A list of allowed actions that an API key resource grants permissions to perform. You must have at least one action for each type of resource. For example, if you have a place resource, you must include at least one place action. The following are valid values for the actions.

  • Map actions

  • geo:GetMap* - Allows all actions needed for map rendering.

  • Place actions

  • geo:SearchPlaceIndexForText - Allows geocoding.

  • geo:SearchPlaceIndexForPosition - Allows reverse geocoding.

  • geo:SearchPlaceIndexForSuggestions - Allows generating suggestions from text.

  • geo:GetPlace - Allows finding a place by place ID.

  • Route actions

  • geo:CalculateRoute - Allows point to point routing.

  • geo:CalculateRouteMatrix - Allows calculating a matrix of routes.

You must use these strings exactly. For example, to provide access to map rendering, the only valid action is geo:GetMap* as an input to the list. ["geo:GetMap*"] is valid but ["geo:GetMapTile"] is not. Similarly, you cannot use ["geo:SearchPlaceIndexFor*"] - you must list each of the Place actions separately.


@JvmName(name = "pjkseddkviaqbril")
suspend fun allowActions(vararg values: Output<String>)


@JvmName(name = "mpawmoqlkmbnfidk")
suspend fun allowActions(values: List<Output<String>>)
@JvmName(name = "dgwnhiftifrjyxsn")
suspend fun allowActions(vararg values: String)

Parameters

values

A list of allowed actions that an API key resource grants permissions to perform. You must have at least one action for each type of resource. For example, if you have a place resource, you must include at least one place action. The following are valid values for the actions.

  • Map actions

  • geo:GetMap* - Allows all actions needed for map rendering.

  • Place actions

  • geo:SearchPlaceIndexForText - Allows geocoding.

  • geo:SearchPlaceIndexForPosition - Allows reverse geocoding.

  • geo:SearchPlaceIndexForSuggestions - Allows generating suggestions from text.

  • geo:GetPlace - Allows finding a place by place ID.

  • Route actions

  • geo:CalculateRoute - Allows point to point routing.

  • geo:CalculateRouteMatrix - Allows calculating a matrix of routes.

You must use these strings exactly. For example, to provide access to map rendering, the only valid action is geo:GetMap* as an input to the list. ["geo:GetMap*"] is valid but ["geo:GetMapTile"] is not. Similarly, you cannot use ["geo:SearchPlaceIndexFor*"] - you must list each of the Place actions separately.