KeyContextQuery

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

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.

  • region (str) – Query region.

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

ExampleMetadata:

fixture=_generated

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.

alias_name

Alias name used to search the Key.

lookup_role_arn

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

Default:
  • None

region

Query region.