session

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const SessionCookie = "AWS-ADMIN"

Variables

This section is empty.

Functions

This section is empty.

Types

type CredentialType

type CredentialType int32
const (
	SharedCred CredentialType = 0
	StaticCred CredentialType = 1
	FileCred   CredentialType = 2
)

type Credentials

type Credentials struct {
	CredentialType    CredentialType    `json:"credentialType"`
	StaticCredentials StaticCredentials `json:"staticCredentials"`
	SharedCredentials SharedCredentials `json:"sharedCredentials"`
	FileCredentials   FileCredentials   `json:"fileCredentials"`
}

type FileCredentials

type FileCredentials struct {
	FilePath       string `json:"filePath"`
	InitialModTime time.Time
}

type Session

type Session struct {
	ID             string
	Credentials    Credentials
	Region         string
	ELBV2          *elbv2.ELBV2
	ACM            *acm.ACM
	S3             *s3.S3
	EC2            *ec2.EC2
	CloudFormation *cloudformation.CloudFormation
	SSM            *ssm.SSM
	ECS            *ecs.ECS
	ECR            *ecr.ECR
	Route53        *route53.Route53
	Lambda         *lambda.Lambda
	SecretsManager *secretsmanager.SecretsManager
	CloudWatchLogs *cloudwatchlogs.CloudWatchLogs
}

type SharedCredentials

type SharedCredentials struct {
	Profile string `json:"profile"`
}

type StaticCredentials

type StaticCredentials struct {
	AccessID        string `json:"accessID"`
	SecretAccessKey string `json:"secretAccessKey"`
	SessionToken    string `json:"sessionToken"`
}

Jump to

Keyboard shortcuts

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