APIKeyReference

class aws_cdk.aws_location.APIKeyReference(*, api_key_arn, key_name)

Bases: object

A reference to a APIKey resource.

Parameters:
  • api_key_arn (str) – The ARN of the APIKey resource.

  • key_name (str) – The KeyName of the APIKey resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_location as location

a_pIKey_reference = location.APIKeyReference(
    api_key_arn="apiKeyArn",
    key_name="keyName"
)

Attributes

api_key_arn

The ARN of the APIKey resource.

key_name

The KeyName of the APIKey resource.