awsspec

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeDeploySpec

type CodeDeploySpec struct {
	Session *session.Session
}

CodeDeploySpec contains the AWS session

func New

New returns a new IAMSpec

func (CodeDeploySpec) DeploymentGroupHasAutoRollback

func (c CodeDeploySpec) DeploymentGroupHasAutoRollback(appName, id string) (res bool, err error)

DeploymentGroupHasAutoRollback returns true if the provided Deployment Group has auto-rollback enabled

func (CodeDeploySpec) DeploymentGroupHasAutoRollbackForEvents

func (c CodeDeploySpec) DeploymentGroupHasAutoRollbackForEvents(appName, id string, events []string) (res bool, err error)

DeploymentGroupHasAutoRollbackForEvents returns true if the provided Deployment Group is configured to auto-rollback for the specified events

func (CodeDeploySpec) DeploymentGroupHasDeploymentConfig

func (c CodeDeploySpec) DeploymentGroupHasDeploymentConfig(appName, id, config string) (res bool, err error)

DeploymentGroupHasDeploymentConfig returns true if the specified Deployment Configuration is associated to the provided Deployment Group

func (CodeDeploySpec) DeploymentGroupHasServiceRole

func (c CodeDeploySpec) DeploymentGroupHasServiceRole(appName, id, role string) (res bool, err error)

DeploymentGroupHasServiceRole returns true if the specified IAM role ARN is attached to the provided Deployment Group

Jump to

Keyboard shortcuts

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