/
KeyContextQuery.go
35 lines (32 loc) · 1.06 KB
/
KeyContextQuery.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
package cloudassemblyschema
// Query input for looking up a KMS Key.
//
// 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"
//
// keyContextQuery := &KeyContextQuery{
// Account: jsii.String("account"),
// AliasName: jsii.String("aliasName"),
// Region: jsii.String("region"),
//
// // the properties below are optional
// LookupRoleArn: jsii.String("lookupRoleArn"),
// }
//
// Experimental.
type KeyContextQuery struct {
// Query account.
// Experimental.
Account *string `field:"required" json:"account" yaml:"account"`
// Alias name used to search the Key.
// Experimental.
AliasName *string `field:"required" json:"aliasName" yaml:"aliasName"`
// Query region.
// Experimental.
Region *string `field:"required" json:"region" yaml:"region"`
// The ARN of the role that should be used to look up the missing values.
// Experimental.
LookupRoleArn *string `field:"optional" json:"lookupRoleArn" yaml:"lookupRoleArn"`
}