Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
Metadata defsecTypes.Metadata
Settings ClusterSettings
}
type ClusterSettings ¶
type ClusterSettings struct {
Metadata defsecTypes.Metadata
ContainerInsightsEnabled defsecTypes.BoolValue
}
type ContainerDefinition ¶
type ContainerDefinition struct {
Metadata defsecTypes.Metadata
Name defsecTypes.StringValue
Image defsecTypes.StringValue
CPU defsecTypes.IntValue
Memory defsecTypes.IntValue
Essential defsecTypes.BoolValue
PortMappings []PortMapping
Environment []EnvVar
Privileged defsecTypes.BoolValue
}
func CreateDefinitionsFromString ¶
func CreateDefinitionsFromString(metadata defsecTypes.Metadata, str string) ([]ContainerDefinition, error)
type ECS ¶
type ECS struct {
Clusters []Cluster
TaskDefinitions []TaskDefinition
}
type EFSVolumeConfiguration ¶
type EFSVolumeConfiguration struct {
Metadata defsecTypes.Metadata
TransitEncryptionEnabled defsecTypes.BoolValue
}
type PortMapping ¶
type PortMapping struct {
ContainerPort defsecTypes.IntValue
HostPort defsecTypes.IntValue
}
type TaskDefinition ¶
type TaskDefinition struct {
Metadata defsecTypes.Metadata
Volumes []Volume
ContainerDefinitions []ContainerDefinition
}
type Volume ¶
type Volume struct {
Metadata defsecTypes.Metadata
EFSVolumeConfiguration EFSVolumeConfiguration
}
Click to show internal directories.
Click to hide internal directories.