mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-12-24 15:39:11 +08:00
19 lines
779 B
Go
19 lines
779 B
Go
package aws
|
|
|
|
// AccountIDEndpointMode controls how a resolved AWS account ID is handled for endpoint routing.
|
|
type AccountIDEndpointMode string
|
|
|
|
const (
|
|
// AccountIDEndpointModeUnset indicates the AWS account ID will not be used for endpoint routing
|
|
AccountIDEndpointModeUnset AccountIDEndpointMode = ""
|
|
|
|
// AccountIDEndpointModePreferred indicates the AWS account ID will be used for endpoint routing if present
|
|
AccountIDEndpointModePreferred = "preferred"
|
|
|
|
// AccountIDEndpointModeRequired indicates an error will be returned if the AWS account ID is not resolved from identity
|
|
AccountIDEndpointModeRequired = "required"
|
|
|
|
// AccountIDEndpointModeDisabled indicates the AWS account ID will be ignored during endpoint routing
|
|
AccountIDEndpointModeDisabled = "disabled"
|
|
)
|