aws

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Copyright 2023 The Cloud-Barista Authors.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSClient

type AWSClient struct {
	Config aws.Config
}

AWSClient wraps aws.Config and provides additional methods

func (*AWSClient) ListDynamoDBTables

func (client *AWSClient) ListDynamoDBTables() ([]string, error)

ListDynamoDBTables lists all DynamoDB tables in the specified region

func (*AWSClient) ListEC2InstanceTypes

func (client *AWSClient) ListEC2InstanceTypes() ([]string, error)

ListEC2InstanceTypes lists all EC2 instance types (flavors) in the specified region

func (*AWSClient) ListEC2Instances

func (client *AWSClient) ListEC2Instances() ([]string, error)

ListEC2Instances lists all EC2 instances in the specified region

func (*AWSClient) ListEC2InstancesByRegion

func (client *AWSClient) ListEC2InstancesByRegion(region string) ([]string, error)

ListEC2InstancesByRegion lists all EC2 instances in the specified Region

func (*AWSClient) ListEC2InstancesByVPC

func (client *AWSClient) ListEC2InstancesByVPC(vpcID string) ([]string, error)

ListEC2InstancesByVPC lists all EC2 instances in the specified VPC

func (*AWSClient) ListRegions

func (client *AWSClient) ListRegions() ([]string, error)

ListRegions lists all available regions

func (*AWSClient) ListS3Buckets

func (client *AWSClient) ListS3Buckets() ([]string, error)

ListS3Buckets lists all S3 buckets in the specified region

func (*AWSClient) ListSubnetsByVPC

func (client *AWSClient) ListSubnetsByVPC(vpcID string) ([]string, error)

ListSubnetsByVPC lists all subnets in the specified VPC

Jump to

Keyboard shortcuts

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