Documentation ¶
Index ¶
- Constants
- func GetClient(context *endly.Context) (*ec2.EC2, error)
- func New() endly.Service
- type Filter
- type GetInstanceInput
- type GetInstanceOutput
- type GetSecurityGroupInput
- type GetSecurityGroupsOutput
- type GetSubnetsInput
- type GetSubnetsOutput
- type GetVpcConfigInput
- type GetVpcConfigOutput
- type GetVpcInput
- type GetVpcOutput
Constants ¶
View Source
const (
//ServiceID aws iam service id.
ServiceID = "aws/ec2"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Filter ¶
type Filter struct { ID string `description:"if specified SessionID match"` VpcID string Name string `description:"name is a tags.Name helper"` Tags map[string]string `description:"matching tags"` SubnetExclusionTags map[string]string `description:"if specied exclude matched subnet"` }
Filter represents a filter
type GetInstanceInput ¶
type GetInstanceInput struct {
Filter
}
GetInstanceInput represents get instance request
type GetInstanceOutput ¶
GetInstanceInput represents get instance response
type GetSecurityGroupInput ¶
type GetSecurityGroupInput struct {
Filter
}
GetSecurityGroupInput represents request
type GetSecurityGroupsOutput ¶
type GetSecurityGroupsOutput struct {
Groups []*ec2.SecurityGroup
}
GetSecurityGroupsOutput represents response
type GetSubnetsOutput ¶
GetSubnetsOutput represents response
type GetVpcConfigInput ¶
GetVpcConfigInput represents get vpc config request for iter vpc or instance name
type GetVpcConfigOutput ¶
type GetVpcConfigOutput struct { VpcID *string // A list of VPC security groups IDs. SecurityGroupIds []*string `type:"list"` // A list of VPC subnet IDs. SubnetIds []*string `type:"list"` }
GetVpcConfigInput represents get vpc config response
Click to show internal directories.
Click to hide internal directories.