/
IConnection.go
55 lines (47 loc) · 1.02 KB
/
IConnection.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
package awsevents
import (
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
"github.com/aws/aws-cdk-go/awscdk/v2"
"github.com/aws/aws-cdk-go/awscdk/v2/awsevents/internal"
)
// Interface for EventBus Connections.
type IConnection interface {
awscdk.IResource
// The ARN of the connection created.
ConnectionArn() *string
// The Name for the connection.
ConnectionName() *string
// The ARN for the secret created for the connection.
ConnectionSecretArn() *string
}
// The jsii proxy for IConnection
type jsiiProxy_IConnection struct {
internal.Type__awscdkIResource
}
func (j *jsiiProxy_IConnection) ConnectionArn() *string {
var returns *string
_jsii_.Get(
j,
"connectionArn",
&returns,
)
return returns
}
func (j *jsiiProxy_IConnection) ConnectionName() *string {
var returns *string
_jsii_.Get(
j,
"connectionName",
&returns,
)
return returns
}
func (j *jsiiProxy_IConnection) ConnectionSecretArn() *string {
var returns *string
_jsii_.Get(
j,
"connectionSecretArn",
&returns,
)
return returns
}