Struct: endpoints.Options
Overview
Options is the endpoint resolver configuration options
Implemented Interfaces
types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream
Structure Field Summary collapse
-
DisableHTTPS bool
DisableHTTPS informs the resolver to return an endpoint that does not use the HTTPS scheme.
-
LogDeprecated bool
LogDeprecated indicates that deprecated endpoints should be logged to the provided logger.
-
Logger logging.Logger
Logger is a logging implementation that log events should be sent to.
-
ResolvedRegion string
ResolvedRegion is used to override the region to be resolved, rather then the using the value passed to the ResolveEndpoint method.
-
UseDualStackEndpoint aws.DualStackEndpointState
UseDualStackEndpoint specifies the resolver must resolve a dual-stack endpoint.
-
UseFIPSEndpoint aws.FIPSEndpointState
UseFIPSEndpoint specifies the resolver must resolve a FIPS endpoint.
Method Summary collapse
- func (o Options) GetDisableHTTPS() bool
- func (o Options) GetResolvedRegion() string
- func (o Options) GetUseDualStackEndpoint() aws.DualStackEndpointState
- func (o Options) GetUseFIPSEndpoint() aws.FIPSEndpointState
Structure Field Details
DisableHTTPS bool
DisableHTTPS informs the resolver to return an endpoint that does not use the HTTPS scheme.
LogDeprecated bool
LogDeprecated indicates that deprecated endpoints should be logged to the provided logger.
Logger logging.Logger
Logger is a logging implementation that log events should be sent to.
ResolvedRegion string
ResolvedRegion is used to override the region to be resolved, rather then the using the value passed to the ResolveEndpoint method. This value is used by the SDK to translate regions like fips-us-east-1 or us-east-1-fips to an alternative name. You must not set this value directly in your application.
UseDualStackEndpoint aws.DualStackEndpointState
UseDualStackEndpoint specifies the resolver must resolve a dual-stack endpoint.
UseFIPSEndpoint aws.FIPSEndpointState
UseFIPSEndpoint specifies the resolver must resolve a FIPS endpoint.
Method Details
func (o Options) GetDisableHTTPS() bool
43 44 45 |
// File 'service/s3/internal/endpoints/endpoints.go', line 43
|
func (o Options) GetResolvedRegion() string
39 40 41 |
// File 'service/s3/internal/endpoints/endpoints.go', line 39
|
func (o Options) GetUseDualStackEndpoint() aws.DualStackEndpointState
47 48 49 |
// File 'service/s3/internal/endpoints/endpoints.go', line 47
|
func (o Options) GetUseFIPSEndpoint() aws.FIPSEndpointState
51 52 53 |
// File 'service/s3/internal/endpoints/endpoints.go', line 51
|