KeyContextQuery

class aws_cdk.cloud_assembly_schema.KeyContextQuery(*, account, alias_name, lookup_role_arn=None, region)

Bases: object

Query input for looking up a KMS Key.

Parameters
  • account (str) – Query account.

  • alias_name (str) – Alias name used to search the Key.

  • lookup_role_arn (Optional[str]) – The ARN of the role that should be used to look up the missing values. Default: - None

  • region (str) – Query region.

Example:

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

key_context_query = cloud_assembly_schema.KeyContextQuery(
    account="account",
    alias_name="aliasName",
    region="region",

    # the properties below are optional
    lookup_role_arn="lookupRoleArn"
)

Attributes

account

Query account.

Return type

str

alias_name

Alias name used to search the Key.

Return type

str

lookup_role_arn

The ARN of the role that should be used to look up the missing values.

Default
  • None

Return type

Optional[str]

region

Query region.

Return type

str