ecs

package
v0.0.0-...-62343dc Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_helpers_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_referenced_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT This file is automatically generated from /internal/codegen/templates/aws_resource_file.tmpl

AUTOGENERATED CODE DO NOT EDIT

AUTOGENERATED CODE DO NOT EDIT

AUTOGENERATED CODE DO NOT EDIT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertTags

func ConvertTags(tags []types.Tag) map[string]string

Types

type Attachment

type Attachment struct {
	Details []*KeyValuePair `` /* 160-byte string literal not displayed */
	Id      string          `` /* 137-byte string literal not displayed */
	Status  string          `` /* 161-byte string literal not displayed */
	Type    string          `` /* 149-byte string literal not displayed */
}

type Attribute

type Attribute struct {
	Name       string `` /* 149-byte string literal not displayed */
	TargetId   string `` /* 179-byte string literal not displayed */
	TargetType string `` /* 191-byte string literal not displayed */
	Value      string `` /* 155-byte string literal not displayed */
}

type AwsVpcConfiguration

type AwsVpcConfiguration struct {
	Subnets        []string `` /* 205-byte string literal not displayed */
	AssignPublicIp string   `` /* 221-byte string literal not displayed */
	SecurityGroups []string `` /* 253-byte string literal not displayed */
}

type CapacityProviderStrategyItem

type CapacityProviderStrategyItem struct {
	CapacityProvider string `` /* 227-byte string literal not displayed */
	Base             int32  `bson:"base,omitempty" ion:"base" dynamodbav:"base,omitempty" parquet:"name=base,type=INT32" json:"base,omitempty" diff:"base"`
	Weight           int32  `` /* 137-byte string literal not displayed */
}

type Cluster

type Cluster struct {
	ActiveServicesCount               int32                           `` /* 227-byte string literal not displayed */
	Attachments                       []*Attachment                   `` /* 184-byte string literal not displayed */
	AttachmentsStatus                 string                          `` /* 233-byte string literal not displayed */
	CapacityProviders                 []string                        `` /* 271-byte string literal not displayed */
	ClusterArn                        string                          `` /* 231-byte string literal not displayed */
	ClusterName                       string                          `` /* 197-byte string literal not displayed */
	Configuration                     *ClusterConfiguration           `` /* 168-byte string literal not displayed */
	DefaultCapacityProviderStrategy   []*CapacityProviderStrategyItem `` /* 322-byte string literal not displayed */
	PendingTasksCount                 int32                           `` /* 215-byte string literal not displayed */
	RegisteredContainerInstancesCount int32                           `` /* 317-byte string literal not displayed */
	RunningTasksCount                 int32                           `` /* 215-byte string literal not displayed */
	Settings                          []*ClusterSetting               `` /* 166-byte string literal not displayed */
	Statistics                        []*KeyValuePair                 `` /* 178-byte string literal not displayed */
	Status                            string                          `` /* 161-byte string literal not displayed */
	Tags                              map[string]string               `` /* 209-byte string literal not displayed */
	AccountId                         string                          `` /* 185-byte string literal not displayed */
	Region                            string                          `` /* 161-byte string literal not displayed */
	ReportTime                        int64                           `` /* 208-byte string literal not displayed */
	InventoryUUID                     string                          `` /* 152-byte string literal not displayed */
}

type ClusterConfiguration

type ClusterConfiguration struct {
	ExecuteCommandConfiguration *ExecuteCommandConfiguration `` /* 264-byte string literal not displayed */
}

type ClusterSetting

type ClusterSetting struct {
	Name  string `` /* 149-byte string literal not displayed */
	Value string `` /* 155-byte string literal not displayed */
}

type Container

