Documentation ¶
Overview ¶
DO NOT EDIT This file was automatically generated with go generate
DO NOT EDIT This file was automatically generated with go generate
DO NOT EDIT This file was automatically generated with go generate
Copyright 2017 WALLIX
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.
Copyright 2017 WALLIX
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.
Copyright 2017 WALLIX
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.
Copyright 2017 WALLIX
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 ¶
- Constants
- Variables
- func Bool(v bool) *bool
- func BoolValue(v *bool) bool
- func Int64(v int64) *int64
- func Int64AsIntValue(v *int64) int
- func NewCredsPrompter(profile string) *credentialsPrompter
- func NewEnumValidator(expected ...string) *enumValidator
- func String(v string) *string
- func StringValue(v *string) string
- type AWSFactory
- type AfterRunner
- type AttachAlarm
- type AttachContainertask
- func (cmd *AttachContainertask) ExtractResult(i interface{}) string
- func (cmd *AttachContainertask) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *AttachContainertask) ParamsSpec() params.Spec
- func (cmd *AttachContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *AttachContainertask) SetApi(api ecsiface.ECSAPI)
- type AttachElasticip
- type AttachInstance
- type AttachInstanceprofile
- func (cmd *AttachInstanceprofile) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *AttachInstanceprofile) ParamsSpec() params.Spec
- func (cmd *AttachInstanceprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *AttachInstanceprofile) SetApi(api ec2iface.EC2API)
- type AttachInternetgateway
- type AttachListener
- type AttachMfadevice
- type AttachNetworkinterface
- func (cmd *AttachNetworkinterface) ExtractResult(i interface{}) string
- func (cmd *AttachNetworkinterface) ParamsSpec() params.Spec
- func (cmd *AttachNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *AttachNetworkinterface) SetApi(api ec2iface.EC2API)
- type AttachPolicy
- type AttachRole
- type AttachRoutetable
- type AttachSecuritygroup
- func (cmd *AttachSecuritygroup) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *AttachSecuritygroup) ParamsSpec() params.Spec
- func (cmd *AttachSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *AttachSecuritygroup) SetApi(api ec2iface.EC2API)
- type AttachUser
- type AttachVolume
- type AuthenticateRegistry
- func (cmd *AuthenticateRegistry) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *AuthenticateRegistry) ParamsSpec() params.Spec
- func (cmd *AuthenticateRegistry) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *AuthenticateRegistry) SetApi(api ecriface.ECRAPI)
- type AwsImage
- type BeforeRunner
- type CheckCertificate
- type CheckDatabase
- type CheckDistribution
- func (cmd *CheckDistribution) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *CheckDistribution) ParamsSpec() params.Spec
- func (cmd *CheckDistribution) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CheckDistribution) SetApi(api cloudfrontiface.CloudFrontAPI)
- type CheckInstance
- type CheckLoadbalancer
- type CheckNatgateway
- type CheckNetworkinterface
- func (cmd *CheckNetworkinterface) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *CheckNetworkinterface) ParamsSpec() params.Spec
- func (cmd *CheckNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CheckNetworkinterface) SetApi(api ec2iface.EC2API)
- type CheckScalinggroup
- func (sg *CheckScalinggroup) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *CheckScalinggroup) ParamsSpec() params.Spec
- func (cmd *CheckScalinggroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CheckScalinggroup) SetApi(api autoscalingiface.AutoScalingAPI)
- type CheckSecuritygroup
- type CheckVolume
- type CopyImage
- type CopySnapshot
- type CreateAccesskey
- func (cmd *CreateAccesskey) AfterRun(renv env.Running, output interface{}) error
- func (cmd *CreateAccesskey) ExtractResult(i interface{}) string
- func (cmd *CreateAccesskey) ParamsSpec() params.Spec
- func (cmd *CreateAccesskey) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateAccesskey) SetApi(api iamiface.IAMAPI)
- type CreateAlarm
- type CreateAppscalingpolicy
- func (cmd *CreateAppscalingpolicy) ExtractResult(i interface{}) string
- func (cmd *CreateAppscalingpolicy) ParamsSpec() params.Spec
- func (cmd *CreateAppscalingpolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateAppscalingpolicy) SetApi(api applicationautoscalingiface.ApplicationAutoScalingAPI)
- type CreateAppscalingtarget
- type CreateBucket
- type CreateCertificate
- func (cmd *CreateCertificate) ExtractResult(i interface{}) string
- func (cmd *CreateCertificate) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *CreateCertificate) ParamsSpec() params.Spec
- func (cmd *CreateCertificate) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateCertificate) SetApi(api acmiface.ACMAPI)
- type CreateContainercluster
- func (cmd *CreateContainercluster) ExtractResult(i interface{}) string
- func (cmd *CreateContainercluster) ParamsSpec() params.Spec
- func (cmd *CreateContainercluster) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateContainercluster) SetApi(api ecsiface.ECSAPI)
- type CreateDatabase
- func (cmd *CreateDatabase) ExtractResult(i interface{}) string
- func (cmd *CreateDatabase) ManualRun(renv env.Running) (output interface{}, err error)
- func (cmd *CreateDatabase) ParamsSpec() params.Spec
- func (cmd *CreateDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateDatabase) SetApi(api rdsiface.RDSAPI)
- type CreateDbsubnetgroup
- type CreateDistribution
- func (cmd *CreateDistribution) ExtractResult(i interface{}) string
- func (cmd *CreateDistribution) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *CreateDistribution) ParamsSpec() params.Spec
- func (cmd *CreateDistribution) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateDistribution) SetApi(api cloudfrontiface.CloudFrontAPI)
- type CreateElasticip
- type CreateFunction
- type CreateGroup
- type CreateImage
- func (cmd *CreateImage) BeforeRun(renv env.Running) error
- func (cmd *CreateImage) ExtractResult(i interface{}) string
- func (cmd *CreateImage) ParamsSpec() params.Spec
- func (cmd *CreateImage) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateImage) SetApi(api ec2iface.EC2API)
- type CreateInstance
- func (cmd *CreateInstance) AfterRun(renv env.Running, output interface{}) error
- func (cmd *CreateInstance) ExtractResult(i interface{}) string
- func (cmd *CreateInstance) ParamsSpec() params.Spec
- func (cmd *CreateInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateInstance) SetApi(api ec2iface.EC2API)
- type CreateInstanceprofile
- type CreateInternetgateway
- type CreateKeypair
- func (cmd *CreateKeypair) BeforeRun(renv env.Running) error
- func (cmd *CreateKeypair) ExtractResult(i interface{}) string
- func (cmd *CreateKeypair) ParamsSpec() params.Spec
- func (cmd *CreateKeypair) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateKeypair) SetApi(api ec2iface.EC2API)
- type CreateLaunchconfiguration
- func (cmd *CreateLaunchconfiguration) ExtractResult(i interface{}) string
- func (cmd *CreateLaunchconfiguration) ParamsSpec() params.Spec
- func (cmd *CreateLaunchconfiguration) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateLaunchconfiguration) SetApi(api autoscalingiface.AutoScalingAPI)
- type CreateListener
- type CreateLoadbalancer
- type CreateLoginprofile
- type CreateMfadevice
- func (cmd *CreateMfadevice) ExtractResult(i interface{}) string
- func (cmd *CreateMfadevice) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *CreateMfadevice) ParamsSpec() params.Spec
- func (cmd *CreateMfadevice) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateMfadevice) SetApi(api iamiface.IAMAPI)
- type CreateNatgateway
- type CreateNetworkinterface
- func (cmd *CreateNetworkinterface) ExtractResult(i interface{}) string
- func (cmd *CreateNetworkinterface) ParamsSpec() params.Spec
- func (cmd *CreateNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateNetworkinterface) SetApi(api ec2iface.EC2API)
- type CreatePolicy
- func (cmd *CreatePolicy) BeforeRun(renv env.Running) error
- func (cmd *CreatePolicy) ExtractResult(i interface{}) string
- func (cmd *CreatePolicy) ParamsSpec() params.Spec
- func (cmd *CreatePolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreatePolicy) SetApi(api iamiface.IAMAPI)
- type CreateQueue
- type CreateRecord
- func (cmd *CreateRecord) ExtractResult(i interface{}) string
- func (cmd *CreateRecord) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *CreateRecord) ParamsSpec() params.Spec
- func (cmd *CreateRecord) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateRecord) SetApi(api route53iface.Route53API)
- type CreateRepository
- type CreateRole
- func (cmd *CreateRole) ExtractResult(i interface{}) string
- func (cmd *CreateRole) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *CreateRole) ParamsSpec() params.Spec
- func (cmd *CreateRole) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateRole) SetApi(api iamiface.IAMAPI)
- type CreateRoute
- type CreateRoutetable
- type CreateS3object
- func (cmd *CreateS3object) ExtractResult(i interface{}) string
- func (cmd *CreateS3object) ManualRun(env.Running) (interface{}, error)
- func (cmd *CreateS3object) ParamsSpec() params.Spec
- func (cmd *CreateS3object) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateS3object) SetApi(api s3iface.S3API)
- type CreateScalinggroup
- func (cmd *CreateScalinggroup) ExtractResult(i interface{}) string
- func (cmd *CreateScalinggroup) ParamsSpec() params.Spec
- func (cmd *CreateScalinggroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateScalinggroup) SetApi(api autoscalingiface.AutoScalingAPI)
- type CreateScalingpolicy
- func (cmd *CreateScalingpolicy) ExtractResult(i interface{}) string
- func (cmd *CreateScalingpolicy) ParamsSpec() params.Spec
- func (cmd *CreateScalingpolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateScalingpolicy) SetApi(api autoscalingiface.AutoScalingAPI)
- type CreateSecuritygroup
- type CreateSnapshot
- type CreateStack
- func (cmd *CreateStack) BeforeRun(renv env.Running) (err error)
- func (cmd *CreateStack) ExtractResult(i interface{}) string
- func (cmd *CreateStack) ParamsSpec() params.Spec
- func (cmd *CreateStack) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateStack) SetApi(api cloudformationiface.CloudFormationAPI)
- type CreateSubnet
- func (cmd *CreateSubnet) AfterRun(renv env.Running, output interface{}) error
- func (cmd *CreateSubnet) ExtractResult(i interface{}) string
- func (cmd *CreateSubnet) ParamsSpec() params.Spec
- func (cmd *CreateSubnet) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateSubnet) SetApi(api ec2iface.EC2API)
- type CreateSubscription
- type CreateTag
- type CreateTargetgroup
- type CreateTopic
- type CreateUser
- type CreateVolume
- type CreateVpc
- func (cmd *CreateVpc) AfterRun(renv env.Running, output interface{}) error
- func (cmd *CreateVpc) ExtractResult(i interface{}) string
- func (cmd *CreateVpc) ParamsSpec() params.Spec
- func (cmd *CreateVpc) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *CreateVpc) SetApi(api ec2iface.EC2API)
- type CreateZone
- type Definition
- type DeleteAccesskey
- type DeleteAlarm
- type DeleteAppscalingpolicy
- type DeleteAppscalingtarget
- type DeleteBucket
- type DeleteCertificate
- type DeleteContainercluster
- type DeleteContainertask
- func (cmd *DeleteContainertask) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *DeleteContainertask) ParamsSpec() params.Spec
- func (cmd *DeleteContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *DeleteContainertask) SetApi(api ecsiface.ECSAPI)
- type DeleteDatabase
- type DeleteDbsubnetgroup
- type DeleteDistribution
- func (cmd *DeleteDistribution) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *DeleteDistribution) ParamsSpec() params.Spec
- func (cmd *DeleteDistribution) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *DeleteDistribution) SetApi(api cloudfrontiface.CloudFrontAPI)
- type DeleteElasticip
- type DeleteFunction
- type DeleteGroup
- type DeleteImage
- type DeleteInstance
- type DeleteInstanceprofile
- type DeleteInternetgateway
- type DeleteKeypair
- type DeleteLaunchconfiguration
- type DeleteListener
- type DeleteLoadbalancer
- type DeleteLoginprofile
- type DeleteMfadevice
- type DeleteNatgateway
- type DeleteNetworkinterface
- type DeletePolicy
- type DeleteQueue
- type DeleteRecord
- func (cmd *DeleteRecord) ExtractResult(i interface{}) string
- func (cmd *DeleteRecord) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *DeleteRecord) ParamsSpec() params.Spec
- func (cmd *DeleteRecord) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *DeleteRecord) SetApi(api route53iface.Route53API)
- type DeleteRepository
- type DeleteRole
- type DeleteRoute
- type DeleteRoutetable
- type DeleteS3object
- type DeleteScalinggroup
- type DeleteScalingpolicy
- type DeleteSecuritygroup
- type DeleteSnapshot
- type DeleteStack
- type DeleteSubnet
- type DeleteSubscription
- type DeleteTag
- type DeleteTargetgroup
- type DeleteTopic
- type DeleteUser
- type DeleteVolume
- type DeleteVpc
- type DeleteZone
- type DetachAlarm
- type DetachContainertask
- func (cmd *DetachContainertask) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *DetachContainertask) ParamsSpec() params.Spec
- func (cmd *DetachContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *DetachContainertask) SetApi(api ecsiface.ECSAPI)
- type DetachElasticip
- type DetachInstance
- type DetachInstanceprofile
- func (cmd *DetachInstanceprofile) ExtractResult(i interface{}) string
- func (cmd *DetachInstanceprofile) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *DetachInstanceprofile) ParamsSpec() params.Spec
- func (cmd *DetachInstanceprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *DetachInstanceprofile) SetApi(api ec2iface.EC2API)
- type DetachInternetgateway
- type DetachMfadevice
- type DetachNetworkinterface
- func (cmd *DetachNetworkinterface) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *DetachNetworkinterface) ParamsSpec() params.Spec
- func (cmd *DetachNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *DetachNetworkinterface) SetApi(api ec2iface.EC2API)
- type DetachPolicy
- type DetachRole
- type DetachRoutetable
- type DetachSecuritygroup
- func (cmd *DetachSecuritygroup) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *DetachSecuritygroup) ParamsSpec() params.Spec
- func (cmd *DetachSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *DetachSecuritygroup) SetApi(api ec2iface.EC2API)
- type DetachUser
- type DetachVolume
- type Distro
- type Factory
- type ImageQuery
- type ImageResolver
- type ImageResolverCache
- type ImportImage
- type Platform
- type ProgressReadSeeker
- type RestartDatabase
- type RestartInstance
- type ResultExtractor
- type StartAlarm
- type StartContainertask
- func (cmd *StartContainertask) ExtractResult(i interface{}) string
- func (cmd *StartContainertask) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *StartContainertask) ParamsSpec() params.Spec
- func (cmd *StartContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *StartContainertask) SetApi(api ecsiface.ECSAPI)
- type StartDatabase
- type StartInstance
- type StopAlarm
- type StopContainertask
- type StopDatabase
- type StopInstance
- type UpdateBucket
- type UpdateContainertask
- type UpdateDistribution
- func (cmd *UpdateDistribution) ExtractResult(i interface{}) string
- func (cmd *UpdateDistribution) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *UpdateDistribution) ParamsSpec() params.Spec
- func (cmd *UpdateDistribution) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *UpdateDistribution) SetApi(api cloudfrontiface.CloudFrontAPI)
- type UpdateImage
- type UpdateInstance
- type UpdateLoginprofile
- type UpdatePolicy
- type UpdateRecord
- func (cmd *UpdateRecord) ExtractResult(i interface{}) string
- func (cmd *UpdateRecord) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *UpdateRecord) ParamsSpec() params.Spec
- func (cmd *UpdateRecord) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *UpdateRecord) SetApi(api route53iface.Route53API)
- type UpdateS3object
- type UpdateScalinggroup
- type UpdateSecuritygroup
- func (cmd *UpdateSecuritygroup) ManualRun(renv env.Running) (interface{}, error)
- func (cmd *UpdateSecuritygroup) ParamsSpec() params.Spec
- func (cmd *UpdateSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *UpdateSecuritygroup) SetApi(api ec2iface.EC2API)
- type UpdateStack
- func (cmd *UpdateStack) BeforeRun(renv env.Running) (err error)
- func (cmd *UpdateStack) ExtractResult(i interface{}) string
- func (cmd *UpdateStack) ParamsSpec() params.Spec
- func (cmd *UpdateStack) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
- func (cmd *UpdateStack) SetApi(api cloudformationiface.CloudFormationAPI)
- type UpdateSubnet
- type UpdateTargetgroup
Constants ¶
const ImageQuerySpec = "owner:distro:variant:arch:virtualization:store"
Variables ¶
var ( Platforms = map[string]Platform{ "canonical": Canonical, "redhat": RedHat, "debian": Debian, "amazonlinux": AmazonLinux, "coreos": CoreOS, "centos": CentOS, "suselinux": SuseLinux, "windows": Windows, } Canonical = Platform{ Name: "canonical", Id: "099720109477", DistroName: "ubuntu", LatestVariant: "xenial", MatchFunc: func(s string, d Distro) bool { return strings.HasPrefix(s, fmt.Sprintf("%s/images/%s-ssd/%s-%s", d.Name, d.Virt, d.Name, d.Variant)) }, } RedHat = Platform{ Name: "redhat", Id: "309956199498", DistroName: "rhel", LatestVariant: "7.5", MatchFunc: func(s string, d Distro) bool { return strings.Contains(s, fmt.Sprintf("%s-%s", d.Name, d.Variant)) }, } Debian = Platform{ Name: "debian", Id: "379101102735", DistroName: "debian", LatestVariant: "stretch", MatchFunc: func(s string, d Distro) bool { return strings.HasPrefix(s, fmt.Sprintf("%s-%s", d.Name, d.Variant)) }, } CoreOS = Platform{ Name: "coreos", Id: "595879546273", DistroName: "coreos", LatestVariant: "1688", MatchFunc: func(s string, d Distro) bool { return strings.HasPrefix(s, strings.ToLower(fmt.Sprintf("%s-stable-%s", d.Name, d.Variant))) }, } CentOS = Platform{ Name: "centos", Id: "679593333241", DistroName: "centos", LatestVariant: "7", MatchFunc: func(s string, d Distro) bool { return strings.HasPrefix(s, strings.ToLower(fmt.Sprintf("%s Linux %s", d.Name, d.Variant))) }, } AmazonLinux = Platform{ Name: "amazonlinux", Id: "137112412989", DistroName: "amzn", LatestVariant: "hvm", MatchFunc: func(s string, d Distro) bool { return strings.HasPrefix(s, fmt.Sprintf("%s-ami-%s", d.Name, d.Variant)) }, } SuseLinux = Platform{ Name: "suselinux", Id: "013907871322", LatestVariant: "sles-12", MatchFunc: func(s string, d Distro) bool { return strings.HasPrefix(s, fmt.Sprintf("suse-%s", d.Variant)) }, } Windows = Platform{ Name: "windows", Id: "801119661308", DistroName: "server", LatestVariant: "2016", MatchFunc: func(s string, d Distro) bool { return strings.HasPrefix(s, strings.ToLower(fmt.Sprintf("windows_%s-%s-english", d.Name, d.Variant))) }, } SupportedAMIOwners []string )
var APIPerTemplateDefName = map[string]string{}/* 162 elements not displayed */
var (
AWSCredFilepath = filepath.Join(awsconfig.AWSHomeDir(), "credentials")
)
var AWSTemplatesDefinitions = map[string]Definition{}/* 162 elements not displayed */
var DefaultImageResolverCache = new(ImageResolverCache)
var DriverSupportedActions = map[string][]string{
"attach": {"alarm", "containertask", "elasticip", "instance", "instanceprofile", "internetgateway", "listener", "mfadevice", "networkinterface", "policy", "role", "routetable", "securitygroup", "user", "volume"},
"authenticate": {"registry"},
"check": {"certificate", "database", "distribution", "instance", "loadbalancer", "natgateway", "networkinterface", "scalinggroup", "securitygroup", "volume"},
"copy": {"image", "snapshot"},
"create": {"accesskey", "alarm", "appscalingpolicy", "appscalingtarget", "bucket", "certificate", "containercluster", "database", "dbsubnetgroup", "distribution", "elasticip", "function", "group", "image", "instance", "instanceprofile", "internetgateway", "keypair", "launchconfiguration", "listener", "loadbalancer", "loginprofile", "mfadevice", "natgateway", "networkinterface", "policy", "queue", "record", "repository", "role", "route", "routetable", "s3object", "scalinggroup", "scalingpolicy", "securitygroup", "snapshot", "stack", "subnet", "subscription", "tag", "targetgroup", "topic", "user", "volume", "vpc", "zone"},
"delete": {"accesskey", "alarm", "appscalingpolicy", "appscalingtarget", "bucket", "certificate", "containercluster", "containertask", "database", "dbsubnetgroup", "distribution", "elasticip", "function", "group", "image", "instance", "instanceprofile", "internetgateway", "keypair", "launchconfiguration", "listener", "loadbalancer", "loginprofile", "mfadevice", "natgateway", "networkinterface", "policy", "queue", "record", "repository", "role", "route", "routetable", "s3object", "scalinggroup", "scalingpolicy", "securitygroup", "snapshot", "stack", "subnet", "subscription", "tag", "targetgroup", "topic", "user", "volume", "vpc", "zone"},
"detach": {"alarm", "containertask", "elasticip", "instance", "instanceprofile", "internetgateway", "mfadevice", "networkinterface", "policy", "role", "routetable", "securitygroup", "user", "volume"},
"import": {"image"},
"restart": {"database", "instance"},
"start": {"alarm", "containertask", "database", "instance"},
"stop": {"alarm", "containertask", "database", "instance"},
"update": {"bucket", "containertask", "distribution", "image", "instance", "loginprofile", "policy", "record", "s3object", "scalinggroup", "securitygroup", "stack", "subnet", "targetgroup"},
}
var MockAWSSessionFactory = &AWSFactory{ Log: logger.DiscardLogger, Sess: mock.Session, }
var ProgressBarFactory func(*os.File) (*ProgressReadSeeker, error)
Allow to control for testing
Functions ¶
func Int64AsIntValue ¶
func NewCredsPrompter ¶
func NewCredsPrompter(profile string) *credentialsPrompter
func NewEnumValidator ¶
func NewEnumValidator(expected ...string) *enumValidator
func StringValue ¶
Types ¶
type AWSFactory ¶
func (*AWSFactory) Build ¶
func (f *AWSFactory) Build(key string) func() interface{}
type AfterRunner ¶
type AttachAlarm ¶
type AttachAlarm struct { Name *string `templateName:"name"` ActionArn *string `templateName:"action-arn"` // contains filtered or unexported fields }
func NewAttachAlarm ¶
func (*AttachAlarm) ManualRun ¶
func (cmd *AttachAlarm) ManualRun(renv env.Running) (interface{}, error)
func (*AttachAlarm) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachAlarm) ParamsSpec() params.Spec
func (*AttachAlarm) Run ¶
func (cmd *AttachAlarm) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachAlarm) SetApi ¶
func (cmd *AttachAlarm) SetApi(api cloudwatchiface.CloudWatchAPI)
type AttachContainertask ¶
type AttachContainertask struct { Name *string `templateName:"name"` ContainerName *string `templateName:"container-name"` Image *string `templateName:"image"` MemoryHardLimit *int64 `templateName:"memory-hard-limit"` Commands []*string `templateName:"command"` Env []*string `templateName:"env"` Privileged *bool `templateName:"privileged"` Workdir *string `templateName:"workdir"` Ports []*string `templateName:"ports"` // contains filtered or unexported fields }
func NewAttachContainertask ¶
func (*AttachContainertask) ExtractResult ¶
func (cmd *AttachContainertask) ExtractResult(i interface{}) string
func (*AttachContainertask) ManualRun ¶
func (cmd *AttachContainertask) ManualRun(renv env.Running) (interface{}, error)
func (*AttachContainertask) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachContainertask) ParamsSpec() params.Spec
func (*AttachContainertask) Run ¶
func (cmd *AttachContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachContainertask) SetApi ¶
func (cmd *AttachContainertask) SetApi(api ecsiface.ECSAPI)
type AttachElasticip ¶
type AttachElasticip struct { Id *string `awsName:"AllocationId" awsType:"awsstr" templateName:"id"` Instance *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"` Networkinterface *string `awsName:"NetworkInterfaceId" awsType:"awsstr" templateName:"networkinterface"` Privateip *string `awsName:"PrivateIpAddress" awsType:"awsstr" templateName:"privateip"` AllowReassociation *bool `awsName:"AllowReassociation" awsType:"awsbool" templateName:"allow-reassociation"` // contains filtered or unexported fields }
func NewAttachElasticip ¶
func (*AttachElasticip) ExtractResult ¶
func (cmd *AttachElasticip) ExtractResult(i interface{}) string
func (*AttachElasticip) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachElasticip) ParamsSpec() params.Spec
func (*AttachElasticip) Run ¶
func (cmd *AttachElasticip) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachElasticip) SetApi ¶
func (cmd *AttachElasticip) SetApi(api ec2iface.EC2API)
type AttachInstance ¶
type AttachInstance struct { Targetgroup *string `awsName:"TargetGroupArn" awsType:"awsstr" templateName:"targetgroup"` Id *string `awsName:"Targets[0]Id" awsType:"awsslicestruct" templateName:"id"` Port *int64 `awsName:"Targets[0]Port" awsType:"awsslicestructint64" templateName:"port"` // contains filtered or unexported fields }
func NewAttachInstance ¶
func (*AttachInstance) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachInstance) ParamsSpec() params.Spec
func (*AttachInstance) Run ¶
func (cmd *AttachInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachInstance) SetApi ¶
func (cmd *AttachInstance) SetApi(api elbv2iface.ELBV2API)
type AttachInstanceprofile ¶
type AttachInstanceprofile struct { Instance *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"` Name *string `awsName:"IamInstanceProfile.Name" awsType:"awsstr" templateName:"name"` Replace *bool `templateName:"replace"` // contains filtered or unexported fields }
func (*AttachInstanceprofile) ManualRun ¶
func (cmd *AttachInstanceprofile) ManualRun(renv env.Running) (interface{}, error)
func (*AttachInstanceprofile) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachInstanceprofile) ParamsSpec() params.Spec
func (*AttachInstanceprofile) Run ¶
func (cmd *AttachInstanceprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachInstanceprofile) SetApi ¶
func (cmd *AttachInstanceprofile) SetApi(api ec2iface.EC2API)
type AttachInternetgateway ¶
type AttachInternetgateway struct { Id *string `awsName:"InternetGatewayId" awsType:"awsstr" templateName:"id"` Vpc *string `awsName:"VpcId" awsType:"awsstr" templateName:"vpc"` // contains filtered or unexported fields }
func (*AttachInternetgateway) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachInternetgateway) ParamsSpec() params.Spec
func (*AttachInternetgateway) Run ¶
func (cmd *AttachInternetgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachInternetgateway) SetApi ¶
func (cmd *AttachInternetgateway) SetApi(api ec2iface.EC2API)
type AttachListener ¶ added in v0.1.10
type AttachListener struct { Id *string `awsName:"ListenerArn" awsType:"awsstr" templateName:"id"` Certificate *string `awsName:"Certificates[0]CertificateArn" awsType:"awsslicestruct" templateName:"certificate"` // contains filtered or unexported fields }
func NewAttachListener ¶ added in v0.1.10
func (*AttachListener) ParamsSpec ¶ added in v0.1.10
func (cmd *AttachListener) ParamsSpec() params.Spec
func (*AttachListener) Run ¶ added in v0.1.10
func (cmd *AttachListener) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachListener) SetApi ¶ added in v0.1.10
func (cmd *AttachListener) SetApi(api elbv2iface.ELBV2API)
type AttachMfadevice ¶
type AttachMfadevice struct { Id *string `awsName:"SerialNumber" awsType:"awsstr" templateName:"id"` User *string `awsName:"UserName" awsType:"awsstr" templateName:"user"` MfaCode1 *string `awsName:"AuthenticationCode1" awsType:"aws6digitsstring" templateName:"mfa-code-1"` MfaCode2 *string `awsName:"AuthenticationCode2" awsType:"aws6digitsstring" templateName:"mfa-code-2"` NoPrompt *bool `templateName:"no-prompt"` // contains filtered or unexported fields }
func NewAttachMfadevice ¶
func (*AttachMfadevice) AfterRun ¶
func (cmd *AttachMfadevice) AfterRun(renv env.Running, output interface{}) error
func (*AttachMfadevice) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachMfadevice) ParamsSpec() params.Spec
func (*AttachMfadevice) Run ¶
func (cmd *AttachMfadevice) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachMfadevice) SetApi ¶
func (cmd *AttachMfadevice) SetApi(api iamiface.IAMAPI)
type AttachNetworkinterface ¶
type AttachNetworkinterface struct { Id *string `awsName:"NetworkInterfaceId" awsType:"awsstr" templateName:"id"` Instance *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"` DeviceIndex *int64 `awsName:"DeviceIndex" awsType:"awsint64" templateName:"device-index"` // contains filtered or unexported fields }
func (*AttachNetworkinterface) ExtractResult ¶
func (cmd *AttachNetworkinterface) ExtractResult(i interface{}) string
func (*AttachNetworkinterface) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachNetworkinterface) ParamsSpec() params.Spec
func (*AttachNetworkinterface) Run ¶
func (cmd *AttachNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachNetworkinterface) SetApi ¶
func (cmd *AttachNetworkinterface) SetApi(api ec2iface.EC2API)
type AttachPolicy ¶
type AttachPolicy struct { Arn *string `awsName:"PolicyArn" awsType:"awsstr" templateName:"arn"` User *string `awsName:"UserName" awsType:"awsstr" templateName:"user"` Group *string `awsName:"GroupName" awsType:"awsstr" templateName:"group"` Role *string `awsName:"RoleName" awsType:"awsstr" templateName:"role"` Service *string `templateName:"service"` Access *string `templateName:"access"` // contains filtered or unexported fields }
func NewAttachPolicy ¶
func (*AttachPolicy) ManualRun ¶
func (cmd *AttachPolicy) ManualRun(renv env.Running) (interface{}, error)
func (*AttachPolicy) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachPolicy) ParamsSpec() params.Spec
func (*AttachPolicy) Run ¶
func (cmd *AttachPolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachPolicy) SetApi ¶
func (cmd *AttachPolicy) SetApi(api iamiface.IAMAPI)
type AttachRole ¶
type AttachRole struct { Instanceprofile *string `awsName:"InstanceProfileName" awsType:"awsstr" templateName:"instanceprofile" ` Name *string `awsName:"RoleName" awsType:"awsstr" templateName:"name" ` // contains filtered or unexported fields }
func NewAttachRole ¶
func (*AttachRole) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachRole) ParamsSpec() params.Spec
func (*AttachRole) Run ¶
func (cmd *AttachRole) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachRole) SetApi ¶
func (cmd *AttachRole) SetApi(api iamiface.IAMAPI)
type AttachRoutetable ¶
type AttachRoutetable struct { Id *string `awsName:"RouteTableId" awsType:"awsstr" templateName:"id"` Subnet *string `awsName:"SubnetId" awsType:"awsstr" templateName:"subnet"` // contains filtered or unexported fields }
func NewAttachRoutetable ¶
func (*AttachRoutetable) ExtractResult ¶
func (cmd *AttachRoutetable) ExtractResult(i interface{}) string
func (*AttachRoutetable) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachRoutetable) ParamsSpec() params.Spec
func (*AttachRoutetable) Run ¶
func (cmd *AttachRoutetable) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachRoutetable) SetApi ¶
func (cmd *AttachRoutetable) SetApi(api ec2iface.EC2API)
type AttachSecuritygroup ¶
type AttachSecuritygroup struct { Id *string `templateName:"id"` Instance *string `templateName:"instance"` // contains filtered or unexported fields }
func NewAttachSecuritygroup ¶
func (*AttachSecuritygroup) ManualRun ¶
func (cmd *AttachSecuritygroup) ManualRun(renv env.Running) (interface{}, error)
func (*AttachSecuritygroup) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachSecuritygroup) ParamsSpec() params.Spec
func (*AttachSecuritygroup) Run ¶
func (cmd *AttachSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachSecuritygroup) SetApi ¶
func (cmd *AttachSecuritygroup) SetApi(api ec2iface.EC2API)
type AttachUser ¶
type AttachUser struct { Group *string `awsName:"GroupName" awsType:"awsstr" templateName:"group"` Name *string `awsName:"UserName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewAttachUser ¶
func (*AttachUser) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachUser) ParamsSpec() params.Spec
func (*AttachUser) Run ¶
func (cmd *AttachUser) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachUser) SetApi ¶
func (cmd *AttachUser) SetApi(api iamiface.IAMAPI)
type AttachVolume ¶
type AttachVolume struct { Device *string `awsName:"Device" awsType:"awsstr" templateName:"device"` Id *string `awsName:"VolumeId" awsType:"awsstr" templateName:"id"` Instance *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"` // contains filtered or unexported fields }
func NewAttachVolume ¶
func (*AttachVolume) ExtractResult ¶
func (cmd *AttachVolume) ExtractResult(i interface{}) string
func (*AttachVolume) ParamsSpec ¶ added in v0.1.9
func (cmd *AttachVolume) ParamsSpec() params.Spec
func (*AttachVolume) Run ¶
func (cmd *AttachVolume) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AttachVolume) SetApi ¶
func (cmd *AttachVolume) SetApi(api ec2iface.EC2API)
type AuthenticateRegistry ¶
type AuthenticateRegistry struct { Accounts []*string `templateName:"accounts"` NoConfirm *bool `templateName:"no-confirm"` DisableDockerCmd *bool `templateName:"no-docker-login"` // contains filtered or unexported fields }
func NewAuthenticateRegistry ¶
func (*AuthenticateRegistry) ManualRun ¶
func (cmd *AuthenticateRegistry) ManualRun(renv env.Running) (interface{}, error)
func (*AuthenticateRegistry) ParamsSpec ¶ added in v0.1.9
func (cmd *AuthenticateRegistry) ParamsSpec() params.Spec
func (*AuthenticateRegistry) Run ¶
func (cmd *AuthenticateRegistry) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*AuthenticateRegistry) SetApi ¶
func (cmd *AuthenticateRegistry) SetApi(api ecriface.ECRAPI)
type BeforeRunner ¶
type CheckCertificate ¶
type CheckCertificate struct { Arn *string `templateName:"arn"` State *string `templateName:"state"` Timeout *int64 `templateName:"timeout"` // contains filtered or unexported fields }
func NewCheckCertificate ¶
func (*CheckCertificate) ManualRun ¶
func (cmd *CheckCertificate) ManualRun(renv env.Running) (interface{}, error)
func (*CheckCertificate) ParamsSpec ¶ added in v0.1.9
func (cmd *CheckCertificate) ParamsSpec() params.Spec
func (*CheckCertificate) Run ¶
func (cmd *CheckCertificate) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CheckCertificate) SetApi ¶
func (cmd *CheckCertificate) SetApi(api acmiface.ACMAPI)
type CheckDatabase ¶
type CheckDatabase struct { Id *string `templateName:"id"` State *string `templateName:"state"` Timeout *int64 `templateName:"timeout"` // contains filtered or unexported fields }
func NewCheckDatabase ¶
func (*CheckDatabase) ManualRun ¶
func (cmd *CheckDatabase) ManualRun(renv env.Running) (interface{}, error)
func (*CheckDatabase) ParamsSpec ¶ added in v0.1.9
func (cmd *CheckDatabase) ParamsSpec() params.Spec
func (*CheckDatabase) Run ¶
func (cmd *CheckDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CheckDatabase) SetApi ¶
func (cmd *CheckDatabase) SetApi(api rdsiface.RDSAPI)
type CheckDistribution ¶
type CheckDistribution struct { Id *string `templateName:"id"` State *string `templateName:"state"` Timeout *int64 `templateName:"timeout"` // contains filtered or unexported fields }
func NewCheckDistribution ¶
func (*CheckDistribution) ManualRun ¶
func (cmd *CheckDistribution) ManualRun(renv env.Running) (interface{}, error)
func (*CheckDistribution) ParamsSpec ¶ added in v0.1.9
func (cmd *CheckDistribution) ParamsSpec() params.Spec
func (*CheckDistribution) Run ¶
func (cmd *CheckDistribution) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CheckDistribution) SetApi ¶
func (cmd *CheckDistribution) SetApi(api cloudfrontiface.CloudFrontAPI)
type CheckInstance ¶
type CheckInstance struct { Id *string `templateName:"id"` State *string `templateName:"state"` Timeout *int64 `templateName:"timeout"` // contains filtered or unexported fields }
func NewCheckInstance ¶
func (*CheckInstance) ManualRun ¶
func (cmd *CheckInstance) ManualRun(renv env.Running) (interface{}, error)
func (*CheckInstance) ParamsSpec ¶ added in v0.1.9
func (cmd *CheckInstance) ParamsSpec() params.Spec
func (*CheckInstance) Run ¶
func (cmd *CheckInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CheckInstance) SetApi ¶
func (cmd *CheckInstance) SetApi(api ec2iface.EC2API)
type CheckLoadbalancer ¶
type CheckLoadbalancer struct { Id *string `templateName:"id"` State *string `templateName:"state"` Timeout *int64 `templateName:"timeout"` // contains filtered or unexported fields }
func NewCheckLoadbalancer ¶
func (*CheckLoadbalancer) ManualRun ¶
func (cmd *CheckLoadbalancer) ManualRun(renv env.Running) (interface{}, error)
func (*CheckLoadbalancer) ParamsSpec ¶ added in v0.1.9
func (cmd *CheckLoadbalancer) ParamsSpec() params.Spec
func (*CheckLoadbalancer) Run ¶
func (cmd *CheckLoadbalancer) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CheckLoadbalancer) SetApi ¶
func (cmd *CheckLoadbalancer) SetApi(api elbv2iface.ELBV2API)
type CheckNatgateway ¶
type CheckNatgateway struct { Id *string `templateName:"id"` State *string `templateName:"state"` Timeout *int64 `templateName:"timeout"` // contains filtered or unexported fields }
func NewCheckNatgateway ¶
func (*CheckNatgateway) ManualRun ¶
func (cmd *CheckNatgateway) ManualRun(renv env.Running) (interface{}, error)
func (*CheckNatgateway) ParamsSpec ¶ added in v0.1.9
func (cmd *CheckNatgateway) ParamsSpec() params.Spec
func (*CheckNatgateway) Run ¶
func (cmd *CheckNatgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CheckNatgateway) SetApi ¶
func (cmd *CheckNatgateway) SetApi(api ec2iface.EC2API)
type CheckNetworkinterface ¶
type CheckNetworkinterface struct { Id *string `templateName:"id"` State *string `templateName:"state"` Timeout *int64 `templateName:"timeout"` // contains filtered or unexported fields }
func (*CheckNetworkinterface) ManualRun ¶
func (cmd *CheckNetworkinterface) ManualRun(renv env.Running) (interface{}, error)
func (*CheckNetworkinterface) ParamsSpec ¶ added in v0.1.9
func (cmd *CheckNetworkinterface) ParamsSpec() params.Spec
func (*CheckNetworkinterface) Run ¶
func (cmd *CheckNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CheckNetworkinterface) SetApi ¶
func (cmd *CheckNetworkinterface) SetApi(api ec2iface.EC2API)
type CheckScalinggroup ¶
type CheckScalinggroup struct { Name *string `templateName:"name"` Count *int64 `templateName:"count"` Timeout *int64 `templateName:"timeout"` // contains filtered or unexported fields }
func NewCheckScalinggroup ¶
func (*CheckScalinggroup) ManualRun ¶
func (sg *CheckScalinggroup) ManualRun(renv env.Running) (interface{}, error)
func (*CheckScalinggroup) ParamsSpec ¶ added in v0.1.9
func (cmd *CheckScalinggroup) ParamsSpec() params.Spec
func (*CheckScalinggroup) Run ¶
func (cmd *CheckScalinggroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CheckScalinggroup) SetApi ¶
func (cmd *CheckScalinggroup) SetApi(api autoscalingiface.AutoScalingAPI)
type CheckSecuritygroup ¶
type CheckSecuritygroup struct { Id *string `templateName:"id"` State *string `templateName:"state"` Timeout *int64 `templateName:"timeout"` // contains filtered or unexported fields }
func NewCheckSecuritygroup ¶
func (*CheckSecuritygroup) ManualRun ¶
func (cmd *CheckSecuritygroup) ManualRun(renv env.Running) (interface{}, error)
func (*CheckSecuritygroup) ParamsSpec ¶ added in v0.1.9
func (cmd *CheckSecuritygroup) ParamsSpec() params.Spec
func (*CheckSecuritygroup) Run ¶
func (cmd *CheckSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CheckSecuritygroup) SetApi ¶
func (cmd *CheckSecuritygroup) SetApi(api ec2iface.EC2API)
type CheckVolume ¶
type CheckVolume struct { Id *string `templateName:"id"` State *string `templateName:"state"` Timeout *int64 `templateName:"timeout"` // contains filtered or unexported fields }
func NewCheckVolume ¶
func (*CheckVolume) ManualRun ¶
func (cmd *CheckVolume) ManualRun(renv env.Running) (interface{}, error)
func (*CheckVolume) ParamsSpec ¶ added in v0.1.9
func (cmd *CheckVolume) ParamsSpec() params.Spec
func (*CheckVolume) Run ¶
func (cmd *CheckVolume) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CheckVolume) SetApi ¶
func (cmd *CheckVolume) SetApi(api ec2iface.EC2API)
type CopyImage ¶
type CopyImage struct { Name *string `awsName:"Name" awsType:"awsstr" templateName:"name"` SourceId *string `awsName:"SourceImageId" awsType:"awsstr" templateName:"source-id"` SourceRegion *string `awsName:"SourceRegion" awsType:"awsstr" templateName:"source-region"` Encrypted *bool `awsName:"Encrypted" awsType:"awsbool" templateName:"encrypted"` Description *string `awsName:"Description" awsType:"awsstr" templateName:"description"` // contains filtered or unexported fields }
func NewCopyImage ¶
func (*CopyImage) ExtractResult ¶
func (*CopyImage) ParamsSpec ¶ added in v0.1.9
type CopySnapshot ¶
type CopySnapshot struct { SourceId *string `awsName:"SourceSnapshotId" awsType:"awsstr" templateName:"source-id"` SourceRegion *string `awsName:"SourceRegion" awsType:"awsstr" templateName:"source-region"` Encrypted *bool `awsName:"Encrypted" awsType:"awsbool" templateName:"encrypted"` Description *string `awsName:"Description" awsType:"awsstr" templateName:"description"` // contains filtered or unexported fields }
func NewCopySnapshot ¶
func (*CopySnapshot) ExtractResult ¶
func (cmd *CopySnapshot) ExtractResult(i interface{}) string
func (*CopySnapshot) ParamsSpec ¶ added in v0.1.9
func (cmd *CopySnapshot) ParamsSpec() params.Spec
func (*CopySnapshot) Run ¶
func (cmd *CopySnapshot) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CopySnapshot) SetApi ¶
func (cmd *CopySnapshot) SetApi(api ec2iface.EC2API)
type CreateAccesskey ¶
type CreateAccesskey struct { User *string `awsName:"UserName" awsType:"awsstr" templateName:"user"` Save *bool `templateName:"save"` // contains filtered or unexported fields }
func NewCreateAccesskey ¶
func (*CreateAccesskey) AfterRun ¶
func (cmd *CreateAccesskey) AfterRun(renv env.Running, output interface{}) error
func (*CreateAccesskey) ExtractResult ¶
func (cmd *CreateAccesskey) ExtractResult(i interface{}) string
func (*CreateAccesskey) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateAccesskey) ParamsSpec() params.Spec
func (*CreateAccesskey) Run ¶
func (cmd *CreateAccesskey) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateAccesskey) SetApi ¶
func (cmd *CreateAccesskey) SetApi(api iamiface.IAMAPI)
type CreateAlarm ¶
type CreateAlarm struct { Name *string `awsName:"AlarmName" awsType:"awsstr" templateName:"name"` Operator *string `awsName:"ComparisonOperator" awsType:"awsstr" templateName:"operator"` Metric *string `awsName:"MetricName" awsType:"awsstr" templateName:"metric"` Namespace *string `awsName:"Namespace" awsType:"awsstr" templateName:"namespace"` EvaluationPeriods *int64 `awsName:"EvaluationPeriods" awsType:"awsint64" templateName:"evaluation-periods"` Period *int64 `awsName:"Period" awsType:"awsint64" templateName:"period"` StatisticFunction *string `awsName:"Statistic" awsType:"awsstr" templateName:"statistic-function"` Threshold *float64 `awsName:"Threshold" awsType:"awsfloat" templateName:"threshold"` Enabled *bool `awsName:"ActionsEnabled" awsType:"awsbool" templateName:"enabled"` AlarmActions []*string `awsName:"AlarmActions" awsType:"awsstringslice" templateName:"alarm-actions"` InsufficientdataActions []*string `awsName:"InsufficientDataActions" awsType:"awsstringslice" templateName:"insufficientdata-actions"` OkActions []*string `awsName:"OKActions" awsType:"awsstringslice" templateName:"ok-actions"` Description *string `awsName:"AlarmDescription" awsType:"awsstr" templateName:"description"` Dimensions []*string `awsName:"Dimensions" awsType:"awsdimensionslice" templateName:"dimensions"` Unit *string `awsName:"Unit" awsType:"awsstr" templateName:"unit"` // contains filtered or unexported fields }
func NewCreateAlarm ¶
func (*CreateAlarm) ExtractResult ¶
func (cmd *CreateAlarm) ExtractResult(i interface{}) string
func (*CreateAlarm) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateAlarm) ParamsSpec() params.Spec
func (*CreateAlarm) Run ¶
func (cmd *CreateAlarm) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateAlarm) SetApi ¶
func (cmd *CreateAlarm) SetApi(api cloudwatchiface.CloudWatchAPI)
type CreateAppscalingpolicy ¶
type CreateAppscalingpolicy struct { Name *string `awsName:"PolicyName" awsType:"awsstr" templateName:"name"` Type *string `awsName:"PolicyType" awsType:"awsstr" templateName:"type"` Resource *string `awsName:"ResourceId" awsType:"awsstr" templateName:"resource"` Dimension *string `awsName:"ScalableDimension" awsType:"awsstr" templateName:"dimension"` ServiceNamespace *string `awsName:"ServiceNamespace" awsType:"awsstr" templateName:"service-namespace"` StepscalingAdjustmentType *string `awsName:"StepScalingPolicyConfiguration.AdjustmentType" awsType:"awsstr" templateName:"stepscaling-adjustment-type"` StepscalingAdjustments []*string `awsName:"StepScalingPolicyConfiguration.StepAdjustments" awsType:"awsstepadjustments" templateName:"stepscaling-adjustments"` StepscalingCooldown *int64 `awsName:"StepScalingPolicyConfiguration.Cooldown" awsType:"awsint64" templateName:"stepscaling-cooldown"` StepscalingAggregationType *string `awsName:"StepScalingPolicyConfiguration.MetricAggregationType" awsType:"awsstr" templateName:"stepscaling-aggregation-type"` StepscalingMinAdjustmentMagnitude *int64 `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateAppscalingpolicy) ExtractResult ¶
func (cmd *CreateAppscalingpolicy) ExtractResult(i interface{}) string
func (*CreateAppscalingpolicy) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateAppscalingpolicy) ParamsSpec() params.Spec
func (*CreateAppscalingpolicy) Run ¶
func (cmd *CreateAppscalingpolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateAppscalingpolicy) SetApi ¶
func (cmd *CreateAppscalingpolicy) SetApi(api applicationautoscalingiface.ApplicationAutoScalingAPI)
type CreateAppscalingtarget ¶
type CreateAppscalingtarget struct { MaxCapacity *int64 `awsName:"MaxCapacity" awsType:"awsint64" templateName:"max-capacity"` MinCapacity *int64 `awsName:"MinCapacity" awsType:"awsint64" templateName:"min-capacity"` Resource *string `awsName:"ResourceId" awsType:"awsstr" templateName:"resource"` Role *string `awsName:"RoleARN" awsType:"awsstr" templateName:"role"` Dimension *string `awsName:"ScalableDimension" awsType:"awsstr" templateName:"dimension"` ServiceNamespace *string `awsName:"ServiceNamespace" awsType:"awsstr" templateName:"service-namespace"` // contains filtered or unexported fields }
func (*CreateAppscalingtarget) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateAppscalingtarget) ParamsSpec() params.Spec
func (*CreateAppscalingtarget) Run ¶
func (cmd *CreateAppscalingtarget) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateAppscalingtarget) SetApi ¶
func (cmd *CreateAppscalingtarget) SetApi(api applicationautoscalingiface.ApplicationAutoScalingAPI)
type CreateBucket ¶
type CreateBucket struct { Name *string `awsName:"Bucket" awsType:"awsstr" templateName:"name"` Acl *string `awsName:"ACL" awsType:"awsstr" templateName:"acl"` // contains filtered or unexported fields }
func NewCreateBucket ¶
func (*CreateBucket) ExtractResult ¶
func (cmd *CreateBucket) ExtractResult(i interface{}) string
func (*CreateBucket) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateBucket) ParamsSpec() params.Spec
func (*CreateBucket) Run ¶
func (cmd *CreateBucket) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateBucket) SetApi ¶
func (cmd *CreateBucket) SetApi(api s3iface.S3API)
type CreateCertificate ¶
type CreateCertificate struct { Domains []*string `templateName:"domains"` ValidationDomains []*string `templateName:"validation-domains"` // contains filtered or unexported fields }
func NewCreateCertificate ¶
func (*CreateCertificate) ExtractResult ¶
func (cmd *CreateCertificate) ExtractResult(i interface{}) string
func (*CreateCertificate) ManualRun ¶
func (cmd *CreateCertificate) ManualRun(renv env.Running) (interface{}, error)
func (*CreateCertificate) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateCertificate) ParamsSpec() params.Spec
func (*CreateCertificate) Run ¶
func (cmd *CreateCertificate) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateCertificate) SetApi ¶
func (cmd *CreateCertificate) SetApi(api acmiface.ACMAPI)
type CreateContainercluster ¶
type CreateContainercluster struct { Name *string `awsName:"ClusterName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func (*CreateContainercluster) ExtractResult ¶
func (cmd *CreateContainercluster) ExtractResult(i interface{}) string
func (*CreateContainercluster) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateContainercluster) ParamsSpec() params.Spec
func (*CreateContainercluster) Run ¶
func (cmd *CreateContainercluster) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateContainercluster) SetApi ¶
func (cmd *CreateContainercluster) SetApi(api ecsiface.ECSAPI)
type CreateDatabase ¶
type CreateDatabase struct { // Required for DB Type *string `awsName:"DBInstanceClass" awsType:"awsstr" templateName:"type"` Id *string `awsName:"DBInstanceIdentifier" awsType:"awsstr" templateName:"id"` Engine *string `awsName:"Engine" awsType:"awsstr" templateName:"engine"` Password *string `awsName:"MasterUserPassword" awsType:"awsstr" templateName:"password"` Username *string `awsName:"MasterUsername" awsType:"awsstr" templateName:"username"` Size *int64 `awsName:"AllocatedStorage" awsType:"awsint64" templateName:"size"` // Required for read replica DB ReadReplicaSourceDB *string `awsName:"SourceDBInstanceIdentifier" awsType:"awsstr" templateName:"replica-source"` ReadReplicaIdentifier *string `awsName:"DBInstanceIdentifier" awsType:"awsstr" templateName:"replica"` // Extras common to both replica DB and source DB Autoupgrade *bool `awsName:"AutoMinorVersionUpgrade" awsType:"awsbool" templateName:"autoupgrade"` Availabilityzone *string `awsName:"AvailabilityZone" awsType:"awsstr" templateName:"availabilityzone"` Subnetgroup *string `awsName:"DBSubnetGroupName" awsType:"awsstr" templateName:"subnetgroup"` Iops *int64 `awsName:"Iops" awsType:"awsint64" templateName:"iops"` Optiongroup *string `awsName:"OptionGroupName" awsType:"awsstr" templateName:"optiongroup"` Port *int64 `awsName:"Port" awsType:"awsint64" templateName:"port"` Public *bool `awsName:"PubliclyAccessible" awsType:"awsbool" templateName:"public"` Storagetype *string `awsName:"StorageType" awsType:"awsstr" templateName:"storagetype"` // Extra only for DB Backupretention *int64 `awsName:"BackupRetentionPeriod" awsType:"awsint64" templateName:"backupretention"` Backupwindow *string `awsName:"PreferredBackupWindow" awsType:"awsstr" templateName:"backupwindow"` Cluster *string `awsName:"DBClusterIdentifier" awsType:"awsstr" templateName:"cluster"` Dbname *string `awsName:"DBName" awsType:"awsstr" templateName:"dbname"` Dbsecuritygroups []*string `awsName:"DBSecurityGroups" awsType:"awsstringslice" templateName:"dbsecuritygroups"` Domain *string `awsName:"Domain" awsType:"awsstr" templateName:"domain"` Encrypted *bool `awsName:"StorageEncrypted" awsType:"awsbool" templateName:"encrypted"` Iamrole *string `awsName:"DomainIAMRoleName" awsType:"awsstr" templateName:"iamrole"` License *string `awsName:"LicenseModel" awsType:"awsstr" templateName:"license"` Maintenancewindow *string `awsName:"PreferredMaintenanceWindow" awsType:"awsstr" templateName:"maintenancewindow"` Multiaz *bool `awsName:"MultiAZ" awsType:"awsbool" templateName:"multiaz"` Parametergroup *string `awsName:"DBParameterGroupName" awsType:"awsstr" templateName:"parametergroup"` Timezone *string `awsName:"Timezone" awsType:"awsstr" templateName:"timezone"` Vpcsecuritygroups []*string `awsName:"VpcSecurityGroupIds" awsType:"awsstringslice" templateName:"vpcsecuritygroups"` Version *string `awsName:"EngineVersion" awsType:"awsstr" templateName:"version"` // Extra only for replica DB CopyTagsToSnapshot *string `awsName:"CopyTagsToSnapshot" awsType:"awsbool" templateName:"copytagstosnapshot"` // contains filtered or unexported fields }
func NewCreateDatabase ¶
func (*CreateDatabase) ExtractResult ¶
func (cmd *CreateDatabase) ExtractResult(i interface{}) string
func (*CreateDatabase) ManualRun ¶ added in v0.1.8
func (cmd *CreateDatabase) ManualRun(renv env.Running) (output interface{}, err error)
func (*CreateDatabase) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateDatabase) ParamsSpec() params.Spec
func (*CreateDatabase) Run ¶
func (cmd *CreateDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateDatabase) SetApi ¶
func (cmd *CreateDatabase) SetApi(api rdsiface.RDSAPI)
type CreateDbsubnetgroup ¶
type CreateDbsubnetgroup struct { Name *string `awsName:"DBSubnetGroupName" awsType:"awsstr" templateName:"name"` Description *string `awsName:"DBSubnetGroupDescription" awsType:"awsstr" templateName:"description"` Subnets []*string `awsName:"SubnetIds" awsType:"awsstringslice" templateName:"subnets"` // contains filtered or unexported fields }
func NewCreateDbsubnetgroup ¶
func (*CreateDbsubnetgroup) ExtractResult ¶
func (cmd *CreateDbsubnetgroup) ExtractResult(i interface{}) string
func (*CreateDbsubnetgroup) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateDbsubnetgroup) ParamsSpec() params.Spec
func (*CreateDbsubnetgroup) Run ¶
func (cmd *CreateDbsubnetgroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateDbsubnetgroup) SetApi ¶
func (cmd *CreateDbsubnetgroup) SetApi(api rdsiface.RDSAPI)
type CreateDistribution ¶
type CreateDistribution struct { OriginDomain *string `templateName:"origin-domain"` Certificate *string `templateName:"certificate"` Comment *string `templateName:"comment"` DefaultFile *string `templateName:"default-file"` DomainAliases []*string `templateName:"domain-aliases"` Enable *bool `templateName:"enable"` ForwardCookies *string `templateName:"forward-cookies"` ForwardQueries *bool `templateName:"forward-queries"` HttpsBehaviour *string `templateName:"https-behaviour"` OriginPath *string `templateName:"origin-path"` PriceClass *string `templateName:"price-class"` MinTtl *int64 `templateName:"min-ttl"` // contains filtered or unexported fields }
func NewCreateDistribution ¶
func (*CreateDistribution) ExtractResult ¶
func (cmd *CreateDistribution) ExtractResult(i interface{}) string
func (*CreateDistribution) ManualRun ¶
func (cmd *CreateDistribution) ManualRun(renv env.Running) (interface{}, error)
func (*CreateDistribution) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateDistribution) ParamsSpec() params.Spec
func (*CreateDistribution) Run ¶
func (cmd *CreateDistribution) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateDistribution) SetApi ¶
func (cmd *CreateDistribution) SetApi(api cloudfrontiface.CloudFrontAPI)
type CreateElasticip ¶
type CreateElasticip struct { Domain *string `awsName:"Domain" awsType:"awsstr" templateName:"domain"` // contains filtered or unexported fields }
func NewCreateElasticip ¶
func (*CreateElasticip) ExtractResult ¶
func (cmd *CreateElasticip) ExtractResult(i interface{}) string
func (*CreateElasticip) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateElasticip) ParamsSpec() params.Spec
func (*CreateElasticip) Run ¶
func (cmd *CreateElasticip) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateElasticip) SetApi ¶
func (cmd *CreateElasticip) SetApi(api ec2iface.EC2API)
type CreateFunction ¶
type CreateFunction struct { Name *string `awsName:"FunctionName" awsType:"awsstr" templateName:"name"` Handler *string `awsName:"Handler" awsType:"awsstr" templateName:"handler"` Role *string `awsName:"Role" awsType:"awsstr" templateName:"role"` Runtime *string `awsName:"Runtime" awsType:"awsstr" templateName:"runtime"` Bucket *string `awsName:"Code.S3Bucket" awsType:"awsstr" templateName:"bucket"` Object *string `awsName:"Code.S3Key" awsType:"awsstr" templateName:"object"` Objectversion *string `awsName:"Code.S3ObjectVersion" awsType:"awsstr" templateName:"objectversion"` Zipfile *string `awsName:"Code.ZipFile" awsType:"awsfiletobyteslice" templateName:"zipfile"` Description *string `awsName:"Description" awsType:"awsstr" templateName:"description"` Memory *int64 `awsName:"MemorySize" awsType:"awsint64" templateName:"memory"` Publish *bool `awsName:"Publish" awsType:"awsbool" templateName:"publish"` Timeout *int64 `awsName:"Timeout" awsType:"awsint64" templateName:"timeout"` // contains filtered or unexported fields }
func NewCreateFunction ¶
func (*CreateFunction) ExtractResult ¶
func (cmd *CreateFunction) ExtractResult(i interface{}) string
func (*CreateFunction) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateFunction) ParamsSpec() params.Spec
func (*CreateFunction) Run ¶
func (cmd *CreateFunction) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateFunction) SetApi ¶
func (cmd *CreateFunction) SetApi(api lambdaiface.LambdaAPI)
type CreateGroup ¶
type CreateGroup struct { Name *string `awsName:"GroupName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewCreateGroup ¶
func (*CreateGroup) ExtractResult ¶
func (cmd *CreateGroup) ExtractResult(i interface{}) string
func (*CreateGroup) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateGroup) ParamsSpec() params.Spec
func (*CreateGroup) Run ¶
func (cmd *CreateGroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateGroup) SetApi ¶
func (cmd *CreateGroup) SetApi(api iamiface.IAMAPI)
type CreateImage ¶ added in v0.1.9
type CreateImage struct { Name *string `awsName:"Name" awsType:"awsstr" templateName:"name"` Instance *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"` Reboot *bool `awsName:"NoReboot" awsType:"awsbool" templateName:"reboot"` Description *string `awsName:"Description" awsType:"awsstr" templateName:"description"` // contains filtered or unexported fields }
func NewCreateImage ¶ added in v0.1.9
func (*CreateImage) BeforeRun ¶ added in v0.1.9
func (cmd *CreateImage) BeforeRun(renv env.Running) error
func (*CreateImage) ExtractResult ¶ added in v0.1.9
func (cmd *CreateImage) ExtractResult(i interface{}) string
func (*CreateImage) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateImage) ParamsSpec() params.Spec
func (*CreateImage) Run ¶ added in v0.1.9
func (cmd *CreateImage) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateImage) SetApi ¶ added in v0.1.9
func (cmd *CreateImage) SetApi(api ec2iface.EC2API)
type CreateInstance ¶
type CreateInstance struct { Image *string `awsName:"ImageId" awsType:"awsstr" templateName:"image"` Count *int64 `awsName:"MaxCount,MinCount" awsType:"awsin64" templateName:"count"` Type *string `awsName:"InstanceType" awsType:"awsstr" templateName:"type"` Name *string `templateName:"name"` Subnet *string `awsName:"SubnetId" awsType:"awsstr" templateName:"subnet"` Keypair *string `awsName:"KeyName" awsType:"awsstr" templateName:"keypair"` PrivateIP *string `awsName:"PrivateIpAddress" awsType:"awsstr" templateName:"ip"` UserData *string `awsName:"UserData" awsType:"awsuserdatatobase64" templateName:"userdata"` SecurityGroups []*string `awsName:"SecurityGroupIds" awsType:"awsstringslice" templateName:"securitygroup"` Lock *bool `awsName:"DisableApiTermination" awsType:"awsbool" templateName:"lock"` Role *string `awsName:"IamInstanceProfile.Name" awsType:"awsstr" templateName:"role"` DistroQuery *string `awsType:"awsstr" templateName:"distro"` // contains filtered or unexported fields }
func NewCreateInstance ¶
func (*CreateInstance) AfterRun ¶
func (cmd *CreateInstance) AfterRun(renv env.Running, output interface{}) error
func (*CreateInstance) ExtractResult ¶
func (cmd *CreateInstance) ExtractResult(i interface{}) string
func (*CreateInstance) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateInstance) ParamsSpec() params.Spec
func (*CreateInstance) Run ¶
func (cmd *CreateInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateInstance) SetApi ¶
func (cmd *CreateInstance) SetApi(api ec2iface.EC2API)
type CreateInstanceprofile ¶
type CreateInstanceprofile struct { Name *string `awsName:"InstanceProfileName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func (*CreateInstanceprofile) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateInstanceprofile) ParamsSpec() params.Spec
func (*CreateInstanceprofile) Run ¶
func (cmd *CreateInstanceprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateInstanceprofile) SetApi ¶
func (cmd *CreateInstanceprofile) SetApi(api iamiface.IAMAPI)
type CreateInternetgateway ¶
type CreateInternetgateway struct {
// contains filtered or unexported fields
}
func (*CreateInternetgateway) ExtractResult ¶
func (cmd *CreateInternetgateway) ExtractResult(i interface{}) string
func (*CreateInternetgateway) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateInternetgateway) ParamsSpec() params.Spec
func (*CreateInternetgateway) Run ¶
func (cmd *CreateInternetgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateInternetgateway) SetApi ¶
func (cmd *CreateInternetgateway) SetApi(api ec2iface.EC2API)
type CreateKeypair ¶
type CreateKeypair struct { Name *string `awsName:"KeyName" awsType:"awsstr" templateName:"name"` Encrypted *bool `templateName:"encrypted"` PublicKeyMaterial []byte `awsName:"PublicKeyMaterial" awsType:"awsbyteslice"` // contains filtered or unexported fields }
func NewCreateKeypair ¶
func (*CreateKeypair) ExtractResult ¶
func (cmd *CreateKeypair) ExtractResult(i interface{}) string
func (*CreateKeypair) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateKeypair) ParamsSpec() params.Spec
func (*CreateKeypair) Run ¶
func (cmd *CreateKeypair) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateKeypair) SetApi ¶
func (cmd *CreateKeypair) SetApi(api ec2iface.EC2API)
type CreateLaunchconfiguration ¶
type CreateLaunchconfiguration struct { Image *string `awsName:"ImageId" awsType:"awsstr" templateName:"image"` Type *string `awsName:"InstanceType" awsType:"awsstr" templateName:"type"` Name *string `awsName:"LaunchConfigurationName" awsType:"awsstr" templateName:"name"` Public *bool `awsName:"AssociatePublicIpAddress" awsType:"awsbool" templateName:"public"` Keypair *string `awsName:"KeyName" awsType:"awsstr" templateName:"keypair"` Userdata *string `awsName:"UserData" awsType:"awsuserdatatobase64" templateName:"userdata"` Securitygroups []*string `awsName:"SecurityGroups" awsType:"awsstringslice" templateName:"securitygroups"` Role *string `awsName:"IamInstanceProfile" awsType:"awsstr" templateName:"role"` Spotprice *string `awsName:"SpotPrice" awsType:"awsstr" templateName:"spotprice"` DistroQuery *string `awsType:"awsstr" templateName:"distro"` // contains filtered or unexported fields }
func (*CreateLaunchconfiguration) ExtractResult ¶
func (cmd *CreateLaunchconfiguration) ExtractResult(i interface{}) string
func (*CreateLaunchconfiguration) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateLaunchconfiguration) ParamsSpec() params.Spec
func (*CreateLaunchconfiguration) Run ¶
func (cmd *CreateLaunchconfiguration) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateLaunchconfiguration) SetApi ¶
func (cmd *CreateLaunchconfiguration) SetApi(api autoscalingiface.AutoScalingAPI)
type CreateListener ¶
type CreateListener struct { Actiontype *string `awsName:"DefaultActions[0]Type" awsType:"awsslicestruct" templateName:"actiontype"` Targetgroup *string `awsName:"DefaultActions[0]TargetGroupArn" awsType:"awsslicestruct" templateName:"targetgroup"` Loadbalancer *string `awsName:"LoadBalancerArn" awsType:"awsstr" templateName:"loadbalancer"` Port *int64 `awsName:"Port" awsType:"awsint64" templateName:"port"` Protocol *string `awsName:"Protocol" awsType:"awsstr" templateName:"protocol"` Certificate *string `awsName:"Certificates[0]CertificateArn" awsType:"awsslicestruct" templateName:"certificate"` Sslpolicy *string `awsName:"SslPolicy" awsType:"awsstr" templateName:"sslpolicy"` // contains filtered or unexported fields }
func NewCreateListener ¶
func (*CreateListener) ExtractResult ¶
func (cmd *CreateListener) ExtractResult(i interface{}) string
func (*CreateListener) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateListener) ParamsSpec() params.Spec
func (*CreateListener) Run ¶
func (cmd *CreateListener) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateListener) SetApi ¶
func (cmd *CreateListener) SetApi(api elbv2iface.ELBV2API)
type CreateLoadbalancer ¶
type CreateLoadbalancer struct { Name *string `awsName:"Name" awsType:"awsstr" templateName:"name"` Subnets []*string `awsName:"Subnets" awsType:"awsstringslice" templateName:"subnets"` SubnetMappings []*string `awsName:"SubnetMappings" awsType:"awssubnetmappings" templateName:"subnet-mappings"` Iptype *string `awsName:"IpAddressType" awsType:"awsstr" templateName:"iptype"` Scheme *string `awsName:"Scheme" awsType:"awsstr" templateName:"scheme"` Securitygroups []*string `awsName:"SecurityGroups" awsType:"awsstringslice" templateName:"securitygroups"` Type *string `awsName:"Type" awsType:"awsstr" templateName:"type"` // contains filtered or unexported fields }
func NewCreateLoadbalancer ¶
func (*CreateLoadbalancer) ExtractResult ¶
func (cmd *CreateLoadbalancer) ExtractResult(i interface{}) string
func (*CreateLoadbalancer) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateLoadbalancer) ParamsSpec() params.Spec
func (*CreateLoadbalancer) Run ¶
func (cmd *CreateLoadbalancer) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateLoadbalancer) SetApi ¶
func (cmd *CreateLoadbalancer) SetApi(api elbv2iface.ELBV2API)
type CreateLoginprofile ¶
type CreateLoginprofile struct { Username *string `awsName:"UserName" awsType:"awsstr" templateName:"username"` Password *string `awsName:"Password" awsType:"awsstr" templateName:"password"` PasswordReset *bool `awsName:"PasswordResetRequired" awsType:"awsbool" templateName:"password-reset"` // contains filtered or unexported fields }
func NewCreateLoginprofile ¶
func (*CreateLoginprofile) ExtractResult ¶
func (cmd *CreateLoginprofile) ExtractResult(i interface{}) string
func (*CreateLoginprofile) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateLoginprofile) ParamsSpec() params.Spec
func (*CreateLoginprofile) Run ¶
func (cmd *CreateLoginprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateLoginprofile) SetApi ¶
func (cmd *CreateLoginprofile) SetApi(api iamiface.IAMAPI)
type CreateMfadevice ¶
type CreateMfadevice struct { Name *string `templateName:"name"` // contains filtered or unexported fields }
func NewCreateMfadevice ¶
func (*CreateMfadevice) ExtractResult ¶
func (cmd *CreateMfadevice) ExtractResult(i interface{}) string
func (*CreateMfadevice) ManualRun ¶
func (cmd *CreateMfadevice) ManualRun(renv env.Running) (interface{}, error)
func (*CreateMfadevice) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateMfadevice) ParamsSpec() params.Spec
func (*CreateMfadevice) Run ¶
func (cmd *CreateMfadevice) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateMfadevice) SetApi ¶
func (cmd *CreateMfadevice) SetApi(api iamiface.IAMAPI)
type CreateNatgateway ¶
type CreateNatgateway struct { ElasticipId *string `awsName:"AllocationId" awsType:"awsstr" templateName:"elasticip-id"` Subnet *string `awsName:"SubnetId" awsType:"awsstr" templateName:"subnet"` // contains filtered or unexported fields }
func NewCreateNatgateway ¶
func (*CreateNatgateway) ExtractResult ¶
func (cmd *CreateNatgateway) ExtractResult(i interface{}) string
func (*CreateNatgateway) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateNatgateway) ParamsSpec() params.Spec
func (*CreateNatgateway) Run ¶
func (cmd *CreateNatgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateNatgateway) SetApi ¶
func (cmd *CreateNatgateway) SetApi(api ec2iface.EC2API)
type CreateNetworkinterface ¶
type CreateNetworkinterface struct { Subnet *string `awsName:"SubnetId" awsType:"awsstr" templateName:"subnet"` Description *string `awsName:"Description" awsType:"awsstr" templateName:"description"` Securitygroups []*string `awsName:"Groups" awsType:"awsstringslice" templateName:"securitygroups"` Privateip *string `awsName:"PrivateIpAddress" awsType:"awsstr" templateName:"privateip"` // contains filtered or unexported fields }
func (*CreateNetworkinterface) ExtractResult ¶
func (cmd *CreateNetworkinterface) ExtractResult(i interface{}) string
func (*CreateNetworkinterface) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateNetworkinterface) ParamsSpec() params.Spec
func (*CreateNetworkinterface) Run ¶
func (cmd *CreateNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateNetworkinterface) SetApi ¶
func (cmd *CreateNetworkinterface) SetApi(api ec2iface.EC2API)
type CreatePolicy ¶
type CreatePolicy struct { Name *string `awsName:"PolicyName" awsType:"awsstr" templateName:"name"` Effect *string `templateName:"effect"` Action []*string `templateName:"action"` Resource []*string `templateName:"resource"` Description *string `awsName:"Description" awsType:"awsstr" templateName:"description"` Document *string `awsName:"PolicyDocument" awsType:"awsstr"` Conditions []*string `templateName:"conditions"` // contains filtered or unexported fields }
func NewCreatePolicy ¶
func (*CreatePolicy) ExtractResult ¶
func (cmd *CreatePolicy) ExtractResult(i interface{}) string
func (*CreatePolicy) ParamsSpec ¶ added in v0.1.9
func (cmd *CreatePolicy) ParamsSpec() params.Spec
func (*CreatePolicy) Run ¶
func (cmd *CreatePolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreatePolicy) SetApi ¶
func (cmd *CreatePolicy) SetApi(api iamiface.IAMAPI)
type CreateQueue ¶
type CreateQueue struct { Name *string `awsName:"QueueName" awsType:"awsstr" templateName:"name"` Delay *string `awsName:"Attributes[DelaySeconds]" awsType:"awsstringpointermap" templateName:"delay"` MaxMsgSize *string `awsName:"Attributes[MaximumMessageSize]" awsType:"awsstringpointermap" templateName:"max-msg-size"` RetentionPeriod *string `awsName:"Attributes[MessageRetentionPeriod]" awsType:"awsstringpointermap" templateName:"retention-period"` Policy *string `awsName:"Attributes[Policy]" awsType:"awsstringpointermap" templateName:"policy"` MsgWait *string `awsName:"Attributes[ReceiveMessageWaitTimeSeconds]" awsType:"awsstringpointermap" templateName:"msg-wait"` RedrivePolicy *string `awsName:"Attributes[RedrivePolicy]" awsType:"awsstringpointermap" templateName:"redrive-policy"` VisibilityTimeout *string `awsName:"Attributes[VisibilityTimeout]" awsType:"awsstringpointermap" templateName:"visibility-timeout"` // contains filtered or unexported fields }
func NewCreateQueue ¶
func (*CreateQueue) ExtractResult ¶
func (cmd *CreateQueue) ExtractResult(i interface{}) string
func (*CreateQueue) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateQueue) ParamsSpec() params.Spec
func (*CreateQueue) Run ¶
func (cmd *CreateQueue) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateQueue) SetApi ¶
func (cmd *CreateQueue) SetApi(api sqsiface.SQSAPI)
type CreateRecord ¶
type CreateRecord struct { Zone *string `templateName:"zone"` Name *string `templateName:"name"` Type *string `templateName:"type"` Values []*string `templateName:"values"` Ttl *int64 `templateName:"ttl"` Comment *string `templateName:"comment"` // contains filtered or unexported fields }
func NewCreateRecord ¶
func (*CreateRecord) ExtractResult ¶
func (cmd *CreateRecord) ExtractResult(i interface{}) string
func (*CreateRecord) ManualRun ¶
func (cmd *CreateRecord) ManualRun(renv env.Running) (interface{}, error)
func (*CreateRecord) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateRecord) ParamsSpec() params.Spec
func (*CreateRecord) Run ¶
func (cmd *CreateRecord) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateRecord) SetApi ¶
func (cmd *CreateRecord) SetApi(api route53iface.Route53API)
type CreateRepository ¶
type CreateRepository struct { Name *string `awsName:"RepositoryName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewCreateRepository ¶
func (*CreateRepository) ExtractResult ¶
func (cmd *CreateRepository) ExtractResult(i interface{}) string
func (*CreateRepository) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateRepository) ParamsSpec() params.Spec
func (*CreateRepository) Run ¶
func (cmd *CreateRepository) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateRepository) SetApi ¶
func (cmd *CreateRepository) SetApi(api ecriface.ECRAPI)
type CreateRole ¶
type CreateRole struct { Name *string `awsName:"RoleName" awsType:"awsstr" templateName:"name" ` PrincipalAccount *string `templateName:"principal-account"` PrincipalUser *string `templateName:"principal-user"` PrincipalService *string `templateName:"principal-service"` Conditions []*string `templateName:"conditions"` SleepAfter *int64 `templateName:"sleep-after"` // contains filtered or unexported fields }
func NewCreateRole ¶
func (*CreateRole) ExtractResult ¶
func (cmd *CreateRole) ExtractResult(i interface{}) string
func (*CreateRole) ManualRun ¶
func (cmd *CreateRole) ManualRun(renv env.Running) (interface{}, error)
func (*CreateRole) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateRole) ParamsSpec() params.Spec
func (*CreateRole) Run ¶
func (cmd *CreateRole) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateRole) SetApi ¶
func (cmd *CreateRole) SetApi(api iamiface.IAMAPI)
type CreateRoute ¶
type CreateRoute struct { Table *string `awsName:"RouteTableId" awsType:"awsstr" templateName:"table"` CIDR *string `awsName:"DestinationCidrBlock" awsType:"awsstr" templateName:"cidr"` Gateway *string `awsName:"GatewayId" awsType:"awsstr" templateName:"gateway"` // contains filtered or unexported fields }
func NewCreateRoute ¶
func (*CreateRoute) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateRoute) ParamsSpec() params.Spec
func (*CreateRoute) Run ¶
func (cmd *CreateRoute) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateRoute) SetApi ¶
func (cmd *CreateRoute) SetApi(api ec2iface.EC2API)
type CreateRoutetable ¶
type CreateRoutetable struct { Vpc *string `awsName:"VpcId" awsType:"awsstr" templateName:"vpc"` // contains filtered or unexported fields }
func NewCreateRoutetable ¶
func (*CreateRoutetable) ExtractResult ¶
func (cmd *CreateRoutetable) ExtractResult(i interface{}) string
func (*CreateRoutetable) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateRoutetable) ParamsSpec() params.Spec
func (*CreateRoutetable) Run ¶
func (cmd *CreateRoutetable) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateRoutetable) SetApi ¶
func (cmd *CreateRoutetable) SetApi(api ec2iface.EC2API)
type CreateS3object ¶
type CreateS3object struct { Bucket *string `awsName:"Bucket" awsType:"awsstr" templateName:"bucket"` File *string `awsName:"Body" awsType:"awsstr" templateName:"file"` Name *string `awsName:"Key" awsType:"awsstr" templateName:"name"` Acl *string `awsName:"ACL" awsType:"awsstr" templateName:"acl"` // contains filtered or unexported fields }
func NewCreateS3object ¶
func (*CreateS3object) ExtractResult ¶
func (cmd *CreateS3object) ExtractResult(i interface{}) string
func (*CreateS3object) ManualRun ¶
func (cmd *CreateS3object) ManualRun(env.Running) (interface{}, error)
func (*CreateS3object) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateS3object) ParamsSpec() params.Spec
func (*CreateS3object) Run ¶
func (cmd *CreateS3object) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateS3object) SetApi ¶
func (cmd *CreateS3object) SetApi(api s3iface.S3API)
type CreateScalinggroup ¶
type CreateScalinggroup struct { Name *string `awsName:"AutoScalingGroupName" awsType:"awsstr" templateName:"name"` Launchconfiguration *string `awsName:"LaunchConfigurationName" awsType:"awsstr" templateName:"launchconfiguration"` MaxSize *int64 `awsName:"MaxSize" awsType:"awsint64" templateName:"max-size"` MinSize *int64 `awsName:"MinSize" awsType:"awsint64" templateName:"min-size"` Subnets []*string `awsName:"VPCZoneIdentifier" awsType:"awscsvstr" templateName:"subnets"` Cooldown *int64 `awsName:"DefaultCooldown" awsType:"awsint64" templateName:"cooldown"` DesiredCapacity *int64 `awsName:"DesiredCapacity" awsType:"awsint64" templateName:"desired-capacity"` HealthcheckGracePeriod *int64 `awsName:"HealthCheckGracePeriod" awsType:"awsint64" templateName:"healthcheck-grace-period"` HealthcheckType *string `awsName:"HealthCheckType" awsType:"awsstr" templateName:"healthcheck-type"` NewInstancesProtected *bool `awsName:"NewInstancesProtectedFromScaleIn" awsType:"awsbool" templateName:"new-instances-protected"` Targetgroups []*string `awsName:"TargetGroupARNs" awsType:"awsstringslice" templateName:"targetgroups"` // contains filtered or unexported fields }
func NewCreateScalinggroup ¶
func (*CreateScalinggroup) ExtractResult ¶
func (cmd *CreateScalinggroup) ExtractResult(i interface{}) string
func (*CreateScalinggroup) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateScalinggroup) ParamsSpec() params.Spec
func (*CreateScalinggroup) Run ¶
func (cmd *CreateScalinggroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateScalinggroup) SetApi ¶
func (cmd *CreateScalinggroup) SetApi(api autoscalingiface.AutoScalingAPI)
type CreateScalingpolicy ¶
type CreateScalingpolicy struct { AdjustmentType *string `awsName:"AdjustmentType" awsType:"awsstr" templateName:"adjustment-type"` Scalinggroup *string `awsName:"AutoScalingGroupName" awsType:"awsstr" templateName:"scalinggroup"` Name *string `awsName:"PolicyName" awsType:"awsstr" templateName:"name"` AdjustmentScaling *int64 `awsName:"ScalingAdjustment" awsType:"awsint64" templateName:"adjustment-scaling"` Cooldown *int64 `awsName:"Cooldown" awsType:"awsint64" templateName:"cooldown"` AdjustmentMagnitude *int64 `awsName:"MinAdjustmentMagnitude" awsType:"awsint64" templateName:"adjustment-magnitude"` // contains filtered or unexported fields }
func NewCreateScalingpolicy ¶
func (*CreateScalingpolicy) ExtractResult ¶
func (cmd *CreateScalingpolicy) ExtractResult(i interface{}) string
func (*CreateScalingpolicy) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateScalingpolicy) ParamsSpec() params.Spec
func (*CreateScalingpolicy) Run ¶
func (cmd *CreateScalingpolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateScalingpolicy) SetApi ¶
func (cmd *CreateScalingpolicy) SetApi(api autoscalingiface.AutoScalingAPI)
type CreateSecuritygroup ¶
type CreateSecuritygroup struct { Name *string `awsName:"GroupName" awsType:"awsstr" templateName:"name"` Vpc *string `awsName:"VpcId" awsType:"awsstr" templateName:"vpc"` Description *string `awsName:"Description" awsType:"awsstr" templateName:"description"` // contains filtered or unexported fields }
func NewCreateSecuritygroup ¶
func (*CreateSecuritygroup) ExtractResult ¶
func (cmd *CreateSecuritygroup) ExtractResult(i interface{}) string
func (*CreateSecuritygroup) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateSecuritygroup) ParamsSpec() params.Spec
func (*CreateSecuritygroup) Run ¶
func (cmd *CreateSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateSecuritygroup) SetApi ¶
func (cmd *CreateSecuritygroup) SetApi(api ec2iface.EC2API)
type CreateSnapshot ¶
type CreateSnapshot struct { Volume *string `awsName:"VolumeId" awsType:"awsstr" templateName:"volume"` Description *string `awsName:"Description" awsType:"awsstr" templateName:"description"` // contains filtered or unexported fields }
func NewCreateSnapshot ¶
func (*CreateSnapshot) ExtractResult ¶
func (cmd *CreateSnapshot) ExtractResult(i interface{}) string
func (*CreateSnapshot) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateSnapshot) ParamsSpec() params.Spec
func (*CreateSnapshot) Run ¶
func (cmd *CreateSnapshot) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateSnapshot) SetApi ¶
func (cmd *CreateSnapshot) SetApi(api ec2iface.EC2API)
type CreateStack ¶
type CreateStack struct { Name *string `awsName:"StackName" awsType:"awsstr" templateName:"name"` TemplateFile *string `awsName:"TemplateBody" awsType:"awsfiletostring" templateName:"template-file"` Capabilities []*string `awsName:"Capabilities" awsType:"awsstringslice" templateName:"capabilities"` DisableRollback *bool `awsName:"DisableRollback" awsType:"awsbool" templateName:"disable-rollback"` Notifications []*string `awsName:"NotificationARNs" awsType:"awsstringslice" templateName:"notifications"` OnFailure *string `awsName:"OnFailure" awsType:"awsstr" templateName:"on-failure"` Parameters []*string `awsName:"Parameters" awsType:"awsparameterslice" templateName:"parameters"` ResourceTypes []*string `awsName:"ResourceTypes" awsType:"awsstringslice" templateName:"resource-types"` Role *string `awsName:"RoleARN" awsType:"awsstr" templateName:"role"` PolicyFile *string `awsName:"StackPolicyBody" awsType:"awsfiletostring" templateName:"policy-file"` Timeout *int64 `awsName:"TimeoutInMinutes" awsType:"awsint64" templateName:"timeout"` Tags []*string `awsName:"Tags" awsType:"awstagslice" templateName:"tags"` PolicyBody *string `awsName:"StackPolicyBody" awsType:"awsstr"` StackFile *string `templateName:"stack-file"` RollbackTriggers []*string `awsName:"RollbackConfiguration.RollbackTriggers" awsType:"awsalarmrollbacktriggers" templateName:"rollback-triggers"` RollbackMonitoringMin *int64 `awsName:"RollbackConfiguration.MonitoringTimeInMinutes" awsType:"awsint64" templateName:"rollback-monitoring-min"` // contains filtered or unexported fields }
func NewCreateStack ¶
func (*CreateStack) BeforeRun ¶ added in v0.1.9
func (cmd *CreateStack) BeforeRun(renv env.Running) (err error)
Add StackFile support via BeforeRun hook https://github.com/wallix/awless/issues/145 http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-cfn-artifacts.html
func (*CreateStack) ExtractResult ¶
func (cmd *CreateStack) ExtractResult(i interface{}) string
func (*CreateStack) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateStack) ParamsSpec() params.Spec
func (*CreateStack) Run ¶
func (cmd *CreateStack) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateStack) SetApi ¶
func (cmd *CreateStack) SetApi(api cloudformationiface.CloudFormationAPI)
type CreateSubnet ¶
type CreateSubnet struct { CIDR *string `awsName:"CidrBlock" awsType:"awsstr" templateName:"cidr"` VPC *string `awsName:"VpcId" awsType:"awsstr" templateName:"vpc"` AvailabilityZone *string `awsName:"AvailabilityZone" awsType:"awsstr" templateName:"availabilityzone"` Public *bool `awsType:"awsboolattribute" templateName:"public"` Name *string `templateName:"name"` // contains filtered or unexported fields }
func NewCreateSubnet ¶
func (*CreateSubnet) AfterRun ¶
func (cmd *CreateSubnet) AfterRun(renv env.Running, output interface{}) error
func (*CreateSubnet) ExtractResult ¶
func (cmd *CreateSubnet) ExtractResult(i interface{}) string
func (*CreateSubnet) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateSubnet) ParamsSpec() params.Spec
func (*CreateSubnet) Run ¶
func (cmd *CreateSubnet) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateSubnet) SetApi ¶
func (cmd *CreateSubnet) SetApi(api ec2iface.EC2API)
type CreateSubscription ¶
type CreateSubscription struct { Topic *string `awsName:"TopicArn" awsType:"awsstr" templateName:"topic"` Endpoint *string `awsName:"Endpoint" awsType:"awsstr" templateName:"endpoint"` Protocol *string `awsName:"Protocol" awsType:"awsstr" templateName:"protocol"` // contains filtered or unexported fields }
func NewCreateSubscription ¶
func (*CreateSubscription) ExtractResult ¶
func (cmd *CreateSubscription) ExtractResult(i interface{}) string
func (*CreateSubscription) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateSubscription) ParamsSpec() params.Spec
func (*CreateSubscription) Run ¶
func (cmd *CreateSubscription) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateSubscription) SetApi ¶
func (cmd *CreateSubscription) SetApi(api snsiface.SNSAPI)
type CreateTag ¶
type CreateTag struct { Resource *string `awsName:"Resources" awsType:"awsstringslice" templateName:"resource"` Key *string `templateName:"key"` Value *string `templateName:"value"` // contains filtered or unexported fields }
func NewCreateTag ¶
func (*CreateTag) ParamsSpec ¶ added in v0.1.9
type CreateTargetgroup ¶
type CreateTargetgroup struct { Name *string `awsName:"Name" awsType:"awsstr" templateName:"name"` Port *int64 `awsName:"Port" awsType:"awsint64" templateName:"port"` Protocol *string `awsName:"Protocol" awsType:"awsstr" templateName:"protocol"` Vpc *string `awsName:"VpcId" awsType:"awsstr" templateName:"vpc"` Healthcheckinterval *int64 `awsName:"HealthCheckIntervalSeconds" awsType:"awsint64" templateName:"healthcheckinterval"` Healthcheckpath *string `awsName:"HealthCheckPath" awsType:"awsstr" templateName:"healthcheckpath"` Healthcheckport *string `awsName:"HealthCheckPort" awsType:"awsstr" templateName:"healthcheckport"` Healthcheckprotocol *string `awsName:"HealthCheckProtocol" awsType:"awsstr" templateName:"healthcheckprotocol"` Healthchecktimeout *int64 `awsName:"HealthCheckTimeoutSeconds" awsType:"awsint64" templateName:"healthchecktimeout"` Healthythreshold *int64 `awsName:"HealthyThresholdCount" awsType:"awsint64" templateName:"healthythreshold"` Unhealthythreshold *int64 `awsName:"UnhealthyThresholdCount" awsType:"awsint64" templateName:"unhealthythreshold"` Matcher *string `awsName:"Matcher.HttpCode" awsType:"awsstr" templateName:"matcher"` // contains filtered or unexported fields }
func NewCreateTargetgroup ¶
func (*CreateTargetgroup) ExtractResult ¶
func (cmd *CreateTargetgroup) ExtractResult(i interface{}) string
func (*CreateTargetgroup) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateTargetgroup) ParamsSpec() params.Spec
func (*CreateTargetgroup) Run ¶
func (cmd *CreateTargetgroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateTargetgroup) SetApi ¶
func (cmd *CreateTargetgroup) SetApi(api elbv2iface.ELBV2API)
type CreateTopic ¶
type CreateTopic struct { Name *string `awsName:"Name" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewCreateTopic ¶
func (*CreateTopic) ExtractResult ¶
func (cmd *CreateTopic) ExtractResult(i interface{}) string
func (*CreateTopic) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateTopic) ParamsSpec() params.Spec
func (*CreateTopic) Run ¶
func (cmd *CreateTopic) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateTopic) SetApi ¶
func (cmd *CreateTopic) SetApi(api snsiface.SNSAPI)
type CreateUser ¶
type CreateUser struct { Name *string `awsName:"UserName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewCreateUser ¶
func (*CreateUser) ExtractResult ¶
func (cmd *CreateUser) ExtractResult(i interface{}) string
func (*CreateUser) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateUser) ParamsSpec() params.Spec
func (*CreateUser) Run ¶
func (cmd *CreateUser) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateUser) SetApi ¶
func (cmd *CreateUser) SetApi(api iamiface.IAMAPI)
type CreateVolume ¶
type CreateVolume struct { Availabilityzone *string `awsName:"AvailabilityZone" awsType:"awsstr" templateName:"availabilityzone"` Size *int64 `awsName:"Size" awsType:"awsint64" templateName:"size"` // contains filtered or unexported fields }
func NewCreateVolume ¶
func (*CreateVolume) ExtractResult ¶
func (cmd *CreateVolume) ExtractResult(i interface{}) string
func (*CreateVolume) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateVolume) ParamsSpec() params.Spec
func (*CreateVolume) Run ¶
func (cmd *CreateVolume) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateVolume) SetApi ¶
func (cmd *CreateVolume) SetApi(api ec2iface.EC2API)
type CreateVpc ¶
type CreateVpc struct { CIDR *string `awsName:"CidrBlock" awsType:"awsstr" templateName:"cidr"` Name *string `awsName:"Name" templateName:"name"` // contains filtered or unexported fields }
func NewCreateVpc ¶
func (*CreateVpc) ExtractResult ¶
func (*CreateVpc) ParamsSpec ¶ added in v0.1.9
type CreateZone ¶
type CreateZone struct { Callerreference *string `awsName:"CallerReference" awsType:"awsstr" templateName:"callerreference"` Name *string `awsName:"Name" awsType:"awsstr" templateName:"name"` Delegationsetid *string `awsName:"DelegationSetId" awsType:"awsstr" templateName:"delegationsetid"` Comment *string `awsName:"HostedZoneConfig.Comment" awsType:"awsstr" templateName:"comment"` Isprivate *bool `awsName:"HostedZoneConfig.PrivateZone" awsType:"awsbool" templateName:"isprivate"` Vpcid *string `awsName:"VPC.VPCId" awsType:"awsstr" templateName:"vpcid"` Vpcregion *string `awsName:"VPC.VPCRegion" awsType:"awsstr" templateName:"vpcregion"` // contains filtered or unexported fields }
func NewCreateZone ¶
func (*CreateZone) ExtractResult ¶
func (cmd *CreateZone) ExtractResult(i interface{}) string
func (*CreateZone) ParamsSpec ¶ added in v0.1.9
func (cmd *CreateZone) ParamsSpec() params.Spec
func (*CreateZone) Run ¶
func (cmd *CreateZone) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*CreateZone) SetApi ¶
func (cmd *CreateZone) SetApi(api route53iface.Route53API)
type Definition ¶
func AWSLookupDefinitions ¶
func AWSLookupDefinitions(key string) (t Definition, ok bool)
type DeleteAccesskey ¶
type DeleteAccesskey struct { Id *string `awsName:"AccessKeyId" awsType:"awsstr" templateName:"id"` User *string `awsName:"UserName" awsType:"awsstr" templateName:"user"` // contains filtered or unexported fields }
func NewDeleteAccesskey ¶
func (*DeleteAccesskey) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteAccesskey) ParamsSpec() params.Spec
func (*DeleteAccesskey) Run ¶
func (cmd *DeleteAccesskey) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteAccesskey) SetApi ¶
func (cmd *DeleteAccesskey) SetApi(api iamiface.IAMAPI)
type DeleteAlarm ¶
type DeleteAlarm struct { Name []*string `awsName:"AlarmNames" awsType:"awsstringslice" templateName:"name"` // contains filtered or unexported fields }
func NewDeleteAlarm ¶
func (*DeleteAlarm) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteAlarm) ParamsSpec() params.Spec
func (*DeleteAlarm) Run ¶
func (cmd *DeleteAlarm) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteAlarm) SetApi ¶
func (cmd *DeleteAlarm) SetApi(api cloudwatchiface.CloudWatchAPI)
type DeleteAppscalingpolicy ¶
type DeleteAppscalingpolicy struct { Name *string `awsName:"PolicyName" awsType:"awsstr" templateName:"name"` Resource *string `awsName:"ResourceId" awsType:"awsstr" templateName:"resource"` Dimension *string `awsName:"ScalableDimension" awsType:"awsstr" templateName:"dimension"` ServiceNamespace *string `awsName:"ServiceNamespace" awsType:"awsstr" templateName:"service-namespace"` // contains filtered or unexported fields }
func (*DeleteAppscalingpolicy) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteAppscalingpolicy) ParamsSpec() params.Spec
func (*DeleteAppscalingpolicy) Run ¶
func (cmd *DeleteAppscalingpolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteAppscalingpolicy) SetApi ¶
func (cmd *DeleteAppscalingpolicy) SetApi(api applicationautoscalingiface.ApplicationAutoScalingAPI)
type DeleteAppscalingtarget ¶
type DeleteAppscalingtarget struct { Resource *string `awsName:"ResourceId" awsType:"awsstr" templateName:"resource"` Dimension *string `awsName:"ScalableDimension" awsType:"awsstr" templateName:"dimension"` ServiceNamespace *string `awsName:"ServiceNamespace" awsType:"awsstr" templateName:"service-namespace"` // contains filtered or unexported fields }
func (*DeleteAppscalingtarget) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteAppscalingtarget) ParamsSpec() params.Spec
func (*DeleteAppscalingtarget) Run ¶
func (cmd *DeleteAppscalingtarget) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteAppscalingtarget) SetApi ¶
func (cmd *DeleteAppscalingtarget) SetApi(api applicationautoscalingiface.ApplicationAutoScalingAPI)
type DeleteBucket ¶
type DeleteBucket struct { Name *string `awsName:"Bucket" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewDeleteBucket ¶
func (*DeleteBucket) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteBucket) ParamsSpec() params.Spec
func (*DeleteBucket) Run ¶
func (cmd *DeleteBucket) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteBucket) SetApi ¶
func (cmd *DeleteBucket) SetApi(api s3iface.S3API)
type DeleteCertificate ¶
type DeleteCertificate struct { Arn *string `awsName:"CertificateArn" awsType:"awsstr" templateName:"arn"` // contains filtered or unexported fields }
func NewDeleteCertificate ¶
func (*DeleteCertificate) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteCertificate) ParamsSpec() params.Spec
func (*DeleteCertificate) Run ¶
func (cmd *DeleteCertificate) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteCertificate) SetApi ¶
func (cmd *DeleteCertificate) SetApi(api acmiface.ACMAPI)
type DeleteContainercluster ¶
type DeleteContainercluster struct { Id *string `awsName:"Cluster" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func (*DeleteContainercluster) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteContainercluster) ParamsSpec() params.Spec
func (*DeleteContainercluster) Run ¶
func (cmd *DeleteContainercluster) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteContainercluster) SetApi ¶
func (cmd *DeleteContainercluster) SetApi(api ecsiface.ECSAPI)
type DeleteContainertask ¶
type DeleteContainertask struct { Name *string `templateName:"name"` AllVersions *bool `templateName:"all-versions"` // contains filtered or unexported fields }
func NewDeleteContainertask ¶
func (*DeleteContainertask) ManualRun ¶
func (cmd *DeleteContainertask) ManualRun(renv env.Running) (interface{}, error)
func (*DeleteContainertask) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteContainertask) ParamsSpec() params.Spec
func (*DeleteContainertask) Run ¶
func (cmd *DeleteContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteContainertask) SetApi ¶
func (cmd *DeleteContainertask) SetApi(api ecsiface.ECSAPI)
type DeleteDatabase ¶
type DeleteDatabase struct { Id *string `awsName:"DBInstanceIdentifier" awsType:"awsstr" templateName:"id"` SkipSnapshot *bool `awsName:"SkipFinalSnapshot" awsType:"awsbool" templateName:"skip-snapshot"` Snapshot *string `awsName:"FinalDBSnapshotIdentifier" awsType:"awsstr" templateName:"snapshot"` // contains filtered or unexported fields }
func NewDeleteDatabase ¶
func (*DeleteDatabase) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteDatabase) ParamsSpec() params.Spec
func (*DeleteDatabase) Run ¶
func (cmd *DeleteDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteDatabase) SetApi ¶
func (cmd *DeleteDatabase) SetApi(api rdsiface.RDSAPI)
type DeleteDbsubnetgroup ¶
type DeleteDbsubnetgroup struct { Name *string `awsName:"DBSubnetGroupName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewDeleteDbsubnetgroup ¶
func (*DeleteDbsubnetgroup) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteDbsubnetgroup) ParamsSpec() params.Spec
func (*DeleteDbsubnetgroup) Run ¶
func (cmd *DeleteDbsubnetgroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteDbsubnetgroup) SetApi ¶
func (cmd *DeleteDbsubnetgroup) SetApi(api rdsiface.RDSAPI)
type DeleteDistribution ¶
type DeleteDistribution struct { Id *string `awsName:"Id" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteDistribution ¶
func (*DeleteDistribution) ManualRun ¶
func (cmd *DeleteDistribution) ManualRun(renv env.Running) (interface{}, error)
func (*DeleteDistribution) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteDistribution) ParamsSpec() params.Spec
func (*DeleteDistribution) Run ¶
func (cmd *DeleteDistribution) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteDistribution) SetApi ¶
func (cmd *DeleteDistribution) SetApi(api cloudfrontiface.CloudFrontAPI)
type DeleteElasticip ¶
type DeleteElasticip struct { Id *string `awsName:"AllocationId" awsType:"awsstr" templateName:"id"` Ip *string `awsName:"PublicIp" awsType:"awsstr" templateName:"ip"` // contains filtered or unexported fields }
func NewDeleteElasticip ¶
func (*DeleteElasticip) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteElasticip) ParamsSpec() params.Spec
func (*DeleteElasticip) Run ¶
func (cmd *DeleteElasticip) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteElasticip) SetApi ¶
func (cmd *DeleteElasticip) SetApi(api ec2iface.EC2API)
type DeleteFunction ¶
type DeleteFunction struct { Id *string `awsName:"FunctionName" awsType:"awsstr" templateName:"id"` Version *string `awsName:"Qualifier" awsType:"awsstr" templateName:"version"` // contains filtered or unexported fields }
func NewDeleteFunction ¶
func (*DeleteFunction) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteFunction) ParamsSpec() params.Spec
func (*DeleteFunction) Run ¶
func (cmd *DeleteFunction) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteFunction) SetApi ¶
func (cmd *DeleteFunction) SetApi(api lambdaiface.LambdaAPI)
type DeleteGroup ¶
type DeleteGroup struct { Name *string `awsName:"GroupName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewDeleteGroup ¶
func (*DeleteGroup) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteGroup) ParamsSpec() params.Spec
func (*DeleteGroup) Run ¶
func (cmd *DeleteGroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteGroup) SetApi ¶
func (cmd *DeleteGroup) SetApi(api iamiface.IAMAPI)
type DeleteImage ¶
type DeleteImage struct { Id *string `templateName:"id"` DeleteSnapshots *bool `templateName:"delete-snapshots"` // contains filtered or unexported fields }
func NewDeleteImage ¶
func (*DeleteImage) ManualRun ¶
func (cmd *DeleteImage) ManualRun(renv env.Running) (interface{}, error)
func (*DeleteImage) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteImage) ParamsSpec() params.Spec
func (*DeleteImage) Run ¶
func (cmd *DeleteImage) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteImage) SetApi ¶
func (cmd *DeleteImage) SetApi(api ec2iface.EC2API)
type DeleteInstance ¶
type DeleteInstance struct { IDs []*string `awsName:"InstanceIds" awsType:"awsstringslice" templateName:"ids"` // contains filtered or unexported fields }
func NewDeleteInstance ¶
func (*DeleteInstance) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteInstance) ParamsSpec() params.Spec
func (*DeleteInstance) Run ¶
func (cmd *DeleteInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteInstance) SetApi ¶
func (cmd *DeleteInstance) SetApi(api ec2iface.EC2API)
type DeleteInstanceprofile ¶
type DeleteInstanceprofile struct { Name *string `awsName:"InstanceProfileName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func (*DeleteInstanceprofile) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteInstanceprofile) ParamsSpec() params.Spec
func (*DeleteInstanceprofile) Run ¶
func (cmd *DeleteInstanceprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteInstanceprofile) SetApi ¶
func (cmd *DeleteInstanceprofile) SetApi(api iamiface.IAMAPI)
type DeleteInternetgateway ¶
type DeleteInternetgateway struct { Id *string `awsName:"InternetGatewayId" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func (*DeleteInternetgateway) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteInternetgateway) ParamsSpec() params.Spec
func (*DeleteInternetgateway) Run ¶
func (cmd *DeleteInternetgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteInternetgateway) SetApi ¶
func (cmd *DeleteInternetgateway) SetApi(api ec2iface.EC2API)
type DeleteKeypair ¶
type DeleteKeypair struct { Name *string `awsName:"KeyName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewDeleteKeypair ¶
func (*DeleteKeypair) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteKeypair) ParamsSpec() params.Spec
func (*DeleteKeypair) Run ¶
func (cmd *DeleteKeypair) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteKeypair) SetApi ¶
func (cmd *DeleteKeypair) SetApi(api ec2iface.EC2API)
type DeleteLaunchconfiguration ¶
type DeleteLaunchconfiguration struct { Name *string `awsName:"LaunchConfigurationName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func (*DeleteLaunchconfiguration) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteLaunchconfiguration) ParamsSpec() params.Spec
func (*DeleteLaunchconfiguration) Run ¶
func (cmd *DeleteLaunchconfiguration) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteLaunchconfiguration) SetApi ¶
func (cmd *DeleteLaunchconfiguration) SetApi(api autoscalingiface.AutoScalingAPI)
type DeleteListener ¶
type DeleteListener struct { Id *string `awsName:"ListenerArn" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteListener ¶
func (*DeleteListener) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteListener) ParamsSpec() params.Spec
func (*DeleteListener) Run ¶
func (cmd *DeleteListener) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteListener) SetApi ¶
func (cmd *DeleteListener) SetApi(api elbv2iface.ELBV2API)
type DeleteLoadbalancer ¶
type DeleteLoadbalancer struct { Id *string `awsName:"LoadBalancerArn" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteLoadbalancer ¶
func (*DeleteLoadbalancer) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteLoadbalancer) ParamsSpec() params.Spec
func (*DeleteLoadbalancer) Run ¶
func (cmd *DeleteLoadbalancer) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteLoadbalancer) SetApi ¶
func (cmd *DeleteLoadbalancer) SetApi(api elbv2iface.ELBV2API)
type DeleteLoginprofile ¶
type DeleteLoginprofile struct { Username *string `awsName:"UserName" awsType:"awsstr" templateName:"username"` // contains filtered or unexported fields }
func NewDeleteLoginprofile ¶
func (*DeleteLoginprofile) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteLoginprofile) ParamsSpec() params.Spec
func (*DeleteLoginprofile) Run ¶
func (cmd *DeleteLoginprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteLoginprofile) SetApi ¶
func (cmd *DeleteLoginprofile) SetApi(api iamiface.IAMAPI)
type DeleteMfadevice ¶
type DeleteMfadevice struct { Id *string `awsName:"SerialNumber" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteMfadevice ¶
func (*DeleteMfadevice) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteMfadevice) ParamsSpec() params.Spec
func (*DeleteMfadevice) Run ¶
func (cmd *DeleteMfadevice) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteMfadevice) SetApi ¶
func (cmd *DeleteMfadevice) SetApi(api iamiface.IAMAPI)
type DeleteNatgateway ¶
type DeleteNatgateway struct { Id *string `awsName:"NatGatewayId" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteNatgateway ¶
func (*DeleteNatgateway) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteNatgateway) ParamsSpec() params.Spec
func (*DeleteNatgateway) Run ¶
func (cmd *DeleteNatgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteNatgateway) SetApi ¶
func (cmd *DeleteNatgateway) SetApi(api ec2iface.EC2API)
type DeleteNetworkinterface ¶
type DeleteNetworkinterface struct { Id *string `awsName:"NetworkInterfaceId" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func (*DeleteNetworkinterface) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteNetworkinterface) ParamsSpec() params.Spec
func (*DeleteNetworkinterface) Run ¶
func (cmd *DeleteNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteNetworkinterface) SetApi ¶
func (cmd *DeleteNetworkinterface) SetApi(api ec2iface.EC2API)
type DeletePolicy ¶
type DeletePolicy struct { Arn *string `awsName:"PolicyArn" awsType:"awsstr" templateName:"arn"` AllVersions *bool `templateName:"all-versions"` // contains filtered or unexported fields }
func NewDeletePolicy ¶
func (*DeletePolicy) ParamsSpec ¶ added in v0.1.9
func (cmd *DeletePolicy) ParamsSpec() params.Spec
func (*DeletePolicy) Run ¶
func (cmd *DeletePolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeletePolicy) SetApi ¶
func (cmd *DeletePolicy) SetApi(api iamiface.IAMAPI)
type DeleteQueue ¶
type DeleteQueue struct { Url *string `awsName:"QueueUrl" awsType:"awsstr" templateName:"url"` // contains filtered or unexported fields }
func NewDeleteQueue ¶
func (*DeleteQueue) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteQueue) ParamsSpec() params.Spec
func (*DeleteQueue) Run ¶
func (cmd *DeleteQueue) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteQueue) SetApi ¶
func (cmd *DeleteQueue) SetApi(api sqsiface.SQSAPI)
type DeleteRecord ¶
type DeleteRecord struct { Zone *string `templateName:"zone"` Name *string `templateName:"name"` Type *string `templateName:"type"` Values []*string `templateName:"values"` Ttl *int64 `templateName:"ttl"` // contains filtered or unexported fields }
func NewDeleteRecord ¶
func (*DeleteRecord) ExtractResult ¶
func (cmd *DeleteRecord) ExtractResult(i interface{}) string
func (*DeleteRecord) ManualRun ¶
func (cmd *DeleteRecord) ManualRun(renv env.Running) (interface{}, error)
func (*DeleteRecord) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteRecord) ParamsSpec() params.Spec
func (*DeleteRecord) Run ¶
func (cmd *DeleteRecord) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteRecord) SetApi ¶
func (cmd *DeleteRecord) SetApi(api route53iface.Route53API)
type DeleteRepository ¶
type DeleteRepository struct { Name *string `awsName:"RepositoryName" awsType:"awsstr" templateName:"name"` Force *bool `awsName:"Force" awsType:"awsbool" templateName:"force"` Account *string `awsName:"RegistryId" awsType:"awsstr" templateName:"account"` // contains filtered or unexported fields }
func NewDeleteRepository ¶
func (*DeleteRepository) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteRepository) ParamsSpec() params.Spec
func (*DeleteRepository) Run ¶
func (cmd *DeleteRepository) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteRepository) SetApi ¶
func (cmd *DeleteRepository) SetApi(api ecriface.ECRAPI)
type DeleteRole ¶
type DeleteRole struct { Name *string `awsName:"RoleName" awsType:"awsstr" templateName:"name" ` // contains filtered or unexported fields }
func NewDeleteRole ¶
func (*DeleteRole) ManualRun ¶
func (cmd *DeleteRole) ManualRun(renv env.Running) (interface{}, error)
func (*DeleteRole) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteRole) ParamsSpec() params.Spec
func (*DeleteRole) Run ¶
func (cmd *DeleteRole) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteRole) SetApi ¶
func (cmd *DeleteRole) SetApi(api iamiface.IAMAPI)
type DeleteRoute ¶
type DeleteRoute struct { Table *string `awsName:"RouteTableId" awsType:"awsstr" templateName:"table"` CIDR *string `awsName:"DestinationCidrBlock" awsType:"awsstr" templateName:"cidr"` // contains filtered or unexported fields }
func NewDeleteRoute ¶
func (*DeleteRoute) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteRoute) ParamsSpec() params.Spec
func (*DeleteRoute) Run ¶
func (cmd *DeleteRoute) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteRoute) SetApi ¶
func (cmd *DeleteRoute) SetApi(api ec2iface.EC2API)
type DeleteRoutetable ¶
type DeleteRoutetable struct { Id *string `awsName:"RouteTableId" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteRoutetable ¶
func (*DeleteRoutetable) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteRoutetable) ParamsSpec() params.Spec
func (*DeleteRoutetable) Run ¶
func (cmd *DeleteRoutetable) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteRoutetable) SetApi ¶
func (cmd *DeleteRoutetable) SetApi(api ec2iface.EC2API)
type DeleteS3object ¶
type DeleteS3object struct { Bucket *string `awsName:"Bucket" awsType:"awsstr" templateName:"bucket"` Name *string `awsName:"Key" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewDeleteS3object ¶
func (*DeleteS3object) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteS3object) ParamsSpec() params.Spec
func (*DeleteS3object) Run ¶
func (cmd *DeleteS3object) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteS3object) SetApi ¶
func (cmd *DeleteS3object) SetApi(api s3iface.S3API)
type DeleteScalinggroup ¶
type DeleteScalinggroup struct { Name *string `awsName:"AutoScalingGroupName" awsType:"awsstr" templateName:"name"` Force *bool `awsName:"ForceDelete" awsType:"awsbool" templateName:"force"` // contains filtered or unexported fields }
func NewDeleteScalinggroup ¶
func (*DeleteScalinggroup) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteScalinggroup) ParamsSpec() params.Spec
func (*DeleteScalinggroup) Run ¶
func (cmd *DeleteScalinggroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteScalinggroup) SetApi ¶
func (cmd *DeleteScalinggroup) SetApi(api autoscalingiface.AutoScalingAPI)
type DeleteScalingpolicy ¶
type DeleteScalingpolicy struct { Id *string `awsName:"PolicyName" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteScalingpolicy ¶
func (*DeleteScalingpolicy) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteScalingpolicy) ParamsSpec() params.Spec
func (*DeleteScalingpolicy) Run ¶
func (cmd *DeleteScalingpolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteScalingpolicy) SetApi ¶
func (cmd *DeleteScalingpolicy) SetApi(api autoscalingiface.AutoScalingAPI)
type DeleteSecuritygroup ¶
type DeleteSecuritygroup struct { Id *string `awsName:"GroupId" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteSecuritygroup ¶
func (*DeleteSecuritygroup) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteSecuritygroup) ParamsSpec() params.Spec
func (*DeleteSecuritygroup) Run ¶
func (cmd *DeleteSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteSecuritygroup) SetApi ¶
func (cmd *DeleteSecuritygroup) SetApi(api ec2iface.EC2API)
type DeleteSnapshot ¶
type DeleteSnapshot struct { Id *string `awsName:"SnapshotId" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteSnapshot ¶
func (*DeleteSnapshot) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteSnapshot) ParamsSpec() params.Spec
func (*DeleteSnapshot) Run ¶
func (cmd *DeleteSnapshot) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteSnapshot) SetApi ¶
func (cmd *DeleteSnapshot) SetApi(api ec2iface.EC2API)
type DeleteStack ¶
type DeleteStack struct { Name *string `awsName:"StackName" awsType:"awsstr" templateName:"name"` RetainResources []*string `awsName:"RetainResources" awsType:"awsstringslice" templateName:"retain-resources"` // contains filtered or unexported fields }
func NewDeleteStack ¶
func (*DeleteStack) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteStack) ParamsSpec() params.Spec
func (*DeleteStack) Run ¶
func (cmd *DeleteStack) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteStack) SetApi ¶
func (cmd *DeleteStack) SetApi(api cloudformationiface.CloudFormationAPI)
type DeleteSubnet ¶
type DeleteSubnet struct { Id *string `awsName:"SubnetId" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteSubnet ¶
func (*DeleteSubnet) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteSubnet) ParamsSpec() params.Spec
func (*DeleteSubnet) Run ¶
func (cmd *DeleteSubnet) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteSubnet) SetApi ¶
func (cmd *DeleteSubnet) SetApi(api ec2iface.EC2API)
type DeleteSubscription ¶
type DeleteSubscription struct { Id *string `awsName:"SubscriptionArn" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteSubscription ¶
func (*DeleteSubscription) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteSubscription) ParamsSpec() params.Spec
func (*DeleteSubscription) Run ¶
func (cmd *DeleteSubscription) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteSubscription) SetApi ¶
func (cmd *DeleteSubscription) SetApi(api snsiface.SNSAPI)
type DeleteTag ¶
type DeleteTag struct { Resource *string `awsName:"Resources" awsType:"awsstringslice" templateName:"resource"` Key *string `templateName:"key"` Value *string `templateName:"value"` // contains filtered or unexported fields }
func NewDeleteTag ¶
func (*DeleteTag) ParamsSpec ¶ added in v0.1.9
type DeleteTargetgroup ¶
type DeleteTargetgroup struct { Id *string `awsName:"TargetGroupArn" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteTargetgroup ¶
func (*DeleteTargetgroup) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteTargetgroup) ParamsSpec() params.Spec
func (*DeleteTargetgroup) Run ¶
func (cmd *DeleteTargetgroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteTargetgroup) SetApi ¶
func (cmd *DeleteTargetgroup) SetApi(api elbv2iface.ELBV2API)
type DeleteTopic ¶
type DeleteTopic struct { Id *string `awsName:"TopicArn" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteTopic ¶
func (*DeleteTopic) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteTopic) ParamsSpec() params.Spec
func (*DeleteTopic) Run ¶
func (cmd *DeleteTopic) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteTopic) SetApi ¶
func (cmd *DeleteTopic) SetApi(api snsiface.SNSAPI)
type DeleteUser ¶
type DeleteUser struct { Name *string `awsName:"UserName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewDeleteUser ¶
func (*DeleteUser) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteUser) ParamsSpec() params.Spec
func (*DeleteUser) Run ¶
func (cmd *DeleteUser) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteUser) SetApi ¶
func (cmd *DeleteUser) SetApi(api iamiface.IAMAPI)
type DeleteVolume ¶
type DeleteVolume struct { Id *string `awsName:"VolumeId" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteVolume ¶
func (*DeleteVolume) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteVolume) ParamsSpec() params.Spec
func (*DeleteVolume) Run ¶
func (cmd *DeleteVolume) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteVolume) SetApi ¶
func (cmd *DeleteVolume) SetApi(api ec2iface.EC2API)
type DeleteVpc ¶
type DeleteVpc struct { Id *string `awsName:"VpcId" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteVpc ¶
func (*DeleteVpc) ParamsSpec ¶ added in v0.1.9
type DeleteZone ¶
type DeleteZone struct { Id *string `awsName:"Id" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewDeleteZone ¶
func (*DeleteZone) ParamsSpec ¶ added in v0.1.9
func (cmd *DeleteZone) ParamsSpec() params.Spec
func (*DeleteZone) Run ¶
func (cmd *DeleteZone) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DeleteZone) SetApi ¶
func (cmd *DeleteZone) SetApi(api route53iface.Route53API)
type DetachAlarm ¶
type DetachAlarm struct { Name *string `templateName:"name"` ActionArn *string `templateName:"action-arn"` // contains filtered or unexported fields }
func NewDetachAlarm ¶
func (*DetachAlarm) ManualRun ¶
func (cmd *DetachAlarm) ManualRun(renv env.Running) (interface{}, error)
func (*DetachAlarm) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachAlarm) ParamsSpec() params.Spec
func (*DetachAlarm) Run ¶
func (cmd *DetachAlarm) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachAlarm) SetApi ¶
func (cmd *DetachAlarm) SetApi(api cloudwatchiface.CloudWatchAPI)
type DetachContainertask ¶
type DetachContainertask struct { Name *string `templateName:"name"` ContainerName *string `templateName:"container-name"` // contains filtered or unexported fields }
func NewDetachContainertask ¶
func (*DetachContainertask) ManualRun ¶
func (cmd *DetachContainertask) ManualRun(renv env.Running) (interface{}, error)
func (*DetachContainertask) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachContainertask) ParamsSpec() params.Spec
func (*DetachContainertask) Run ¶
func (cmd *DetachContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachContainertask) SetApi ¶
func (cmd *DetachContainertask) SetApi(api ecsiface.ECSAPI)
type DetachElasticip ¶
type DetachElasticip struct { Association *string `awsName:"AssociationId" awsType:"awsstr" templateName:"association"` // contains filtered or unexported fields }
func NewDetachElasticip ¶
func (*DetachElasticip) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachElasticip) ParamsSpec() params.Spec
func (*DetachElasticip) Run ¶
func (cmd *DetachElasticip) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachElasticip) SetApi ¶
func (cmd *DetachElasticip) SetApi(api ec2iface.EC2API)
type DetachInstance ¶
type DetachInstance struct { Targetgroup *string `awsName:"TargetGroupArn" awsType:"awsstr" templateName:"targetgroup"` Id *string `awsName:"Targets[0]Id" awsType:"awsslicestruct" templateName:"id"` // contains filtered or unexported fields }
func NewDetachInstance ¶
func (*DetachInstance) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachInstance) ParamsSpec() params.Spec
func (*DetachInstance) Run ¶
func (cmd *DetachInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachInstance) SetApi ¶
func (cmd *DetachInstance) SetApi(api elbv2iface.ELBV2API)
type DetachInstanceprofile ¶
type DetachInstanceprofile struct { Instance *string `templateName:"instance"` Name *string `templateName:"name"` // contains filtered or unexported fields }
func (*DetachInstanceprofile) ExtractResult ¶
func (cmd *DetachInstanceprofile) ExtractResult(i interface{}) string
func (*DetachInstanceprofile) ManualRun ¶
func (cmd *DetachInstanceprofile) ManualRun(renv env.Running) (interface{}, error)
func (*DetachInstanceprofile) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachInstanceprofile) ParamsSpec() params.Spec
func (*DetachInstanceprofile) Run ¶
func (cmd *DetachInstanceprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachInstanceprofile) SetApi ¶
func (cmd *DetachInstanceprofile) SetApi(api ec2iface.EC2API)
type DetachInternetgateway ¶
type DetachInternetgateway struct { Id *string `awsName:"InternetGatewayId" awsType:"awsstr" templateName:"id"` Vpc *string `awsName:"VpcId" awsType:"awsstr" templateName:"vpc"` // contains filtered or unexported fields }
func (*DetachInternetgateway) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachInternetgateway) ParamsSpec() params.Spec
func (*DetachInternetgateway) Run ¶
func (cmd *DetachInternetgateway) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachInternetgateway) SetApi ¶
func (cmd *DetachInternetgateway) SetApi(api ec2iface.EC2API)
type DetachMfadevice ¶
type DetachMfadevice struct { Id *string `awsName:"SerialNumber" awsType:"awsstr" templateName:"id"` User *string `awsName:"UserName" awsType:"awsstr" templateName:"user"` // contains filtered or unexported fields }
func NewDetachMfadevice ¶
func (*DetachMfadevice) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachMfadevice) ParamsSpec() params.Spec
func (*DetachMfadevice) Run ¶
func (cmd *DetachMfadevice) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachMfadevice) SetApi ¶
func (cmd *DetachMfadevice) SetApi(api iamiface.IAMAPI)
type DetachNetworkinterface ¶
type DetachNetworkinterface struct { Attachment *string `awsName:"AttachmentId" awsType:"awsstr" templateName:"attachment"` Instance *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"` Id *string `awsName:"NetworkInterfaceId" awsType:"awsstr" templateName:"id"` Force *bool `awsName:"Force" awsType:"awsbool" templateName:"force"` // contains filtered or unexported fields }
func (*DetachNetworkinterface) ManualRun ¶
func (cmd *DetachNetworkinterface) ManualRun(renv env.Running) (interface{}, error)
func (*DetachNetworkinterface) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachNetworkinterface) ParamsSpec() params.Spec
func (*DetachNetworkinterface) Run ¶
func (cmd *DetachNetworkinterface) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachNetworkinterface) SetApi ¶
func (cmd *DetachNetworkinterface) SetApi(api ec2iface.EC2API)
type DetachPolicy ¶
type DetachPolicy struct { Arn *string `awsName:"PolicyArn" awsType:"awsstr" templateName:"arn"` User *string `awsName:"UserName" awsType:"awsstr" templateName:"user"` Group *string `awsName:"GroupName" awsType:"awsstr" templateName:"group"` Role *string `awsName:"RoleName" awsType:"awsstr" templateName:"role"` // contains filtered or unexported fields }
func NewDetachPolicy ¶
func (*DetachPolicy) ManualRun ¶
func (cmd *DetachPolicy) ManualRun(renv env.Running) (interface{}, error)
func (*DetachPolicy) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachPolicy) ParamsSpec() params.Spec
func (*DetachPolicy) Run ¶
func (cmd *DetachPolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachPolicy) SetApi ¶
func (cmd *DetachPolicy) SetApi(api iamiface.IAMAPI)
type DetachRole ¶
type DetachRole struct { Instanceprofile *string `awsName:"InstanceProfileName" awsType:"awsstr" templateName:"instanceprofile" ` Name *string `awsName:"RoleName" awsType:"awsstr" templateName:"name" ` // contains filtered or unexported fields }
func NewDetachRole ¶
func (*DetachRole) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachRole) ParamsSpec() params.Spec
func (*DetachRole) Run ¶
func (cmd *DetachRole) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachRole) SetApi ¶
func (cmd *DetachRole) SetApi(api iamiface.IAMAPI)
type DetachRoutetable ¶
type DetachRoutetable struct { Association *string `awsName:"AssociationId" awsType:"awsstr" templateName:"association"` // contains filtered or unexported fields }
func NewDetachRoutetable ¶
func (*DetachRoutetable) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachRoutetable) ParamsSpec() params.Spec
func (*DetachRoutetable) Run ¶
func (cmd *DetachRoutetable) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachRoutetable) SetApi ¶
func (cmd *DetachRoutetable) SetApi(api ec2iface.EC2API)
type DetachSecuritygroup ¶
type DetachSecuritygroup struct { Id *string `templateName:"id"` Instance *string `templateName:"instance"` // contains filtered or unexported fields }
func NewDetachSecuritygroup ¶
func (*DetachSecuritygroup) ManualRun ¶
func (cmd *DetachSecuritygroup) ManualRun(renv env.Running) (interface{}, error)
func (*DetachSecuritygroup) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachSecuritygroup) ParamsSpec() params.Spec
func (*DetachSecuritygroup) Run ¶
func (cmd *DetachSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachSecuritygroup) SetApi ¶
func (cmd *DetachSecuritygroup) SetApi(api ec2iface.EC2API)
type DetachUser ¶
type DetachUser struct { Group *string `awsName:"GroupName" awsType:"awsstr" templateName:"group"` Name *string `awsName:"UserName" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewDetachUser ¶
func (*DetachUser) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachUser) ParamsSpec() params.Spec
func (*DetachUser) Run ¶
func (cmd *DetachUser) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachUser) SetApi ¶
func (cmd *DetachUser) SetApi(api iamiface.IAMAPI)
type DetachVolume ¶
type DetachVolume struct { Device *string `awsName:"Device" awsType:"awsstr" templateName:"device"` Id *string `awsName:"VolumeId" awsType:"awsstr" templateName:"id"` Instance *string `awsName:"InstanceId" awsType:"awsstr" templateName:"instance"` Force *bool `awsName:"Force" awsType:"awsbool" templateName:"force"` // contains filtered or unexported fields }
func NewDetachVolume ¶
func (*DetachVolume) ExtractResult ¶
func (cmd *DetachVolume) ExtractResult(i interface{}) string
func (*DetachVolume) ParamsSpec ¶ added in v0.1.9
func (cmd *DetachVolume) ParamsSpec() params.Spec
func (*DetachVolume) Run ¶
func (cmd *DetachVolume) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*DetachVolume) SetApi ¶
func (cmd *DetachVolume) SetApi(api ec2iface.EC2API)
type Factory ¶
type Factory interface {
Build(key string) func() interface{}
}
var CommandFactory Factory
type ImageQuery ¶ added in v0.1.7
func ParseImageQuery ¶ added in v0.1.7
func ParseImageQuery(s string) (ImageQuery, error)
func (ImageQuery) String ¶ added in v0.1.7
func (q ImageQuery) String() string
type ImageResolver ¶ added in v0.1.7
type ImageResolver func(*ec2.DescribeImagesInput) (*ec2.DescribeImagesOutput, error)
Image resolving allows to find AWS AMIs identifiers specifying what you want instead of an id that is specific to a region. The ami query string specification is as follows:
owner:distro:variant:arch:virtualization:store
Everything optional expect for the owner.
As for now only the main specific owner are taken into account and we deal with bares machines only distribution. Here are some examples:
- canonical:ubuntu:trusty
- redhat:rhel:6.8
- redhat::6.8
- amazonlinux
- suselinux:sles-12
- canonical:::i386
- redhat::::instance-store
- centos:centos
The default values are: Arch="x86_64", Virt="hvm", Store="ebs"
func EC2ImageResolver ¶ added in v0.1.7
func EC2ImageResolver() ImageResolver
func (ImageResolver) Resolve ¶ added in v0.1.7
func (resolv ImageResolver) Resolve(q ImageQuery) ([]*AwsImage, bool, error)
type ImageResolverCache ¶ added in v0.1.7
type ImageResolverCache struct {
// contains filtered or unexported fields
}
func (*ImageResolverCache) Get ¶ added in v0.1.7
func (r *ImageResolverCache) Get(key string) ([]*AwsImage, bool)
func (*ImageResolverCache) Store ¶ added in v0.1.7
func (r *ImageResolverCache) Store(key string, images []*AwsImage)
type ImportImage ¶
type ImportImage struct { Architecture *string `awsName:"Architecture" awsType:"awsstr" templateName:"architecture"` Description *string `awsName:"Description" awsType:"awsstr" templateName:"description"` License *string `awsName:"LicenseType" awsType:"awsstr" templateName:"license"` Platform *string `awsName:"Platform" awsType:"awsstr" templateName:"platform"` Role *string `awsName:"RoleName" awsType:"awsstr" templateName:"role"` Snapshot *string `awsName:"DiskContainers[0]SnapshotId" awsType:"awsslicestruct" templateName:"snapshot"` Url *string `awsName:"DiskContainers[0]Url" awsType:"awsslicestruct" templateName:"url"` Bucket *string `awsName:"DiskContainers[0]UserBucket.S3Bucket" awsType:"awsslicestruct" templateName:"bucket"` S3object *string `awsName:"DiskContainers[0]UserBucket.S3Key" awsType:"awsslicestruct" templateName:"s3object"` // contains filtered or unexported fields }
func NewImportImage ¶
func (*ImportImage) ExtractResult ¶
func (cmd *ImportImage) ExtractResult(i interface{}) string
func (*ImportImage) ParamsSpec ¶ added in v0.1.9
func (cmd *ImportImage) ParamsSpec() params.Spec
func (*ImportImage) Run ¶
func (cmd *ImportImage) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*ImportImage) SetApi ¶
func (cmd *ImportImage) SetApi(api ec2iface.EC2API)
type ProgressReadSeeker ¶
type ProgressReadSeeker struct {
// contains filtered or unexported fields
}
func NewProgressReader ¶
func NewProgressReader(f *os.File) (*ProgressReadSeeker, error)
type RestartDatabase ¶ added in v0.1.9
type RestartDatabase struct { Id *string `awsName:"DBInstanceIdentifier" awsType:"awsstr" templateName:"id"` WithFailover *bool `awsName:"ForceFailover" awsType:"awsbool" templateName:"with-failover"` // contains filtered or unexported fields }
func NewRestartDatabase ¶ added in v0.1.9
func (*RestartDatabase) ParamsSpec ¶ added in v0.1.9
func (cmd *RestartDatabase) ParamsSpec() params.Spec
func (*RestartDatabase) Run ¶ added in v0.1.9
func (cmd *RestartDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*RestartDatabase) SetApi ¶ added in v0.1.9
func (cmd *RestartDatabase) SetApi(api rdsiface.RDSAPI)
type RestartInstance ¶ added in v0.1.9
type RestartInstance struct { Id []*string `awsName:"InstanceIds" awsType:"awsstringslice" templateName:"ids"` // contains filtered or unexported fields }
func NewRestartInstance ¶ added in v0.1.9
func (*RestartInstance) ParamsSpec ¶ added in v0.1.9
func (cmd *RestartInstance) ParamsSpec() params.Spec
func (*RestartInstance) Run ¶ added in v0.1.9
func (cmd *RestartInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*RestartInstance) SetApi ¶ added in v0.1.9
func (cmd *RestartInstance) SetApi(api ec2iface.EC2API)
type ResultExtractor ¶
type ResultExtractor interface {
ExtractResult(interface{}) string
}
type StartAlarm ¶
type StartAlarm struct { Names []*string `awsName:"AlarmNames" awsType:"awsstringslice" templateName:"names"` // contains filtered or unexported fields }
func NewStartAlarm ¶
func (*StartAlarm) ParamsSpec ¶ added in v0.1.9
func (cmd *StartAlarm) ParamsSpec() params.Spec
func (*StartAlarm) Run ¶
func (cmd *StartAlarm) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*StartAlarm) SetApi ¶
func (cmd *StartAlarm) SetApi(api cloudwatchiface.CloudWatchAPI)
type StartContainertask ¶
type StartContainertask struct { Cluster *string `templateName:"cluster"` DesiredCount *int64 `templateName:"desired-count"` Name *string `templateName:"name"` Type *string `templateName:"type"` Role *string `templateName:"role"` DeploymentName *string `templateName:"deployment-name"` LoadBalancerContainerName *string `templateName:"loadbalancer.container-name"` LoadBalancerContainerPort *int64 `templateName:"loadbalancer.container-port"` LoadBalancerTargetgroup *string `templateName:"loadbalancer.targetgroup"` // contains filtered or unexported fields }
func NewStartContainertask ¶
func (*StartContainertask) ExtractResult ¶
func (cmd *StartContainertask) ExtractResult(i interface{}) string
func (*StartContainertask) ManualRun ¶
func (cmd *StartContainertask) ManualRun(renv env.Running) (interface{}, error)
func (*StartContainertask) ParamsSpec ¶ added in v0.1.9
func (cmd *StartContainertask) ParamsSpec() params.Spec
func (*StartContainertask) Run ¶
func (cmd *StartContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*StartContainertask) SetApi ¶
func (cmd *StartContainertask) SetApi(api ecsiface.ECSAPI)
type StartDatabase ¶ added in v0.1.9
type StartDatabase struct { Id *string `awsName:"DBInstanceIdentifier" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewStartDatabase ¶ added in v0.1.9
func (*StartDatabase) ParamsSpec ¶ added in v0.1.9
func (cmd *StartDatabase) ParamsSpec() params.Spec
func (*StartDatabase) Run ¶ added in v0.1.9
func (cmd *StartDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*StartDatabase) SetApi ¶ added in v0.1.9
func (cmd *StartDatabase) SetApi(api rdsiface.RDSAPI)
type StartInstance ¶
type StartInstance struct { Id []*string `awsName:"InstanceIds" awsType:"awsstringslice" templateName:"ids"` // contains filtered or unexported fields }
func NewStartInstance ¶
func (*StartInstance) ExtractResult ¶
func (cmd *StartInstance) ExtractResult(i interface{}) string
func (*StartInstance) ParamsSpec ¶ added in v0.1.9
func (cmd *StartInstance) ParamsSpec() params.Spec
func (*StartInstance) Run ¶
func (cmd *StartInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*StartInstance) SetApi ¶
func (cmd *StartInstance) SetApi(api ec2iface.EC2API)
type StopAlarm ¶
type StopAlarm struct { Names []*string `awsName:"AlarmNames" awsType:"awsstringslice" templateName:"names"` // contains filtered or unexported fields }
func NewStopAlarm ¶
func (*StopAlarm) ParamsSpec ¶ added in v0.1.9
func (*StopAlarm) SetApi ¶
func (cmd *StopAlarm) SetApi(api cloudwatchiface.CloudWatchAPI)
type StopContainertask ¶
type StopContainertask struct { Cluster *string `templateName:"cluster"` Type *string `templateName:"type"` DeploymentName *string `templateName:"deployment-name"` RunArn *string `templateName:"run-arn"` // contains filtered or unexported fields }
func NewStopContainertask ¶
func (*StopContainertask) ManualRun ¶
func (cmd *StopContainertask) ManualRun(renv env.Running) (interface{}, error)
func (*StopContainertask) ParamsSpec ¶ added in v0.1.9
func (cmd *StopContainertask) ParamsSpec() params.Spec
func (*StopContainertask) Run ¶
func (cmd *StopContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*StopContainertask) SetApi ¶
func (cmd *StopContainertask) SetApi(api ecsiface.ECSAPI)
type StopDatabase ¶ added in v0.1.9
type StopDatabase struct { Id *string `awsName:"DBInstanceIdentifier" awsType:"awsstr" templateName:"id"` // contains filtered or unexported fields }
func NewStopDatabase ¶ added in v0.1.9
func (*StopDatabase) ParamsSpec ¶ added in v0.1.9
func (cmd *StopDatabase) ParamsSpec() params.Spec
func (*StopDatabase) Run ¶ added in v0.1.9
func (cmd *StopDatabase) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*StopDatabase) SetApi ¶ added in v0.1.9
func (cmd *StopDatabase) SetApi(api rdsiface.RDSAPI)
type StopInstance ¶
type StopInstance struct { Id []*string `awsName:"InstanceIds" awsType:"awsstringslice" templateName:"ids"` // contains filtered or unexported fields }
func NewStopInstance ¶
func (*StopInstance) ExtractResult ¶
func (cmd *StopInstance) ExtractResult(i interface{}) string
func (*StopInstance) ParamsSpec ¶ added in v0.1.9
func (cmd *StopInstance) ParamsSpec() params.Spec
func (*StopInstance) Run ¶
func (cmd *StopInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*StopInstance) SetApi ¶
func (cmd *StopInstance) SetApi(api ec2iface.EC2API)
type UpdateBucket ¶
type UpdateBucket struct { Name *string `templateName:"name"` Acl *string `templateName:"acl"` PublicWebsite *bool `templateName:"public-website"` RedirectHostname *string `templateName:"redirect-hostname"` IndexSuffix *string `templateName:"index-suffix"` EnforceHttps *bool `templateName:"enforce-https"` // contains filtered or unexported fields }
func NewUpdateBucket ¶
func (*UpdateBucket) ManualRun ¶
func (cmd *UpdateBucket) ManualRun(renv env.Running) (interface{}, error)
func (*UpdateBucket) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateBucket) ParamsSpec() params.Spec
func (*UpdateBucket) Run ¶
func (cmd *UpdateBucket) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateBucket) SetApi ¶
func (cmd *UpdateBucket) SetApi(api s3iface.S3API)
type UpdateContainertask ¶
type UpdateContainertask struct { Cluster *string `awsName:"Cluster" awsType:"awsstr" templateName:"cluster"` DeploymentName *string `awsName:"Service" awsType:"awsstr" templateName:"deployment-name"` DesiredCount *int64 `awsName:"DesiredCount" awsType:"awsint64" templateName:"desired-count"` Name *string `awsName:"TaskDefinition" awsType:"awsstr" templateName:"name"` // contains filtered or unexported fields }
func NewUpdateContainertask ¶
func (*UpdateContainertask) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateContainertask) ParamsSpec() params.Spec
func (*UpdateContainertask) Run ¶
func (cmd *UpdateContainertask) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateContainertask) SetApi ¶
func (cmd *UpdateContainertask) SetApi(api ecsiface.ECSAPI)
type UpdateDistribution ¶
type UpdateDistribution struct { Id *string `awsName:"Id" awsType:"awsstr" templateName:"id"` OriginDomain *string `templateName:"origin-domain"` Certificate *string `templateName:"certificate"` Comment *string `templateName:"comment"` DefaultFile *string `templateName:"default-file"` DomainAliases []*string `templateName:"domain-aliases"` Enable *bool `templateName:"enable"` ForwardCookies *string `templateName:"forward-cookies"` ForwardQueries *bool `templateName:"forward-queries"` HttpsBehaviour *string `templateName:"https-behaviour"` OriginPath *string `templateName:"origin-path"` PriceClass *string `templateName:"price-class"` MinTtl *int64 `templateName:"min-ttl"` // contains filtered or unexported fields }
func NewUpdateDistribution ¶
func (*UpdateDistribution) ExtractResult ¶
func (cmd *UpdateDistribution) ExtractResult(i interface{}) string
func (*UpdateDistribution) ManualRun ¶
func (cmd *UpdateDistribution) ManualRun(renv env.Running) (interface{}, error)
func (*UpdateDistribution) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateDistribution) ParamsSpec() params.Spec
func (*UpdateDistribution) Run ¶
func (cmd *UpdateDistribution) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateDistribution) SetApi ¶
func (cmd *UpdateDistribution) SetApi(api cloudfrontiface.CloudFrontAPI)
type UpdateImage ¶ added in v0.1.9
type UpdateImage struct { Id *string `awsName:"ImageId" awsType:"awsstr" templateName:"id"` Groups []*string `awsName:"UserGroups" awsType:"awsstringslice" templateName:"groups"` Accounts []*string `awsName:"UserIds" awsType:"awsstringslice" templateName:"accounts"` Operation *string `awsName:"OperationType" awsType:"awsstr" templateName:"operation"` ProductCodes []*string `awsName:"ProductCodes" awsType:"awsstringslice" templateName:"product-codes"` Description *string `awsName:"Description" awsType:"awsstringattribute" templateName:"description"` // contains filtered or unexported fields }
func NewUpdateImage ¶ added in v0.1.9
func (*UpdateImage) ManualRun ¶ added in v0.1.9
func (cmd *UpdateImage) ManualRun(renv env.Running) (interface{}, error)
func (*UpdateImage) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateImage) ParamsSpec() params.Spec
func (*UpdateImage) Run ¶ added in v0.1.9
func (cmd *UpdateImage) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateImage) SetApi ¶ added in v0.1.9
func (cmd *UpdateImage) SetApi(api ec2iface.EC2API)
type UpdateInstance ¶
type UpdateInstance struct { Id *string `awsName:"InstanceId" awsType:"awsstr" templateName:"id"` Type *string `awsName:"InstanceType.Value" awsType:"awsstr" templateName:"type"` Lock *bool `awsName:"DisableApiTermination" awsType:"awsboolattribute" templateName:"lock"` // contains filtered or unexported fields }
func NewUpdateInstance ¶
func (*UpdateInstance) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateInstance) ParamsSpec() params.Spec
func (*UpdateInstance) Run ¶
func (cmd *UpdateInstance) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateInstance) SetApi ¶
func (cmd *UpdateInstance) SetApi(api ec2iface.EC2API)
type UpdateLoginprofile ¶
type UpdateLoginprofile struct { Username *string `awsName:"UserName" awsType:"awsstr" templateName:"username"` Password *string `awsName:"Password" awsType:"awsstr" templateName:"password"` PasswordReset *bool `awsName:"PasswordResetRequired" awsType:"awsbool" templateName:"password-reset"` // contains filtered or unexported fields }
func NewUpdateLoginprofile ¶
func (*UpdateLoginprofile) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateLoginprofile) ParamsSpec() params.Spec
func (*UpdateLoginprofile) Run ¶
func (cmd *UpdateLoginprofile) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateLoginprofile) SetApi ¶
func (cmd *UpdateLoginprofile) SetApi(api iamiface.IAMAPI)
type UpdatePolicy ¶
type UpdatePolicy struct { Arn *string `awsName:"PolicyArn" awsType:"awsstr" templateName:"arn"` Effect *string `templateName:"effect"` Action []*string `templateName:"action"` Resource []*string `templateName:"resource"` Conditions []*string `templateName:"conditions"` Document *string `awsName:"PolicyDocument" awsType:"awsstr"` DefaultVersion *bool `awsName:"SetAsDefault" awsType:"awsbool"` // contains filtered or unexported fields }
func NewUpdatePolicy ¶
func (*UpdatePolicy) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdatePolicy) ParamsSpec() params.Spec
func (*UpdatePolicy) Run ¶
func (cmd *UpdatePolicy) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdatePolicy) SetApi ¶
func (cmd *UpdatePolicy) SetApi(api iamiface.IAMAPI)
type UpdateRecord ¶
type UpdateRecord struct { Zone *string `templateName:"zone"` Name *string `templateName:"name"` Type *string `templateName:"type"` Values []*string `templateName:"values"` Ttl *int64 `templateName:"ttl"` // contains filtered or unexported fields }
func NewUpdateRecord ¶
func (*UpdateRecord) ExtractResult ¶
func (cmd *UpdateRecord) ExtractResult(i interface{}) string
func (*UpdateRecord) ManualRun ¶
func (cmd *UpdateRecord) ManualRun(renv env.Running) (interface{}, error)
func (*UpdateRecord) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateRecord) ParamsSpec() params.Spec
func (*UpdateRecord) Run ¶
func (cmd *UpdateRecord) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateRecord) SetApi ¶
func (cmd *UpdateRecord) SetApi(api route53iface.Route53API)
type UpdateS3object ¶
type UpdateS3object struct { Bucket *string `awsName:"Bucket" awsType:"awsstr" templateName:"bucket"` Name *string `awsName:"Key" awsType:"awsstr" templateName:"name"` Acl *string `awsName:"ACL" awsType:"awsstr" templateName:"acl"` Version *string `awsName:"VersionId" awsType:"awsstr" templateName:"version"` // contains filtered or unexported fields }
func NewUpdateS3object ¶
func (*UpdateS3object) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateS3object) ParamsSpec() params.Spec
func (*UpdateS3object) Run ¶
func (cmd *UpdateS3object) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateS3object) SetApi ¶
func (cmd *UpdateS3object) SetApi(api s3iface.S3API)
type UpdateScalinggroup ¶
type UpdateScalinggroup struct { Name *string `awsName:"AutoScalingGroupName" awsType:"awsstr" templateName:"name"` Cooldown *int64 `awsName:"DefaultCooldown" awsType:"awsint64" templateName:"cooldown"` DesiredCapacity *int64 `awsName:"DesiredCapacity" awsType:"awsint64" templateName:"desired-capacity"` HealthcheckGracePeriod *int64 `awsName:"HealthCheckGracePeriod" awsType:"awsint64" templateName:"healthcheck-grace-period"` HealthcheckType *string `awsName:"HealthCheckType" awsType:"awsstr" templateName:"healthcheck-type"` Launchconfiguration *string `awsName:"LaunchConfigurationName" awsType:"awsstr" templateName:"launchconfiguration"` MaxSize *int64 `awsName:"MaxSize" awsType:"awsint64" templateName:"max-size"` MinSize *int64 `awsName:"MinSize" awsType:"awsint64" templateName:"min-size"` NewInstancesProtected *bool `awsName:"NewInstancesProtectedFromScaleIn" awsType:"awsbool" templateName:"new-instances-protected"` Subnets []*string `awsName:"VPCZoneIdentifier" awsType:"awscsvstr" templateName:"subnets"` // contains filtered or unexported fields }
func NewUpdateScalinggroup ¶
func (*UpdateScalinggroup) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateScalinggroup) ParamsSpec() params.Spec
func (*UpdateScalinggroup) Run ¶
func (cmd *UpdateScalinggroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateScalinggroup) SetApi ¶
func (cmd *UpdateScalinggroup) SetApi(api autoscalingiface.AutoScalingAPI)
type UpdateSecuritygroup ¶
type UpdateSecuritygroup struct { Id *string `templateName:"id"` Protocol *string `templateName:"protocol"` CIDR *string `templateName:"cidr"` Securitygroup *string `templateName:"securitygroup"` Inbound *string `templateName:"inbound"` Outbound *string `templateName:"outbound"` Portrange *string `templateName:"portrange"` // contains filtered or unexported fields }
func NewUpdateSecuritygroup ¶
func (*UpdateSecuritygroup) ManualRun ¶
func (cmd *UpdateSecuritygroup) ManualRun(renv env.Running) (interface{}, error)
func (*UpdateSecuritygroup) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateSecuritygroup) ParamsSpec() params.Spec
func (*UpdateSecuritygroup) Run ¶
func (cmd *UpdateSecuritygroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateSecuritygroup) SetApi ¶
func (cmd *UpdateSecuritygroup) SetApi(api ec2iface.EC2API)
type UpdateStack ¶
type UpdateStack struct { Name *string `awsName:"StackName" awsType:"awsstr" templateName:"name"` Capabilities []*string `awsName:"Capabilities" awsType:"awsstringslice" templateName:"capabilities"` Notifications []*string `awsName:"NotificationARNs" awsType:"awsstringslice" templateName:"notifications"` Parameters []*string `awsName:"Parameters" awsType:"awsparameterslice" templateName:"parameters"` ResourceTypes []*string `awsName:"ResourceTypes" awsType:"awsstringslice" templateName:"resource-types"` Role *string `awsName:"RoleARN" awsType:"awsstr" templateName:"role"` PolicyFile *string `awsName:"StackPolicyBody" awsType:"awsfiletostring" templateName:"policy-file"` PolicyUpdateFile *string `awsName:"StackPolicyDuringUpdateBody" awsType:"awsfiletostring" templateName:"policy-update-file"` TemplateFile *string `awsName:"TemplateBody" awsType:"awsfiletostring" templateName:"template-file"` UsePreviousTemplate *bool `awsName:"UsePreviousTemplate" awsType:"awsbool" templateName:"use-previous-template"` Tags []*string `awsName:"Tags" awsType:"awstagslice" templateName:"tags"` PolicyBody *string `awsName:"StackPolicyBody" awsType:"awsstr"` StackFile *string `templateName:"stack-file"` RollbackTriggers []*string `awsName:"RollbackConfiguration.RollbackTriggers" awsType:"awsalarmrollbacktriggers" templateName:"rollback-triggers"` RollbackMonitoringMin *int64 `awsName:"RollbackConfiguration.MonitoringTimeInMinutes" awsType:"awsint64" templateName:"rollback-monitoring-min"` // contains filtered or unexported fields }
func NewUpdateStack ¶
func (*UpdateStack) BeforeRun ¶ added in v0.1.9
func (cmd *UpdateStack) BeforeRun(renv env.Running) (err error)
Add StackFile support via BeforeRun hook https://github.com/wallix/awless/issues/145 http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/continuous-delivery-codepipeline-cfn-artifacts.html
func (*UpdateStack) ExtractResult ¶
func (cmd *UpdateStack) ExtractResult(i interface{}) string
func (*UpdateStack) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateStack) ParamsSpec() params.Spec
func (*UpdateStack) Run ¶
func (cmd *UpdateStack) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateStack) SetApi ¶
func (cmd *UpdateStack) SetApi(api cloudformationiface.CloudFormationAPI)
type UpdateSubnet ¶
type UpdateSubnet struct { Id *string `awsName:"SubnetId" awsType:"awsstr" templateName:"id"` Public *bool `awsName:"MapPublicIpOnLaunch" awsType:"awsboolattribute" templateName:"public"` // contains filtered or unexported fields }
func NewUpdateSubnet ¶
func (*UpdateSubnet) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateSubnet) ParamsSpec() params.Spec
func (*UpdateSubnet) Run ¶
func (cmd *UpdateSubnet) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateSubnet) SetApi ¶
func (cmd *UpdateSubnet) SetApi(api ec2iface.EC2API)
type UpdateTargetgroup ¶
type UpdateTargetgroup struct { Id *string `awsName:"TargetGroupArn" awsType:"awsstr" templateName:"id"` Deregistrationdelay *string `awsType:"awsstr" templateName:"deregistrationdelay"` Stickiness *string `awsType:"awsstr" templateName:"stickiness"` Stickinessduration *string `awsType:"awsstr" templateName:"stickinessduration"` Healthcheckinterval *int64 `awsName:"HealthCheckIntervalSeconds" awsType:"awsint64" templateName:"healthcheckinterval"` Healthcheckpath *string `awsName:"HealthCheckPath" awsType:"awsstr" templateName:"healthcheckpath"` Healthcheckport *string `awsName:"HealthCheckPort" awsType:"awsstr" templateName:"healthcheckport"` Healthcheckprotocol *string `awsName:"HealthCheckProtocol" awsType:"awsstr" templateName:"healthcheckprotocol"` Healthchecktimeout *int64 `awsName:"HealthCheckTimeoutSeconds" awsType:"awsint64" templateName:"healthchecktimeout"` Healthythreshold *int64 `awsName:"HealthyThresholdCount" awsType:"awsint64" templateName:"healthythreshold"` Unhealthythreshold *int64 `awsName:"UnhealthyThresholdCount" awsType:"awsint64" templateName:"unhealthythreshold"` Matcher *string `awsName:"Matcher.HttpCode" awsType:"awsstr" templateName:"matcher"` // contains filtered or unexported fields }
func NewUpdateTargetgroup ¶
func (*UpdateTargetgroup) ManualRun ¶
func (tg *UpdateTargetgroup) ManualRun(renv env.Running) (interface{}, error)
func (*UpdateTargetgroup) ParamsSpec ¶ added in v0.1.9
func (cmd *UpdateTargetgroup) ParamsSpec() params.Spec
func (*UpdateTargetgroup) Run ¶
func (cmd *UpdateTargetgroup) Run(renv env.Running, params map[string]interface{}) (interface{}, error)
func (*UpdateTargetgroup) SetApi ¶
func (cmd *UpdateTargetgroup) SetApi(api elbv2iface.ELBV2API)
Source Files ¶
- accesskey.go
- alarm.go
- appscalingpolicy.go
- appscalingtarget.go
- bucket.go
- certificate.go
- cmds_defs.go
- containercluster.go
- containertask.go
- database.go
- dbsubnetgroup.go
- distribution.go
- elasticip.go
- function.go
- gen_cmds_defs.go
- gen_inits.go
- gen_runs.go
- group.go
- image.go
- images_query.go
- instance.go
- instanceprofile.go
- internetgateway.go
- keypair.go
- launchconfiguration.go
- listener.go
- loadbalancer.go
- loginprofile.go
- mfadevice.go
- natgateway.go
- networkinterface.go
- policy.go
- queue.go
- record.go
- registry.go
- repository.go
- role.go
- route.go
- routetable.go
- s3object.go
- scalinggroup.go
- scalingpolicy.go
- securitygroup.go
- setters.go
- snapshot.go
- spec.go
- stack.go
- subnet.go
- subscription.go
- tag.go
- targetgroup.go
- topic.go
- user.go
- volume.go
- vpc.go
- zone.go