aws

package
v0.0.0-...-a809fbe Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS struct {
	aws.Config
}

AWS provides configuration for aws-sdk clients.

func New

func New(ctx context.Context) (*AWS, error)

New uses the aws-sdk prepare default client configs.

func (*AWS) NewSSMClient

func (aws *AWS) NewSSMClient(prefix string) (*SSMClient, error)

NewSSMClient creates a new aws-sdk S3 client.

type SSMClient

type SSMClient struct {
	Prefix string
	// contains filtered or unexported fields
}

SSMClient provides a convenient interface to Amazon Simple Systems Manager (SSM) Parameter Store.

func (*SSMClient) DescribeParameters

func (c *SSMClient) DescribeParameters(ctx context.Context, names ...string) (map[string]time.Time, error)

DescribeParameters fetches multiple parameters last modified timestamp.

func (*SSMClient) GetParameter

func (c *SSMClient) GetParameter(ctx context.Context, name string) (string, error)

GetParameters fetch a single parameters.

func (*SSMClient) GetParameters

func (c *SSMClient) GetParameters(ctx context.Context, names ...string) (map[string]string, map[string]time.Time, error)

GetParameters fetches multiple parameters.

func (*SSMClient) PutParameter

func (c *SSMClient) PutParameter(ctx context.Context, name string, value string, encrypt bool) error

PutParameter adds or replaces a parameter.

Jump to

Keyboard shortcuts

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