Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { Metadata iacTypes.Metadata Settings ClusterSettings }
type ClusterSettings ¶
type ContainerDefinition ¶
type ContainerDefinition struct { Metadata iacTypes.Metadata Name iacTypes.StringValue Image iacTypes.StringValue // TODO: CPU and Memory are strings // https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html#cfn-ecs-taskdefinition-cpu CPU iacTypes.IntValue Memory iacTypes.IntValue Essential iacTypes.BoolValue PortMappings []PortMapping Environment []EnvVar Privileged iacTypes.BoolValue }
func CreateDefinitionsFromString ¶
func CreateDefinitionsFromString(metadata iacTypes.Metadata, str string) ([]ContainerDefinition, error)
type ECS ¶
type ECS struct { Clusters []Cluster TaskDefinitions []TaskDefinition }
type EFSVolumeConfiguration ¶
type PortMapping ¶
type TaskDefinition ¶
type TaskDefinition struct { Metadata iacTypes.Metadata Volumes []Volume ContainerDefinitions []ContainerDefinition }
type Volume ¶
type Volume struct { Metadata iacTypes.Metadata EFSVolumeConfiguration EFSVolumeConfiguration }
Click to show internal directories.
Click to hide internal directories.