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 ¶ added in v0.37.0
type Filter struct { ID string `description:"if specified ID 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 ¶ added in v0.37.0
type GetInstanceInput struct {
Filter
}
GetInstanceInput represents get instance request
type GetInstanceOutput ¶ added in v0.37.0
GetInstanceInput represents get instance response
type GetSecurityGroupInput ¶ added in v0.37.0
type GetSecurityGroupInput struct {
Filter
}
GetSecurityGroupInput represents request
type GetSecurityGroupsOutput ¶ added in v0.37.0
type GetSecurityGroupsOutput struct {
Groups []*ec2.SecurityGroup
}
GetSecurityGroupsOutput represents response
type GetSubnetsInput ¶ added in v0.37.0
type GetSubnetsInput struct {
Filter
}
GetSubnetsInput represents request
type GetSubnetsOutput ¶ added in v0.37.0
GetSubnetsOutput represents response
type GetVpcConfigInput ¶ added in v0.37.0
GetVpcConfigInput represents get vpc config request for iter vpc or instance name
func (*GetVpcConfigInput) Init ¶ added in v0.37.0
func (i *GetVpcConfigInput) Init() error
Init initializes request
type GetVpcConfigOutput ¶ added in v0.37.0
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
type GetVpcInput ¶ added in v0.37.0
type GetVpcInput struct {
Filter
}
GetVpcInput represents vpc request
type GetVpcOutput ¶ added in v0.37.0
GetVpcInput represents vpc response
Click to show internal directories.
Click to hide internal directories.