Documentation ¶
Overview ¶
DO NOT EDIT This file was automatically generated with go generate
DO NOT EDIT This file was automatically generated with go generate
Index ¶
- Variables
- func DriverSupportedActions() map[string][]string
- type AwsDriver
- func (d *AwsDriver) Attach_Internetgateway(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Policy(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Policy_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Routetable(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Routetable_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Volume(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Attach_Volume_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Check_Instance(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Check_Instance_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Bucket(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Bucket_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Group(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Group_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Instance(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Instance_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Internetgateway(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Keypair(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Keypair_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Route(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Route_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Routetable(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Routetable_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Securitygroup(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Securitygroup_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Storageobject(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Storageobject_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Subnet(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Subnet_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Subscription(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Subscription_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Tags(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Tags_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Topic(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Topic_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_User(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_User_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Volume(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Volume_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Vpc(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Create_Vpc_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Bucket(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Bucket_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Group(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Group_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Instance(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Instance_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Internetgateway(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Keypair(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Keypair_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Route(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Route_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Routetable(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Routetable_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Securitygroup(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Securitygroup_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Storageobject(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Storageobject_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Subnet(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Subnet_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Subscription(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Subscription_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Topic(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Topic_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_User(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_User_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Volume(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Volume_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Vpc(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Delete_Vpc_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Detach_Internetgateway(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Detach_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Detach_Policy(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Detach_Policy_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Detach_Routetable(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Detach_Routetable_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Lookup(lookups ...string) driver.DriverFn
- func (d *AwsDriver) SetDryRun(dry bool)
- func (d *AwsDriver) SetLogger(l *logger.Logger)
- func (d *AwsDriver) Start_Instance(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Start_Instance_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Stop_Instance(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Stop_Instance_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Update_Instance(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Update_Instance_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Update_Securitygroup(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Update_Securitygroup_DryRun(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Update_Subnet(params map[string]interface{}) (interface{}, error)
- func (d *AwsDriver) Update_Subnet_DryRun(params map[string]interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var AWSTemplatesDefinitions = map[string]template.TemplateDefinition{ "createvpc": { Action: "create", Entity: "vpc", Api: "ec2", RequiredParams: []string{"cidr"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletevpc": { Action: "delete", Entity: "vpc", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createsubnet": { Action: "create", Entity: "subnet", Api: "ec2", RequiredParams: []string{"cidr", "vpc"}, ExtraParams: []string{"zone"}, TagsMapping: []string{}, }, "updatesubnet": { Action: "update", Entity: "subnet", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{"public-vms"}, TagsMapping: []string{}, }, "deletesubnet": { Action: "delete", Entity: "subnet", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createinstance": { Action: "create", Entity: "instance", Api: "ec2", RequiredParams: []string{"image", "type", "count", "count", "subnet"}, ExtraParams: []string{"lock", "key", "ip", "group", "userdata"}, TagsMapping: []string{"name"}, }, "updateinstance": { Action: "update", Entity: "instance", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{"lock", "group", "type"}, TagsMapping: []string{}, }, "deleteinstance": { Action: "delete", Entity: "instance", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "startinstance": { Action: "start", Entity: "instance", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "stopinstance": { Action: "stop", Entity: "instance", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "checkinstance": { Action: "check", Entity: "instance", Api: "ec2", RequiredParams: []string{"id", "state", "timeout"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createsecuritygroup": { Action: "create", Entity: "securitygroup", Api: "ec2", RequiredParams: []string{"description", "name", "vpc"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "updatesecuritygroup": { Action: "update", Entity: "securitygroup", Api: "ec2", RequiredParams: []string{"cidr", "id", "protocol"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletesecuritygroup": { Action: "delete", Entity: "securitygroup", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createvolume": { Action: "create", Entity: "volume", Api: "ec2", RequiredParams: []string{"zone", "size"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletevolume": { Action: "delete", Entity: "volume", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "attachvolume": { Action: "attach", Entity: "volume", Api: "ec2", RequiredParams: []string{"device", "instance", "id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createinternetgateway": { Action: "create", Entity: "internetgateway", Api: "ec2", RequiredParams: []string{}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deleteinternetgateway": { Action: "delete", Entity: "internetgateway", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "attachinternetgateway": { Action: "attach", Entity: "internetgateway", Api: "ec2", RequiredParams: []string{"id", "vpc"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "detachinternetgateway": { Action: "detach", Entity: "internetgateway", Api: "ec2", RequiredParams: []string{"id", "vpc"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createroutetable": { Action: "create", Entity: "routetable", Api: "ec2", RequiredParams: []string{"vpc"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deleteroutetable": { Action: "delete", Entity: "routetable", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "attachroutetable": { Action: "attach", Entity: "routetable", Api: "ec2", RequiredParams: []string{"id", "subnet"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "detachroutetable": { Action: "detach", Entity: "routetable", Api: "ec2", RequiredParams: []string{"association"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createroute": { Action: "create", Entity: "route", Api: "ec2", RequiredParams: []string{"cidr", "gateway", "table"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deleteroute": { Action: "delete", Entity: "route", Api: "ec2", RequiredParams: []string{"cidr", "table"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createtags": { Action: "create", Entity: "tags", Api: "ec2", RequiredParams: []string{"resource"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createkeypair": { Action: "create", Entity: "keypair", Api: "ec2", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletekeypair": { Action: "delete", Entity: "keypair", Api: "ec2", RequiredParams: []string{"id"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createuser": { Action: "create", Entity: "user", Api: "iam", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deleteuser": { Action: "delete", Entity: "user", Api: "iam", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "creategroup": { Action: "create", Entity: "group", Api: "iam", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletegroup": { Action: "delete", Entity: "group", Api: "iam", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "attachpolicy": { Action: "attach", Entity: "policy", Api: "iam", RequiredParams: []string{"arn", "user"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "detachpolicy": { Action: "detach", Entity: "policy", Api: "iam", RequiredParams: []string{"arn", "user"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createbucket": { Action: "create", Entity: "bucket", Api: "s3", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletebucket": { Action: "delete", Entity: "bucket", Api: "s3", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createstorageobject": { Action: "create", Entity: "storageobject", Api: "s3", RequiredParams: []string{"file", "bucket"}, ExtraParams: []string{"name"}, TagsMapping: []string{}, }, "deletestorageobject": { Action: "delete", Entity: "storageobject", Api: "s3", RequiredParams: []string{"bucket", "key"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createtopic": { Action: "create", Entity: "topic", Api: "sns", RequiredParams: []string{"name"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletetopic": { Action: "delete", Entity: "topic", Api: "sns", RequiredParams: []string{"arn"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "createsubscription": { Action: "create", Entity: "subscription", Api: "sns", RequiredParams: []string{"endpoint", "protocol", "topic"}, ExtraParams: []string{}, TagsMapping: []string{}, }, "deletesubscription": { Action: "delete", Entity: "subscription", Api: "sns", RequiredParams: []string{"arn"}, ExtraParams: []string{}, TagsMapping: []string{}, }, }
var DriverDefinitions = []struct { RequiredParams map[string]string ExtraParams map[string]string TagsMapping map[string]string Api string Action, Entity string Input, ApiMethod, OutputExtractor string DryRunUnsupported bool ManualFuncDefinition bool }{ { Action: "create", Entity: graph.Vpc.String(), Api: "ec2", Input: "CreateVpcInput", ApiMethod: "CreateVpc", OutputExtractor: "aws.StringValue(output.Vpc.VpcId)", RequiredParams: map[string]string{ "CidrBlock": "cidr", }, }, { Action: "delete", Entity: graph.Vpc.String(), Api: "ec2", Input: "DeleteVpcInput", ApiMethod: "DeleteVpc", RequiredParams: map[string]string{ "VpcId": "id", }, }, { Action: "create", Entity: graph.Subnet.String(), Api: "ec2", Input: "CreateSubnetInput", ApiMethod: "CreateSubnet", OutputExtractor: "aws.StringValue(output.Subnet.SubnetId)", RequiredParams: map[string]string{ "CidrBlock": "cidr", "VpcId": "vpc", }, ExtraParams: map[string]string{ "AvailabilityZone": "zone", }, }, { Action: "update", Entity: graph.Subnet.String(), Api: "ec2", Input: "ModifySubnetAttributeInput", ApiMethod: "ModifySubnetAttribute", DryRunUnsupported: true, RequiredParams: map[string]string{ "SubnetId": "id", }, ExtraParams: map[string]string{ "MapPublicIpOnLaunch": "public-vms", }, }, { Action: "delete", Entity: graph.Subnet.String(), Api: "ec2", Input: "DeleteSubnetInput", ApiMethod: "DeleteSubnet", RequiredParams: map[string]string{ "SubnetId": "id", }, }, { Action: "create", Entity: graph.Instance.String(), Api: "ec2", Input: "RunInstancesInput", ApiMethod: "RunInstances", OutputExtractor: "aws.StringValue(output.Instances[0].InstanceId)", RequiredParams: map[string]string{ "ImageId": "image", "MaxCount": "count", "MinCount": "count", "InstanceType": "type", "SubnetId": "subnet", }, ExtraParams: map[string]string{ "KeyName": "key", "PrivateIpAddress": "ip", "UserData": "userdata", "SecurityGroupIds": "group", "DisableApiTermination": "lock", }, TagsMapping: map[string]string{ "Name": "name", }, }, { Action: "update", Entity: graph.Instance.String(), Api: "ec2", Input: "ModifyInstanceAttributeInput", ApiMethod: "ModifyInstanceAttribute", RequiredParams: map[string]string{ "InstanceId": "id", }, ExtraParams: map[string]string{ "InstanceType": "type", "Groups": "group", "DisableApiTermination": "lock", }, }, { Action: "delete", Entity: graph.Instance.String(), Api: "ec2", Input: "TerminateInstancesInput", ApiMethod: "TerminateInstances", RequiredParams: map[string]string{ "InstanceIds": "id", }, }, { Action: "start", Entity: graph.Instance.String(), Api: "ec2", Input: "StartInstancesInput", ApiMethod: "StartInstances", OutputExtractor: "aws.StringValue(output.StartingInstances[0].InstanceId)", RequiredParams: map[string]string{ "InstanceIds": "id", }, }, { Action: "stop", Entity: graph.Instance.String(), Api: "ec2", Input: "StopInstancesInput", ApiMethod: "StopInstances", OutputExtractor: "aws.StringValue(output.StoppingInstances[0].InstanceId)", RequiredParams: map[string]string{ "InstanceIds": "id", }, }, { Action: "check", Entity: graph.Instance.String(), Api: "ec2", ManualFuncDefinition: true, RequiredParams: map[string]string{ "Id": "id", "State": "state", "Timeout": "timeout", }, }, { Action: "create", Entity: graph.SecurityGroup.String(), Api: "ec2", Input: "CreateSecurityGroupInput", ApiMethod: "CreateSecurityGroup", OutputExtractor: "aws.StringValue(output.GroupId)", RequiredParams: map[string]string{ "GroupName": "name", "VpcId": "vpc", "Description": "description", }, }, { Action: "update", Entity: graph.SecurityGroup.String(), Api: "ec2", ManualFuncDefinition: true, RequiredParams: map[string]string{ "GroupId": "id", "CidrIp": "cidr", "IpProtocol": "protocol", }, }, { Action: "delete", Entity: graph.SecurityGroup.String(), Api: "ec2", Input: "DeleteSecurityGroupInput", ApiMethod: "DeleteSecurityGroup", RequiredParams: map[string]string{ "GroupId": "id", }, }, { Action: "create", Entity: graph.Volume.String(), Api: "ec2", Input: "CreateVolumeInput", ApiMethod: "CreateVolume", OutputExtractor: "aws.StringValue(output.VolumeId)", RequiredParams: map[string]string{ "AvailabilityZone": "zone", "Size": "size", }, }, { Action: "delete", Entity: graph.Volume.String(), Api: "ec2", Input: "DeleteVolumeInput", ApiMethod: "DeleteVolume", RequiredParams: map[string]string{ "VolumeId": "id", }, }, { Action: "attach", Entity: graph.Volume.String(), Api: "ec2", Input: "AttachVolumeInput", ApiMethod: "AttachVolume", OutputExtractor: "aws.StringValue(output.VolumeId)", RequiredParams: map[string]string{ "Device": "device", "VolumeId": "id", "InstanceId": "instance", }, }, { Action: "create", Entity: graph.InternetGateway.String(), Api: "ec2", Input: "CreateInternetGatewayInput", ApiMethod: "CreateInternetGateway", OutputExtractor: "aws.StringValue(output.InternetGateway.InternetGatewayId)", RequiredParams: map[string]string{}, }, { Action: "delete", Entity: graph.InternetGateway.String(), Api: "ec2", Input: "DeleteInternetGatewayInput", ApiMethod: "DeleteInternetGateway", RequiredParams: map[string]string{ "InternetGatewayId": "id", }, }, { Action: "attach", Entity: graph.InternetGateway.String(), Api: "ec2", Input: "AttachInternetGatewayInput", ApiMethod: "AttachInternetGateway", RequiredParams: map[string]string{ "InternetGatewayId": "id", "VpcId": "vpc", }, }, { Action: "detach", Entity: graph.InternetGateway.String(), Api: "ec2", Input: "DetachInternetGatewayInput", ApiMethod: "DetachInternetGateway", RequiredParams: map[string]string{ "InternetGatewayId": "id", "VpcId": "vpc", }, }, { Action: "create", Entity: graph.RouteTable.String(), Api: "ec2", Input: "CreateRouteTableInput", ApiMethod: "CreateRouteTable", OutputExtractor: "aws.StringValue(output.RouteTable.RouteTableId)", RequiredParams: map[string]string{ "VpcId": "vpc"}, }, { Action: "delete", Entity: graph.RouteTable.String(), Api: "ec2", Input: "DeleteRouteTableInput", ApiMethod: "DeleteRouteTable", RequiredParams: map[string]string{ "RouteTableId": "id", }, }, { Action: "attach", Entity: graph.RouteTable.String(), Api: "ec2", Input: "AssociateRouteTableInput", ApiMethod: "AssociateRouteTable", OutputExtractor: "aws.StringValue(output.AssociationId)", RequiredParams: map[string]string{ "RouteTableId": "id", "SubnetId": "subnet", }, }, { Action: "detach", Entity: graph.RouteTable.String(), Api: "ec2", Input: "DisassociateRouteTableInput", ApiMethod: "DisassociateRouteTable", RequiredParams: map[string]string{ "AssociationId": "association", }, }, { Action: "create", Entity: "route", Api: "ec2", Input: "CreateRouteInput", ApiMethod: "CreateRoute", RequiredParams: map[string]string{ "RouteTableId": "table", "DestinationCidrBlock": "cidr", "GatewayId": "gateway", }, }, { Action: "delete", Entity: "route", Api: "ec2", Input: "DeleteRouteInput", ApiMethod: "DeleteRoute", RequiredParams: map[string]string{ "RouteTableId": "table", "DestinationCidrBlock": "cidr", }, }, { Action: "create", Entity: "tags", Api: "ec2", ManualFuncDefinition: true, RequiredParams: map[string]string{ "Resources": "resource", }, }, { Action: "create", Entity: graph.Keypair.String(), Api: "ec2", ManualFuncDefinition: true, RequiredParams: map[string]string{ "KeyName": "name", }, }, { Action: "delete", Entity: graph.Keypair.String(), Api: "ec2", Input: "DeleteKeyPairInput", ApiMethod: "DeleteKeyPair", RequiredParams: map[string]string{ "KeyName": "id", }, }, { Action: "create", Entity: graph.User.String(), Api: "iam", DryRunUnsupported: true, Input: "CreateUserInput", ApiMethod: "CreateUser", OutputExtractor: "aws.StringValue(output.User.UserId)", RequiredParams: map[string]string{ "UserName": "name", }, }, { Action: "delete", Entity: graph.User.String(), Api: "iam", DryRunUnsupported: true, Input: "DeleteUserInput", ApiMethod: "DeleteUser", RequiredParams: map[string]string{ "UserName": "name", }, }, { Action: "create", Entity: graph.Group.String(), Api: "iam", DryRunUnsupported: true, Input: "CreateGroupInput", ApiMethod: "CreateGroup", OutputExtractor: "aws.StringValue(output.Group.GroupId)", RequiredParams: map[string]string{ "GroupName": "name", }, }, { Action: "delete", Entity: graph.Group.String(), Api: "iam", DryRunUnsupported: true, Input: "DeleteGroupInput", ApiMethod: "DeleteGroup", RequiredParams: map[string]string{ "GroupName": "name", }, }, { Action: "attach", Entity: graph.Policy.String(), Api: "iam", DryRunUnsupported: true, Input: "AttachUserPolicyInput", ApiMethod: "AttachUserPolicy", RequiredParams: map[string]string{ "PolicyArn": "arn", "UserName": "user", }, }, { Action: "detach", Entity: "policy", Api: "iam", DryRunUnsupported: true, Input: "DetachUserPolicyInput", ApiMethod: "DetachUserPolicy", RequiredParams: map[string]string{ "PolicyArn": "arn", "UserName": "user", }, }, { Action: "create", Entity: graph.Bucket.String(), Api: "s3", DryRunUnsupported: true, Input: "CreateBucketInput", ApiMethod: "CreateBucket", OutputExtractor: "params[\"name\"]", RequiredParams: map[string]string{ "Bucket": "name", }, }, { Action: "delete", Entity: graph.Bucket.String(), Api: "s3", DryRunUnsupported: true, Input: "DeleteBucketInput", ApiMethod: "DeleteBucket", RequiredParams: map[string]string{ "Bucket": "name", }, }, { Action: "create", Entity: graph.Object.String(), Api: "s3", ManualFuncDefinition: true, RequiredParams: map[string]string{ "Bucket": "bucket", "Body": "file", }, ExtraParams: map[string]string{ "Key": "name", }, }, { Action: "delete", Entity: graph.Object.String(), Api: "s3", DryRunUnsupported: true, Input: "DeleteObjectInput", ApiMethod: "DeleteObject", RequiredParams: map[string]string{ "Bucket": "bucket", "Key": "key", }, }, { Action: "create", Entity: graph.Topic.String(), Api: "sns", DryRunUnsupported: true, Input: "CreateTopicInput", ApiMethod: "CreateTopic", OutputExtractor: "aws.StringValue(output.TopicArn)", RequiredParams: map[string]string{ "Name": "name", }, }, { Action: "delete", Entity: graph.Topic.String(), Api: "sns", DryRunUnsupported: true, Input: "DeleteTopicInput", ApiMethod: "DeleteTopic", RequiredParams: map[string]string{ "TopicArn": "arn", }, }, { Action: "create", Entity: graph.Subscription.String(), Api: "sns", DryRunUnsupported: true, Input: "SubscribeInput", ApiMethod: "Subscribe", OutputExtractor: "aws.StringValue(output.SubscriptionArn)", RequiredParams: map[string]string{ "TopicArn": "topic", "Endpoint": "endpoint", "Protocol": "protocol", }, }, { Action: "delete", Entity: graph.Subscription.String(), Api: "sns", DryRunUnsupported: true, Input: "UnsubscribeInput", ApiMethod: "Unsubscribe", RequiredParams: map[string]string{ "SubscriptionArn": "arn", }, }, }
Functions ¶
func DriverSupportedActions ¶
Types ¶
type AwsDriver ¶
type AwsDriver struct {
// contains filtered or unexported fields
}
func (*AwsDriver) Attach_Internetgateway ¶
This function was auto generated
func (*AwsDriver) Attach_Internetgateway_DryRun ¶
func (d *AwsDriver) Attach_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
This function was auto generated
func (*AwsDriver) Attach_Policy ¶
This function was auto generated
func (*AwsDriver) Attach_Policy_DryRun ¶
This function was auto generated
func (*AwsDriver) Attach_Routetable ¶
This function was auto generated
func (*AwsDriver) Attach_Routetable_DryRun ¶
This function was auto generated
func (*AwsDriver) Attach_Volume ¶
This function was auto generated
func (*AwsDriver) Attach_Volume_DryRun ¶
This function was auto generated
func (*AwsDriver) Check_Instance ¶
func (*AwsDriver) Check_Instance_DryRun ¶
func (*AwsDriver) Create_Bucket ¶
This function was auto generated
func (*AwsDriver) Create_Bucket_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Group ¶
This function was auto generated
func (*AwsDriver) Create_Group_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Instance ¶
This function was auto generated
func (*AwsDriver) Create_Instance_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Internetgateway ¶
This function was auto generated
func (*AwsDriver) Create_Internetgateway_DryRun ¶
func (d *AwsDriver) Create_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
This function was auto generated
func (*AwsDriver) Create_Keypair ¶
func (*AwsDriver) Create_Keypair_DryRun ¶
func (*AwsDriver) Create_Route ¶
This function was auto generated
func (*AwsDriver) Create_Route_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Routetable ¶
This function was auto generated
func (*AwsDriver) Create_Routetable_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Securitygroup ¶
This function was auto generated
func (*AwsDriver) Create_Securitygroup_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Storageobject ¶
This function was auto generated
func (*AwsDriver) Create_Storageobject_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Subnet ¶
This function was auto generated
func (*AwsDriver) Create_Subnet_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Subscription ¶
This function was auto generated
func (*AwsDriver) Create_Subscription_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Tags ¶
func (*AwsDriver) Create_Tags_DryRun ¶
func (*AwsDriver) Create_Topic ¶
This function was auto generated
func (*AwsDriver) Create_Topic_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_User ¶
This function was auto generated
func (*AwsDriver) Create_User_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Volume ¶
This function was auto generated
func (*AwsDriver) Create_Volume_DryRun ¶
This function was auto generated
func (*AwsDriver) Create_Vpc ¶
This function was auto generated
func (*AwsDriver) Create_Vpc_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Bucket ¶
This function was auto generated
func (*AwsDriver) Delete_Bucket_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Group ¶
This function was auto generated
func (*AwsDriver) Delete_Group_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Instance ¶
This function was auto generated
func (*AwsDriver) Delete_Instance_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Internetgateway ¶
This function was auto generated
func (*AwsDriver) Delete_Internetgateway_DryRun ¶
func (d *AwsDriver) Delete_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
This function was auto generated
func (*AwsDriver) Delete_Keypair ¶
This function was auto generated
func (*AwsDriver) Delete_Keypair_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Route ¶
This function was auto generated
func (*AwsDriver) Delete_Route_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Routetable ¶
This function was auto generated
func (*AwsDriver) Delete_Routetable_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Securitygroup ¶
This function was auto generated
func (*AwsDriver) Delete_Securitygroup_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Storageobject ¶
This function was auto generated
func (*AwsDriver) Delete_Storageobject_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Subnet ¶
This function was auto generated
func (*AwsDriver) Delete_Subnet_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Subscription ¶
This function was auto generated
func (*AwsDriver) Delete_Subscription_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Topic ¶
This function was auto generated
func (*AwsDriver) Delete_Topic_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_User ¶
This function was auto generated
func (*AwsDriver) Delete_User_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Volume ¶
This function was auto generated
func (*AwsDriver) Delete_Volume_DryRun ¶
This function was auto generated
func (*AwsDriver) Delete_Vpc ¶
This function was auto generated
func (*AwsDriver) Delete_Vpc_DryRun ¶
This function was auto generated
func (*AwsDriver) Detach_Internetgateway ¶
This function was auto generated
func (*AwsDriver) Detach_Internetgateway_DryRun ¶
func (d *AwsDriver) Detach_Internetgateway_DryRun(params map[string]interface{}) (interface{}, error)
This function was auto generated
func (*AwsDriver) Detach_Policy ¶
This function was auto generated
func (*AwsDriver) Detach_Policy_DryRun ¶
This function was auto generated
func (*AwsDriver) Detach_Routetable ¶
This function was auto generated
func (*AwsDriver) Detach_Routetable_DryRun ¶
This function was auto generated
func (*AwsDriver) Start_Instance ¶
This function was auto generated
func (*AwsDriver) Start_Instance_DryRun ¶
This function was auto generated
func (*AwsDriver) Stop_Instance ¶
This function was auto generated
func (*AwsDriver) Stop_Instance_DryRun ¶
This function was auto generated
func (*AwsDriver) Update_Instance ¶
This function was auto generated
func (*AwsDriver) Update_Instance_DryRun ¶
This function was auto generated
func (*AwsDriver) Update_Securitygroup ¶
func (*AwsDriver) Update_Securitygroup_DryRun ¶
func (*AwsDriver) Update_Subnet ¶
This function was auto generated
func (*AwsDriver) Update_Subnet_DryRun ¶
This function was auto generated