-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
aws: proto definition for s3 and iam resources for topology cache (#3022
- Loading branch information
Showing
11 changed files
with
3,123 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
syntax = "proto3"; | ||
|
||
package clutch.aws.iam.v1; | ||
|
||
option go_package = "github.com/lyft/clutch/backend/api/aws/iam/v1;iamv1"; | ||
|
||
import "google/protobuf/timestamp.proto"; | ||
import "api/v1/annotations.proto"; | ||
|
||
message Role { | ||
option (clutch.api.v1.id).patterns = { | ||
type_url : "clutch.aws.iam.v1.Role", | ||
pattern : "{account}/{region}/{name}" | ||
}; | ||
|
||
string name = 1; | ||
string id = 2; | ||
string arn = 3; | ||
google.protobuf.Timestamp created_date = 4; | ||
string region = 5; | ||
string account = 6; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
syntax = "proto3"; | ||
|
||
package clutch.aws.s3.v1; | ||
|
||
option go_package = "github.com/lyft/clutch/backend/api/aws/s3/v1;s3v1"; | ||
|
||
import "google/protobuf/timestamp.proto"; | ||
import "api/v1/annotations.proto"; | ||
|
||
message Bucket { | ||
option (clutch.api.v1.id).patterns = { | ||
type_url : "clutch.aws.s3.v1.Bucket", | ||
pattern : "{account}/{region}/{name}" | ||
}; | ||
|
||
string name = 1; | ||
string region = 2; | ||
string account = 3; | ||
} | ||
|
||
message AccessPoint { | ||
option (clutch.api.v1.id).patterns = { | ||
type_url : "clutch.aws.s3.v1.AccessPoint", | ||
pattern : "{account}/{region}/{name}" | ||
}; | ||
|
||
string name = 1; | ||
string bucket = 2; | ||
string alias = 3; | ||
google.protobuf.Timestamp creation_date = 4; | ||
string bucket_account_id = 5; | ||
string access_point_arn = 6; | ||
string region = 7; | ||
string account = 8; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.