Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "0.0" TargetType = "AWS::ECS::Service" )
Functions ¶
This section is empty.
Types ¶
type AppSpec ¶
type AppSpec struct {
Version *string `yaml:"version"`
Resources []*Resource `yaml:"Resources,omitempty"`
Hooks []*Hook `yaml:"Hooks,omitempty"`
}
func NewWithService ¶ added in v0.18.0
type AwsVpcConfiguration ¶ added in v0.18.0
type AwsVpcConfiguration struct {
AssignPublicIp types.AssignPublicIp `yaml:"AssignPublicIp,omitempty"`
SecurityGroups []string `yaml:"SecurityGroups,omitempty"`
Subnets []string `yaml:"Subnets,omitempty"`
}
type CapacityProviderStrategy ¶ added in v1.6.0
type Hook ¶ added in v0.18.0
type Hook struct {
BeforeInstall string `yaml:"BeforeInstall,omitempty"`
AfterInstall string `yaml:"AfterInstall,omitempty"`
AfterAllowTestTraffic string `yaml:"AfterAllowTestTraffic,omitempty"`
BeforeAllowTraffic string `yaml:"BeforeAllowTraffic,omitempty"`
AfterAllowTraffic string `yaml:"AfterAllowTraffic,omitempty"`
}
type LoadBalancerInfo ¶
type NetworkConfiguration ¶ added in v0.18.0
type NetworkConfiguration struct {
AwsvpcConfiguration *AwsVpcConfiguration `yaml:"AwsvpcConfiguration,omitempty"`
}
type Properties ¶
type Properties struct {
TaskDefinition *string `yaml:"TaskDefinition,omitempty"`
LoadBalancerInfo *LoadBalancerInfo `yaml:"LoadBalancerInfo,omitempty"`
PlatformVersion *string `yaml:"PlatformVersion,omitempty"`
NetworkConfiguration *NetworkConfiguration `yaml:"NetworkConfiguration,omitempty"`
CapacityProviderStrategy []*CapacityProviderStrategy `yaml:"CapacityProviderStrategy,omitempty"`
}
type Resource ¶
type Resource struct {
TargetService *TargetService `yaml:"TargetService,omitempty"`
}
type TargetService ¶
type TargetService struct {
Type *string `yaml:"Type,omitempty"`
Properties *Properties `yaml:"Properties,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.