-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsevents_EventBusAttributes.go
35 lines (32 loc) · 1.23 KB
/
awsevents_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
32
33
34
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"),
// }
//
// Experimental.
type EventBusAttributes struct {
// The ARN of this event bus resource.
// Experimental.
EventBusArn *string `field:"required" json:"eventBusArn" yaml:"eventBusArn"`
// The physical ID of this event bus resource.
// Experimental.
EventBusName *string `field:"required" json:"eventBusName" yaml:"eventBusName"`
// The JSON policy of this event bus resource.
// Experimental.
EventBusPolicy *string `field:"required" json:"eventBusPolicy" yaml:"eventBusPolicy"`
// The partner event source to associate with this event bus resource.
// Experimental.
EventSourceName *string `field:"optional" json:"eventSourceName" yaml:"eventSourceName"`
}