/
CfnResolver_AppSyncRuntimeProperty.go
34 lines (31 loc) · 1.4 KB
/
CfnResolver_AppSyncRuntimeProperty.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
package awsappsync
// Describes a runtime used by an AWS AppSync resolver or AWS AppSync function.
//
// Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
//
// 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"
//
// appSyncRuntimeProperty := &AppSyncRuntimeProperty{
// Name: jsii.String("name"),
// RuntimeVersion: jsii.String("runtimeVersion"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-appsyncruntime.html
//
type CfnResolver_AppSyncRuntimeProperty struct {
// The `name` of the runtime to use.
//
// Currently, the only allowed value is `APPSYNC_JS` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-appsyncruntime.html#cfn-appsync-resolver-appsyncruntime-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The `version` of the runtime to use.
//
// Currently, the only allowed version is `1.0.0` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-appsyncruntime.html#cfn-appsync-resolver-appsyncruntime-runtimeversion
//
RuntimeVersion *string `field:"required" json:"runtimeVersion" yaml:"runtimeVersion"`
}