type Container struct {
	ContainerArn      string              `` /* 203-byte string literal not displayed */
	Cpu               string              `` /* 143-byte string literal not displayed */
	ExitCode          int32               `` /* 155-byte string literal not displayed */
	GpuIds            []string            `` /* 205-byte string literal not displayed */
	HealthStatus      string              `` /* 203-byte string literal not displayed */
	Image             string              `` /* 155-byte string literal not displayed */
	ImageDigest       string              `` /* 197-byte string literal not displayed */
	LastStatus        string              `` /* 191-byte string literal not displayed */
	ManagedAgents     []*ManagedAgent     `` /* 202-byte string literal not displayed */
	Memory            string              `` /* 161-byte string literal not displayed */
	MemoryReservation string              `` /* 233-byte string literal not displayed */
	Name              string              `` /* 149-byte string literal not displayed */
	NetworkBindings   []*NetworkBinding   `` /* 214-byte string literal not displayed */
	NetworkInterfaces []*NetworkInterface `` /* 226-byte string literal not displayed */
	Reason            string              `` /* 161-byte string literal not displayed */
	RuntimeId         string              `` /* 185-byte string literal not displayed */
	TaskArn           string              `` /* 213-byte string literal not displayed */
}

type ContainerOverride

type ContainerOverride struct {
	Command              []string               `` /* 205-byte string literal not displayed */
	Cpu                  int32                  `bson:"cpu,omitempty" ion:"cpu" dynamodbav:"cpu,omitempty" parquet:"name=cpu,type=INT32" json:"cpu,omitempty" diff:"cpu"`
	Environment          []*KeyValuePair        `` /* 184-byte string literal not displayed */
	EnvironmentFiles     []*EnvironmentFile     `` /* 220-byte string literal not displayed */
	Memory               int32                  `` /* 137-byte string literal not displayed */
	MemoryReservation    int32                  `` /* 209-byte string literal not displayed */
	Name                 string                 `` /* 149-byte string literal not displayed */
	ResourceRequirements []*ResourceRequirement `` /* 244-byte string literal not displayed */
}

type Deployment

type Deployment struct {
	CapacityProviderStrategy []*CapacityProviderStrategyItem `` /* 274-byte string literal not displayed */
	CreatedAt                int64                           `` /* 192-byte string literal not displayed */
	DesiredCount             int32                           `` /* 179-byte string literal not displayed */
	FailedTasks              int32                           `` /* 173-byte string literal not displayed */
	Id                       string                          `` /* 137-byte string literal not displayed */
	LaunchType               string                          `` /* 191-byte string literal not displayed */
	NetworkConfiguration     *NetworkConfiguration           `` /* 216-byte string literal not displayed */
	PendingCount             int32                           `` /* 179-byte string literal not displayed */
	PlatformFamily           string                          `` /* 215-byte string literal not displayed */
	PlatformVersion          string                          `` /* 221-byte string literal not displayed */
	RolloutState             string                          `` /* 203-byte string literal not displayed */
	RolloutStateReason       string                          `` /* 245-byte string literal not displayed */
	RunningCount             int32                           `` /* 179-byte string literal not displayed */
	Status                   string                          `` /* 161-byte string literal not displayed */
	TaskDefinition           string                          `` /* 215-byte string literal not displayed */
	UpdatedAt                int64                           `` /* 192-byte string literal not displayed */
}

type DeploymentCircuitBreaker

type DeploymentCircuitBreaker struct {
	Enable   bool `` /* 129-byte string literal not displayed */
	Rollback bool `` /* 141-byte string literal not displayed */
}

type DeploymentConfiguration

type DeploymentConfiguration struct {
	DeploymentCircuitBreaker *DeploymentCircuitBreaker `` /* 246-byte string literal not displayed */
	MaximumPercent           int32                     `` /* 191-byte string literal not displayed */
	MinimumHealthyPercent    int32                     `` /* 239-byte string literal not displayed */
}

type DeploymentController

type DeploymentController struct {
	Type string `` /* 149-byte string literal not displayed */
}

type EnvironmentFile

type EnvironmentFile struct {
	Type  string `` /* 149-byte string literal not displayed */
	Value string `` /* 155-byte string literal not displayed */
}

type EphemeralStorage

type EphemeralStorage struct {
	SizeInGiB int32 `` /* 173-byte string literal not displayed */
}

type ExecuteCommandConfiguration

type ExecuteCommandConfiguration struct {
	KmsKeyId         string                          `` /* 185-byte string literal not displayed */
	LogConfiguration *ExecuteCommandLogConfiguration `` /* 192-byte string literal not displayed */
	Logging          string                          `` /* 167-byte string literal not displayed */
}

