-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsiotwireless_CfnTaskDefinitionProps.go
76 lines (73 loc) · 2.97 KB
/
awsiotwireless_CfnTaskDefinitionProps.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package awsiotwireless
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnTaskDefinition`.
//
// 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"
//
// cfnTaskDefinitionProps := &cfnTaskDefinitionProps{
// autoCreateTasks: jsii.Boolean(false),
//
// // the properties below are optional
// loRaWanUpdateGatewayTaskEntry: &loRaWANUpdateGatewayTaskEntryProperty{
// currentVersion: &loRaWANGatewayVersionProperty{
// model: jsii.String("model"),
// packageVersion: jsii.String("packageVersion"),
// station: jsii.String("station"),
// },
// updateVersion: &loRaWANGatewayVersionProperty{
// model: jsii.String("model"),
// packageVersion: jsii.String("packageVersion"),
// station: jsii.String("station"),
// },
// },
// name: jsii.String("name"),
// tags: []cfnTag{
// &cfnTag{
// key: jsii.String("key"),
// value: jsii.String("value"),
// },
// },
// taskDefinitionType: jsii.String("taskDefinitionType"),
// update: &updateWirelessGatewayTaskCreateProperty{
// loRaWan: &loRaWANUpdateGatewayTaskCreateProperty{
// currentVersion: &loRaWANGatewayVersionProperty{
// model: jsii.String("model"),
// packageVersion: jsii.String("packageVersion"),
// station: jsii.String("station"),
// },
// sigKeyCrc: jsii.Number(123),
// updateSignature: jsii.String("updateSignature"),
// updateVersion: &loRaWANGatewayVersionProperty{
// model: jsii.String("model"),
// packageVersion: jsii.String("packageVersion"),
// station: jsii.String("station"),
// },
// },
// updateDataRole: jsii.String("updateDataRole"),
// updateDataSource: jsii.String("updateDataSource"),
// },
// }
//
type CfnTaskDefinitionProps struct {
// Whether to automatically create tasks using this task definition for all gateways with the specified current version.
//
// If `false` , the task must me created by calling `CreateWirelessGatewayTask` .
AutoCreateTasks interface{} `field:"required" json:"autoCreateTasks" yaml:"autoCreateTasks"`
// `AWS::IoTWireless::TaskDefinition.LoRaWANUpdateGatewayTaskEntry`.
LoRaWanUpdateGatewayTaskEntry interface{} `field:"optional" json:"loRaWanUpdateGatewayTaskEntry" yaml:"loRaWanUpdateGatewayTaskEntry"`
// The name of the new resource.
Name *string `field:"optional" json:"name" yaml:"name"`
// The tags are an array of key-value pairs to attach to the specified resource.
//
// Tags can have a minimum of 0 and a maximum of 50 items.
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
// `AWS::IoTWireless::TaskDefinition.TaskDefinitionType`.
TaskDefinitionType *string `field:"optional" json:"taskDefinitionType" yaml:"taskDefinitionType"`
// Information about the gateways to update.
Update interface{} `field:"optional" json:"update" yaml:"update"`
}