AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.104.0 published on Tuesday, Apr 30, 2024 by Pulumi
aws-native.location.getApiKey
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.104.0 published on Tuesday, Apr 30, 2024 by Pulumi
Definition of AWS::Location::APIKey Resource Type
Using getApiKey
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApiKey(args: GetApiKeyArgs, opts?: InvokeOptions): Promise<GetApiKeyResult>
function getApiKeyOutput(args: GetApiKeyOutputArgs, opts?: InvokeOptions): Output<GetApiKeyResult>
def get_api_key(key_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApiKeyResult
def get_api_key_output(key_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApiKeyResult]
func LookupApiKey(ctx *Context, args *LookupApiKeyArgs, opts ...InvokeOption) (*LookupApiKeyResult, error)
func LookupApiKeyOutput(ctx *Context, args *LookupApiKeyOutputArgs, opts ...InvokeOption) LookupApiKeyResultOutput
> Note: This function is named LookupApiKey
in the Go SDK.
public static class GetApiKey
{
public static Task<GetApiKeyResult> InvokeAsync(GetApiKeyArgs args, InvokeOptions? opts = null)
public static Output<GetApiKeyResult> Invoke(GetApiKeyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApiKeyResult> getApiKey(GetApiKeyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:location:getApiKey
arguments:
# arguments dictionary
The following arguments are supported:
- Key
Name string
- Key
Name string
- key
Name String
- key
Name string
- key_
name str
- key
Name String
getApiKey Result
The following output properties are available:
- Arn string
- Create
Time string - Description string
- Expire
Time string - Key
Arn string - Restrictions
Pulumi.
Aws Native. Location. Outputs. Api Key Restrictions - List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Update
Time string
- Arn string
- Create
Time string - Description string
- Expire
Time string - Key
Arn string - Restrictions
Api
Key Restrictions - Tag
- An array of key-value pairs to apply to this resource.
- Update
Time string
- arn String
- create
Time String - description String
- expire
Time String - key
Arn String - restrictions
Api
Key Restrictions - List<Tag>
- An array of key-value pairs to apply to this resource.
- update
Time String
- arn string
- create
Time string - description string
- expire
Time string - key
Arn string - restrictions
Api
Key Restrictions - Tag[]
- An array of key-value pairs to apply to this resource.
- update
Time string
- arn str
- create_
time str - description str
- expire_
time str - key_
arn str - restrictions
Api
Key Restrictions - Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- update_
time str
- arn String
- create
Time String - description String
- expire
Time String - key
Arn String - restrictions Property Map
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- update
Time String
Supporting Types
ApiKeyRestrictions
- Allow
Actions List<string> - Allow
Resources List<string> - Allow
Referers List<string>
- Allow
Actions []string - Allow
Resources []string - Allow
Referers []string
- allow
Actions List<String> - allow
Resources List<String> - allow
Referers List<String>
- allow
Actions string[] - allow
Resources string[] - allow
Referers string[]
- allow_
actions Sequence[str] - allow_
resources Sequence[str] - allow_
referers Sequence[str]
- allow
Actions List<String> - allow
Resources List<String> - allow
Referers List<String>
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.104.0 published on Tuesday, Apr 30, 2024 by Pulumi