-
Notifications
You must be signed in to change notification settings - Fork 3
/
input_types.go
47 lines (40 loc) · 1.2 KB
/
input_types.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 main
import (
"encoding/json"
)
type albEventProperties struct {
Resource string
Alias string
EventName string
Tags map[string]json.RawMessage
ListenerArn json.RawMessage
CertificateArn json.RawMessage
Oidc *albEventOidc `json:",omitempty"`
VpcConfig *albEventVpcConfig `json:",omitempty"`
Priority int
Conditions albEventConditions
}
type albEventOidc struct {
AuthorizationEndpoint string
ClientId string
ClientSecret string
Issuer string
TokenEndpoint string
UserInfoEndpoint string
AuthenticationRequestExtraParams map[string]string `json:",omitempty"`
OnUnauthenticatedRequest string `json:",omitempty"`
Scope string `json:",omitempty"`
SessionCookieName string `json:",omitempty"`
SessionTimeout int `json:",omitempty"`
}
type albEventVpcConfig struct {
SecurityGroupIds []string
SubnetIds []string
}
type albEventConditions struct {
Host json.RawMessage
Path json.RawMessage
Method json.RawMessage
Header map[string]json.RawMessage
Ip json.RawMessage
}