Documentation ¶
Index ¶
- Variables
- func DescribeEC2ById(id string, accountID string) (*ec2.Reservation, error)
- func DescribeSecurityGroupById(id string, accountID string) (*ec2.DescribeSecurityGroupsOutput, error)
- func DescribeSecurityGroupsByTag(accountID string, tagKey string, tagValue string) (*ec2.DescribeSecurityGroupsOutput, error)
- func DescribeSnapshotById(id string, accountID string) (*ec2.Snapshot, error)
- func DescribeVolumeById(id string, accountID string) (*ec2.Volume, error)
- func FindEmailBasedOnUserIdentity(accountID string, userIdentity map[string]string) string
- func FindEmailBasedOnUserName(userName string) string
- func GetAWSConfig(accountID string) *aws.Config
- func GetDynamoDBConfig() *aws.Config
- func GetS3Config() *aws.Config
- func GetSesConfig() *aws.Config
- func ParseEC2ResponseRunStartInstance(response interface{}, property string) (string, error)
- func SendEmail(emailAddress string, result config.CompliantCheckResult, template string) error
- type AwsResourceType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Log Logger for this package Log = newLogger() // Cfg Config for this package Cfg *config.Config )
Functions ¶
func DescribeEC2ById ¶
func DescribeEC2ById(id string, accountID string) (*ec2.Reservation, error)
Describe EC2 instance
func DescribeSecurityGroupById ¶
func DescribeSecurityGroupById(id string, accountID string) (*ec2.DescribeSecurityGroupsOutput, error)
Describe security group current state getter 123Test123 172.31.18.11
func DescribeSnapshotById ¶
Describe Snapshot instance
func DescribeVolumeById ¶
Describe Volume instance
func GetAWSConfig ¶
func GetDynamoDBConfig ¶
func GetS3Config ¶
func GetSesConfig ¶
Types ¶
type AwsResourceType ¶
Click to show internal directories.
Click to hide internal directories.