AmiContextQuery

class aws_cdk.cloud_assembly_schema.AmiContextQuery(*, account, filters, region, lookup_role_arn=None, owners=None)

Bases: object

Query to AMI context provider.

Parameters
  • account (str) – Account to query.

  • filters (Mapping[str, Sequence[str]]) – Filters to DescribeImages call.

  • region (str) – Region to query.

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

  • owners (Optional[Sequence[str]]) – Owners to DescribeImages call. Default: - All owners

Attributes

account

Account to query.

Return type

str

filters

Filters to DescribeImages call.

Return type

Mapping[str, List[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]

owners

Owners to DescribeImages call.

Default
  • All owners

Return type

Optional[List[str]]

region

Region to query.

Return type

str