type ExecuteCommandLogConfiguration

type ExecuteCommandLogConfiguration struct {
	CloudWatchEncryptionEnabled bool   `` /* 273-byte string literal not displayed */
	CloudWatchLogGroupName      string `` /* 281-byte string literal not displayed */
	S3BucketName                string `` /* 209-byte string literal not displayed */
	S3EncryptionEnabled         bool   `` /* 219-byte string literal not displayed */
	S3KeyPrefix                 string `` /* 203-byte string literal not displayed */
}

type InferenceAccelerator

type InferenceAccelerator struct {
	DeviceName string `` /* 191-byte string literal not displayed */
	DeviceType string `` /* 191-byte string literal not displayed */
}

type InferenceAcceleratorOverride

type InferenceAcceleratorOverride struct {
	DeviceName string `` /* 191-byte string literal not displayed */
	DeviceType string `` /* 191-byte string literal not displayed */
}

type KeyValuePair

type KeyValuePair struct {
	Name  string `` /* 149-byte string literal not displayed */
	Value string `` /* 155-byte string literal not displayed */
}

type LoadBalancer

type LoadBalancer struct {
	ContainerName    string `` /* 209-byte string literal not displayed */
	ContainerPort    int32  `` /* 185-byte string literal not displayed */
	LoadBalancerName string `` /* 233-byte string literal not displayed */
	TargetGroupArn   string `` /* 221-byte string literal not displayed */
}

type ManagedAgent

type ManagedAgent struct {
	LastStartedAt int64  `` /* 222-byte string literal not displayed */
	LastStatus    string `` /* 191-byte string literal not displayed */
	Name          string `` /* 149-byte string literal not displayed */
	Reason        string `` /* 161-byte string literal not displayed */
}

type NetworkBinding

type NetworkBinding struct {
	BindIP        string `` /* 167-byte string literal not displayed */
	ContainerPort int32  `` /* 185-byte string literal not displayed */
	HostPort      int32  `` /* 155-byte string literal not displayed */
	Protocol      string `` /* 173-byte string literal not displayed */
}

type NetworkConfiguration

type NetworkConfiguration struct {
	AwsvpcConfiguration *AwsVpcConfiguration `` /* 210-byte string literal not displayed */
}

type NetworkInterface

type NetworkInterface struct {
	AttachmentId       string `` /* 203-byte string literal not displayed */
	Ipv6Address        string `` /* 197-byte string literal not displayed */
	PrivateIpv4Address string `` /* 245-byte string literal not displayed */
}

type PlacementConstraint

type PlacementConstraint struct {
	Expression string `` /* 185-byte string literal not displayed */
	Type       string `` /* 149-byte string literal not displayed */
}

type PlacementStrategy

type PlacementStrategy struct {
	Field string `` /* 155-byte string literal not displayed */
	Type  string `` /* 149-byte string literal not displayed */
}

type ResourceRequirement

type ResourceRequirement struct {
	Type  string `` /* 149-byte string literal not displayed */
	Value string `` /* 155-byte string literal not displayed */
}

type Scale

type Scale struct {
	Unit  string  `` /* 149-byte string literal not displayed */
	Value float64 `` /* 132-byte string literal not displayed */
}

type Service

