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: - Noneowners (
Optional
[Sequence
[str
]]) – Owners to DescribeImages call. Default: - All owners
- 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 ami_context_query = cloud_assembly_schema.AmiContextQuery( account="account", filters={ "filters_key": ["filters"] }, region="region", # the properties below are optional lookup_role_arn="lookupRoleArn", owners=["owners"] )
Attributes
- account
Account to query.
- 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
- owners
Owners to DescribeImages call.
- Default:
All owners
- region
Region to query.