-
Notifications
You must be signed in to change notification settings - Fork 17
/
AmiContextQuery.go
39 lines (36 loc) · 1.22 KB
/
AmiContextQuery.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package cloudassemblyschema
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// amiContextQuery := &AmiContextQuery{
// Account: jsii.String("account"),
// Filters: map[string][]*string{
// "filtersKey": []*string{
// jsii.String("filters"),
// },
// },
// Region: jsii.String("region"),
//
// // the properties below are optional
// LookupRoleArn: jsii.String("lookupRoleArn"),
// Owners: []*string{
// jsii.String("owners"),
// },
// }
//
type AmiContextQuery struct {
// Account to query.
Account *string `field:"required" json:"account" yaml:"account"`
// Filters to DescribeImages call.
Filters *map[string]*[]*string `field:"required" json:"filters" yaml:"filters"`
// Region to query.
Region *string `field:"required" json:"region" yaml:"region"`
// The ARN of the role that should be used to look up the missing values.
LookupRoleArn *string `field:"optional" json:"lookupRoleArn" yaml:"lookupRoleArn"`
// Owners to DescribeImages call.
Owners *[]*string `field:"optional" json:"owners" yaml:"owners"`
}