Documentation ¶
Index ¶
- Constants
- func BucketStatus(service *s3.S3, bucketName string) (bool, error)
- func BucketUpload(service *s3.S3, bucketName string, acl string, fileName string, keyName string, ...) (bool, error)
- func CancelUpdateStack(service *cloudformation.CloudFormation, stackName string, ...) (bool, error)
- func ContinueUpdateRollbackStack(service *cloudformation.CloudFormation, stackName string, ...) (bool, error)
- func CreateBucket(service *s3.S3, bucketName string, region string, acl string, versioning bool, ...) (*string, error)
- func CreateCfnService(session *session.Session, region string) *cloudformation.CloudFormation
- func CreateCfnServiceAssumeRole(session *session.Session, region string, role string) *cloudformation.CloudFormation
- func CreateCfnServiceWithCredentials(session *session.Session, region string, aws_access_key_id string, ...) (*cloudformation.CloudFormation, error)
- func CreateS3Service(session *session.Session, region string) *s3.S3
- func CreateS3ServiceAssumeRole(session *session.Session, region string, role string) *s3.S3
- func CreateS3ServiceWithCredentials(session *session.Session, region string, aws_access_key_id string, ...) (*s3.S3, error)
- func CreateSession() *session.Session
- func CreateStack(service *cloudformation.CloudFormation, stackName string, remoteUrl string, ...) (bool, error)
- func DeleteBucket(service *s3.S3, bucketName string) (bool, error)
- func DeleteBucketRecursive(service *s3.S3, bucketName string) (bool, error)
- func DeleteStack(service *cloudformation.CloudFormation, stackName string) (bool, error)
- func ListBuckets(service *s3.S3) ([]*s3.Bucket, error)
- func NotificationArnsHelper() string
- func ParamsHelper() string
- func ParseNotificationArns(notificationArnString string) []*string
- func ParseParams(parametersString string) [][]string
- func ParseResourceTypes(resourceTypesString string) []*string
- func ParseTags(tagsString string) [][]string
- func ResourceTypesHelper() string
- func StackStatus(service *cloudformation.CloudFormation, stackName string) (bool, error)
- func TagsHelper() string
- func UpdateStack(service *cloudformation.CloudFormation, stackName string, remoteUrl string, ...) (bool, error)
Constants ¶
View Source
const ACL_TYPE_STRING = "" /* 134-byte string literal not displayed */
View Source
const DEFAULT_ACL_TYPE = "public-read-write"
View Source
const DEFAULT_AWS_REGION = "us-east-1"
View Source
const DEFAULT_STORAGE_TYPE = "STANDARD"
View Source
const STORAGE_TYPE_STRING = "STANDARD STANDARD_IA REDUCED_REDUNDANCY "
Variables ¶
This section is empty.
Functions ¶
func BucketUpload ¶
func CancelUpdateStack ¶
func CancelUpdateStack(service *cloudformation.CloudFormation, stackName string, clientRequestToken string) (bool, error)
func ContinueUpdateRollbackStack ¶
func ContinueUpdateRollbackStack(service *cloudformation.CloudFormation, stackName string, clientRequestToken string, stackRoleArn string, resourceTypesSkip []*string) (bool, error)
func CreateBucket ¶
func CreateCfnService ¶
func CreateCfnService(session *session.Session, region string) *cloudformation.CloudFormation
func CreateCfnServiceAssumeRole ¶
func CreateCfnServiceAssumeRole(session *session.Session, region string, role string) *cloudformation.CloudFormation
func CreateCfnServiceWithCredentials ¶
func CreateCfnServiceWithCredentials(session *session.Session, region string, aws_access_key_id string, aws_secret_access_key string, aws_access_token string) (*cloudformation.CloudFormation, error)
func CreateSession ¶
func CreateStack ¶
func CreateStack(service *cloudformation.CloudFormation, stackName string, remoteUrl string, localFilePath string, policyURL string, policyBodyLocalFile string, stackRoleArn string, timeoutInMinutes int, disableRollback bool, clientRequestToken string, notificationArns []*string, resourceTypes []*string, parameters [][]string, tags [][]string) (bool, error)
func DeleteBucketRecursive ¶
func DeleteStack ¶
func DeleteStack(service *cloudformation.CloudFormation, stackName string) (bool, error)
func NotificationArnsHelper ¶
func NotificationArnsHelper() string
func ParamsHelper ¶
func ParamsHelper() string
func ParseNotificationArns ¶
func ParseParams ¶
func ParseResourceTypes ¶
func ParseTags ¶
* Parse Expected CloudFormation Tags in format : * key1=value1/|...|keyN=valueN, * where key and value parameter, and key-value couple fo values are separated by other ones by "|" character. * In the command line this group should be bounded by quote marks (")
func ResourceTypesHelper ¶
func ResourceTypesHelper() string
func StackStatus ¶
func StackStatus(service *cloudformation.CloudFormation, stackName string) (bool, error)
func TagsHelper ¶
func TagsHelper() string
func UpdateStack ¶
func UpdateStack(service *cloudformation.CloudFormation, stackName string, remoteUrl string, localFilePath string, resusePreviousTemplate bool, policyURL string, policyBodyLocalFile string, stackRoleArn string, policyUpdateURL string, policyUpdateBodyLocalFile string, clientRequestToken string, notificationArns []*string, resourceTypes []*string, parameters [][]string, tags [][]string) (bool, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.