ec2

package
v2.4.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2016 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Overview

* Copyright 2016 Adobe Systems Incorporated. All rights reserved. * This file is licensed to you 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 REPRESENTATIONS * 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

func AssociateAddress

func AssociateAddress(client *ec2lib.EC2, allocationId, networkInterfaceId string)

func AssociateRouteTable

func AssociateRouteTable(client *ec2lib.EC2, routeTableId, subnetId string)

func AttachInternetGateway

func AttachInternetGateway(client *ec2lib.EC2, vpcId, gatewayId string)

func CreateInternetGateway

func CreateInternetGateway(client *ec2lib.EC2, name string) string

func CreateNetworkInterface

func CreateNetworkInterface(client *ec2lib.EC2, subnetId, name string) string

func CreateRouteForInternetGateway

func CreateRouteForInternetGateway(client *ec2lib.EC2, routeTableId, gatewayId string)

func CreateRouteForNetworkInterface

func CreateRouteForNetworkInterface(client *ec2lib.EC2, routeTableId, networkInterfaceId string)

func CreateRouteTable

func CreateRouteTable(client *ec2lib.EC2, vpcId, name string) string

func CreateSubnet

func CreateSubnet(client *ec2lib.EC2, vpcId, cidrBlock, name string) string

func CreateVpc

func CreateVpc(client *ec2lib.EC2, cidrBlock, name string) string

func DescribeInstances

func DescribeInstances(client *ec2lib.EC2, kvps map[string][]string, instanceIds ...string) ([]*ec2lib.Reservation, error)

func DescribeRouteTables

func DescribeRouteTables(client *ec2lib.EC2, kvps map[string][]string, routeTableIds ...string) []*ec2lib.RouteTable

func DescribeSubnets

func DescribeSubnets(client *ec2lib.EC2, kvps map[string][]string, subnetIds ...string) []*ec2lib.Subnet

func NameResource

func NameResource(client *ec2lib.EC2, resourceId, tagValue string) (err error)

func New

func New(config *session.Session) *ec2lib.EC2

Don't force clients of this package to import "github.com/aws/aws-sdk-go/service/ec2"

Types

This section is empty.

Jump to

Keyboard shortcuts

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