providers

package
v0.0.0-...-1b0671e Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Copyright 2016 Capital One Services, LLC

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.

SPDX-Copyright: Copyright (c) Capital One Services, LLC SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvProfile

func EnvProfile() string

func EnvRoleArn

func EnvRoleArn() string

func Region

func Region() string

func RoleArn

func RoleArn() string

Types

type AWSApi

type AWSApi struct {
	Session *session.Session
	// contains filtered or unexported fields
}

func NewAWSApi

func NewAWSApi() *AWSApi

func NewAWSApiWithHttpClient

func NewAWSApiWithHttpClient(httpClient *http.Client) *AWSApi

func (*AWSApi) CFService

func (a *AWSApi) CFService() *cloudformation.CloudFormation

func (*AWSApi) DryMode

func (a *AWSApi) DryMode(enable bool)

func (*AWSApi) EC2Service

func (a *AWSApi) EC2Service() *ec2.EC2

func (*AWSApi) IsDryMode

func (a *AWSApi) IsDryMode() bool

func (*AWSApi) MustHaveAccess

func (a *AWSApi) MustHaveAccess()

func (*AWSApi) S3Service

func (a *AWSApi) S3Service() *s3.S3

Jump to

Keyboard shortcuts

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