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
41 42 43 |
// File 'service/kms/internal/endpoints/endpoints.go', line 41
|
func (o Options) GetResolvedRegion() string
37 38 39 |
// File 'service/kms/internal/endpoints/endpoints.go', line 37
|
func (o Options) GetUseDualStackEndpoint() aws.DualStackEndpointState
45 46 47 |
// File 'service/kms/internal/endpoints/endpoints.go', line 45
|
func (o Options) GetUseFIPSEndpoint() aws.FIPSEndpointState
49 50 51 |
// File 'service/kms/internal/endpoints/endpoints.go', line 49
|