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 ¶
- type AWSClient
- func (client *AWSClient) ListDynamoDBTables() ([]string, error)
- func (client *AWSClient) ListEC2InstanceTypes() ([]string, error)
- func (client *AWSClient) ListEC2Instances() ([]string, error)
- func (client *AWSClient) ListEC2InstancesByRegion(region string) ([]string, error)
- func (client *AWSClient) ListEC2InstancesByVPC(vpcID string) ([]string, error)
- func (client *AWSClient) ListRegions() ([]string, error)
- func (client *AWSClient) ListS3Buckets() ([]string, error)
- func (client *AWSClient) ListSubnetsByVPC(vpcID string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSClient ¶
AWSClient wraps aws.Config and provides additional methods
func (*AWSClient) ListDynamoDBTables ¶
ListDynamoDBTables lists all DynamoDB tables in the specified region
func (*AWSClient) ListEC2InstanceTypes ¶
ListEC2InstanceTypes lists all EC2 instance types (flavors) in the specified region
func (*AWSClient) ListEC2Instances ¶
ListEC2Instances lists all EC2 instances in the specified region
func (*AWSClient) ListEC2InstancesByRegion ¶
ListEC2InstancesByRegion lists all EC2 instances in the specified Region
func (*AWSClient) ListEC2InstancesByVPC ¶
ListEC2InstancesByVPC lists all EC2 instances in the specified VPC
func (*AWSClient) ListRegions ¶
ListRegions lists all available regions
func (*AWSClient) ListS3Buckets ¶
ListS3Buckets lists all S3 buckets in the specified region