AmiContextQuery
- class aws_cdk.cloud_assembly_schema.AmiContextQuery(*, account, region, assume_role_additional_options=None, lookup_role_arn=None, lookup_role_external_id=None, filters, owners=None)
Bases:
ContextLookupRoleOptionsQuery to AMI context provider.
- Parameters:
account (
str) – Query account.region (
str) – Query region.assume_role_additional_options (
Optional[Mapping[str,Any]]) – Additional options to pass to STS when assuming the lookup role. -RoleArnshould not be used. Use the dedicatedlookupRoleArnproperty instead. -ExternalIdshould not be used. Use the dedicatedlookupRoleExternalIdinstead. Default: - No additional options.lookup_role_arn (
Optional[str]) – The ARN of the role that should be used to look up the missing values. Default: - Nonelookup_role_external_id (
Optional[str]) – The ExternalId that needs to be supplied while assuming this role. Default: - No ExternalId will be suppliedfilters (
Mapping[str,Sequence[str]]) – Filters to DescribeImages call.owners (
Optional[Sequence[str]]) – Owners to DescribeImages call. Default: - All owners
Attributes
- account
Query account.
- assume_role_additional_options
Additional options to pass to STS when assuming the lookup role.
RoleArnshould not be used. Use the dedicatedlookupRoleArnproperty instead.ExternalIdshould not be used. Use the dedicatedlookupRoleExternalIdinstead.
- Default:
No additional options.
- See:
- filters
Filters to DescribeImages call.
- lookup_role_arn
The ARN of the role that should be used to look up the missing values.
- Default:
None
- lookup_role_external_id
The ExternalId that needs to be supplied while assuming this role.
- Default:
No ExternalId will be supplied
- owners
Owners to DescribeImages call.
- Default:
All owners
- region
Query region.