Documentation ¶
Index ¶
- type CloudWatch
- type Option
- func AccessSecretAuth(accessKey string, secretKey string) Option
- func AssumeRoleARN(roleARN string) Option
- func CustomMetricsNamespaces(namespaces ...string) Option
- func Default() Option
- func DefaultAuth() Option
- func DefaultRegion(region string) Option
- func Endpoint(endpoint string) Option
- func ExternalID(externalID string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudWatch ¶
type CloudWatch struct {
// contains filtered or unexported fields
}
func (CloudWatch) MarshalJSON ¶
func (datasource CloudWatch) MarshalJSON() ([]byte, error)
func (CloudWatch) Name ¶
func (datasource CloudWatch) Name() string
type Option ¶
type Option func(datasource *CloudWatch) error
func AccessSecretAuth ¶
AccessSecretAuth relies on an access and secret key to authenticate to the CloudWatch service.
func AssumeRoleARN ¶
AssumeRoleARN specifies the ARN of a role to assume. Format: arn:aws:iam:*
func CustomMetricsNamespaces ¶
CustomMetricsNamespaces specifies a list of namespaces for custom metrics.
func DefaultAuth ¶
func DefaultAuth() Option
DefaultAuth relies on the AWS SDK default authentication to authenticate to the CloudWatch service.
func DefaultRegion ¶
DefaultRegion sets the default region to use. Example: eu-north-1.
func ExternalID ¶
ExternalID specifies the external identifier of a role to assume in another account.
Click to show internal directories.
Click to hide internal directories.