-
Notifications
You must be signed in to change notification settings - Fork 37
/
config.go
40 lines (28 loc) · 898 Bytes
/
config.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
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package awsbase
import (
"github.com/hashicorp/aws-sdk-go-base/v2/internal/config"
)
// Config, APNInfo, APNProduct, and AssumeRole are aliased to an internal package to break a dependency cycle
// in internal/httpclient.
type Config = config.Config
type APNInfo = config.APNInfo
type AssumeRole = config.AssumeRole
type AssumeRoleWithWebIdentity = config.AssumeRoleWithWebIdentity
type UserAgentProducts = config.UserAgentProducts
type UserAgentProduct = config.UserAgentProduct
const (
EC2MetadataEndpointModeIPv4 = "IPv4"
EC2MetadataEndpointModeIPv6 = "IPv6"
)
func EC2MetadataEndpointMode_Values() []string {
return []string{
EC2MetadataEndpointModeIPv4,
EC2MetadataEndpointModeIPv6,
}
}
const (
HTTPProxyModeLegacy = config.HTTPProxyModeLegacy
HTTPProxyModeSeparate = config.HTTPProxyModeSeparate
)