Documentation ¶
Overview ¶
The cloudwatch package writes data to aws cloudwatch
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsRole ¶
type AwsRole struct { // looks like "123456789012" AccountNumber string `yaml:"accountNumber"` // looks like "arn:aws:iam::123456789012:role/SOME-ROLE" RoleArn string `yaml:"roleArn"` }
AwsRole represents a single AwsRole in a config file
func (*AwsRole) UnmarshalYAML ¶
type Config ¶
type Config struct { Roles []AwsRole `yaml:"roles"` SharedCredentialsFile string `yaml:"sharedCredentialsFile"` // Omitting this is equivalent to specifying the "default" profile SharedCredentialsProfile string `yaml:"sharedCredentialsProfile"` // Not used anymore. Zeroed out when read. Region string `yaml:"region"` }
Config represents the configuration of a Writer
func (*Config) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.