Skip to content

Commit 1f35253

Browse files
committed
feat: new ec2model
1 parent 8bdd72e commit 1f35253

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/model/ec2/security_group_ingress.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ type UserIDGroupPair struct {
1818
Description string `json:"description,omitempty"`
1919
}
2020

21+
type PrefixList struct {
22+
ListID string `json:"listID"`
23+
// +optional
24+
Description string `json:"description,omitempty"`
25+
}
26+
2127
type IPPermission struct {
2228
IPProtocol string `json:"ipProtocol"`
2329
// +optional
@@ -30,4 +36,6 @@ type IPPermission struct {
3036
IPv6Range []IPv6Range `json:"ipv6Ranges,omitempty"`
3137
// +optional
3238
UserIDGroupPairs []UserIDGroupPair `json:"userIDGroupPairs,omitempty"`
39+
// +optional
40+
PrefixLists []PrefixList `json:"prefixLists,omitempty"`
3341
}

0 commit comments

Comments
 (0)