aws

package
v0.0.0-...-cfdc686 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AWSRegionUSEast1      = "us-east-1"
	AWSRegionUSEast2      = "us-east-2"
	AWSRegionUSWest1      = "us-west-1"
	AWSRegionUSWest2      = "us-west-2"
	AWSRegionEUWest1      = "eu-west-1"
	AWSRegionEUCentral1   = "eu-central-1"
	AWSRegionAPNorthEast1 = "ap-northeast-1"
	AWSRegionAPSouthEast1 = "ap-southeast-1"
	AWSRegionAPSouthEast2 = "ap-southeast-2"
	AWSRegionSAEast1      = "sa-east-1"

	ECSTaskDefinitionLogDriverJSONFile = "json-file"
	ECSTaskDefinitionLogDriverAWSLogs  = "awslogs"
	ECSTaskDefinitionLogDriverSyslog   = "syslog"
	ECSTaskDefinitionLogDriverJournald = "journald"
	ECSTaskDefinitionLogDriverGelf     = "gelf"
	ECSTaskDefinitionLogDriverFluentd  = "fluentd"
	ECSTaskDefinitionLogDriverSplunk   = "splunk"
)

Variables

This section is empty.

Functions

func GetECSContainerInstanceIDFromARN

func GetECSContainerInstanceIDFromARN(arn string) string

func GetECSTaskDefinitionFamilyAndRevisionFromARN

func GetECSTaskDefinitionFamilyAndRevisionFromARN(arn string) string

func GetIAMInstanceProfileNameFromARN

func GetIAMInstanceProfileNameFromARN(arn string) string

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(region, accessKey, secretKey string) *Client

func (*Client) AutoScaling

func (c *Client) AutoScaling() *autoscaling.Client

func (*Client) CloudWatchLogs

func (c *Client) CloudWatchLogs() *logs.Client

func (*Client) EC2

func (c *Client) EC2() *ec2.Client

func (*Client) ECR

func (c *Client) ECR() *ecr.Client

func (*Client) ECS

func (c *Client) ECS() *ecs.Client

func (*Client) ELB

func (c *Client) ELB() *elb.Client

func (*Client) IAM

func (c *Client) IAM() *iam.Client

func (*Client) SNS

func (c *Client) SNS() *sns.Client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL