Class AmiContextQuery
Query to AMI context provider.
Inheritance
System.Object
AmiContextQuery
Implements
Namespace: Amazon.CDK.CloudAssembly.Schema
Assembly: Amazon.CDK.CloudAssembly.Schema.dll
Syntax (csharp)
public class AmiContextQuery : Object, IAmiContextQuery
Syntax (vb)
Public Class AmiContextQuery
Inherits Object
Implements IAmiContextQuery
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CloudAssembly.Schema;
var amiContextQuery = new AmiContextQuery {
Account = "account",
Filters = new Dictionary<string, string[]> {
{ "filtersKey", new [] { "filters" } }
},
Region = "region",
// the properties below are optional
LookupRoleArn = "lookupRoleArn",
Owners = new [] { "owners" }
};
Synopsis
Constructors
AmiContextQuery() |
Properties
Account | Account to query. |
Filters | Filters to DescribeImages call. |
LookupRoleArn | The ARN of the role that should be used to look up the missing values. |
Owners | Owners to DescribeImages call. |
Region | Region to query. |
Constructors
AmiContextQuery()
public AmiContextQuery()
Properties
Account
Account to query.
public string Account { get; set; }
Property Value
System.String
Filters
Filters to DescribeImages call.
public IDictionary<string, string[]> Filters { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String[]>
LookupRoleArn
The ARN of the role that should be used to look up the missing values.
public string LookupRoleArn { get; set; }
Property Value
System.String
Remarks
Default: - None
Owners
Owners to DescribeImages call.
public string[] Owners { get; set; }
Property Value
System.String[]
Remarks
Default: - All owners
Region
Region to query.
public string Region { get; set; }
Property Value
System.String