aws-cdk-lib.cloud_assembly_schema.AmiContextQuery

interface AmiContextQuery

LanguageType name
.NETAmazon.CDK.CloudAssembly.Schema.AmiContextQuery
Gogithub.com/aws/aws-cdk-go/awscdk/v2/cloudassemblyschema#AmiContextQuery
Javasoftware.amazon.awscdk.cloudassembly.schema.AmiContextQuery
Pythonaws_cdk.cloud_assembly_schema.AmiContextQuery
TypeScript (source)aws-cdk-lib » cloud_assembly_schema » AmiContextQuery

Query to AMI context provider.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { cloud_assembly_schema } from 'aws-cdk-lib';
const amiContextQuery: cloud_assembly_schema.AmiContextQuery = {
  account: 'account',
  filters: {
    filtersKey: ['filters'],
  },
  region: 'region',

  // the properties below are optional
  lookupRoleArn: 'lookupRoleArn',
  owners: ['owners'],
};

Properties

NameTypeDescription
accountstringAccount to query.
filters{ [string]: string[] }Filters to DescribeImages call.
regionstringRegion to query.
lookupRoleArn?stringThe ARN of the role that should be used to look up the missing values.
owners?string[]Owners to DescribeImages call.

account

Type: string

Account to query.


filters

Type: { [string]: string[] }

Filters to DescribeImages call.


region

Type: string

Region to query.


lookupRoleArn?

Type: string (optional, default: None)

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


owners?

Type: string[] (optional, default: All owners)

Owners to DescribeImages call.