ecs

package
v0.71.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	defsecTypes.Metadata
	Settings ClusterSettings
}

type ClusterSettings

type ClusterSettings struct {
	defsecTypes.Metadata
	ContainerInsightsEnabled defsecTypes.BoolValue
}

type ContainerDefinition added in v0.69.0

type ContainerDefinition struct {
	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 added in v0.69.0

func CreateDefinitionsFromString(metadata defsecTypes.Metadata, str string) ([]ContainerDefinition, error)

type ECS

type ECS struct {
	Clusters        []Cluster
	TaskDefinitions []TaskDefinition
}

type EFSVolumeConfiguration

type EFSVolumeConfiguration struct {
	defsecTypes.Metadata
	TransitEncryptionEnabled defsecTypes.BoolValue
}

type EnvVar added in v0.69.0

type EnvVar struct {
	Name  string
	Value string
}

type PortMapping added in v0.69.0

type PortMapping struct {
	ContainerPort defsecTypes.IntValue
	HostPort      defsecTypes.IntValue
}

type TaskDefinition

type TaskDefinition struct {
	defsecTypes.Metadata
	Volumes              []Volume
	ContainerDefinitions []ContainerDefinition
}

type Volume

type Volume struct {
	defsecTypes.Metadata
	EFSVolumeConfiguration EFSVolumeConfiguration
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL