/
EventBusAttributes.go
32 lines (29 loc) · 1.19 KB
/
EventBusAttributes.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
package awsevents
// Interface with properties necessary to import a reusable EventBus.
//
// 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"
//
// eventBusAttributes := &EventBusAttributes{
// EventBusArn: jsii.String("eventBusArn"),
// EventBusName: jsii.String("eventBusName"),
// EventBusPolicy: jsii.String("eventBusPolicy"),
//
// // the properties below are optional
// EventSourceName: jsii.String("eventSourceName"),
// }
//
type EventBusAttributes struct {
// The ARN of this event bus resource.
EventBusArn *string `field:"required" json:"eventBusArn" yaml:"eventBusArn"`
// The physical ID of this event bus resource.
EventBusName *string `field:"required" json:"eventBusName" yaml:"eventBusName"`
// The JSON policy of this event bus resource.
EventBusPolicy *string `field:"required" json:"eventBusPolicy" yaml:"eventBusPolicy"`
// The partner event source to associate with this event bus resource.
// Default: - no partner event source.
//
EventSourceName *string `field:"optional" json:"eventSourceName" yaml:"eventSourceName"`
}