type Service struct {
	CapacityProviderStrategy      []*CapacityProviderStrategyItem `` /* 274-byte string literal not displayed */
	ClusterArn                    string                          `` /* 191-byte string literal not displayed */
	CreatedAt                     int64                           `` /* 192-byte string literal not displayed */
	CreatedBy                     string                          `` /* 185-byte string literal not displayed */
	DeploymentConfiguration       *DeploymentConfiguration        `` /* 234-byte string literal not displayed */
	DeploymentController          *DeploymentController           `` /* 216-byte string literal not displayed */
	Deployments                   []*Deployment                   `` /* 184-byte string literal not displayed */
	DesiredCount                  int32                           `` /* 179-byte string literal not displayed */
	EnableECSManagedTags          bool                            `` /* 231-byte string literal not displayed */
	EnableExecuteCommand          bool                            `` /* 225-byte string literal not displayed */
	HealthCheckGracePeriodSeconds int32                           `` /* 299-byte string literal not displayed */
	LaunchType                    string                          `` /* 191-byte string literal not displayed */
	LoadBalancers                 []*LoadBalancer                 `` /* 202-byte string literal not displayed */
	NetworkConfiguration          *NetworkConfiguration           `` /* 216-byte string literal not displayed */
	PendingCount                  int32                           `` /* 179-byte string literal not displayed */
	PlacementConstraints          []*PlacementConstraint          `` /* 244-byte string literal not displayed */
	PlacementStrategy             []*PlacementStrategy            `` /* 226-byte string literal not displayed */
	PlatformFamily                string                          `` /* 215-byte string literal not displayed */
	PlatformVersion               string                          `` /* 221-byte string literal not displayed */
	PropagateTags                 string                          `` /* 209-byte string literal not displayed */
	RoleArn                       string                          `` /* 173-byte string literal not displayed */
	RunningCount                  int32                           `` /* 179-byte string literal not displayed */
	SchedulingStrategy            string                          `` /* 239-byte string literal not displayed */
	ServiceArn                    string                          `` /* 231-byte string literal not displayed */
	ServiceName                   string                          `` /* 197-byte string literal not displayed */
	ServiceRegistries             []*ServiceRegistry              `` /* 226-byte string literal not displayed */
	Status                        string                          `` /* 161-byte string literal not displayed */
	Tags                          map[string]string               `` /* 209-byte string literal not displayed */
	TaskDefinition                string                          `` /* 215-byte string literal not displayed */
	TaskSets                      []*TaskSet                      `` /* 172-byte string literal not displayed */
	AccountId                     string                          `` /* 185-byte string literal not displayed */
	Region                        string                          `` /* 161-byte string literal not displayed */
	ReportTime                    int64                           `` /* 208-byte string literal not displayed */
	InventoryUUID                 string                          `` /* 152-byte string literal not displayed */
}

type ServiceRegistry

type ServiceRegistry struct {
	ContainerName string `` /* 209-byte string literal not displayed */
	ContainerPort int32  `` /* 185-byte string literal not displayed */
	Port          int32  `bson:"port,omitempty" ion:"port" dynamodbav:"port,omitempty" parquet:"name=port,type=INT32" json:"port,omitempty" diff:"port"`
	RegistryArn   string `` /* 197-byte string literal not displayed */
}

type Tag

type Tag struct {
	Key   string `` /* 143-byte string literal not displayed */
	Value string `` /* 155-byte string literal not displayed */
}

type Task

type Task struct {
	Attachments           []*Attachment           `` /* 184-byte string literal not displayed */
	Attributes            []*Attribute            `` /* 178-byte string literal not displayed */
	AvailabilityZone      string                  `` /* 227-byte string literal not displayed */
	CapacityProviderName  string                  `` /* 257-byte string literal not displayed */
	ClusterArn            string                  `` /* 191-byte string literal not displayed */
	Connectivity          string                  `` /* 197-byte string literal not displayed */
	ConnectivityAt        int64                   `` /* 222-byte string literal not displayed */
	ContainerInstanceArn  string                  `` /* 257-byte string literal not displayed */
	Containers            []*Container            `` /* 178-byte string literal not displayed */
	Cpu                   string                  `` /* 143-byte string literal not displayed */
	CreatedAt             int64                   `` /* 192-byte string literal not displayed */
	DesiredStatus         string                  `` /* 209-byte string literal not displayed */
	EnableExecuteCommand  bool                    `` /* 225-byte string literal not displayed */
	EphemeralStorage      *EphemeralStorage       `` /* 192-byte string literal not displayed */
	ExecutionStoppedAt    int64                   `` /* 252-byte string literal not displayed */
	Group                 string                  `` /* 155-byte string literal not displayed */
	HealthStatus          string                  `` /* 203-byte string literal not displayed */
	InferenceAccelerators []*InferenceAccelerator `` /* 250-byte string literal not displayed */
	LastStatus            string                  `` /* 191-byte string literal not displayed */
	LaunchType            string                  `` /* 191-byte string literal not displayed */
	Memory                string                  `` /* 161-byte string literal not displayed */
	Overrides             *TaskOverride           `` /* 144-byte string literal not displayed */
	PlatformFamily        string                  `` /* 215-byte string literal not displayed */
	PlatformVersion       string                  `` /* 221-byte string literal not displayed */
	PullStartedAt         int64                   `` /* 222-byte string literal not displayed */
	PullStoppedAt         int64                   `` /* 222-byte string literal not displayed */
	StartedAt             int64                   `` /* 192-byte string literal not displayed */
	StartedBy             string                  `` /* 185-byte string literal not displayed */
	StopCode              string                  `` /* 179-byte string literal not displayed */
	StoppedAt             int64                   `` /* 192-byte string literal not displayed */
	StoppedReason         string                  `` /* 209-byte string literal not displayed */
	StoppingAt            int64                   `` /* 198-byte string literal not displayed */
	Tags                  map[string]string       `` /* 209-byte string literal not displayed */
	TaskArn               string                  `` /* 213-byte string literal not displayed */
	TaskDefinitionArn     string                  `` /* 239-byte string literal not displayed */
	Version               int64                   `` /* 143-byte string literal not displayed */
	AccountId             string                  `` /* 185-byte string literal not displayed */
	Region                string                  `` /* 161-byte string literal not displayed */
	ReportTime            int64                   `` /* 208-byte string literal not displayed */
	InventoryUUID         string                  `` /* 152-byte string literal not displayed */
}

