-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsiotwireless_CfnDestinationProps.go
48 lines (45 loc) · 1.6 KB
/
awsiotwireless_CfnDestinationProps.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
package awsiotwireless
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnDestination`.
//
// 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"
//
// cfnDestinationProps := &cfnDestinationProps{
// expression: jsii.String("expression"),
// expressionType: jsii.String("expressionType"),
// name: jsii.String("name"),
// roleArn: jsii.String("roleArn"),
//
// // the properties below are optional
// description: jsii.String("description"),
// tags: []cfnTag{
// &cfnTag{
// key: jsii.String("key"),
// value: jsii.String("value"),
// },
// },
// }
//
type CfnDestinationProps struct {
// The rule name to send messages to.
Expression *string `field:"required" json:"expression" yaml:"expression"`
// The type of value in `Expression` .
ExpressionType *string `field:"required" json:"expressionType" yaml:"expressionType"`
// The name of the new resource.
Name *string `field:"required" json:"name" yaml:"name"`
// The ARN of the IAM Role that authorizes the destination.
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// The description of the new resource.
//
// Maximum length is 2048 characters.
Description *string `field:"optional" json:"description" yaml:"description"`
// 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"`
}