ApiKeyRestrictionsArgs

data class ApiKeyRestrictionsArgs(val allowActions: Output<List<String>>, val allowReferers: Output<List<String>>? = null, val allowResources: Output<List<String>>) : ConvertibleToJava<ApiKeyRestrictionsArgs>

Constructors

Link copied to clipboard
constructor(allowActions: Output<List<String>>, allowReferers: Output<List<String>>? = null, allowResources: Output<List<String>>)

Properties

Link copied to clipboard
val allowActions: Output<List<String>>

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.

Link copied to clipboard
val allowReferers: Output<List<String>>? = null

An optional list of allowed HTTP referers for which requests must originate from. Requests using this API key from other domains will not be allowed. Requirements:

Link copied to clipboard
val allowResources: Output<List<String>>

A list of allowed resource ARNs that a API key bearer can perform actions on.

Functions

Link copied to clipboard
open override fun toJava(): ApiKeyRestrictionsArgs