type TaskOverride

type TaskOverride struct {
	ContainerOverrides            []*ContainerOverride            `` /* 232-byte string literal not displayed */
	Cpu                           string                          `` /* 143-byte string literal not displayed */
	EphemeralStorage              *EphemeralStorage               `` /* 192-byte string literal not displayed */
	ExecutionRoleArn              string                          `` /* 233-byte string literal not displayed */
	InferenceAcceleratorOverrides []*InferenceAcceleratorOverride `` /* 304-byte string literal not displayed */
	Memory                        string                          `` /* 161-byte string literal not displayed */
	TaskRoleArn                   string                          `` /* 203-byte string literal not displayed */
}

type TaskSet

type TaskSet struct {
	CapacityProviderStrategy []*CapacityProviderStrategyItem `` /* 274-byte string literal not displayed */
	ClusterArn               string                          `` /* 191-byte string literal not displayed */
	ComputedDesiredCount     int32                           `` /* 233-byte string literal not displayed */
	CreatedAt                int64                           `` /* 192-byte string literal not displayed */
	ExternalId               string                          `` /* 191-byte string literal not displayed */
	Id                       string                          `` /* 137-byte string literal not displayed */
	LaunchType               string                          `` /* 191-byte string literal not displayed */
	LoadBalancers            []*LoadBalancer                 `` /* 202-byte string literal not displayed */
	NetworkConfiguration     *NetworkConfiguration           `` /* 216-byte string literal not displayed */
	PendingCount             int32                           `` /* 179-byte string literal not displayed */
	PlatformFamily           string                          `` /* 215-byte string literal not displayed */
	PlatformVersion          string                          `` /* 221-byte string literal not displayed */
	RunningCount             int32                           `` /* 179-byte string literal not displayed */
	Scale                    *Scale                          `bson:"scale,omitempty" ion:"scale" dynamodbav:"scale,omitempty" parquet:"name=scale" json:"scale,omitempty" diff:"scale"`
	ServiceArn               string                          `` /* 231-byte string literal not displayed */
	ServiceRegistries        []*ServiceRegistry              `` /* 226-byte string literal not displayed */
	StabilityStatus          string                          `` /* 221-byte string literal not displayed */
	StabilityStatusAt        int64                           `` /* 246-byte string literal not displayed */
	StartedBy                string                          `` /* 185-byte string literal not displayed */
	Status                   string                          `` /* 161-byte string literal not displayed */
	Tags                     []*Tag                          `` /* 142-byte string literal not displayed */
	TaskDefinition           string                          `` /* 215-byte string literal not displayed */
	TaskSetArn               string                          `` /* 197-byte string literal not displayed */
	UpdatedAt                int64                           `` /* 192-byte string literal not displayed */
}

Jump to

Keyboard shortcuts

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