v1alpha1

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package Package v1alpha1 is the v1alpha1 version of the ecs.services.k8s.aws API. +groupName=ecs.services.k8s.aws

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is the API Group Version used to register the objects
	GroupVersion = schema.GroupVersion{Group: "ecs.services.k8s.aws", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AWSVPCConfiguration

type AWSVPCConfiguration struct {
	AssignPublicIP *string   `json:"assignPublicIP,omitempty"`
	SecurityGroups []*string `json:"securityGroups,omitempty"`
	Subnets        []*string `json:"subnets,omitempty"`
}

An object representing the networking details for a task or service. For example awsvpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}

func (*AWSVPCConfiguration) DeepCopy

func (in *AWSVPCConfiguration) DeepCopy() *AWSVPCConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSVPCConfiguration.

func (*AWSVPCConfiguration) DeepCopyInto

func (in *AWSVPCConfiguration) DeepCopyInto(out *AWSVPCConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AgentUpdateStatus

type AgentUpdateStatus string
const (
	AgentUpdateStatus_PENDING  AgentUpdateStatus = "PENDING"
	AgentUpdateStatus_STAGING  AgentUpdateStatus = "STAGING"
	AgentUpdateStatus_STAGED   AgentUpdateStatus = "STAGED"
	AgentUpdateStatus_UPDATING AgentUpdateStatus = "UPDATING"
	AgentUpdateStatus_UPDATED  AgentUpdateStatus = "UPDATED"
	AgentUpdateStatus_FAILED   AgentUpdateStatus = "FAILED"
)

type ApplicationProtocol

type ApplicationProtocol string
const (
	ApplicationProtocol_http  ApplicationProtocol = "http"
	ApplicationProtocol_http2 ApplicationProtocol = "http2"
	ApplicationProtocol_grpc  ApplicationProtocol = "grpc"
)

type AssignPublicIP

type AssignPublicIP string
const (
	AssignPublicIP_ENABLED  AssignPublicIP = "ENABLED"
	AssignPublicIP_DISABLED AssignPublicIP = "DISABLED"
)

type Attachment

type Attachment struct {
	Details []*KeyValuePair `json:"details,omitempty"`
	ID      *string         `json:"id,omitempty"`
	Status  *string         `json:"status,omitempty"`
	Type    *string         `json:"type,omitempty"`
}

An object representing a container instance or task attachment.

func (*Attachment) DeepCopy

func (in *Attachment) DeepCopy() *Attachment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Attachment.

func (*Attachment) DeepCopyInto

func (in *Attachment) DeepCopyInto(out *Attachment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AttachmentStateChange

type AttachmentStateChange struct {
	AttachmentARN *string `json:"attachmentARN,omitempty"`
	Status        *string `json:"status,omitempty"`
}

An object representing a change in state for a task attachment.

func (*AttachmentStateChange) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttachmentStateChange.

func (*AttachmentStateChange) DeepCopyInto

func (in *AttachmentStateChange) DeepCopyInto(out *AttachmentStateChange)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Attribute

type Attribute struct {
	Name       *string `json:"name,omitempty"`
	TargetID   *string `json:"targetID,omitempty"`
	TargetType *string `json:"targetType,omitempty"`
	Value      *string `json:"value,omitempty"`
}

An attribute is a name-value pair that's associated with an Amazon ECS object. Use attributes to extend the Amazon ECS data model by adding custom metadata to your resources. For more information, see Attributes (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes) in the Amazon Elastic Container Service Developer Guide.

func (*Attribute) DeepCopy

func (in *Attribute) DeepCopy() *Attribute

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Attribute.

func (*Attribute) DeepCopyInto

func (in *Attribute) DeepCopyInto(out *Attribute)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AutoScalingGroupProvider

type AutoScalingGroupProvider struct {
	AutoScalingGroupARN *string `json:"autoScalingGroupARN,omitempty"`
}

The details of the Auto Scaling group for the capacity provider.

func (*AutoScalingGroupProvider) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScalingGroupProvider.

func (*AutoScalingGroupProvider) DeepCopyInto

func (in *AutoScalingGroupProvider) DeepCopyInto(out *AutoScalingGroupProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CPUArchitecture

type CPUArchitecture string
const (
	CPUArchitecture_X86_64 CPUArchitecture = "X86_64"
	CPUArchitecture_ARM64  CPUArchitecture = "ARM64"
)

type CapacityProvider

type CapacityProvider struct {
	CapacityProviderARN *string `json:"capacityProviderARN,omitempty"`
	Name                *string `json:"name,omitempty"`
	Tags                []*Tag  `json:"tags,omitempty"`
	UpdateStatusReason  *string `json:"updateStatusReason,omitempty"`
}

The details for a capacity provider.

func (*CapacityProvider) DeepCopy

func (in *CapacityProvider) DeepCopy() *CapacityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityProvider.

func (*CapacityProvider) DeepCopyInto

func (in *CapacityProvider) DeepCopyInto(out *CapacityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CapacityProviderField

type CapacityProviderField string
const (
	CapacityProviderField_TAGS CapacityProviderField = "TAGS"
)

type CapacityProviderStatus

type CapacityProviderStatus string
const (
	CapacityProviderStatus_ACTIVE   CapacityProviderStatus = "ACTIVE"
	CapacityProviderStatus_INACTIVE CapacityProviderStatus = "INACTIVE"
)

type CapacityProviderStrategyItem

type CapacityProviderStrategyItem struct {
	Base             *int64  `json:"base,omitempty"`
	CapacityProvider *string `json:"capacityProvider,omitempty"`
	Weight           *int64  `json:"weight,omitempty"`
}

The details of a capacity provider strategy. A capacity provider strategy can be set when using the RunTask or CreateCluster APIs or as the default capacity provider strategy for a cluster with the CreateCluster API.

Only capacity providers that are already associated with a cluster and have an ACTIVE or UPDATING status can be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster.

If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation.

To use a Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used in a capacity provider strategy.

A capacity provider strategy may contain a maximum of 6 capacity providers.

func (*CapacityProviderStrategyItem) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CapacityProviderStrategyItem.

func (*CapacityProviderStrategyItem) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CapacityProviderUpdateStatus

type CapacityProviderUpdateStatus string
const (
	CapacityProviderUpdateStatus_DELETE_IN_PROGRESS CapacityProviderUpdateStatus = "DELETE_IN_PROGRESS"
	CapacityProviderUpdateStatus_DELETE_COMPLETE    CapacityProviderUpdateStatus = "DELETE_COMPLETE"
	CapacityProviderUpdateStatus_DELETE_FAILED      CapacityProviderUpdateStatus = "DELETE_FAILED"
	CapacityProviderUpdateStatus_UPDATE_IN_PROGRESS CapacityProviderUpdateStatus = "UPDATE_IN_PROGRESS"
	CapacityProviderUpdateStatus_UPDATE_COMPLETE    CapacityProviderUpdateStatus = "UPDATE_COMPLETE"
	CapacityProviderUpdateStatus_UPDATE_FAILED      CapacityProviderUpdateStatus = "UPDATE_FAILED"
)

type Cluster

type Cluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ClusterSpec   `json:"spec,omitempty"`
	Status            ClusterStatus `json:"status,omitempty"`
}

Cluster is the Schema for the Clusters API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ACTIVESERVICES",type=integer,priority=0,JSONPath=`.status.activeServicesCount` +kubebuilder:printcolumn:name="CLUSTER",type=string,priority=0,JSONPath=`.spec.name` +kubebuilder:printcolumn:name="PENDINGTASKS",type=integer,priority=0,JSONPath=`.status.pendingTasksCount` +kubebuilder:printcolumn:name="RUNNINGTASKS",type=integer,priority=0,JSONPath=`.status.runningTasksCount` +kubebuilder:printcolumn:name="STATUS",type=string,priority=0,JSONPath=`.status.status`

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Cluster) DeepCopyObject

func (in *Cluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterConfiguration

type ClusterConfiguration struct {
	// The details of the execute command configuration.
	ExecuteCommandConfiguration *ExecuteCommandConfiguration `json:"executeCommandConfiguration,omitempty"`
}

The execute command configuration for the cluster.

func (*ClusterConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterConfiguration.

func (*ClusterConfiguration) DeepCopyInto

func (in *ClusterConfiguration) DeepCopyInto(out *ClusterConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterField

type ClusterField string
const (
	ClusterField_ATTACHMENTS    ClusterField = "ATTACHMENTS"
	ClusterField_CONFIGURATIONS ClusterField = "CONFIGURATIONS"
	ClusterField_SETTINGS       ClusterField = "SETTINGS"
	ClusterField_STATISTICS     ClusterField = "STATISTICS"
	ClusterField_TAGS           ClusterField = "TAGS"
)

type ClusterList

type ClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Cluster `json:"items"`
}

ClusterList contains a list of Cluster +kubebuilder:object:root=true

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterList) DeepCopyObject

func (in *ClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ClusterServiceConnectDefaults

type ClusterServiceConnectDefaults struct {
	Namespace *string `json:"namespace,omitempty"`
}

Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled parameter to true in the ServiceConnectConfiguration. You can set the namespace of each service individually in the ServiceConnectConfiguration to override this default parameter.

Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the Amazon Elastic Container Service Developer Guide.

func (*ClusterServiceConnectDefaults) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceConnectDefaults.

func (*ClusterServiceConnectDefaults) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterServiceConnectDefaultsRequest

type ClusterServiceConnectDefaultsRequest struct {
	Namespace *string `json:"namespace,omitempty"`
}

Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled parameter to true in the ServiceConnectConfiguration. You can set the namespace of each service individually in the ServiceConnectConfiguration to override this default parameter.

Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the Amazon Elastic Container Service Developer Guide.

func (*ClusterServiceConnectDefaultsRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterServiceConnectDefaultsRequest.

func (*ClusterServiceConnectDefaultsRequest) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterSetting

type ClusterSetting struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.

func (*ClusterSetting) DeepCopy

func (in *ClusterSetting) DeepCopy() *ClusterSetting

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSetting.

func (*ClusterSetting) DeepCopyInto

func (in *ClusterSetting) DeepCopyInto(out *ClusterSetting)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterSettingName

type ClusterSettingName string
const (
	ClusterSettingName_containerInsights ClusterSettingName = "containerInsights"
)

type ClusterSpec

type ClusterSpec struct {

	// The short name of one or more capacity providers to associate with the cluster.
	// A capacity provider must be associated with a cluster before it can be included
	// as part of the default capacity provider strategy of the cluster or used
	// in a capacity provider strategy when calling the CreateService (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html)
	// or RunTask (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html)
	// actions.
	//
	// If specifying a capacity provider that uses an Auto Scaling group, the capacity
	// provider must be created but not associated with another cluster. New Auto
	// Scaling group capacity providers can be created with the CreateCapacityProvider
	// (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCapacityProvider.html)
	// API operation.
	//
	// To use a Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT
	// capacity providers. The Fargate capacity providers are available to all accounts
	// and only need to be associated with a cluster to be used.
	//
	// The PutCapacityProvider (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProvider.html)
	// API operation is used to update the list of available capacity providers
	// for a cluster after the cluster is created.
	CapacityProviders []*string `json:"capacityProviders,omitempty"`
	// The execute command configuration for the cluster.
	Configuration *ClusterConfiguration `json:"configuration,omitempty"`
	// The capacity provider strategy to set as the default for the cluster. After
	// a default capacity provider strategy is set for a cluster, when you call
	// the CreateService (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html)
	// or RunTask (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html)
	// APIs with no capacity provider strategy or launch type specified, the default
	// capacity provider strategy for the cluster is used.
	//
	// If a default capacity provider strategy isn't defined for a cluster when
	// it was created, it can be defined later with the PutClusterCapacityProviders
	// API operation.
	DefaultCapacityProviderStrategy []*CapacityProviderStrategyItem `json:"defaultCapacityProviderStrategy,omitempty"`
	// The name of your cluster. If you don't specify a name for your cluster, you
	// create a cluster that's named default. Up to 255 letters (uppercase and lowercase),
	// numbers, underscores, and hyphens are allowed.
	Name *string `json:"name,omitempty"`
	// Use this parameter to set a default Service Connect namespace. After you
	// set a default Service Connect namespace, any new services with Service Connect
	// turned on that are created in the cluster are added as client services in
	// the namespace. This setting only applies to new services that set the enabled
	// parameter to true in the ServiceConnectConfiguration. You can set the namespace
	// of each service individually in the ServiceConnectConfiguration to override
	// this default parameter.
	//
	// Tasks that run in a namespace can use short names to connect to services
	// in the namespace. Tasks can connect to services across all of the clusters
	// in the namespace. Tasks connect through a managed proxy container that collects
	// logs and metrics for increased visibility. Only the tasks that Amazon ECS
	// services create are supported with Service Connect. For more information,
	// see Service Connect (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html)
	// in the Amazon Elastic Container Service Developer Guide.
	ServiceConnectDefaults *ClusterServiceConnectDefaultsRequest `json:"serviceConnectDefaults,omitempty"`
	// The setting to use when creating a cluster. This parameter is used to turn
	// on CloudWatch Container Insights for a cluster. If this value is specified,
	// it overrides the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.
	Settings []*ClusterSetting `json:"settings,omitempty"`
	// The metadata that you apply to the cluster to help you categorize and organize
	// them. Each tag consists of a key and an optional value. You define both.
	//
	// The following basic restrictions apply to tags:
	//
	//   - Maximum number of tags per resource - 50
	//
	//   - For each resource, each tag key must be unique, and each tag key can
	//     have only one value.
	//
	//   - Maximum key length - 128 Unicode characters in UTF-8
	//
	//   - Maximum value length - 256 Unicode characters in UTF-8
	//
	//   - If your tagging schema is used across multiple services and resources,
	//     remember that other services may have restrictions on allowed characters.
	//     Generally allowed characters are: letters, numbers, and spaces representable
	//     in UTF-8, and the following characters: + - = . _ : / @.
	//
	//   - Tag keys and values are case-sensitive.
	//
	//   - Do not use aws:, AWS:, or any upper or lowercase combination of such
	//     as a prefix for either keys or values as it is reserved for Amazon Web
	//     Services use. You cannot edit or delete tag keys or values with this prefix.
	//     Tags with this prefix do not count against your tags per resource limit.
	Tags []*Tag `json:"tags,omitempty"`
}

ClusterSpec defines the desired state of Cluster.

A regional grouping of one or more container instances where you can run task requests. Each account receives a default cluster the first time you use the Amazon ECS service, but you may also create other clusters. Clusters may contain more than one instance type simultaneously.

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClusterStatus

type ClusterStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// The number of services that are running on the cluster in an ACTIVE state.
	// You can view these services with ListServices.
	// +kubebuilder:validation:Optional
	ActiveServicesCount *int64 `json:"activeServicesCount,omitempty"`
	// The resources attached to a cluster. When using a capacity provider with
	// a cluster, the capacity provider and associated resources are returned as
	// cluster attachments.
	// +kubebuilder:validation:Optional
	Attachments []*Attachment `json:"attachments,omitempty"`
	// The status of the capacity providers associated with the cluster. The following
	// are the states that are returned.
	//
	// UPDATE_IN_PROGRESS
	//
	// The available capacity providers for the cluster are updating.
	//
	// UPDATE_COMPLETE
	//
	// The capacity providers have successfully updated.
	//
	// UPDATE_FAILED
	//
	// The capacity provider updates failed.
	// +kubebuilder:validation:Optional
	AttachmentsStatus *string `json:"attachmentsStatus,omitempty"`
	// The number of tasks in the cluster that are in the PENDING state.
	// +kubebuilder:validation:Optional
	PendingTasksCount *int64 `json:"pendingTasksCount,omitempty"`
	// The number of container instances registered into the cluster. This includes
	// container instances in both ACTIVE and DRAINING status.
	// +kubebuilder:validation:Optional
	RegisteredContainerInstancesCount *int64 `json:"registeredContainerInstancesCount,omitempty"`
	// The number of tasks in the cluster that are in the RUNNING state.
	// +kubebuilder:validation:Optional
	RunningTasksCount *int64 `json:"runningTasksCount,omitempty"`
	// Additional information about your clusters that are separated by launch type.
	// They include the following:
	//
	//    * runningEC2TasksCount
	//
	//    * RunningFargateTasksCount
	//
	//    * pendingEC2TasksCount
	//
	//    * pendingFargateTasksCount
	//
	//    * activeEC2ServiceCount
	//
	//    * activeFargateServiceCount
	//
	//    * drainingEC2ServiceCount
	//
	//    * drainingFargateServiceCount
	// +kubebuilder:validation:Optional
	Statistics []*KeyValuePair `json:"statistics,omitempty"`
	// The status of the cluster. The following are the possible states that are
	// returned.
	//
	// ACTIVE
	//
	// The cluster is ready to accept tasks and if applicable you can register container
	// instances with the cluster.
	//
	// PROVISIONING
	//
	// The cluster has capacity providers that are associated with it and the resources
	// needed for the capacity provider are being created.
	//
	// DEPROVISIONING
	//
	// The cluster has capacity providers that are associated with it and the resources
	// needed for the capacity provider are being deleted.
	//
	// FAILED
	//
	// The cluster has capacity providers that are associated with it and the resources
	// needed for the capacity provider have failed to create.
	//
	// INACTIVE
	//
	// The cluster has been deleted. Clusters with an INACTIVE status may remain
	// discoverable in your account for a period of time. However, this behavior
	// is subject to change in the future. We don't recommend that you rely on INACTIVE
	// clusters persisting.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty"`
}

ClusterStatus defines the observed state of Cluster

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Cluster_SDK

type Cluster_SDK struct {
	ActiveServicesCount *int64        `json:"activeServicesCount,omitempty"`
	Attachments         []*Attachment `json:"attachments,omitempty"`
	AttachmentsStatus   *string       `json:"attachmentsStatus,omitempty"`
	CapacityProviders   []*string     `json:"capacityProviders,omitempty"`
	ClusterARN          *string       `json:"clusterARN,omitempty"`
	ClusterName         *string       `json:"clusterName,omitempty"`
	// The execute command configuration for the cluster.
	Configuration                     *ClusterConfiguration           `json:"configuration,omitempty"`
	DefaultCapacityProviderStrategy   []*CapacityProviderStrategyItem `json:"defaultCapacityProviderStrategy,omitempty"`
	PendingTasksCount                 *int64                          `json:"pendingTasksCount,omitempty"`
	RegisteredContainerInstancesCount *int64                          `json:"registeredContainerInstancesCount,omitempty"`
	RunningTasksCount                 *int64                          `json:"runningTasksCount,omitempty"`
	// Use this parameter to set a default Service Connect namespace. After you
	// set a default Service Connect namespace, any new services with Service Connect
	// turned on that are created in the cluster are added as client services in
	// the namespace. This setting only applies to new services that set the enabled
	// parameter to true in the ServiceConnectConfiguration. You can set the namespace
	// of each service individually in the ServiceConnectConfiguration to override
	// this default parameter.
	//
	// Tasks that run in a namespace can use short names to connect to services
	// in the namespace. Tasks can connect to services across all of the clusters
	// in the namespace. Tasks connect through a managed proxy container that collects
	// logs and metrics for increased visibility. Only the tasks that Amazon ECS
	// services create are supported with Service Connect. For more information,
	// see Service Connect (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html)
	// in the Amazon Elastic Container Service Developer Guide.
	ServiceConnectDefaults *ClusterServiceConnectDefaults `json:"serviceConnectDefaults,omitempty"`
	Settings               []*ClusterSetting              `json:"settings,omitempty"`
	Statistics             []*KeyValuePair                `json:"statistics,omitempty"`
	Status                 *string                        `json:"status,omitempty"`
	Tags                   []*Tag                         `json:"tags,omitempty"`
}

A regional grouping of one or more container instances where you can run task requests. Each account receives a default cluster the first time you use the Amazon ECS service, but you may also create other clusters. Clusters may contain more than one instance type simultaneously.

func (*Cluster_SDK) DeepCopy

func (in *Cluster_SDK) DeepCopy() *Cluster_SDK

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster_SDK.

func (*Cluster_SDK) DeepCopyInto

func (in *Cluster_SDK) DeepCopyInto(out *Cluster_SDK)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Compatibility

type Compatibility string
const (
	Compatibility_EC2      Compatibility = "EC2"
	Compatibility_FARGATE  Compatibility = "FARGATE"
	Compatibility_EXTERNAL Compatibility = "EXTERNAL"
)

type Connectivity

type Connectivity string
const (
	Connectivity_CONNECTED    Connectivity = "CONNECTED"
	Connectivity_DISCONNECTED Connectivity = "DISCONNECTED"
)

type Container

type Container struct {
	ContainerARN      *string `json:"containerARN,omitempty"`
	CPU               *string `json:"cpu,omitempty"`
	ExitCode          *int64  `json:"exitCode,omitempty"`
	Image             *string `json:"image,omitempty"`
	ImageDigest       *string `json:"imageDigest,omitempty"`
	LastStatus        *string `json:"lastStatus,omitempty"`
	Memory            *string `json:"memory,omitempty"`
	MemoryReservation *string `json:"memoryReservation,omitempty"`
	Name              *string `json:"name,omitempty"`
	Reason            *string `json:"reason,omitempty"`
	RuntimeID         *string `json:"runtimeID,omitempty"`
	TaskARN           *string `json:"taskARN,omitempty"`
}

A Docker container that's part of a task.

func (*Container) DeepCopy

func (in *Container) DeepCopy() *Container

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.

func (*Container) DeepCopyInto

func (in *Container) DeepCopyInto(out *Container)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContainerCondition

type ContainerCondition string
const (
	ContainerCondition_START    ContainerCondition = "START"
	ContainerCondition_COMPLETE ContainerCondition = "COMPLETE"
	ContainerCondition_SUCCESS  ContainerCondition = "SUCCESS"
	ContainerCondition_HEALTHY  ContainerCondition = "HEALTHY"
)

type ContainerDefinition

type ContainerDefinition struct {
	Command               []*string              `json:"command,omitempty"`
	CPU                   *int64                 `json:"cpu,omitempty"`
	CredentialSpecs       []*string              `json:"credentialSpecs,omitempty"`
	DependsOn             []*ContainerDependency `json:"dependsOn,omitempty"`
	DisableNetworking     *bool                  `json:"disableNetworking,omitempty"`
	DNSSearchDomains      []*string              `json:"dnsSearchDomains,omitempty"`
	DNSServers            []*string              `json:"dnsServers,omitempty"`
	DockerLabels          map[string]*string     `json:"dockerLabels,omitempty"`
	DockerSecurityOptions []*string              `json:"dockerSecurityOptions,omitempty"`
	EntryPoint            []*string              `json:"entryPoint,omitempty"`
	Environment           []*KeyValuePair        `json:"environment,omitempty"`
	EnvironmentFiles      []*EnvironmentFile     `json:"environmentFiles,omitempty"`
	Essential             *bool                  `json:"essential,omitempty"`
	ExtraHosts            []*HostEntry           `json:"extraHosts,omitempty"`
	// The FireLens configuration for the container. This is used to specify and
	// configure a log router for container logs. For more information, see Custom
	// log routing (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html)
	// in the Amazon Elastic Container Service Developer Guide.
	FirelensConfiguration *FirelensConfiguration `json:"firelensConfiguration,omitempty"`
	// An object representing a container health check. Health check parameters
	// that are specified in a container definition override any Docker health checks
	// that exist in the container image (such as those specified in a parent image
	// or from the image's Dockerfile). This configuration maps to the HEALTHCHECK
	// parameter of docker run (https://docs.docker.com/engine/reference/run/).
	//
	// The Amazon ECS container agent only monitors and reports on the health checks
	// specified in the task definition. Amazon ECS does not monitor Docker health
	// checks that are embedded in a container image and not specified in the container
	// definition. Health check parameters that are specified in a container definition
	// override any Docker health checks that exist in the container image.
	//
	// You can view the health status of both individual containers and a task with
	// the DescribeTasks API operation or when viewing the task details in the console.
	//
	// The health check is designed to make sure that your containers survive agent
	// restarts, upgrades, or temporary unavailability.
	//
	// The following describes the possible healthStatus values for a container:
	//
	//    * HEALTHY-The container health check has passed successfully.
	//
	//    * UNHEALTHY-The container health check has failed.
	//
	//    * UNKNOWN-The container health check is being evaluated, there's no container
	//    health check defined, or Amazon ECS doesn't have the health status of
	//    the container.
	//
	// The following describes the possible healthStatus values based on the container
	// health checker status of essential containers in the task with the following
	// priority order (high to low):
	//
	//    * UNHEALTHY-One or more essential containers have failed their health
	//    check.
	//
	//    * UNKNOWN-Any essential container running within the task is in an UNKNOWN
	//    state and no other essential containers have an UNHEALTHY state.
	//
	//    * HEALTHY-All essential containers within the task have passed their health
	//    checks.
	//
	// Consider the following task health example with 2 containers.
	//
	//    * If Container1 is UNHEALTHY and Container2 is UNKNOWN, the task health
	//    is UNHEALTHY.
	//
	//    * If Container1 is UNHEALTHY and Container2 is HEALTHY, the task health
	//    is UNHEALTHY.
	//
	//    * If Container1 is HEALTHY and Container2 is UNKNOWN, the task health
	//    is UNKNOWN.
	//
	//    * If Container1 is HEALTHY and Container2 is HEALTHY, the task health
	//    is HEALTHY.
	//
	// Consider the following task health example with 3 containers.
	//
	//    * If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3
	//    is UNKNOWN, the task health is UNHEALTHY.
	//
	//    * If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3
	//    is HEALTHY, the task health is UNHEALTHY.
	//
	//    * If Container1 is UNHEALTHY and Container2 is HEALTHY, and Container3
	//    is HEALTHY, the task health is UNHEALTHY.
	//
	//    * If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is
	//    HEALTHY, the task health is UNKNOWN.
	//
	//    * If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is
	//    UNKNOWN, the task health is UNKNOWN.
	//
	//    * If Container1 is HEALTHY and Container2 is HEALTHY, and Container3 is
	//    HEALTHY, the task health is HEALTHY.
	//
	// If a task is run manually, and not as part of a service, the task will continue
	// its lifecycle regardless of its health status. For tasks that are part of
	// a service, if the task reports as unhealthy then the task will be stopped
	// and the service scheduler will replace it.
	//
	// The following are notes about container health check support:
	//
	//    * When the Amazon ECS agent cannot connect to the Amazon ECS service,
	//    the service reports the container as UNHEALTHY.
	//
	//    * The health check statuses are the "last heard from" response from the
	//    Amazon ECS agent. There are no assumptions made about the status of the
	//    container health checks.
	//
	//    * Container health checks require version 1.17.0 or greater of the Amazon
	//    ECS container agent. For more information, see Updating the Amazon ECS
	//    container agent (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html).
	//
	//    * Container health checks are supported for Fargate tasks if you're using
	//    platform version 1.1.0 or greater. For more information, see Fargate platform
	//    versions (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
	//
	//    * Container health checks aren't supported for tasks that are part of
	//    a service that's configured to use a Classic Load Balancer.
	HealthCheck *HealthCheck `json:"healthCheck,omitempty"`
	Hostname    *string      `json:"hostname,omitempty"`
	Image       *string      `json:"image,omitempty"`
	Interactive *bool        `json:"interactive,omitempty"`
	Links       []*string    `json:"links,omitempty"`
	// The Linux-specific options that are applied to the container, such as Linux
	// KernelCapabilities (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html).
	LinuxParameters *LinuxParameters `json:"linuxParameters,omitempty"`
	// The log configuration for the container. This parameter maps to LogConfig
	// in the Create a container (https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate)
	// section of the Docker Remote API (https://docs.docker.com/engine/api/v1.35/)
	// and the --log-driver option to docker run (https://docs.docker.com/engine/reference/commandline/run/).
	//
	// By default, containers use the same logging driver that the Docker daemon
	// uses. However, the container might use a different logging driver than the
	// Docker daemon by specifying a log driver configuration in the container definition.
	// For more information about the options for different supported log drivers,
	// see Configure logging drivers (https://docs.docker.com/engine/admin/logging/overview/)
	// in the Docker documentation.
	//
	// Understand the following when specifying a log configuration for your containers.
	//
	//    * Amazon ECS currently supports a subset of the logging drivers available
	//    to the Docker daemon. Additional log drivers may be available in future
	//    releases of the Amazon ECS container agent. For tasks on Fargate, the
	//    supported log drivers are awslogs, splunk, and awsfirelens. For tasks
	//    hosted on Amazon EC2 instances, the supported log drivers are awslogs,
	//    fluentd, gelf, json-file, journald, logentries,syslog, splunk, and awsfirelens.
	//
	//    * This parameter requires version 1.18 of the Docker Remote API or greater
	//    on your container instance.
	//
	//    * For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container
	//    agent must register the available logging drivers with the ECS_AVAILABLE_LOGGING_DRIVERS
	//    environment variable before containers placed on that instance can use
	//    these log configuration options. For more information, see Amazon ECS
	//    container agent configuration (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html)
	//    in the Amazon Elastic Container Service Developer Guide.
	//
	//    * For tasks that are on Fargate, because you don't have access to the
	//    underlying infrastructure your tasks are hosted on, any additional software
	//    needed must be installed outside of the task. For example, the Fluentd
	//    output aggregators or a remote host running Logstash to send Gelf logs
	//    to.
	LogConfiguration       *LogConfiguration `json:"logConfiguration,omitempty"`
	Memory                 *int64            `json:"memory,omitempty"`
	MemoryReservation      *int64            `json:"memoryReservation,omitempty"`
	MountPoints            []*MountPoint     `json:"mountPoints,omitempty"`
	Name                   *string           `json:"name,omitempty"`
	PortMappings           []*PortMapping    `json:"portMappings,omitempty"`
	Privileged             *bool             `json:"privileged,omitempty"`
	PseudoTerminal         *bool             `json:"pseudoTerminal,omitempty"`
	ReadonlyRootFilesystem *bool             `json:"readonlyRootFilesystem,omitempty"`
	// The repository credentials for private registry authentication.
	RepositoryCredentials *RepositoryCredentials `json:"repositoryCredentials,omitempty"`
	ResourceRequirements  []*ResourceRequirement `json:"resourceRequirements,omitempty"`
	Secrets               []*Secret              `json:"secrets,omitempty"`
	StartTimeout          *int64                 `json:"startTimeout,omitempty"`
	StopTimeout           *int64                 `json:"stopTimeout,omitempty"`
	SystemControls        []*SystemControl       `json:"systemControls,omitempty"`
	Ulimits               []*Ulimit              `json:"ulimits,omitempty"`
	User                  *string                `json:"user,omitempty"`
	VolumesFrom           []*VolumeFrom          `json:"volumesFrom,omitempty"`
	WorkingDirectory      *string                `json:"workingDirectory,omitempty"`
}

Container definitions are used in task definitions to describe the different containers that are launched as part of a task.

func (*ContainerDefinition) DeepCopy

func (in *ContainerDefinition) DeepCopy() *ContainerDefinition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerDefinition.

func (*ContainerDefinition) DeepCopyInto

func (in *ContainerDefinition) DeepCopyInto(out *ContainerDefinition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContainerDependency

type ContainerDependency struct {
	Condition     *string `json:"condition,omitempty"`
	ContainerName *string `json:"containerName,omitempty"`
}

The dependencies defined for container startup and shutdown. A container can contain multiple dependencies. When a dependency is defined for container startup, for container shutdown it is reversed.

Your Amazon ECS container instances require at least version 1.26.0 of the container agent to use container dependencies. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see Updating the Amazon ECS Container Agent (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html) in the Amazon Elastic Container Service Developer Guide. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ecs-init package. If your container instances are launched from version 20190301 or later, then they contain the required versions of the container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) in the Amazon Elastic Container Service Developer Guide.

For tasks that use the Fargate launch type, the task or service requires the following platforms:

  • Linux platform version 1.3.0 or later.

  • Windows platform version 1.0.0 or later.

For more information about how to create a container dependency, see Container dependency (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency) in the Amazon Elastic Container Service Developer Guide.

func (*ContainerDependency) DeepCopy

func (in *ContainerDependency) DeepCopy() *ContainerDependency

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerDependency.

func (*ContainerDependency) DeepCopyInto

func (in *ContainerDependency) DeepCopyInto(out *ContainerDependency)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContainerInstance

type ContainerInstance struct {
	AgentConnected       *bool         `json:"agentConnected,omitempty"`
	Attachments          []*Attachment `json:"attachments,omitempty"`
	CapacityProviderName *string       `json:"capacityProviderName,omitempty"`
	ContainerInstanceARN *string       `json:"containerInstanceARN,omitempty"`
	EC2InstanceID        *string       `json:"ec2InstanceID,omitempty"`
	PendingTasksCount    *int64        `json:"pendingTasksCount,omitempty"`
	RegisteredAt         *metav1.Time  `json:"registeredAt,omitempty"`
	RunningTasksCount    *int64        `json:"runningTasksCount,omitempty"`
	Status               *string       `json:"status,omitempty"`
	StatusReason         *string       `json:"statusReason,omitempty"`
	Tags                 []*Tag        `json:"tags,omitempty"`
}

An Amazon EC2 or External instance that's running the Amazon ECS agent and has been registered with a cluster.

func (*ContainerInstance) DeepCopy

func (in *ContainerInstance) DeepCopy() *ContainerInstance

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerInstance.

func (*ContainerInstance) DeepCopyInto

func (in *ContainerInstance) DeepCopyInto(out *ContainerInstance)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContainerInstanceField

type ContainerInstanceField string
const (
	ContainerInstanceField_TAGS                      ContainerInstanceField = "TAGS"
	ContainerInstanceField_CONTAINER_INSTANCE_HEALTH ContainerInstanceField = "CONTAINER_INSTANCE_HEALTH"
)

type ContainerInstanceStatus

type ContainerInstanceStatus string
const (
	ContainerInstanceStatus_ACTIVE              ContainerInstanceStatus = "ACTIVE"
	ContainerInstanceStatus_DRAINING            ContainerInstanceStatus = "DRAINING"
	ContainerInstanceStatus_REGISTERING         ContainerInstanceStatus = "REGISTERING"
	ContainerInstanceStatus_DEREGISTERING       ContainerInstanceStatus = "DEREGISTERING"
	ContainerInstanceStatus_REGISTRATION_FAILED ContainerInstanceStatus = "REGISTRATION_FAILED"
)

type ContainerOverride

type ContainerOverride struct {
	Command              []*string              `json:"command,omitempty"`
	CPU                  *int64                 `json:"cpu,omitempty"`
	Environment          []*KeyValuePair        `json:"environment,omitempty"`
	EnvironmentFiles     []*EnvironmentFile     `json:"environmentFiles,omitempty"`
	Memory               *int64                 `json:"memory,omitempty"`
	MemoryReservation    *int64                 `json:"memoryReservation,omitempty"`
	Name                 *string                `json:"name,omitempty"`
	ResourceRequirements []*ResourceRequirement `json:"resourceRequirements,omitempty"`
}

The overrides that are sent to a container. An empty container override can be passed in. An example of an empty container override is {"containerOverrides": [ ] }. If a non-empty container override is specified, the name parameter must be included.

You can use Secrets Manager or Amazon Web Services Systems Manager Parameter Store to store the sensitive data. For more information, see Retrieve secrets through environment variables (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/secrets-envvar.html) in the Amazon ECS Developer Guide.

func (*ContainerOverride) DeepCopy

func (in *ContainerOverride) DeepCopy() *ContainerOverride

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerOverride.

func (*ContainerOverride) DeepCopyInto

func (in *ContainerOverride) DeepCopyInto(out *ContainerOverride)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ContainerStateChange

type ContainerStateChange struct {
	ContainerName *string `json:"containerName,omitempty"`
	ExitCode      *int64  `json:"exitCode,omitempty"`
	ImageDigest   *string `json:"imageDigest,omitempty"`
	Reason        *string `json:"reason,omitempty"`
	RuntimeID     *string `json:"runtimeID,omitempty"`
	Status        *string `json:"status,omitempty"`
}

An object that represents a change in state for a container.

func (*ContainerStateChange) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStateChange.

func (*ContainerStateChange) DeepCopyInto

func (in *ContainerStateChange) DeepCopyInto(out *ContainerStateChange)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Deployment

type Deployment struct {
	CapacityProviderStrategy []*CapacityProviderStrategyItem `json:"capacityProviderStrategy,omitempty"`
	CreatedAt                *metav1.Time                    `json:"createdAt,omitempty"`
	DesiredCount             *int64                          `json:"desiredCount,omitempty"`
	FailedTasks              *int64                          `json:"failedTasks,omitempty"`
	ID                       *string                         `json:"id,omitempty"`
	LaunchType               *string                         `json:"launchType,omitempty"`
	// The network configuration for a task or service.
	NetworkConfiguration *NetworkConfiguration `json:"networkConfiguration,omitempty"`
	PendingCount         *int64                `json:"pendingCount,omitempty"`
	PlatformFamily       *string               `json:"platformFamily,omitempty"`
	PlatformVersion      *string               `json:"platformVersion,omitempty"`
	RolloutState         *string               `json:"rolloutState,omitempty"`
	RolloutStateReason   *string               `json:"rolloutStateReason,omitempty"`
	RunningCount         *int64                `json:"runningCount,omitempty"`
	// The Service Connect configuration of your Amazon ECS service. The configuration
	// for this service to discover and connect to services, and be discovered by,
	// and connected from, other services within a namespace.
	//
	// Tasks that run in a namespace can use short names to connect to services
	// in the namespace. Tasks can connect to services across all of the clusters
	// in the namespace. Tasks connect through a managed proxy container that collects
	// logs and metrics for increased visibility. Only the tasks that Amazon ECS
	// services create are supported with Service Connect. For more information,
	// see Service Connect (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html)
	// in the Amazon Elastic Container Service Developer Guide.
	ServiceConnectConfiguration *ServiceConnectConfiguration     `json:"serviceConnectConfiguration,omitempty"`
	ServiceConnectResources     []*ServiceConnectServiceResource `json:"serviceConnectResources,omitempty"`
	Status                      *string                          `json:"status,omitempty"`
	TaskDefinition              *string                          `json:"taskDefinition,omitempty"`
	UpdatedAt                   *metav1.Time                     `json:"updatedAt,omitempty"`
	VolumeConfigurations        []*ServiceVolumeConfiguration    `json:"volumeConfigurations,omitempty"`
}

The details of an Amazon ECS service deployment. This is used only when a service uses the ECS deployment controller type.

func (*Deployment) DeepCopy

func (in *Deployment) DeepCopy() *Deployment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.

func (*Deployment) DeepCopyInto

func (in *Deployment) DeepCopyInto(out *Deployment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeploymentAlarms

type DeploymentAlarms struct {
	AlarmNames []*string `json:"alarmNames,omitempty"`
	Enable     *bool     `json:"enable,omitempty"`
	Rollback   *bool     `json:"rollback,omitempty"`
}

One of the methods which provide a way for you to quickly identify when a deployment has failed, and then to optionally roll back the failure to the last working deployment.

When the alarms are generated, Amazon ECS sets the service deployment to failed. Set the rollback parameter to have Amazon ECS to roll back your service to the last completed deployment after a failure.

You can only use the DeploymentAlarms method to detect failures when the DeploymentController is set to ECS (rolling update).

For more information, see Rolling update (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) in the Amazon Elastic Container Service Developer Guide .

func (*DeploymentAlarms) DeepCopy

func (in *DeploymentAlarms) DeepCopy() *DeploymentAlarms

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentAlarms.

func (*DeploymentAlarms) DeepCopyInto

func (in *DeploymentAlarms) DeepCopyInto(out *DeploymentAlarms)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeploymentCircuitBreaker

type DeploymentCircuitBreaker struct {
	Enable   *bool `json:"enable,omitempty"`
	Rollback *bool `json:"rollback,omitempty"`
}

The deployment circuit breaker can only be used for services using the rolling update (ECS) deployment type.

The deployment circuit breaker determines whether a service deployment will fail if the service can't reach a steady state. If it is turned on, a service deployment will transition to a failed state and stop launching new tasks. You can also configure Amazon ECS to roll back your service to the last completed deployment after a failure. For more information, see Rolling update (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) in the Amazon Elastic Container Service Developer Guide.

For more information about API failure reasons, see API failure reasons (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html) in the Amazon Elastic Container Service Developer Guide.

func (*DeploymentCircuitBreaker) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentCircuitBreaker.

func (*DeploymentCircuitBreaker) DeepCopyInto

func (in *DeploymentCircuitBreaker) DeepCopyInto(out *DeploymentCircuitBreaker)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeploymentConfiguration added in v0.0.2

type DeploymentConfiguration struct {
	// One of the methods which provide a way for you to quickly identify when a
	// deployment has failed, and then to optionally roll back the failure to the
	// last working deployment.
	//
	// When the alarms are generated, Amazon ECS sets the service deployment to
	// failed. Set the rollback parameter to have Amazon ECS to roll back your service
	// to the last completed deployment after a failure.
	//
	// You can only use the DeploymentAlarms method to detect failures when the
	// DeploymentController is set to ECS (rolling update).
	//
	// For more information, see Rolling update (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html)
	// in the Amazon Elastic Container Service Developer Guide .
	Alarms *DeploymentAlarms `json:"alarms,omitempty"`
	//
	// The deployment circuit breaker can only be used for services using the rolling
	// update (ECS) deployment type.
	//
	// The deployment circuit breaker determines whether a service deployment will
	// fail if the service can't reach a steady state. If it is turned on, a service
	// deployment will transition to a failed state and stop launching new tasks.
	// You can also configure Amazon ECS to roll back your service to the last completed
	// deployment after a failure. For more information, see Rolling update (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// For more information about API failure reasons, see API failure reasons (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html)
	// in the Amazon Elastic Container Service Developer Guide.
	DeploymentCircuitBreaker *DeploymentCircuitBreaker `json:"deploymentCircuitBreaker,omitempty"`
	MaximumPercent           *int64                    `json:"maximumPercent,omitempty"`
	MinimumHealthyPercent    *int64                    `json:"minimumHealthyPercent,omitempty"`
}

Optional deployment parameters that control how many tasks run during a deployment and the ordering of stopping and starting tasks.

func (*DeploymentConfiguration) DeepCopy added in v0.0.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfiguration.

func (*DeploymentConfiguration) DeepCopyInto added in v0.0.2

func (in *DeploymentConfiguration) DeepCopyInto(out *DeploymentConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeploymentController added in v0.0.3

type DeploymentController struct {
	Type *string `json:"type,omitempty"`
}

The deployment controller to use for the service. For more information, see Amazon ECS deployment types (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) in the Amazon Elastic Container Service Developer Guide.

func (*DeploymentController) DeepCopy added in v0.0.3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentController.

func (*DeploymentController) DeepCopyInto added in v0.0.3

func (in *DeploymentController) DeepCopyInto(out *DeploymentController)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeploymentControllerType

type DeploymentControllerType string
const (
	DeploymentControllerType_ECS         DeploymentControllerType = "ECS"
	DeploymentControllerType_CODE_DEPLOY DeploymentControllerType = "CODE_DEPLOY"
	DeploymentControllerType_EXTERNAL    DeploymentControllerType = "EXTERNAL"
)

type DeploymentRolloutState

type DeploymentRolloutState string
const (
	DeploymentRolloutState_COMPLETED   DeploymentRolloutState = "COMPLETED"
	DeploymentRolloutState_FAILED      DeploymentRolloutState = "FAILED"
	DeploymentRolloutState_IN_PROGRESS DeploymentRolloutState = "IN_PROGRESS"
)

type DesiredStatus

type DesiredStatus string
const (
	DesiredStatus_RUNNING DesiredStatus = "RUNNING"
	DesiredStatus_PENDING DesiredStatus = "PENDING"
	DesiredStatus_STOPPED DesiredStatus = "STOPPED"
)

type Device

type Device struct {
	ContainerPath *string   `json:"containerPath,omitempty"`
	HostPath      *string   `json:"hostPath,omitempty"`
	Permissions   []*string `json:"permissions,omitempty"`
}

An object representing a container instance host device.

func (*Device) DeepCopy

func (in *Device) DeepCopy() *Device

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Device.

func (*Device) DeepCopyInto

func (in *Device) DeepCopyInto(out *Device)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeviceCgroupPermission

type DeviceCgroupPermission string
const (
	DeviceCgroupPermission_read  DeviceCgroupPermission = "read"
	DeviceCgroupPermission_write DeviceCgroupPermission = "write"
	DeviceCgroupPermission_mknod DeviceCgroupPermission = "mknod"
)

type DockerVolumeConfiguration

type DockerVolumeConfiguration struct {
	Autoprovision *bool              `json:"autoprovision,omitempty"`
	Driver        *string            `json:"driver,omitempty"`
	DriverOpts    map[string]*string `json:"driverOpts,omitempty"`
	Labels        map[string]*string `json:"labels,omitempty"`
	Scope         *string            `json:"scope,omitempty"`
}

This parameter is specified when you're using Docker volumes. Docker volumes are only supported when you're using the EC2 launch type. Windows containers only support the use of the local driver. To use bind mounts, specify a host instead.

func (*DockerVolumeConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerVolumeConfiguration.

func (*DockerVolumeConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EBSResourceType

type EBSResourceType string
const (
	EBSResourceType_volume EBSResourceType = "volume"
)

type EBSTagSpecification

type EBSTagSpecification struct {
	PropagateTags *string `json:"propagateTags,omitempty"`
	ResourceType  *string `json:"resourceType,omitempty"`
	Tags          []*Tag  `json:"tags,omitempty"`
}

The tag specifications of an Amazon EBS volume.

func (*EBSTagSpecification) DeepCopy

func (in *EBSTagSpecification) DeepCopy() *EBSTagSpecification

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EBSTagSpecification.

func (*EBSTagSpecification) DeepCopyInto

func (in *EBSTagSpecification) DeepCopyInto(out *EBSTagSpecification)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EFSAuthorizationConfig

type EFSAuthorizationConfig struct {
	AccessPointID *string `json:"accessPointID,omitempty"`
	IAM           *string `json:"iam,omitempty"`
}

The authorization configuration details for the Amazon EFS file system.

func (*EFSAuthorizationConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EFSAuthorizationConfig.

func (*EFSAuthorizationConfig) DeepCopyInto

func (in *EFSAuthorizationConfig) DeepCopyInto(out *EFSAuthorizationConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EFSAuthorizationConfigIAM

type EFSAuthorizationConfigIAM string
const (
	EFSAuthorizationConfigIAM_ENABLED  EFSAuthorizationConfigIAM = "ENABLED"
	EFSAuthorizationConfigIAM_DISABLED EFSAuthorizationConfigIAM = "DISABLED"
)

type EFSTransitEncryption

type EFSTransitEncryption string
const (
	EFSTransitEncryption_ENABLED  EFSTransitEncryption = "ENABLED"
	EFSTransitEncryption_DISABLED EFSTransitEncryption = "DISABLED"
)

type EFSVolumeConfiguration

type EFSVolumeConfiguration struct {
	// The authorization configuration details for the Amazon EFS file system.
	AuthorizationConfig   *EFSAuthorizationConfig `json:"authorizationConfig,omitempty"`
	FileSystemID          *string                 `json:"fileSystemID,omitempty"`
	RootDirectory         *string                 `json:"rootDirectory,omitempty"`
	TransitEncryption     *string                 `json:"transitEncryption,omitempty"`
	TransitEncryptionPort *int64                  `json:"transitEncryptionPort,omitempty"`
}

This parameter is specified when you're using an Amazon Elastic File System file system for task storage. For more information, see Amazon EFS volumes (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html) in the Amazon Elastic Container Service Developer Guide.

func (*EFSVolumeConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EFSVolumeConfiguration.

func (*EFSVolumeConfiguration) DeepCopyInto

func (in *EFSVolumeConfiguration) DeepCopyInto(out *EFSVolumeConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EnvironmentFile

type EnvironmentFile struct {
	Type  *string `json:"type,omitempty"`
	Value *string `json:"value,omitempty"`
}

A list of files containing the environment variables to pass to a container. You can specify up to ten environment files. The file must have a .env file extension. Each line in an environment file should contain an environment variable in VARIABLE=VALUE format. Lines beginning with # are treated as comments and are ignored.

If there are environment variables specified using the environment parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they're processed from the top down. We recommend that you use unique variable names. For more information, see Specifying environment variables (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html) in the Amazon Elastic Container Service Developer Guide.

You must use the following platforms for the Fargate launch type:

  • Linux platform version 1.4.0 or later.

  • Windows platform version 1.0.0 or later.

Consider the following when using the Fargate launch type:

  • The file is handled like a native Docker env-file.

  • There is no support for shell escape handling.

  • The container entry point interperts the VARIABLE values.

func (*EnvironmentFile) DeepCopy

func (in *EnvironmentFile) DeepCopy() *EnvironmentFile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentFile.

func (*EnvironmentFile) DeepCopyInto

func (in *EnvironmentFile) DeepCopyInto(out *EnvironmentFile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EnvironmentFileType

type EnvironmentFileType string
const (
	EnvironmentFileType_s3 EnvironmentFileType = "s3"
)

type EphemeralStorage

type EphemeralStorage struct {
	SizeInGiB *int64 `json:"sizeInGiB,omitempty"`
}

The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate. For more information, see Using data volumes in tasks (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html) in the Amazon ECS Developer Guide;.

For tasks using the Fargate launch type, the task requires the following platforms:

  • Linux platform version 1.4.0 or later.

  • Windows platform version 1.0.0 or later.

func (*EphemeralStorage) DeepCopy

func (in *EphemeralStorage) DeepCopy() *EphemeralStorage

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EphemeralStorage.

func (*EphemeralStorage) DeepCopyInto

func (in *EphemeralStorage) DeepCopyInto(out *EphemeralStorage)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExecuteCommandConfiguration

type ExecuteCommandConfiguration struct {
	KMSKeyID *string `json:"kmsKeyID,omitempty"`
	// The log configuration for the results of the execute command actions. The
	// logs can be sent to CloudWatch Logs or an Amazon S3 bucket.
	LogConfiguration *ExecuteCommandLogConfiguration `json:"logConfiguration,omitempty"`
	Logging          *string                         `json:"logging,omitempty"`
}

The details of the execute command configuration.

func (*ExecuteCommandConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecuteCommandConfiguration.

func (*ExecuteCommandConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExecuteCommandLogConfiguration

type ExecuteCommandLogConfiguration struct {
	CloudWatchEncryptionEnabled *bool   `json:"cloudWatchEncryptionEnabled,omitempty"`
	CloudWatchLogGroupName      *string `json:"cloudWatchLogGroupName,omitempty"`
	S3BucketName                *string `json:"s3BucketName,omitempty"`
	S3EncryptionEnabled         *bool   `json:"s3EncryptionEnabled,omitempty"`
	S3KeyPrefix                 *string `json:"s3KeyPrefix,omitempty"`
}

The log configuration for the results of the execute command actions. The logs can be sent to CloudWatch Logs or an Amazon S3 bucket.

func (*ExecuteCommandLogConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecuteCommandLogConfiguration.

func (*ExecuteCommandLogConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExecuteCommandLogging

type ExecuteCommandLogging string
const (
	ExecuteCommandLogging_NONE     ExecuteCommandLogging = "NONE"
	ExecuteCommandLogging_DEFAULT  ExecuteCommandLogging = "DEFAULT"
	ExecuteCommandLogging_OVERRIDE ExecuteCommandLogging = "OVERRIDE"
)

type FSxWindowsFileServerAuthorizationConfig

type FSxWindowsFileServerAuthorizationConfig struct {
	CredentialsParameter *string `json:"credentialsParameter,omitempty"`
	Domain               *string `json:"domain,omitempty"`
}

The authorization configuration details for Amazon FSx for Windows File Server file system. See FSxWindowsFileServerVolumeConfiguration (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FSxWindowsFileServerVolumeConfiguration.html) in the Amazon ECS API Reference.

For more information and the input format, see Amazon FSx for Windows File Server Volumes (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) in the Amazon Elastic Container Service Developer Guide.

func (*FSxWindowsFileServerAuthorizationConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSxWindowsFileServerAuthorizationConfig.

func (*FSxWindowsFileServerAuthorizationConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FSxWindowsFileServerVolumeConfiguration

type FSxWindowsFileServerVolumeConfiguration struct {
	// The authorization configuration details for Amazon FSx for Windows File Server
	// file system. See FSxWindowsFileServerVolumeConfiguration (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_FSxWindowsFileServerVolumeConfiguration.html)
	// in the Amazon ECS API Reference.
	//
	// For more information and the input format, see Amazon FSx for Windows File
	// Server Volumes (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html)
	// in the Amazon Elastic Container Service Developer Guide.
	AuthorizationConfig *FSxWindowsFileServerAuthorizationConfig `json:"authorizationConfig,omitempty"`
	FileSystemID        *string                                  `json:"fileSystemID,omitempty"`
	RootDirectory       *string                                  `json:"rootDirectory,omitempty"`
}

This parameter is specified when you're using Amazon FSx for Windows File Server (https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html) file system for task storage.

For more information and the input format, see Amazon FSx for Windows File Server volumes (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html) in the Amazon Elastic Container Service Developer Guide.

func (*FSxWindowsFileServerVolumeConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FSxWindowsFileServerVolumeConfiguration.

func (*FSxWindowsFileServerVolumeConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Failure

type Failure struct {
	ARN    *string `json:"arn,omitempty"`
	Detail *string `json:"detail,omitempty"`
	Reason *string `json:"reason,omitempty"`
}

A failed resource. For a list of common causes, see API failure reasons (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html) in the Amazon Elastic Container Service Developer Guide.

func (*Failure) DeepCopy

func (in *Failure) DeepCopy() *Failure

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Failure.

func (*Failure) DeepCopyInto

func (in *Failure) DeepCopyInto(out *Failure)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FirelensConfiguration added in v0.0.2

type FirelensConfiguration struct {
	Options map[string]*string `json:"options,omitempty"`
	Type    *string            `json:"type,omitempty"`
}

The FireLens configuration for the container. This is used to specify and configure a log router for container logs. For more information, see Custom log routing (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html) in the Amazon Elastic Container Service Developer Guide.

func (*FirelensConfiguration) DeepCopy added in v0.0.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirelensConfiguration.

func (*FirelensConfiguration) DeepCopyInto added in v0.0.2

func (in *FirelensConfiguration) DeepCopyInto(out *FirelensConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FirelensConfigurationType

type FirelensConfigurationType string
const (
	FirelensConfigurationType_fluentd   FirelensConfigurationType = "fluentd"
	FirelensConfigurationType_fluentbit FirelensConfigurationType = "fluentbit"
)

type HealthCheck

type HealthCheck struct {
	Command     []*string `json:"command,omitempty"`
	Interval    *int64    `json:"interval,omitempty"`
	Retries     *int64    `json:"retries,omitempty"`
	StartPeriod *int64    `json:"startPeriod,omitempty"`
	Timeout     *int64    `json:"timeout,omitempty"`
}

An object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile). This configuration maps to the HEALTHCHECK parameter of docker run (https://docs.docker.com/engine/reference/run/).

The Amazon ECS container agent only monitors and reports on the health checks specified in the task definition. Amazon ECS does not monitor Docker health checks that are embedded in a container image and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

You can view the health status of both individual containers and a task with the DescribeTasks API operation or when viewing the task details in the console.

The health check is designed to make sure that your containers survive agent restarts, upgrades, or temporary unavailability.

The following describes the possible healthStatus values for a container:

  • HEALTHY-The container health check has passed successfully.

  • UNHEALTHY-The container health check has failed.

  • UNKNOWN-The container health check is being evaluated, there's no container health check defined, or Amazon ECS doesn't have the health status of the container.

The following describes the possible healthStatus values based on the container health checker status of essential containers in the task with the following priority order (high to low):

  • UNHEALTHY-One or more essential containers have failed their health check.

  • UNKNOWN-Any essential container running within the task is in an UNKNOWN state and no other essential containers have an UNHEALTHY state.

  • HEALTHY-All essential containers within the task have passed their health checks.

Consider the following task health example with 2 containers.

  • If Container1 is UNHEALTHY and Container2 is UNKNOWN, the task health is UNHEALTHY.

  • If Container1 is UNHEALTHY and Container2 is HEALTHY, the task health is UNHEALTHY.

  • If Container1 is HEALTHY and Container2 is UNKNOWN, the task health is UNKNOWN.

  • If Container1 is HEALTHY and Container2 is HEALTHY, the task health is HEALTHY.

Consider the following task health example with 3 containers.

  • If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 is UNKNOWN, the task health is UNHEALTHY.

  • If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 is HEALTHY, the task health is UNHEALTHY.

  • If Container1 is UNHEALTHY and Container2 is HEALTHY, and Container3 is HEALTHY, the task health is UNHEALTHY.

  • If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is HEALTHY, the task health is UNKNOWN.

  • If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is UNKNOWN, the task health is UNKNOWN.

  • If Container1 is HEALTHY and Container2 is HEALTHY, and Container3 is HEALTHY, the task health is HEALTHY.

If a task is run manually, and not as part of a service, the task will continue its lifecycle regardless of its health status. For tasks that are part of a service, if the task reports as unhealthy then the task will be stopped and the service scheduler will replace it.

The following are notes about container health check support:

  • When the Amazon ECS agent cannot connect to the Amazon ECS service, the service reports the container as UNHEALTHY.

  • The health check statuses are the "last heard from" response from the Amazon ECS agent. There are no assumptions made about the status of the container health checks.

  • Container health checks require version 1.17.0 or greater of the Amazon ECS container agent. For more information, see Updating the Amazon ECS container agent (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html).

  • Container health checks are supported for Fargate tasks if you're using platform version 1.1.0 or greater. For more information, see Fargate platform versions (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).

  • Container health checks aren't supported for tasks that are part of a service that's configured to use a Classic Load Balancer.

func (*HealthCheck) DeepCopy

func (in *HealthCheck) DeepCopy() *HealthCheck

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthCheck.

func (*HealthCheck) DeepCopyInto

func (in *HealthCheck) DeepCopyInto(out *HealthCheck)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HealthStatus

type HealthStatus string
const (
	HealthStatus_HEALTHY   HealthStatus = "HEALTHY"
	HealthStatus_UNHEALTHY HealthStatus = "UNHEALTHY"
	HealthStatus_UNKNOWN   HealthStatus = "UNKNOWN"
)

type HostEntry

type HostEntry struct {
	Hostname  *string `json:"hostname,omitempty"`
	IPAddress *string `json:"ipAddress,omitempty"`
}

Hostnames and IP address entries that are added to the /etc/hosts file of a container via the extraHosts parameter of its ContainerDefinition.

func (*HostEntry) DeepCopy

func (in *HostEntry) DeepCopy() *HostEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostEntry.

func (*HostEntry) DeepCopyInto

func (in *HostEntry) DeepCopyInto(out *HostEntry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HostVolumeProperties

type HostVolumeProperties struct {
	SourcePath *string `json:"sourcePath,omitempty"`
}

Details on a container instance bind mount host volume.

func (*HostVolumeProperties) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostVolumeProperties.

func (*HostVolumeProperties) DeepCopyInto

func (in *HostVolumeProperties) DeepCopyInto(out *HostVolumeProperties)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IPCMode

type IPCMode string
const (
	IPCMode_host IPCMode = "host"
	IPCMode_task IPCMode = "task"
	IPCMode_none IPCMode = "none"
)

type InferenceAccelerator

type InferenceAccelerator struct {
	DeviceName *string `json:"deviceName,omitempty"`
	DeviceType *string `json:"deviceType,omitempty"`
}

Details on an Elastic Inference accelerator. For more information, see Working with Amazon Elastic Inference on Amazon ECS (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html) in the Amazon Elastic Container Service Developer Guide.

func (*InferenceAccelerator) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceAccelerator.

func (*InferenceAccelerator) DeepCopyInto

func (in *InferenceAccelerator) DeepCopyInto(out *InferenceAccelerator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InferenceAcceleratorOverride

type InferenceAcceleratorOverride struct {
	DeviceName *string `json:"deviceName,omitempty"`
	DeviceType *string `json:"deviceType,omitempty"`
}

Details on an Elastic Inference accelerator task override. This parameter is used to override the Elastic Inference accelerator specified in the task definition. For more information, see Working with Amazon Elastic Inference on Amazon ECS (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html) in the Amazon Elastic Container Service Developer Guide.

func (*InferenceAcceleratorOverride) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InferenceAcceleratorOverride.

func (*InferenceAcceleratorOverride) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstanceHealthCheckResult added in v0.0.2

type InstanceHealthCheckResult struct {
	LastStatusChange *metav1.Time `json:"lastStatusChange,omitempty"`
	LastUpdated      *metav1.Time `json:"lastUpdated,omitempty"`
}

An object representing the result of a container instance health status check.

func (*InstanceHealthCheckResult) DeepCopy added in v0.0.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceHealthCheckResult.

func (*InstanceHealthCheckResult) DeepCopyInto added in v0.0.2

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InstanceHealthCheckState

type InstanceHealthCheckState string
const (
	InstanceHealthCheckState_OK                InstanceHealthCheckState = "OK"
	InstanceHealthCheckState_IMPAIRED          InstanceHealthCheckState = "IMPAIRED"
	InstanceHealthCheckState_INSUFFICIENT_DATA InstanceHealthCheckState = "INSUFFICIENT_DATA"
	InstanceHealthCheckState_INITIALIZING      InstanceHealthCheckState = "INITIALIZING"
)

type InstanceHealthCheckType

type InstanceHealthCheckType string
const (
	InstanceHealthCheckType_CONTAINER_RUNTIME InstanceHealthCheckType = "CONTAINER_RUNTIME"
)

type KernelCapabilities

type KernelCapabilities struct {
	Add  []*string `json:"add,omitempty"`
	Drop []*string `json:"drop,omitempty"`
}

The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker. For more information about the default capabilities and the non-default available capabilities, see Runtime privilege and Linux capabilities (https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities) in the Docker run reference. For more detailed information about these Linux capabilities, see the capabilities(7) (http://man7.org/linux/man-pages/man7/capabilities.7.html) Linux manual page.

func (*KernelCapabilities) DeepCopy

func (in *KernelCapabilities) DeepCopy() *KernelCapabilities

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KernelCapabilities.

func (*KernelCapabilities) DeepCopyInto

func (in *KernelCapabilities) DeepCopyInto(out *KernelCapabilities)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KeyValuePair

type KeyValuePair struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

A key-value pair object.

func (*KeyValuePair) DeepCopy

func (in *KeyValuePair) DeepCopy() *KeyValuePair

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyValuePair.

func (*KeyValuePair) DeepCopyInto

func (in *KeyValuePair) DeepCopyInto(out *KeyValuePair)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LaunchType

type LaunchType string
const (
	LaunchType_EC2      LaunchType = "EC2"
	LaunchType_FARGATE  LaunchType = "FARGATE"
	LaunchType_EXTERNAL LaunchType = "EXTERNAL"
)

type LinuxParameters added in v0.0.2

type LinuxParameters struct {
	// The Linux capabilities for the container that are added to or dropped from
	// the default configuration provided by Docker. For more information about
	// the default capabilities and the non-default available capabilities, see
	// Runtime privilege and Linux capabilities (https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities)
	// in the Docker run reference. For more detailed information about these Linux
	// capabilities, see the capabilities(7) (http://man7.org/linux/man-pages/man7/capabilities.7.html)
	// Linux manual page.
	Capabilities       *KernelCapabilities `json:"capabilities,omitempty"`
	Devices            []*Device           `json:"devices,omitempty"`
	InitProcessEnabled *bool               `json:"initProcessEnabled,omitempty"`
	MaxSwap            *int64              `json:"maxSwap,omitempty"`
	SharedMemorySize   *int64              `json:"sharedMemorySize,omitempty"`
	Swappiness         *int64              `json:"swappiness,omitempty"`
	Tmpfs              []*Tmpfs            `json:"tmpfs,omitempty"`
}

The Linux-specific options that are applied to the container, such as Linux KernelCapabilities (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html).

func (*LinuxParameters) DeepCopy added in v0.0.2

func (in *LinuxParameters) DeepCopy() *LinuxParameters

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxParameters.

func (*LinuxParameters) DeepCopyInto added in v0.0.2

func (in *LinuxParameters) DeepCopyInto(out *LinuxParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LoadBalancer

type LoadBalancer struct {
	ContainerName    *string `json:"containerName,omitempty"`
	ContainerPort    *int64  `json:"containerPort,omitempty"`
	LoadBalancerName *string `json:"loadBalancerName,omitempty"`
	TargetGroupARN   *string `json:"targetGroupARN,omitempty"`
}

The load balancer configuration to use with a service or task set.

When you add, update, or remove a load balancer configuration, Amazon ECS starts a new deployment with the updated Elastic Load Balancing configuration. This causes tasks to register to and deregister from load balancers.

We recommend that you verify this on a test environment before you update the Elastic Load Balancing configuration.

A service-linked role is required for services that use multiple target groups. For more information, see Using service-linked roles (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html) in the Amazon Elastic Container Service Developer Guide.

func (*LoadBalancer) DeepCopy

func (in *LoadBalancer) DeepCopy() *LoadBalancer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoadBalancer.

func (*LoadBalancer) DeepCopyInto

func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LogConfiguration added in v0.0.2

type LogConfiguration struct {
	LogDriver     *string            `json:"logDriver,omitempty"`
	Options       map[string]*string `json:"options,omitempty"`
	SecretOptions []*Secret          `json:"secretOptions,omitempty"`
}

The log configuration for the container. This parameter maps to LogConfig in the Create a container (https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the Docker Remote API (https://docs.docker.com/engine/api/v1.35/) and the --log-driver option to docker run (https://docs.docker.com/engine/reference/commandline/run/).

By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a different logging driver than the Docker daemon by specifying a log driver configuration in the container definition. For more information about the options for different supported log drivers, see Configure logging drivers (https://docs.docker.com/engine/admin/logging/overview/) in the Docker documentation.

Understand the following when specifying a log configuration for your containers.

  • Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon. Additional log drivers may be available in future releases of the Amazon ECS container agent. For tasks on Fargate, the supported log drivers are awslogs, splunk, and awsfirelens. For tasks hosted on Amazon EC2 instances, the supported log drivers are awslogs, fluentd, gelf, json-file, journald, logentries,syslog, splunk, and awsfirelens.

  • This parameter requires version 1.18 of the Docker Remote API or greater on your container instance.

  • For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container agent must register the available logging drivers with the ECS_AVAILABLE_LOGGING_DRIVERS environment variable before containers placed on that instance can use these log configuration options. For more information, see Amazon ECS container agent configuration (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the Amazon Elastic Container Service Developer Guide.

  • For tasks that are on Fargate, because you don't have access to the underlying infrastructure your tasks are hosted on, any additional software needed must be installed outside of the task. For example, the Fluentd output aggregators or a remote host running Logstash to send Gelf logs to.

func (*LogConfiguration) DeepCopy added in v0.0.2

func (in *LogConfiguration) DeepCopy() *LogConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogConfiguration.

func (*LogConfiguration) DeepCopyInto added in v0.0.2

func (in *LogConfiguration) DeepCopyInto(out *LogConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LogDriver

type LogDriver string
const (
	LogDriver_json_file   LogDriver = "json-file"
	LogDriver_syslog      LogDriver = "syslog"
	LogDriver_journald    LogDriver = "journald"
	LogDriver_gelf        LogDriver = "gelf"
	LogDriver_fluentd     LogDriver = "fluentd"
	LogDriver_awslogs     LogDriver = "awslogs"
	LogDriver_splunk      LogDriver = "splunk"
	LogDriver_awsfirelens LogDriver = "awsfirelens"
)

type ManagedAgent

type ManagedAgent struct {
	LastStartedAt *metav1.Time `json:"lastStartedAt,omitempty"`
	LastStatus    *string      `json:"lastStatus,omitempty"`
	Reason        *string      `json:"reason,omitempty"`
}

Details about the managed agent status for the container.

func (*ManagedAgent) DeepCopy

func (in *ManagedAgent) DeepCopy() *ManagedAgent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedAgent.

func (*ManagedAgent) DeepCopyInto

func (in *ManagedAgent) DeepCopyInto(out *ManagedAgent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedAgentName

type ManagedAgentName string
const (
	ManagedAgentName_ExecuteCommandAgent ManagedAgentName = "ExecuteCommandAgent"
)

type ManagedAgentStateChange

type ManagedAgentStateChange struct {
	ContainerName *string `json:"containerName,omitempty"`
	Reason        *string `json:"reason,omitempty"`
	Status        *string `json:"status,omitempty"`
}

An object representing a change in state for a managed agent.

func (*ManagedAgentStateChange) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedAgentStateChange.

func (*ManagedAgentStateChange) DeepCopyInto

func (in *ManagedAgentStateChange) DeepCopyInto(out *ManagedAgentStateChange)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedDraining

type ManagedDraining string
const (
	ManagedDraining_ENABLED  ManagedDraining = "ENABLED"
	ManagedDraining_DISABLED ManagedDraining = "DISABLED"
)

type ManagedScalingStatus

type ManagedScalingStatus string
const (
	ManagedScalingStatus_ENABLED  ManagedScalingStatus = "ENABLED"
	ManagedScalingStatus_DISABLED ManagedScalingStatus = "DISABLED"
)

type ManagedTerminationProtection

type ManagedTerminationProtection string
const (
	ManagedTerminationProtection_ENABLED  ManagedTerminationProtection = "ENABLED"
	ManagedTerminationProtection_DISABLED ManagedTerminationProtection = "DISABLED"
)

type MountPoint

type MountPoint struct {
	ContainerPath *string `json:"containerPath,omitempty"`
	ReadOnly      *bool   `json:"readOnly,omitempty"`
	SourceVolume  *string `json:"sourceVolume,omitempty"`
}

The details for a volume mount point that's used in a container definition.

func (*MountPoint) DeepCopy

func (in *MountPoint) DeepCopy() *MountPoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MountPoint.

func (*MountPoint) DeepCopyInto

func (in *MountPoint) DeepCopyInto(out *MountPoint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkBinding

type NetworkBinding struct {
	BindIP             *string `json:"bindIP,omitempty"`
	ContainerPort      *int64  `json:"containerPort,omitempty"`
	ContainerPortRange *string `json:"containerPortRange,omitempty"`
	HostPort           *int64  `json:"hostPort,omitempty"`
	HostPortRange      *string `json:"hostPortRange,omitempty"`
	Protocol           *string `json:"protocol,omitempty"`
}

Details on the network bindings between a container and its host container instance. After a task reaches the RUNNING status, manual and automatic host and container port assignments are visible in the networkBindings section of DescribeTasks API responses.

func (*NetworkBinding) DeepCopy

func (in *NetworkBinding) DeepCopy() *NetworkBinding

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkBinding.

func (*NetworkBinding) DeepCopyInto

func (in *NetworkBinding) DeepCopyInto(out *NetworkBinding)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkConfiguration added in v0.0.3

type NetworkConfiguration struct {
	// An object representing the networking details for a task or service. For
	// example awsvpcConfiguration={subnets=["subnet-12344321"],securityGroups=["sg-12344321"]}
	AWSVPCConfiguration *AWSVPCConfiguration `json:"awsVPCConfiguration,omitempty"`
}

The network configuration for a task or service.

func (*NetworkConfiguration) DeepCopy added in v0.0.3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConfiguration.

func (*NetworkConfiguration) DeepCopyInto added in v0.0.3

func (in *NetworkConfiguration) DeepCopyInto(out *NetworkConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkInterface

type NetworkInterface struct {
	AttachmentID       *string `json:"attachmentID,omitempty"`
	IPv6Address        *string `json:"ipv6Address,omitempty"`
	PrivateIPv4Address *string `json:"privateIPv4Address,omitempty"`
}

An object representing the elastic network interface for tasks that use the awsvpc network mode.

func (*NetworkInterface) DeepCopy

func (in *NetworkInterface) DeepCopy() *NetworkInterface

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkInterface.

func (*NetworkInterface) DeepCopyInto

func (in *NetworkInterface) DeepCopyInto(out *NetworkInterface)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkMode

type NetworkMode string
const (
	NetworkMode_bridge NetworkMode = "bridge"
	NetworkMode_host   NetworkMode = "host"
	NetworkMode_awsvpc NetworkMode = "awsvpc"
	NetworkMode_none   NetworkMode = "none"
)

type OSFamily

type OSFamily string
const (
	OSFamily_WINDOWS_SERVER_2019_FULL OSFamily = "WINDOWS_SERVER_2019_FULL"
	OSFamily_WINDOWS_SERVER_2019_CORE OSFamily = "WINDOWS_SERVER_2019_CORE"
	OSFamily_WINDOWS_SERVER_2016_FULL OSFamily = "WINDOWS_SERVER_2016_FULL"
	OSFamily_WINDOWS_SERVER_2004_CORE OSFamily = "WINDOWS_SERVER_2004_CORE"
	OSFamily_WINDOWS_SERVER_2022_CORE OSFamily = "WINDOWS_SERVER_2022_CORE"
	OSFamily_WINDOWS_SERVER_2022_FULL OSFamily = "WINDOWS_SERVER_2022_FULL"
	OSFamily_WINDOWS_SERVER_20H2_CORE OSFamily = "WINDOWS_SERVER_20H2_CORE"
	OSFamily_LINUX                    OSFamily = "LINUX"
)

type PIDMode

type PIDMode string
const (
	PIDMode_host PIDMode = "host"
	PIDMode_task PIDMode = "task"
)

type PlacementConstraint

type PlacementConstraint struct {
	Expression *string `json:"expression,omitempty"`
	Type       *string `json:"type,omitempty"`
}

An object representing a constraint on task placement. For more information, see Task placement constraints (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) in the Amazon Elastic Container Service Developer Guide.

If you're using the Fargate launch type, task placement constraints aren't supported.

func (*PlacementConstraint) DeepCopy

func (in *PlacementConstraint) DeepCopy() *PlacementConstraint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementConstraint.

func (*PlacementConstraint) DeepCopyInto

func (in *PlacementConstraint) DeepCopyInto(out *PlacementConstraint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PlacementConstraintType

type PlacementConstraintType string
const (
	PlacementConstraintType_distinctInstance PlacementConstraintType = "distinctInstance"
	PlacementConstraintType_memberOf         PlacementConstraintType = "memberOf"
)

type PlacementStrategy

type PlacementStrategy struct {
	Field *string `json:"field,omitempty"`
	Type  *string `json:"type,omitempty"`
}

The task placement strategy for a task or service. For more information, see Task placement strategies (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html) in the Amazon Elastic Container Service Developer Guide.

func (*PlacementStrategy) DeepCopy

func (in *PlacementStrategy) DeepCopy() *PlacementStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlacementStrategy.

func (*PlacementStrategy) DeepCopyInto

func (in *PlacementStrategy) DeepCopyInto(out *PlacementStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PlacementStrategyType

type PlacementStrategyType string
const (
	PlacementStrategyType_random  PlacementStrategyType = "random"
	PlacementStrategyType_spread  PlacementStrategyType = "spread"
	PlacementStrategyType_binpack PlacementStrategyType = "binpack"
)

type PlatformDevice

type PlatformDevice struct {
	ID *string `json:"id,omitempty"`
}

The devices that are available on the container instance. The only supported device type is a GPU.

func (*PlatformDevice) DeepCopy

func (in *PlatformDevice) DeepCopy() *PlatformDevice

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformDevice.

func (*PlatformDevice) DeepCopyInto

func (in *PlatformDevice) DeepCopyInto(out *PlatformDevice)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PlatformDeviceType

type PlatformDeviceType string
const (
	PlatformDeviceType_GPU PlatformDeviceType = "GPU"
)

type PortMapping

type PortMapping struct {
	AppProtocol        *string `json:"appProtocol,omitempty"`
	ContainerPort      *int64  `json:"containerPort,omitempty"`
	ContainerPortRange *string `json:"containerPortRange,omitempty"`
	HostPort           *int64  `json:"hostPort,omitempty"`
	Name               *string `json:"name,omitempty"`
	Protocol           *string `json:"protocol,omitempty"`
}

Port mappings allow containers to access ports on the host container instance to send or receive traffic. Port mappings are specified as part of the container definition.

If you use containers in a task with the awsvpc or host network mode, specify the exposed ports using containerPort. The hostPort can be left blank or it must be the same value as the containerPort.

Most fields of this parameter (containerPort, hostPort, protocol) maps to PortBindings in the Create a container (https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the Docker Remote API (https://docs.docker.com/engine/api/v1.35/) and the --publish option to docker run (https://docs.docker.com/engine/reference/commandline/run/). If the network mode of a task definition is set to host, host ports must either be undefined or match the container port in the port mapping.

You can't expose the same container port for multiple protocols. If you attempt this, an error is returned.

After a task reaches the RUNNING status, manual and automatic host and container port assignments are visible in the networkBindings section of DescribeTasks API responses.

func (*PortMapping) DeepCopy

func (in *PortMapping) DeepCopy() *PortMapping

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortMapping.

func (*PortMapping) DeepCopyInto

func (in *PortMapping) DeepCopyInto(out *PortMapping)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PropagateTags

type PropagateTags string
const (
	PropagateTags_TASK_DEFINITION PropagateTags = "TASK_DEFINITION"
	PropagateTags_SERVICE         PropagateTags = "SERVICE"
	PropagateTags_NONE            PropagateTags = "NONE"
)

type ProtectedTask

type ProtectedTask struct {
	ExpirationDate    *metav1.Time `json:"expirationDate,omitempty"`
	ProtectionEnabled *bool        `json:"protectionEnabled,omitempty"`
	TaskARN           *string      `json:"taskARN,omitempty"`
}

An object representing the protection status details for a task. You can set the protection status with the UpdateTaskProtection API and get the status of tasks with the GetTaskProtection API.

func (*ProtectedTask) DeepCopy

func (in *ProtectedTask) DeepCopy() *ProtectedTask

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectedTask.

func (*ProtectedTask) DeepCopyInto

func (in *ProtectedTask) DeepCopyInto(out *ProtectedTask)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProxyConfiguration

type ProxyConfiguration struct {
	ContainerName *string         `json:"containerName,omitempty"`
	Properties    []*KeyValuePair `json:"properties,omitempty"`
	Type          *string         `json:"type,omitempty"`
}

The configuration details for the App Mesh proxy.

For tasks that use the EC2 launch type, the container instances require at least version 1.26.0 of the container agent and at least version 1.26.0-1 of the ecs-init package to use a proxy configuration. If your container instances are launched from the Amazon ECS optimized AMI version 20190301 or later, then they contain the required versions of the container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html)

func (*ProxyConfiguration) DeepCopy

func (in *ProxyConfiguration) DeepCopy() *ProxyConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyConfiguration.

func (*ProxyConfiguration) DeepCopyInto

func (in *ProxyConfiguration) DeepCopyInto(out *ProxyConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProxyConfigurationType

type ProxyConfigurationType string
const (
	ProxyConfigurationType_APPMESH ProxyConfigurationType = "APPMESH"
)

type RepositoryCredentials

type RepositoryCredentials struct {
	CredentialsParameter *string `json:"credentialsParameter,omitempty"`
}

The repository credentials for private registry authentication.

func (*RepositoryCredentials) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryCredentials.

func (*RepositoryCredentials) DeepCopyInto

func (in *RepositoryCredentials) DeepCopyInto(out *RepositoryCredentials)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Resource

type Resource struct {
	DoubleValue    *float64  `json:"doubleValue,omitempty"`
	IntegerValue   *int64    `json:"integerValue,omitempty"`
	Name           *string   `json:"name,omitempty"`
	StringSetValue []*string `json:"stringSetValue,omitempty"`
	Type           *string   `json:"type_,omitempty"`
}

Describes the resources available for a container instance.

func (*Resource) DeepCopy

func (in *Resource) DeepCopy() *Resource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.

func (*Resource) DeepCopyInto

func (in *Resource) DeepCopyInto(out *Resource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceRequirement

type ResourceRequirement struct {
	Type  *string `json:"type,omitempty"`
	Value *string `json:"value,omitempty"`
}

The type and amount of a resource to assign to a container. The supported resource types are GPUs and Elastic Inference accelerators. For more information, see Working with GPUs on Amazon ECS (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-gpu.html) or Working with Amazon Elastic Inference on Amazon ECS (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-inference.html) in the Amazon Elastic Container Service Developer Guide

func (*ResourceRequirement) DeepCopy

func (in *ResourceRequirement) DeepCopy() *ResourceRequirement

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirement.

func (*ResourceRequirement) DeepCopyInto

func (in *ResourceRequirement) DeepCopyInto(out *ResourceRequirement)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceType

type ResourceType string
const (
	ResourceType_GPU                  ResourceType = "GPU"
	ResourceType_InferenceAccelerator ResourceType = "InferenceAccelerator"
)

type RuntimePlatform added in v0.0.2

type RuntimePlatform struct {
	CPUArchitecture       *string `json:"cpuArchitecture,omitempty"`
	OperatingSystemFamily *string `json:"operatingSystemFamily,omitempty"`
}

Information about the platform for the Amazon ECS service or task.

For more information about RuntimePlatform, see RuntimePlatform (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform) in the Amazon Elastic Container Service Developer Guide.

func (*RuntimePlatform) DeepCopy added in v0.0.2

func (in *RuntimePlatform) DeepCopy() *RuntimePlatform

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimePlatform.

func (*RuntimePlatform) DeepCopyInto added in v0.0.2

func (in *RuntimePlatform) DeepCopyInto(out *RuntimePlatform)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Scale added in v0.0.3

type Scale struct {
	Unit  *string  `json:"unit,omitempty"`
	Value *float64 `json:"value,omitempty"`
}

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

func (*Scale) DeepCopy added in v0.0.3

func (in *Scale) DeepCopy() *Scale

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scale.

func (*Scale) DeepCopyInto added in v0.0.3

func (in *Scale) DeepCopyInto(out *Scale)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ScaleUnit

type ScaleUnit string
const (
	ScaleUnit_PERCENT ScaleUnit = "PERCENT"
)

type SchedulingStrategy

type SchedulingStrategy string
const (
	SchedulingStrategy_REPLICA SchedulingStrategy = "REPLICA"
	SchedulingStrategy_DAEMON  SchedulingStrategy = "DAEMON"
)

type Scope

type Scope string
const (
	Scope_task   Scope = "task"
	Scope_shared Scope = "shared"
)

type Secret

type Secret struct {
	Name      *string `json:"name,omitempty"`
	ValueFrom *string `json:"valueFrom,omitempty"`
}

An object representing the secret to expose to your container. Secrets can be exposed to a container in the following ways:

  • To inject sensitive data into your containers as environment variables, use the secrets container definition parameter.

  • To reference sensitive information in the log configuration of a container, use the secretOptions container definition parameter.

For more information, see Specifying sensitive data (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) in the Amazon Elastic Container Service Developer Guide.

func (*Secret) DeepCopy

func (in *Secret) DeepCopy() *Secret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.

func (*Secret) DeepCopyInto

func (in *Secret) DeepCopyInto(out *Secret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Service

type Service struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ServiceSpec   `json:"spec,omitempty"`
	Status            ServiceStatus `json:"status,omitempty"`
}

Service is the Schema for the Services API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="CLUSTER",type=string,priority=0,JSONPath=`.spec.cluster` +kubebuilder:printcolumn:name="DESIRED",type=integer,priority=0,JSONPath=`.spec.desiredCount` +kubebuilder:printcolumn:name="PENDING",type=integer,priority=0,JSONPath=`.status.pendingCount` +kubebuilder:printcolumn:name="RUNNING",type=integer,priority=0,JSONPath=`.status.runningCount` +kubebuilder:printcolumn:name="SERVICE",type=string,priority=0,JSONPath=`.spec.name` +kubebuilder:printcolumn:name="STATUS",type=string,priority=0,JSONPath=`.status.status` +kubebuilder:printcolumn:name="TASKDEFINITION",type=string,priority=0,JSONPath=`.spec.taskDefinition`

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Service) DeepCopyObject added in v0.0.3

func (in *Service) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServiceConnecTTLSCertificateAuthority

type ServiceConnecTTLSCertificateAuthority struct {
	AWSPCAAuthorityARN *string `json:"awsPCAAuthorityARN,omitempty"`
}

An object that represents the Amazon Web Services Private Certificate Authority certificate.

func (*ServiceConnecTTLSCertificateAuthority) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceConnecTTLSCertificateAuthority.

func (*ServiceConnecTTLSCertificateAuthority) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceConnecTTLSConfiguration

type ServiceConnecTTLSConfiguration struct {
	// An object that represents the Amazon Web Services Private Certificate Authority
	// certificate.
	IssuerCertificateAuthority *ServiceConnecTTLSCertificateAuthority `json:"issuerCertificateAuthority,omitempty"`
	KMSKey                     *string                                `json:"kmsKey,omitempty"`
	RoleARN                    *string                                `json:"roleARN,omitempty"`
}

An object that represents the configuration for Service Connect TLS.

func (*ServiceConnecTTLSConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceConnecTTLSConfiguration.

func (*ServiceConnecTTLSConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceConnectClientAlias

type ServiceConnectClientAlias struct {
	DNSName *string `json:"dnsName,omitempty"`
	Port    *int64  `json:"port,omitempty"`
}

Each alias ("endpoint") is a fully-qualified name and port number that other tasks ("clients") can use to connect to this service.

Each name and port mapping must be unique within the namespace.

Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the Amazon Elastic Container Service Developer Guide.

func (*ServiceConnectClientAlias) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceConnectClientAlias.

func (*ServiceConnectClientAlias) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceConnectConfiguration

type ServiceConnectConfiguration struct {
	Enabled *bool `json:"enabled,omitempty"`
	// The log configuration for the container. This parameter maps to LogConfig
	// in the Create a container (https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate)
	// section of the Docker Remote API (https://docs.docker.com/engine/api/v1.35/)
	// and the --log-driver option to docker run (https://docs.docker.com/engine/reference/commandline/run/).
	//
	// By default, containers use the same logging driver that the Docker daemon
	// uses. However, the container might use a different logging driver than the
	// Docker daemon by specifying a log driver configuration in the container definition.
	// For more information about the options for different supported log drivers,
	// see Configure logging drivers (https://docs.docker.com/engine/admin/logging/overview/)
	// in the Docker documentation.
	//
	// Understand the following when specifying a log configuration for your containers.
	//
	//    * Amazon ECS currently supports a subset of the logging drivers available
	//    to the Docker daemon. Additional log drivers may be available in future
	//    releases of the Amazon ECS container agent. For tasks on Fargate, the
	//    supported log drivers are awslogs, splunk, and awsfirelens. For tasks
	//    hosted on Amazon EC2 instances, the supported log drivers are awslogs,
	//    fluentd, gelf, json-file, journald, logentries,syslog, splunk, and awsfirelens.
	//
	//    * This parameter requires version 1.18 of the Docker Remote API or greater
	//    on your container instance.
	//
	//    * For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container
	//    agent must register the available logging drivers with the ECS_AVAILABLE_LOGGING_DRIVERS
	//    environment variable before containers placed on that instance can use
	//    these log configuration options. For more information, see Amazon ECS
	//    container agent configuration (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html)
	//    in the Amazon Elastic Container Service Developer Guide.
	//
	//    * For tasks that are on Fargate, because you don't have access to the
	//    underlying infrastructure your tasks are hosted on, any additional software
	//    needed must be installed outside of the task. For example, the Fluentd
	//    output aggregators or a remote host running Logstash to send Gelf logs
	//    to.
	LogConfiguration *LogConfiguration        `json:"logConfiguration,omitempty"`
	Namespace        *string                  `json:"namespace,omitempty"`
	Services         []*ServiceConnectService `json:"services,omitempty"`
}

The Service Connect configuration of your Amazon ECS service. The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.

Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the Amazon Elastic Container Service Developer Guide.

func (*ServiceConnectConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceConnectConfiguration.

func (*ServiceConnectConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceConnectService

type ServiceConnectService struct {
	ClientAliases       []*ServiceConnectClientAlias `json:"clientAliases,omitempty"`
	DiscoveryName       *string                      `json:"discoveryName,omitempty"`
	IngressPortOverride *int64                       `json:"ingressPortOverride,omitempty"`
	PortName            *string                      `json:"portName,omitempty"`
	// An object that represents the timeout configurations for Service Connect.
	//
	// If idleTimeout is set to a time that is less than perRequestTimeout, the
	// connection will close when the idleTimeout is reached and not the perRequestTimeout.
	Timeout *TimeoutConfiguration `json:"timeout,omitempty"`
	// An object that represents the configuration for Service Connect TLS.
	TLS *ServiceConnecTTLSConfiguration `json:"tls,omitempty"`
}

The Service Connect service object configuration. For more information, see Service Connect (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html) in the Amazon Elastic Container Service Developer Guide.

func (*ServiceConnectService) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceConnectService.

func (*ServiceConnectService) DeepCopyInto

func (in *ServiceConnectService) DeepCopyInto(out *ServiceConnectService)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceConnectServiceResource

type ServiceConnectServiceResource struct {
	DiscoveryARN  *string `json:"discoveryARN,omitempty"`
	DiscoveryName *string `json:"discoveryName,omitempty"`
}

The Service Connect resource. Each configuration maps a discovery name to a Cloud Map service name. The data is stored in Cloud Map as part of the Service Connect configuration for each discovery name of this Amazon ECS service.

A task can resolve the dnsName for each of the clientAliases of a service. However a task can't resolve the discovery names. If you want to connect to a service, refer to the ServiceConnectConfiguration of that service for the list of clientAliases that you can use.

func (*ServiceConnectServiceResource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceConnectServiceResource.

func (*ServiceConnectServiceResource) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceEvent

type ServiceEvent struct {
	CreatedAt *metav1.Time `json:"createdAt,omitempty"`
	ID        *string      `json:"id,omitempty"`
	Message   *string      `json:"message,omitempty"`
}

The details for an event that's associated with a service.

func (*ServiceEvent) DeepCopy

func (in *ServiceEvent) DeepCopy() *ServiceEvent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceEvent.

func (*ServiceEvent) DeepCopyInto

func (in *ServiceEvent) DeepCopyInto(out *ServiceEvent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceField

type ServiceField string
const (
	ServiceField_TAGS ServiceField = "TAGS"
)

type ServiceList added in v0.0.3

type ServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Service `json:"items"`
}

ServiceList contains a list of Service +kubebuilder:object:root=true

func (*ServiceList) DeepCopy added in v0.0.3

func (in *ServiceList) DeepCopy() *ServiceList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList.

func (*ServiceList) DeepCopyInto added in v0.0.3

func (in *ServiceList) DeepCopyInto(out *ServiceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ServiceList) DeepCopyObject added in v0.0.3

func (in *ServiceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ServiceManagedEBSVolumeConfiguration added in v0.0.2

type ServiceManagedEBSVolumeConfiguration struct {
	Encrypted         *bool                  `json:"encrypted,omitempty"`
	FilesystemType    *string                `json:"filesystemType,omitempty"`
	IOPS              *int64                 `json:"iops,omitempty"`
	KMSKeyID          *string                `json:"kmsKeyID,omitempty"`
	RoleARN           *string                `json:"roleARN,omitempty"`
	SizeInGiB         *int64                 `json:"sizeInGiB,omitempty"`
	SnapshotID        *string                `json:"snapshotID,omitempty"`
	TagSpecifications []*EBSTagSpecification `json:"tagSpecifications,omitempty"`
	Throughput        *int64                 `json:"throughput,omitempty"`
	VolumeType        *string                `json:"volumeType,omitempty"`
}

The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task in the service.

Many of these parameters map 1:1 with the Amazon EBS CreateVolume API request parameters.

func (*ServiceManagedEBSVolumeConfiguration) DeepCopy added in v0.0.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceManagedEBSVolumeConfiguration.

func (*ServiceManagedEBSVolumeConfiguration) DeepCopyInto added in v0.0.2

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceRegistry

type ServiceRegistry struct {
	ContainerName *string `json:"containerName,omitempty"`
	ContainerPort *int64  `json:"containerPort,omitempty"`
	Port          *int64  `json:"port,omitempty"`
	RegistryARN   *string `json:"registryARN,omitempty"`
}

The details for the service registry.

Each service may be associated with one service registry. Multiple service registries for each service are not supported.

When you add, update, or remove the service registries configuration, Amazon ECS starts a new deployment. New tasks are registered and deregistered to the updated service registry configuration.

func (*ServiceRegistry) DeepCopy

func (in *ServiceRegistry) DeepCopy() *ServiceRegistry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceRegistry.

func (*ServiceRegistry) DeepCopyInto

func (in *ServiceRegistry) DeepCopyInto(out *ServiceRegistry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceSpec added in v0.0.3

type ServiceSpec struct {

	// The capacity provider strategy to use for the service.
	//
	// If a capacityProviderStrategy is specified, the launchType parameter must
	// be omitted. If no capacityProviderStrategy or launchType is specified, the
	// defaultCapacityProviderStrategy for the cluster is used.
	//
	// A capacity provider strategy may contain a maximum of 6 capacity providers.
	CapacityProviderStrategy []*CapacityProviderStrategyItem `json:"capacityProviderStrategy,omitempty"`
	// The short name or full Amazon Resource Name (ARN) of the cluster that you
	// run your service on. If you do not specify a cluster, the default cluster
	// is assumed.
	Cluster    *string                                  `json:"cluster,omitempty"`
	ClusterRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"clusterRef,omitempty"`
	// Optional deployment parameters that control how many tasks run during the
	// deployment and the ordering of stopping and starting tasks.
	DeploymentConfiguration *DeploymentConfiguration `json:"deploymentConfiguration,omitempty"`
	// The deployment controller to use for the service. If no deployment controller
	// is specified, the default value of ECS is used.
	DeploymentController *DeploymentController `json:"deploymentController,omitempty"`
	// The number of instantiations of the specified task definition to place and
	// keep running in your service.
	//
	// This is required if schedulingStrategy is REPLICA or isn't specified. If
	// schedulingStrategy is DAEMON then this isn't required.
	DesiredCount *int64 `json:"desiredCount,omitempty"`
	// Specifies whether to turn on Amazon ECS managed tags for the tasks within
	// the service. For more information, see Tagging your Amazon ECS resources
	// (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// When you use Amazon ECS managed tags, you need to set the propagateTags request
	// parameter.
	EnableECSManagedTags *bool `json:"enableECSManagedTags,omitempty"`
	// Determines whether the execute command functionality is turned on for the
	// service. If true, this enables execute command functionality on all containers
	// in the service tasks.
	EnableExecuteCommand *bool `json:"enableExecuteCommand,omitempty"`
	// The period of time, in seconds, that the Amazon ECS service scheduler ignores
	// unhealthy Elastic Load Balancing target health checks after a task has first
	// started. This is only used when your service is configured to use a load
	// balancer. If your service has a load balancer defined and you don't specify
	// a health check grace period value, the default value of 0 is used.
	//
	// If you do not use an Elastic Load Balancing, we recommend that you use the
	// startPeriod in the task definition health check parameters. For more information,
	// see Health check (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html).
	//
	// If your service's tasks take a while to start and respond to Elastic Load
	// Balancing health checks, you can specify a health check grace period of up
	// to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS
	// service scheduler ignores health check status. This grace period can prevent
	// the service scheduler from marking tasks as unhealthy and stopping them before
	// they have time to come up.
	HealthCheckGracePeriodSeconds *int64 `json:"healthCheckGracePeriodSeconds,omitempty"`
	// The infrastructure that you run your service on. For more information, see
	// Amazon ECS launch types (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// The FARGATE launch type runs your tasks on Fargate On-Demand infrastructure.
	//
	// Fargate Spot infrastructure is available for use but a capacity provider
	// strategy must be used. For more information, see Fargate capacity providers
	// (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html)
	// in the Amazon ECS User Guide for Fargate.
	//
	// The EC2 launch type runs your tasks on Amazon EC2 instances registered to
	// your cluster.
	//
	// The EXTERNAL launch type runs your tasks on your on-premises server or virtual
	// machine (VM) capacity registered to your cluster.
	//
	// A service can use either a launch type or a capacity provider strategy. If
	// a launchType is specified, the capacityProviderStrategy parameter must be
	// omitted.
	LaunchType *string `json:"launchType,omitempty"`
	// A load balancer object representing the load balancers to use with your service.
	// For more information, see Service load balancing (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// If the service uses the rolling update (ECS) deployment controller and using
	// either an Application Load Balancer or Network Load Balancer, you must specify
	// one or more target group ARNs to attach to the service. The service-linked
	// role is required for services that use multiple target groups. For more information,
	// see Using service-linked roles for Amazon ECS (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// If the service uses the CODE_DEPLOY deployment controller, the service is
	// required to use either an Application Load Balancer or Network Load Balancer.
	// When creating an CodeDeploy deployment group, you specify two target groups
	// (referred to as a targetGroupPair). During a deployment, CodeDeploy determines
	// which task set in your service has the status PRIMARY, and it associates
	// one target group with it. Then, it also associates the other target group
	// with the replacement task set. The load balancer can also have up to two
	// listeners: a required listener for production traffic and an optional listener
	// that you can use to perform validation tests with Lambda functions before
	// routing production traffic to it.
	//
	// If you use the CODE_DEPLOY deployment controller, these values can be changed
	// when updating the service.
	//
	// For Application Load Balancers and Network Load Balancers, this object must
	// contain the load balancer target group ARN, the container name, and the container
	// port to access from the load balancer. The container name must be as it appears
	// in a container definition. The load balancer name parameter must be omitted.
	// When a task from this service is placed on a container instance, the container
	// instance and port combination is registered as a target in the target group
	// that's specified here.
	//
	// For Classic Load Balancers, this object must contain the load balancer name,
	// the container name , and the container port to access from the load balancer.
	// The container name must be as it appears in a container definition. The target
	// group ARN parameter must be omitted. When a task from this service is placed
	// on a container instance, the container instance is registered with the load
	// balancer that's specified here.
	//
	// Services with tasks that use the awsvpc network mode (for example, those
	// with the Fargate launch type) only support Application Load Balancers and
	// Network Load Balancers. Classic Load Balancers aren't supported. Also, when
	// you create any target groups for these services, you must choose ip as the
	// target type, not instance. This is because tasks that use the awsvpc network
	// mode are associated with an elastic network interface, not an Amazon EC2
	// instance.
	LoadBalancers []*LoadBalancer `json:"loadBalancers,omitempty"`
	// The name of your service. Up to 255 letters (uppercase and lowercase), numbers,
	// underscores, and hyphens are allowed. Service names must be unique within
	// a cluster, but you can have similarly named services in multiple clusters
	// within a Region or across multiple Regions.
	// +kubebuilder:validation:Required
	Name *string `json:"name"`
	// The network configuration for the service. This parameter is required for
	// task definitions that use the awsvpc network mode to receive their own elastic
	// network interface, and it isn't supported for other network modes. For more
	// information, see Task networking (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)
	// in the Amazon Elastic Container Service Developer Guide.
	NetworkConfiguration *NetworkConfiguration `json:"networkConfiguration,omitempty"`
	// An array of placement constraint objects to use for tasks in your service.
	// You can specify a maximum of 10 constraints for each task. This limit includes
	// constraints in the task definition and those specified at runtime.
	PlacementConstraints []*PlacementConstraint `json:"placementConstraints,omitempty"`
	// The placement strategy objects to use for tasks in your service. You can
	// specify a maximum of 5 strategy rules for each service.
	PlacementStrategy []*PlacementStrategy `json:"placementStrategy,omitempty"`
	// The platform version that your tasks in the service are running on. A platform
	// version is specified only for tasks using the Fargate launch type. If one
	// isn't specified, the LATEST platform version is used. For more information,
	// see Fargate platform versions (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html)
	// in the Amazon Elastic Container Service Developer Guide.
	PlatformVersion *string `json:"platformVersion,omitempty"`
	// Specifies whether to propagate the tags from the task definition to the task.
	// If no value is specified, the tags aren't propagated. Tags can only be propagated
	// to the task during task creation. To add tags to a task after task creation,
	// use the TagResource (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html)
	// API action.
	//
	// The default is NONE.
	PropagateTags *string `json:"propagateTags,omitempty"`
	// The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon
	// ECS to make calls to your load balancer on your behalf. This parameter is
	// only permitted if you are using a load balancer with your service and your
	// task definition doesn't use the awsvpc network mode. If you specify the role
	// parameter, you must also specify a load balancer object with the loadBalancers
	// parameter.
	//
	// If your account has already created the Amazon ECS service-linked role, that
	// role is used for your service unless you specify a role here. The service-linked
	// role is required if your task definition uses the awsvpc network mode or
	// if the service is configured to use service discovery, an external deployment
	// controller, multiple target groups, or Elastic Inference accelerators in
	// which case you don't specify a role here. For more information, see Using
	// service-linked roles for Amazon ECS (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// If your specified role has a path other than /, then you must either specify
	// the full role ARN (this is recommended) or prefix the role name with the
	// path. For example, if a role with the name bar has a path of /foo/ then you
	// would specify /foo/bar as the role name. For more information, see Friendly
	// names and paths (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names)
	// in the IAM User Guide.
	Role    *string                                  `json:"role,omitempty"`
	RoleRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"roleRef,omitempty"`
	// The scheduling strategy to use for the service. For more information, see
	// Services (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html).
	//
	// There are two service scheduler strategies available:
	//
	//   - REPLICA-The replica scheduling strategy places and maintains the desired
	//     number of tasks across your cluster. By default, the service scheduler
	//     spreads tasks across Availability Zones. You can use task placement strategies
	//     and constraints to customize task placement decisions. This scheduler
	//     strategy is required if the service uses the CODE_DEPLOY or EXTERNAL deployment
	//     controller types.
	//
	//   - DAEMON-The daemon scheduling strategy deploys exactly one task on each
	//     active container instance that meets all of the task placement constraints
	//     that you specify in your cluster. The service scheduler also evaluates
	//     the task placement constraints for running tasks and will stop tasks that
	//     don't meet the placement constraints. When you're using this strategy,
	//     you don't need to specify a desired number of tasks, a task placement
	//     strategy, or use Service Auto Scaling policies. Tasks using the Fargate
	//     launch type or the CODE_DEPLOY or EXTERNAL deployment controller types
	//     don't support the DAEMON scheduling strategy.
	SchedulingStrategy *string `json:"schedulingStrategy,omitempty"`
	// The configuration for this service to discover and connect to services, and
	// be discovered by, and connected from, other services within a namespace.
	//
	// Tasks that run in a namespace can use short names to connect to services
	// in the namespace. Tasks can connect to services across all of the clusters
	// in the namespace. Tasks connect through a managed proxy container that collects
	// logs and metrics for increased visibility. Only the tasks that Amazon ECS
	// services create are supported with Service Connect. For more information,
	// see Service Connect (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html)
	// in the Amazon Elastic Container Service Developer Guide.
	ServiceConnectConfiguration *ServiceConnectConfiguration `json:"serviceConnectConfiguration,omitempty"`
	// The details of the service discovery registry to associate with this service.
	// For more information, see Service discovery (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html).
	//
	// Each service may be associated with one service registry. Multiple service
	// registries for each service isn't supported.
	ServiceRegistries []*ServiceRegistry `json:"serviceRegistries,omitempty"`
	// The metadata that you apply to the service to help you categorize and organize
	// them. Each tag consists of a key and an optional value, both of which you
	// define. When a service is deleted, the tags are deleted as well.
	//
	// The following basic restrictions apply to tags:
	//
	//   - Maximum number of tags per resource - 50
	//
	//   - For each resource, each tag key must be unique, and each tag key can
	//     have only one value.
	//
	//   - Maximum key length - 128 Unicode characters in UTF-8
	//
	//   - Maximum value length - 256 Unicode characters in UTF-8
	//
	//   - If your tagging schema is used across multiple services and resources,
	//     remember that other services may have restrictions on allowed characters.
	//     Generally allowed characters are: letters, numbers, and spaces representable
	//     in UTF-8, and the following characters: + - = . _ : / @.
	//
	//   - Tag keys and values are case-sensitive.
	//
	//   - Do not use aws:, AWS:, or any upper or lowercase combination of such
	//     as a prefix for either keys or values as it is reserved for Amazon Web
	//     Services use. You cannot edit or delete tag keys or values with this prefix.
	//     Tags with this prefix do not count against your tags per resource limit.
	Tags []*Tag `json:"tags,omitempty"`
	// The family and revision (family:revision) or full ARN of the task definition
	// to run in your service. If a revision isn't specified, the latest ACTIVE
	// revision is used.
	//
	// A task definition must be specified if the service uses either the ECS or
	// CODE_DEPLOY deployment controllers.
	//
	// For more information about deployment types, see Amazon ECS deployment types
	// (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html).
	TaskDefinition    *string                                  `json:"taskDefinition,omitempty"`
	TaskDefinitionRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"taskDefinitionRef,omitempty"`
	// The configuration for a volume specified in the task definition as a volume
	// that is configured at launch time. Currently, the only supported volume type
	// is an Amazon EBS volume.
	VolumeConfigurations []*ServiceVolumeConfiguration `json:"volumeConfigurations,omitempty"`
}

ServiceSpec defines the desired state of Service.

Details on a service within a cluster.

func (*ServiceSpec) DeepCopy added in v0.0.3

func (in *ServiceSpec) DeepCopy() *ServiceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.

func (*ServiceSpec) DeepCopyInto added in v0.0.3

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceStatus added in v0.0.3

type ServiceStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// The Amazon Resource Name (ARN) of the cluster that hosts the service.
	// +kubebuilder:validation:Optional
	ClusterARN *string `json:"clusterARN,omitempty"`
	// The Unix timestamp for the time when the service was created.
	// +kubebuilder:validation:Optional
	CreatedAt *metav1.Time `json:"createdAt,omitempty"`
	// The principal that created the service.
	// +kubebuilder:validation:Optional
	CreatedBy *string `json:"createdBy,omitempty"`
	// The current state of deployments for the service.
	// +kubebuilder:validation:Optional
	Deployments []*Deployment `json:"deployments,omitempty"`
	// The event stream for your service. A maximum of 100 of the latest events
	// are displayed.
	// +kubebuilder:validation:Optional
	Events []*ServiceEvent `json:"events,omitempty"`
	// The number of tasks in the cluster that are in the PENDING state.
	// +kubebuilder:validation:Optional
	PendingCount *int64 `json:"pendingCount,omitempty"`
	// The operating system that your tasks in the service run on. A platform family
	// is specified only for tasks using the Fargate launch type.
	//
	// All tasks that run as part of this service must use the same platformFamily
	// value as the service (for example, LINUX).
	// +kubebuilder:validation:Optional
	PlatformFamily *string `json:"platformFamily,omitempty"`
	// The ARN of the IAM role that's associated with the service. It allows the
	// Amazon ECS container agent to register container instances with an Elastic
	// Load Balancing load balancer.
	// +kubebuilder:validation:Optional
	RoleARN *string `json:"roleARN,omitempty"`
	// The number of tasks in the cluster that are in the RUNNING state.
	// +kubebuilder:validation:Optional
	RunningCount *int64 `json:"runningCount,omitempty"`
	// The status of the service. The valid values are ACTIVE, DRAINING, or INACTIVE.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty"`
	// Information about a set of Amazon ECS tasks in either an CodeDeploy or an
	// EXTERNAL deployment. An Amazon ECS task set includes details such as the
	// desired number of tasks, how many tasks are running, and whether the task
	// set serves production traffic.
	// +kubebuilder:validation:Optional
	TaskSets []*TaskSet `json:"taskSets,omitempty"`
}

ServiceStatus defines the observed state of Service

func (*ServiceStatus) DeepCopy added in v0.0.3

func (in *ServiceStatus) DeepCopy() *ServiceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.

func (*ServiceStatus) DeepCopyInto added in v0.0.3

func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServiceVolumeConfiguration added in v0.0.3

type ServiceVolumeConfiguration struct {
	// The configuration for the Amazon EBS volume that Amazon ECS creates and manages
	// on your behalf. These settings are used to create each Amazon EBS volume,
	// with one volume created for each task in the service.
	//
	// Many of these parameters map 1:1 with the Amazon EBS CreateVolume API request
	// parameters.
	ManagedEBSVolume *ServiceManagedEBSVolumeConfiguration `json:"managedEBSVolume,omitempty"`
	Name             *string                               `json:"name,omitempty"`
}

The configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume.

func (*ServiceVolumeConfiguration) DeepCopy added in v0.0.3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceVolumeConfiguration.

func (*ServiceVolumeConfiguration) DeepCopyInto added in v0.0.3

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Service_SDK added in v0.0.3

type Service_SDK struct {
	CapacityProviderStrategy []*CapacityProviderStrategyItem `json:"capacityProviderStrategy,omitempty"`
	ClusterARN               *string                         `json:"clusterARN,omitempty"`
	CreatedAt                *metav1.Time                    `json:"createdAt,omitempty"`
	CreatedBy                *string                         `json:"createdBy,omitempty"`
	// Optional deployment parameters that control how many tasks run during a deployment
	// and the ordering of stopping and starting tasks.
	DeploymentConfiguration *DeploymentConfiguration `json:"deploymentConfiguration,omitempty"`
	// The deployment controller to use for the service. For more information, see
	// Amazon ECS deployment types (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html)
	// in the Amazon Elastic Container Service Developer Guide.
	DeploymentController          *DeploymentController `json:"deploymentController,omitempty"`
	Deployments                   []*Deployment         `json:"deployments,omitempty"`
	DesiredCount                  *int64                `json:"desiredCount,omitempty"`
	EnableECSManagedTags          *bool                 `json:"enableECSManagedTags,omitempty"`
	EnableExecuteCommand          *bool                 `json:"enableExecuteCommand,omitempty"`
	Events                        []*ServiceEvent       `json:"events,omitempty"`
	HealthCheckGracePeriodSeconds *int64                `json:"healthCheckGracePeriodSeconds,omitempty"`
	LaunchType                    *string               `json:"launchType,omitempty"`
	LoadBalancers                 []*LoadBalancer       `json:"loadBalancers,omitempty"`
	// The network configuration for a task or service.
	NetworkConfiguration *NetworkConfiguration  `json:"networkConfiguration,omitempty"`
	PendingCount         *int64                 `json:"pendingCount,omitempty"`
	PlacementConstraints []*PlacementConstraint `json:"placementConstraints,omitempty"`
	PlacementStrategy    []*PlacementStrategy   `json:"placementStrategy,omitempty"`
	PlatformFamily       *string                `json:"platformFamily,omitempty"`
	PlatformVersion      *string                `json:"platformVersion,omitempty"`
	PropagateTags        *string                `json:"propagateTags,omitempty"`
	RoleARN              *string                `json:"roleARN,omitempty"`
	RunningCount         *int64                 `json:"runningCount,omitempty"`
	SchedulingStrategy   *string                `json:"schedulingStrategy,omitempty"`
	ServiceARN           *string                `json:"serviceARN,omitempty"`
	ServiceName          *string                `json:"serviceName,omitempty"`
	ServiceRegistries    []*ServiceRegistry     `json:"serviceRegistries,omitempty"`
	Status               *string                `json:"status,omitempty"`
	Tags                 []*Tag                 `json:"tags,omitempty"`
	TaskDefinition       *string                `json:"taskDefinition,omitempty"`
	TaskSets             []*TaskSet             `json:"taskSets,omitempty"`
}

Details on a service within a cluster.

func (*Service_SDK) DeepCopy added in v0.0.3

func (in *Service_SDK) DeepCopy() *Service_SDK

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service_SDK.

func (*Service_SDK) DeepCopyInto added in v0.0.3

func (in *Service_SDK) DeepCopyInto(out *Service_SDK)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Session

type Session struct {
	SessionID *string `json:"sessionID,omitempty"`
	StreamURL *string `json:"streamURL,omitempty"`
}

The details for the execute command session.

func (*Session) DeepCopy

func (in *Session) DeepCopy() *Session

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Session.

func (*Session) DeepCopyInto

func (in *Session) DeepCopyInto(out *Session)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Setting

type Setting struct {
	PrincipalARN *string `json:"principalARN,omitempty"`
	Value        *string `json:"value,omitempty"`
}

The current account setting for a resource.

func (*Setting) DeepCopy

func (in *Setting) DeepCopy() *Setting

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Setting.

func (*Setting) DeepCopyInto

func (in *Setting) DeepCopyInto(out *Setting)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SettingName

type SettingName string
const (
	SettingName_serviceLongArnFormat            SettingName = "serviceLongArnFormat"
	SettingName_taskLongArnFormat               SettingName = "taskLongArnFormat"
	SettingName_containerInstanceLongArnFormat  SettingName = "containerInstanceLongArnFormat"
	SettingName_awsvpcTrunking                  SettingName = "awsvpcTrunking"
	SettingName_containerInsights               SettingName = "containerInsights"
	SettingName_fargateFIPSMode                 SettingName = "fargateFIPSMode"
	SettingName_tagResourceAuthorization        SettingName = "tagResourceAuthorization"
	SettingName_fargateTaskRetirementWaitPeriod SettingName = "fargateTaskRetirementWaitPeriod"
	SettingName_guardDutyActivate               SettingName = "guardDutyActivate"
)

type SettingType

type SettingType string
const (
	SettingType_user        SettingType = "user"
	SettingType_aws_managed SettingType = "aws_managed"
)

type SortOrder

type SortOrder string
const (
	SortOrder_ASC  SortOrder = "ASC"
	SortOrder_DESC SortOrder = "DESC"
)

type StabilityStatus

type StabilityStatus string
const (
	StabilityStatus_STEADY_STATE StabilityStatus = "STEADY_STATE"
	StabilityStatus_STABILIZING  StabilityStatus = "STABILIZING"
)

type SystemControl

type SystemControl struct {
	Namespace *string `json:"namespace,omitempty"`
	Value     *string `json:"value,omitempty"`
}

A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls in the Create a container (https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate) section of the Docker Remote API (https://docs.docker.com/engine/api/v1.35/) and the --sysctl option to docker run (https://docs.docker.com/engine/reference/run/#security-configuration). For example, you can configure net.ipv4.tcp_keepalive_time setting to maintain longer lived connections.

We don't recommend that you specify network-related systemControls parameters for multiple containers in a single task that also uses either the awsvpc or host network mode. Doing this has the following disadvantages:

  • For tasks that use the awsvpc network mode including Fargate, if you set systemControls for any container, it applies to all containers in the task. If you set different systemControls for multiple containers in a single task, the container that's started last determines which systemControls take effect.

  • For tasks that use the host network mode, the network namespace systemControls aren't supported.

If you're setting an IPC resource namespace to use for the containers in the task, the following conditions apply to your system controls. For more information, see IPC mode (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_ipcmode).

  • For tasks that use the host IPC mode, IPC namespace systemControls aren't supported.

  • For tasks that use the task IPC mode, IPC namespace systemControls values apply to all containers within a task.

This parameter is not supported for Windows containers.

This parameter is only supported for tasks that are hosted on Fargate if the tasks are using platform version 1.4.0 or later (Linux). This isn't supported for Windows containers on Fargate.

func (*SystemControl) DeepCopy

func (in *SystemControl) DeepCopy() *SystemControl

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemControl.

func (*SystemControl) DeepCopyInto

func (in *SystemControl) DeepCopyInto(out *SystemControl)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Tag

type Tag struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define them.

The following basic restrictions apply to tags:

  • Maximum number of tags per resource - 50

  • For each resource, each tag key must be unique, and each tag key can have only one value.

  • Maximum key length - 128 Unicode characters in UTF-8

  • Maximum value length - 256 Unicode characters in UTF-8

  • If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.

  • Tag keys and values are case-sensitive.

  • Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.

func (*Tag) DeepCopy

func (in *Tag) DeepCopy() *Tag

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tag.

func (*Tag) DeepCopyInto

func (in *Tag) DeepCopyInto(out *Tag)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TargetType

type TargetType string
const (
	TargetType_container_instance TargetType = "container-instance"
)

type Task

type Task struct {
	Attachments          []*Attachment `json:"attachments,omitempty"`
	AvailabilityZone     *string       `json:"availabilityZone,omitempty"`
	CapacityProviderName *string       `json:"capacityProviderName,omitempty"`
	ClusterARN           *string       `json:"clusterARN,omitempty"`
	ConnectivityAt       *metav1.Time  `json:"connectivityAt,omitempty"`
	ContainerInstanceARN *string       `json:"containerInstanceARN,omitempty"`
	CPU                  *string       `json:"cpu,omitempty"`
	CreatedAt            *metav1.Time  `json:"createdAt,omitempty"`
	DesiredStatus        *string       `json:"desiredStatus,omitempty"`
	EnableExecuteCommand *bool         `json:"enableExecuteCommand,omitempty"`
	// The amount of ephemeral storage to allocate for the task. This parameter
	// is used to expand the total amount of ephemeral storage available, beyond
	// the default amount, for tasks hosted on Fargate. For more information, see
	// Using data volumes in tasks (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html)
	// in the Amazon ECS Developer Guide;.
	//
	// For tasks using the Fargate launch type, the task requires the following
	// platforms:
	//
	//    * Linux platform version 1.4.0 or later.
	//
	//    * Windows platform version 1.0.0 or later.
	EphemeralStorage      *EphemeralStorage       `json:"ephemeralStorage,omitempty"`
	ExecutionStoppedAt    *metav1.Time            `json:"executionStoppedAt,omitempty"`
	Group                 *string                 `json:"group,omitempty"`
	InferenceAccelerators []*InferenceAccelerator `json:"inferenceAccelerators,omitempty"`
	LastStatus            *string                 `json:"lastStatus,omitempty"`
	LaunchType            *string                 `json:"launchType,omitempty"`
	Memory                *string                 `json:"memory,omitempty"`
	PlatformFamily        *string                 `json:"platformFamily,omitempty"`
	PlatformVersion       *string                 `json:"platformVersion,omitempty"`
	PullStartedAt         *metav1.Time            `json:"pullStartedAt,omitempty"`
	PullStoppedAt         *metav1.Time            `json:"pullStoppedAt,omitempty"`
	StartedAt             *metav1.Time            `json:"startedAt,omitempty"`
	StartedBy             *string                 `json:"startedBy,omitempty"`
	StoppedAt             *metav1.Time            `json:"stoppedAt,omitempty"`
	StoppedReason         *string                 `json:"stoppedReason,omitempty"`
	StoppingAt            *metav1.Time            `json:"stoppingAt,omitempty"`
	Tags                  []*Tag                  `json:"tags,omitempty"`
	TaskARN               *string                 `json:"taskARN,omitempty"`
	TaskDefinitionARN     *string                 `json:"taskDefinitionARN,omitempty"`
}

Details on a task in a cluster.

func (*Task) DeepCopy

func (in *Task) DeepCopy() *Task

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Task.

func (*Task) DeepCopyInto

func (in *Task) DeepCopyInto(out *Task)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskDefinition

type TaskDefinition struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TaskDefinitionSpec   `json:"spec,omitempty"`
	Status            TaskDefinitionStatus `json:"status,omitempty"`
}

TaskDefinition is the Schema for the TaskDefinitions API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="FAMILY",type=string,priority=0,JSONPath=`.spec.family` +kubebuilder:printcolumn:name="CPU",type=string,priority=0,JSONPath=`.spec.cpu` +kubebuilder:printcolumn:name="MEMORY",type=string,priority=0,JSONPath=`.spec.memory` +kubebuilder:printcolumn:name="NETWORKMODE",type=string,priority=0,JSONPath=`.spec.networkMode` +kubebuilder:printcolumn:name="Synced",type="string",priority=0,JSONPath=".status.conditions[?(@.type==\"ACK.ResourceSynced\")].status"

func (*TaskDefinition) DeepCopy

func (in *TaskDefinition) DeepCopy() *TaskDefinition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskDefinition.

func (*TaskDefinition) DeepCopyInto

func (in *TaskDefinition) DeepCopyInto(out *TaskDefinition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TaskDefinition) DeepCopyObject added in v0.0.2

func (in *TaskDefinition) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TaskDefinitionFamilyStatus

type TaskDefinitionFamilyStatus string
const (
	TaskDefinitionFamilyStatus_ACTIVE   TaskDefinitionFamilyStatus = "ACTIVE"
	TaskDefinitionFamilyStatus_INACTIVE TaskDefinitionFamilyStatus = "INACTIVE"
	TaskDefinitionFamilyStatus_ALL      TaskDefinitionFamilyStatus = "ALL"
)

type TaskDefinitionField

type TaskDefinitionField string
const (
	TaskDefinitionField_TAGS TaskDefinitionField = "TAGS"
)

type TaskDefinitionList added in v0.0.2

type TaskDefinitionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TaskDefinition `json:"items"`
}

TaskDefinitionList contains a list of TaskDefinition +kubebuilder:object:root=true

func (*TaskDefinitionList) DeepCopy added in v0.0.2

func (in *TaskDefinitionList) DeepCopy() *TaskDefinitionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskDefinitionList.

func (*TaskDefinitionList) DeepCopyInto added in v0.0.2

func (in *TaskDefinitionList) DeepCopyInto(out *TaskDefinitionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*TaskDefinitionList) DeepCopyObject added in v0.0.2

func (in *TaskDefinitionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type TaskDefinitionPlacementConstraint

type TaskDefinitionPlacementConstraint struct {
	Expression *string `json:"expression,omitempty"`
	Type       *string `json:"type,omitempty"`
}

The constraint on task placement in the task definition. For more information, see Task placement constraints (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html) in the Amazon Elastic Container Service Developer Guide.

Task placement constraints aren't supported for tasks run on Fargate.

func (*TaskDefinitionPlacementConstraint) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskDefinitionPlacementConstraint.

func (*TaskDefinitionPlacementConstraint) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskDefinitionPlacementConstraintType

type TaskDefinitionPlacementConstraintType string
const (
	TaskDefinitionPlacementConstraintType_memberOf TaskDefinitionPlacementConstraintType = "memberOf"
)

type TaskDefinitionSpec added in v0.0.2

type TaskDefinitionSpec struct {

	// A list of container definitions in JSON format that describe the different
	// containers that make up your task.
	// +kubebuilder:validation:Required
	ContainerDefinitions []*ContainerDefinition `json:"containerDefinitions"`
	// The number of CPU units used by the task. It can be expressed as an integer
	// using CPU units (for example, 1024) or as a string using vCPUs (for example,
	// 1 vCPU or 1 vcpu) in a task definition. String values are converted to an
	// integer indicating the CPU units when the task definition is registered.
	//
	// Task-level CPU and memory parameters are ignored for Windows containers.
	// We recommend specifying container-level resources for Windows containers.
	//
	// If you're using the EC2 launch type, this field is optional. Supported values
	// are between 128 CPU units (0.125 vCPUs) and 10240 CPU units (10 vCPUs). If
	// you do not specify a value, the parameter is ignored.
	//
	// If you're using the Fargate launch type, this field is required and you must
	// use one of the following values, which determines your range of supported
	// values for the memory parameter:
	//
	// The CPU units cannot be less than 1 vCPU when you use Windows containers
	// on Fargate.
	//
	//   - 256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB),
	//     2048 (2 GB)
	//
	//   - 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072
	//     (3 GB), 4096 (4 GB)
	//
	//   - 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096
	//     (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)
	//
	//   - 2048 (2 vCPU) - Available memory values: 4096 (4 GB) and 16384 (16 GB)
	//     in increments of 1024 (1 GB)
	//
	//   - 4096 (4 vCPU) - Available memory values: 8192 (8 GB) and 30720 (30 GB)
	//     in increments of 1024 (1 GB)
	//
	//   - 8192 (8 vCPU) - Available memory values: 16 GB and 60 GB in 4 GB increments
	//     This option requires Linux platform 1.4.0 or later.
	//
	//   - 16384 (16vCPU) - Available memory values: 32GB and 120 GB in 8 GB increments
	//     This option requires Linux platform 1.4.0 or later.
	CPU *string `json:"cpu,omitempty"`
	// The amount of ephemeral storage to allocate for the task. This parameter
	// is used to expand the total amount of ephemeral storage available, beyond
	// the default amount, for tasks hosted on Fargate. For more information, see
	// Using data volumes in tasks (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html)
	// in the Amazon ECS Developer Guide.
	//
	// For tasks using the Fargate launch type, the task requires the following
	// platforms:
	//
	//   - Linux platform version 1.4.0 or later.
	//
	//   - Windows platform version 1.0.0 or later.
	EphemeralStorage *EphemeralStorage `json:"ephemeralStorage,omitempty"`
	// The Amazon Resource Name (ARN) of the task execution role that grants the
	// Amazon ECS container agent permission to make Amazon Web Services API calls
	// on your behalf. The task execution IAM role is required depending on the
	// requirements of your task. For more information, see Amazon ECS task execution
	// IAM role (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html)
	// in the Amazon Elastic Container Service Developer Guide.
	ExecutionRoleARN *string `json:"executionRoleARN,omitempty"`
	// You must specify a family for a task definition. You can use it track multiple
	// versions of the same task definition. The family is used as a name for your
	// task definition. Up to 255 letters (uppercase and lowercase), numbers, underscores,
	// and hyphens are allowed.
	// +kubebuilder:validation:Required
	Family *string `json:"family"`
	// The Elastic Inference accelerators to use for the containers in the task.
	InferenceAccelerators []*InferenceAccelerator `json:"inferenceAccelerators,omitempty"`
	// The IPC resource namespace to use for the containers in the task. The valid
	// values are host, task, or none. If host is specified, then all containers
	// within the tasks that specified the host IPC mode on the same container instance
	// share the same IPC resources with the host Amazon EC2 instance. If task is
	// specified, all containers within the specified task share the same IPC resources.
	// If none is specified, then IPC resources within the containers of a task
	// are private and not shared with other containers in a task or on the container
	// instance. If no value is specified, then the IPC resource namespace sharing
	// depends on the Docker daemon setting on the container instance. For more
	// information, see IPC settings (https://docs.docker.com/engine/reference/run/#ipc-settings---ipc)
	// in the Docker run reference.
	//
	// If the host IPC mode is used, be aware that there is a heightened risk of
	// undesired IPC namespace expose. For more information, see Docker security
	// (https://docs.docker.com/engine/security/security/).
	//
	// If you are setting namespaced kernel parameters using systemControls for
	// the containers in the task, the following will apply to your IPC resource
	// namespace. For more information, see System Controls (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	//   - For tasks that use the host IPC mode, IPC namespace related systemControls
	//     are not supported.
	//
	//   - For tasks that use the task IPC mode, IPC namespace related systemControls
	//     will apply to all containers within a task.
	//
	// This parameter is not supported for Windows containers or tasks run on Fargate.
	IPCMode *string `json:"ipcMode,omitempty"`
	// The amount of memory (in MiB) used by the task. It can be expressed as an
	// integer using MiB (for example ,1024) or as a string using GB (for example,
	// 1GB or 1 GB) in a task definition. String values are converted to an integer
	// indicating the MiB when the task definition is registered.
	//
	// Task-level CPU and memory parameters are ignored for Windows containers.
	// We recommend specifying container-level resources for Windows containers.
	//
	// If using the EC2 launch type, this field is optional.
	//
	// If using the Fargate launch type, this field is required and you must use
	// one of the following values. This determines your range of supported values
	// for the cpu parameter.
	//
	// The CPU units cannot be less than 1 vCPU when you use Windows containers
	// on Fargate.
	//
	//   - 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25
	//     vCPU)
	//
	//   - 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values:
	//     512 (.5 vCPU)
	//
	//   - 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168
	//     (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)
	//
	//   - Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) -
	//     Available cpu values: 2048 (2 vCPU)
	//
	//   - Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) -
	//     Available cpu values: 4096 (4 vCPU)
	//
	//   - Between 16 GB and 60 GB in 4 GB increments - Available cpu values: 8192
	//     (8 vCPU) This option requires Linux platform 1.4.0 or later.
	//
	//   - Between 32GB and 120 GB in 8 GB increments - Available cpu values: 16384
	//     (16 vCPU) This option requires Linux platform 1.4.0 or later.
	Memory *string `json:"memory,omitempty"`
	// The Docker networking mode to use for the containers in the task. The valid
	// values are none, bridge, awsvpc, and host. If no network mode is specified,
	// the default is bridge.
	//
	// For Amazon ECS tasks on Fargate, the awsvpc network mode is required. For
	// Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used.
	// For Amazon ECS tasks on Amazon EC2 Windows instances, <default> or awsvpc
	// can be used. If the network mode is set to none, you cannot specify port
	// mappings in your container definitions, and the tasks containers do not have
	// external connectivity. The host and awsvpc network modes offer the highest
	// networking performance for containers because they use the EC2 network stack
	// instead of the virtualized network stack provided by the bridge mode.
	//
	// With the host and awsvpc network modes, exposed container ports are mapped
	// directly to the corresponding host port (for the host network mode) or the
	// attached elastic network interface port (for the awsvpc network mode), so
	// you cannot take advantage of dynamic host port mappings.
	//
	// When using the host network mode, you should not run containers using the
	// root user (UID 0). It is considered best practice to use a non-root user.
	//
	// If the network mode is awsvpc, the task is allocated an elastic network interface,
	// and you must specify a NetworkConfiguration value when you create a service
	// or run a task with the task definition. For more information, see Task Networking
	// (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// If the network mode is host, you cannot run multiple instantiations of the
	// same task on a single container instance when port mappings are used.
	//
	// For more information, see Network settings (https://docs.docker.com/engine/reference/run/#network-settings)
	// in the Docker run reference.
	NetworkMode *string `json:"networkMode,omitempty"`
	// The process namespace to use for the containers in the task. The valid values
	// are host or task. On Fargate for Linux containers, the only valid value is
	// task. For example, monitoring sidecars might need pidMode to access information
	// about other containers running in the same task.
	//
	// If host is specified, all containers within the tasks that specified the
	// host PID mode on the same container instance share the same process namespace
	// with the host Amazon EC2 instance.
	//
	// If task is specified, all containers within the specified task share the
	// same process namespace.
	//
	// If no value is specified, the default is a private namespace for each container.
	// For more information, see PID settings (https://docs.docker.com/engine/reference/run/#pid-settings---pid)
	// in the Docker run reference.
	//
	// If the host PID mode is used, there's a heightened risk of undesired process
	// namespace exposure. For more information, see Docker security (https://docs.docker.com/engine/security/security/).
	//
	// This parameter is not supported for Windows containers.
	//
	// This parameter is only supported for tasks that are hosted on Fargate if
	// the tasks are using platform version 1.4.0 or later (Linux). This isn't supported
	// for Windows containers on Fargate.
	PIDMode *string `json:"pidMode,omitempty"`
	// An array of placement constraint objects to use for the task. You can specify
	// a maximum of 10 constraints for each task. This limit includes constraints
	// in the task definition and those specified at runtime.
	PlacementConstraints []*TaskDefinitionPlacementConstraint `json:"placementConstraints,omitempty"`
	// The configuration details for the App Mesh proxy.
	//
	// For tasks hosted on Amazon EC2 instances, the container instances require
	// at least version 1.26.0 of the container agent and at least version 1.26.0-1
	// of the ecs-init package to use a proxy configuration. If your container instances
	// are launched from the Amazon ECS-optimized AMI version 20190301 or later,
	// then they contain the required versions of the container agent and ecs-init.
	// For more information, see Amazon ECS-optimized AMI versions (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-ami-versions.html)
	// in the Amazon Elastic Container Service Developer Guide.
	ProxyConfiguration *ProxyConfiguration `json:"proxyConfiguration,omitempty"`
	// The task launch type that Amazon ECS validates the task definition against.
	// A client exception is returned if the task definition doesn't validate against
	// the compatibilities specified. If no value is specified, the parameter is
	// omitted from the response.
	RequiresCompatibilities []*string `json:"requiresCompatibilities,omitempty"`
	// The operating system that your tasks definitions run on. A platform family
	// is specified only for tasks using the Fargate launch type.
	//
	// When you specify a task definition in a service, this value must match the
	// runtimePlatform value of the service.
	RuntimePlatform *RuntimePlatform `json:"runtimePlatform,omitempty"`
	// The metadata that you apply to the task definition to help you categorize
	// and organize them. Each tag consists of a key and an optional value. You
	// define both of them.
	//
	// The following basic restrictions apply to tags:
	//
	//   - Maximum number of tags per resource - 50
	//
	//   - For each resource, each tag key must be unique, and each tag key can
	//     have only one value.
	//
	//   - Maximum key length - 128 Unicode characters in UTF-8
	//
	//   - Maximum value length - 256 Unicode characters in UTF-8
	//
	//   - If your tagging schema is used across multiple services and resources,
	//     remember that other services may have restrictions on allowed characters.
	//     Generally allowed characters are: letters, numbers, and spaces representable
	//     in UTF-8, and the following characters: + - = . _ : / @.
	//
	//   - Tag keys and values are case-sensitive.
	//
	//   - Do not use aws:, AWS:, or any upper or lowercase combination of such
	//     as a prefix for either keys or values as it is reserved for Amazon Web
	//     Services use. You cannot edit or delete tag keys or values with this prefix.
	//     Tags with this prefix do not count against your tags per resource limit.
	Tags []*Tag `json:"tags,omitempty"`
	// The short name or full Amazon Resource Name (ARN) of the IAM role that containers
	// in this task can assume. All containers in this task are granted the permissions
	// that are specified in this role. For more information, see IAM Roles for
	// Tasks (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html)
	// in the Amazon Elastic Container Service Developer Guide.
	TaskRoleARN *string                                  `json:"taskRoleARN,omitempty"`
	TaskRoleRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"taskRoleRef,omitempty"`
	// A list of volume definitions in JSON format that containers in your task
	// might use.
	Volumes []*Volume `json:"volumes,omitempty"`
}

TaskDefinitionSpec defines the desired state of TaskDefinition.

The details of a task definition which describes the container and volume definitions of an Amazon Elastic Container Service task. You can specify which Docker images to use, the required resources, and other configurations related to launching the task definition through an Amazon ECS service or task.

func (*TaskDefinitionSpec) DeepCopy added in v0.0.2

func (in *TaskDefinitionSpec) DeepCopy() *TaskDefinitionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskDefinitionSpec.

func (*TaskDefinitionSpec) DeepCopyInto added in v0.0.2

func (in *TaskDefinitionSpec) DeepCopyInto(out *TaskDefinitionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskDefinitionStatus

type TaskDefinitionStatus struct {
	// All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
	// that is used to contain resource sync state, account ownership,
	// constructed ARN for the resource
	// +kubebuilder:validation:Optional
	ACKResourceMetadata *ackv1alpha1.ResourceMetadata `json:"ackResourceMetadata"`
	// All CRS managed by ACK have a common `Status.Conditions` member that
	// contains a collection of `ackv1alpha1.Condition` objects that describe
	// the various terminal states of the CR and its backend AWS service API
	// resource
	// +kubebuilder:validation:Optional
	Conditions []*ackv1alpha1.Condition `json:"conditions"`
	// The task launch types the task definition validated against during task definition
	// registration. For more information, see Amazon ECS launch types (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html)
	// in the Amazon Elastic Container Service Developer Guide.
	// +kubebuilder:validation:Optional
	Compatibilities []*string `json:"compatibilities,omitempty"`
	// The Unix timestamp for the time when the task definition was deregistered.
	// +kubebuilder:validation:Optional
	DeregisteredAt *metav1.Time `json:"deregisteredAt,omitempty"`
	// The Unix timestamp for the time when the task definition was registered.
	// +kubebuilder:validation:Optional
	RegisteredAt *metav1.Time `json:"registeredAt,omitempty"`
	// The principal that registered the task definition.
	// +kubebuilder:validation:Optional
	RegisteredBy *string `json:"registeredBy,omitempty"`
	// The container instance attributes required by your task. When an Amazon EC2
	// instance is registered to your cluster, the Amazon ECS container agent assigns
	// some standard attributes to the instance. You can apply custom attributes.
	// These are specified as key-value pairs using the Amazon ECS console or the
	// PutAttributes API. These attributes are used when determining task placement
	// for tasks hosted on Amazon EC2 instances. For more information, see Attributes
	// (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// This parameter isn't supported for tasks run on Fargate.
	// +kubebuilder:validation:Optional
	RequiresAttributes []*Attribute `json:"requiresAttributes,omitempty"`
	// The revision of the task in a particular family. The revision is a version
	// number of a task definition in a family. When you register a task definition
	// for the first time, the revision is 1. Each time that you register a new
	// revision of a task definition in the same family, the revision value always
	// increases by one. This is even if you deregistered previous revisions in
	// this family.
	// +kubebuilder:validation:Optional
	Revision *int64 `json:"revision,omitempty"`
	// The status of the task definition.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty"`
}

TaskDefinitionStatus defines the observed state of TaskDefinition

func (*TaskDefinitionStatus) DeepCopy added in v0.0.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskDefinitionStatus.

func (*TaskDefinitionStatus) DeepCopyInto added in v0.0.2

func (in *TaskDefinitionStatus) DeepCopyInto(out *TaskDefinitionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskDefinitionStatus_SDK added in v0.0.2

type TaskDefinitionStatus_SDK string
const (
	TaskDefinitionStatus_SDK_ACTIVE             TaskDefinitionStatus_SDK = "ACTIVE"
	TaskDefinitionStatus_SDK_INACTIVE           TaskDefinitionStatus_SDK = "INACTIVE"
	TaskDefinitionStatus_SDK_DELETE_IN_PROGRESS TaskDefinitionStatus_SDK = "DELETE_IN_PROGRESS"
)

type TaskDefinition_SDK added in v0.0.2

type TaskDefinition_SDK struct {
	Compatibilities      []*string              `json:"compatibilities,omitempty"`
	ContainerDefinitions []*ContainerDefinition `json:"containerDefinitions,omitempty"`
	CPU                  *string                `json:"cpu,omitempty"`
	DeregisteredAt       *metav1.Time           `json:"deregisteredAt,omitempty"`
	// The amount of ephemeral storage to allocate for the task. This parameter
	// is used to expand the total amount of ephemeral storage available, beyond
	// the default amount, for tasks hosted on Fargate. For more information, see
	// Using data volumes in tasks (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html)
	// in the Amazon ECS Developer Guide;.
	//
	// For tasks using the Fargate launch type, the task requires the following
	// platforms:
	//
	//    * Linux platform version 1.4.0 or later.
	//
	//    * Windows platform version 1.0.0 or later.
	EphemeralStorage      *EphemeralStorage                    `json:"ephemeralStorage,omitempty"`
	ExecutionRoleARN      *string                              `json:"executionRoleARN,omitempty"`
	Family                *string                              `json:"family,omitempty"`
	InferenceAccelerators []*InferenceAccelerator              `json:"inferenceAccelerators,omitempty"`
	IPCMode               *string                              `json:"ipcMode,omitempty"`
	Memory                *string                              `json:"memory,omitempty"`
	NetworkMode           *string                              `json:"networkMode,omitempty"`
	PIDMode               *string                              `json:"pidMode,omitempty"`
	PlacementConstraints  []*TaskDefinitionPlacementConstraint `json:"placementConstraints,omitempty"`
	// The configuration details for the App Mesh proxy.
	//
	// For tasks that use the EC2 launch type, the container instances require at
	// least version 1.26.0 of the container agent and at least version 1.26.0-1
	// of the ecs-init package to use a proxy configuration. If your container instances
	// are launched from the Amazon ECS optimized AMI version 20190301 or later,
	// then they contain the required versions of the container agent and ecs-init.
	// For more information, see Amazon ECS-optimized Linux AMI (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html)
	ProxyConfiguration      *ProxyConfiguration `json:"proxyConfiguration,omitempty"`
	RegisteredAt            *metav1.Time        `json:"registeredAt,omitempty"`
	RegisteredBy            *string             `json:"registeredBy,omitempty"`
	RequiresAttributes      []*Attribute        `json:"requiresAttributes,omitempty"`
	RequiresCompatibilities []*string           `json:"requiresCompatibilities,omitempty"`
	Revision                *int64              `json:"revision,omitempty"`
	// Information about the platform for the Amazon ECS service or task.
	//
	// For more information about RuntimePlatform, see RuntimePlatform (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#runtime-platform)
	// in the Amazon Elastic Container Service Developer Guide.
	RuntimePlatform   *RuntimePlatform `json:"runtimePlatform,omitempty"`
	Status            *string          `json:"status,omitempty"`
	TaskDefinitionARN *string          `json:"taskDefinitionARN,omitempty"`
	TaskRoleARN       *string          `json:"taskRoleARN,omitempty"`
	Volumes           []*Volume        `json:"volumes,omitempty"`
}

The details of a task definition which describes the container and volume definitions of an Amazon Elastic Container Service task. You can specify which Docker images to use, the required resources, and other configurations related to launching the task definition through an Amazon ECS service or task.

func (*TaskDefinition_SDK) DeepCopy added in v0.0.2

func (in *TaskDefinition_SDK) DeepCopy() *TaskDefinition_SDK

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskDefinition_SDK.

func (*TaskDefinition_SDK) DeepCopyInto added in v0.0.2

func (in *TaskDefinition_SDK) DeepCopyInto(out *TaskDefinition_SDK)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskField

type TaskField string
const (
	TaskField_TAGS TaskField = "TAGS"
)

type TaskFilesystemType

type TaskFilesystemType string
const (
	TaskFilesystemType_ext3 TaskFilesystemType = "ext3"
	TaskFilesystemType_ext4 TaskFilesystemType = "ext4"
	TaskFilesystemType_xfs  TaskFilesystemType = "xfs"
)

type TaskManagedEBSVolumeConfiguration added in v0.0.2

type TaskManagedEBSVolumeConfiguration struct {
	Encrypted         *bool                  `json:"encrypted,omitempty"`
	FilesystemType    *string                `json:"filesystemType,omitempty"`
	IOPS              *int64                 `json:"iops,omitempty"`
	KMSKeyID          *string                `json:"kmsKeyID,omitempty"`
	RoleARN           *string                `json:"roleARN,omitempty"`
	SizeInGiB         *int64                 `json:"sizeInGiB,omitempty"`
	SnapshotID        *string                `json:"snapshotID,omitempty"`
	TagSpecifications []*EBSTagSpecification `json:"tagSpecifications,omitempty"`
	Throughput        *int64                 `json:"throughput,omitempty"`
	VolumeType        *string                `json:"volumeType,omitempty"`
}

The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task.

func (*TaskManagedEBSVolumeConfiguration) DeepCopy added in v0.0.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskManagedEBSVolumeConfiguration.

func (*TaskManagedEBSVolumeConfiguration) DeepCopyInto added in v0.0.2

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskManagedEBSVolumeTerminationPolicy added in v0.0.2

type TaskManagedEBSVolumeTerminationPolicy struct {
	DeleteOnTermination *bool `json:"deleteOnTermination,omitempty"`
}

The termination policy for the Amazon EBS volume when the task exits. For more information, see Amazon ECS volume termination policy (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types).

func (*TaskManagedEBSVolumeTerminationPolicy) DeepCopy added in v0.0.2

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskManagedEBSVolumeTerminationPolicy.

func (*TaskManagedEBSVolumeTerminationPolicy) DeepCopyInto added in v0.0.2

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskOverride

type TaskOverride struct {
	CPU *string `json:"cpu,omitempty"`
	// The amount of ephemeral storage to allocate for the task. This parameter
	// is used to expand the total amount of ephemeral storage available, beyond
	// the default amount, for tasks hosted on Fargate. For more information, see
	// Using data volumes in tasks (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html)
	// in the Amazon ECS Developer Guide;.
	//
	// For tasks using the Fargate launch type, the task requires the following
	// platforms:
	//
	//    * Linux platform version 1.4.0 or later.
	//
	//    * Windows platform version 1.0.0 or later.
	EphemeralStorage *EphemeralStorage `json:"ephemeralStorage,omitempty"`
	ExecutionRoleARN *string           `json:"executionRoleARN,omitempty"`
	Memory           *string           `json:"memory,omitempty"`
	TaskRoleARN      *string           `json:"taskRoleARN,omitempty"`
}

The overrides that are associated with a task.

func (*TaskOverride) DeepCopy

func (in *TaskOverride) DeepCopy() *TaskOverride

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskOverride.

func (*TaskOverride) DeepCopyInto

func (in *TaskOverride) DeepCopyInto(out *TaskOverride)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskSet

type TaskSet struct {
	CapacityProviderStrategy []*CapacityProviderStrategyItem `json:"capacityProviderStrategy,omitempty"`
	ClusterARN               *string                         `json:"clusterARN,omitempty"`
	ComputedDesiredCount     *int64                          `json:"computedDesiredCount,omitempty"`
	CreatedAt                *metav1.Time                    `json:"createdAt,omitempty"`
	ExternalID               *string                         `json:"externalID,omitempty"`
	ID                       *string                         `json:"id,omitempty"`
	LaunchType               *string                         `json:"launchType,omitempty"`
	LoadBalancers            []*LoadBalancer                 `json:"loadBalancers,omitempty"`
	// The network configuration for a task or service.
	NetworkConfiguration *NetworkConfiguration `json:"networkConfiguration,omitempty"`
	PendingCount         *int64                `json:"pendingCount,omitempty"`
	PlatformFamily       *string               `json:"platformFamily,omitempty"`
	PlatformVersion      *string               `json:"platformVersion,omitempty"`
	RunningCount         *int64                `json:"runningCount,omitempty"`
	// A floating-point percentage of the desired number of tasks to place and keep
	// running in the task set.
	Scale             *Scale             `json:"scale,omitempty"`
	ServiceARN        *string            `json:"serviceARN,omitempty"`
	ServiceRegistries []*ServiceRegistry `json:"serviceRegistries,omitempty"`
	StabilityStatus   *string            `json:"stabilityStatus,omitempty"`
	StabilityStatusAt *metav1.Time       `json:"stabilityStatusAt,omitempty"`
	StartedBy         *string            `json:"startedBy,omitempty"`
	Status            *string            `json:"status,omitempty"`
	Tags              []*Tag             `json:"tags,omitempty"`
	TaskDefinition    *string            `json:"taskDefinition,omitempty"`
	TaskSetARN        *string            `json:"taskSetARN,omitempty"`
	UpdatedAt         *metav1.Time       `json:"updatedAt,omitempty"`
}

Information about a set of Amazon ECS tasks in either an CodeDeploy or an EXTERNAL deployment. An Amazon ECS task set includes details such as the desired number of tasks, how many tasks are running, and whether the task set serves production traffic.

func (*TaskSet) DeepCopy

func (in *TaskSet) DeepCopy() *TaskSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskSet.

func (*TaskSet) DeepCopyInto

func (in *TaskSet) DeepCopyInto(out *TaskSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TaskSetField

type TaskSetField string
const (
	TaskSetField_TAGS TaskSetField = "TAGS"
)

type TaskStopCode

type TaskStopCode string
const (
	TaskStopCode_TaskFailedToStart         TaskStopCode = "TaskFailedToStart"
	TaskStopCode_EssentialContainerExited  TaskStopCode = "EssentialContainerExited"
	TaskStopCode_UserInitiated             TaskStopCode = "UserInitiated"
	TaskStopCode_ServiceSchedulerInitiated TaskStopCode = "ServiceSchedulerInitiated"
	TaskStopCode_SpotInterruption          TaskStopCode = "SpotInterruption"
	TaskStopCode_TerminationNotice         TaskStopCode = "TerminationNotice"
)

type TaskVolumeConfiguration added in v0.0.3

type TaskVolumeConfiguration struct {
	Name *string `json:"name,omitempty"`
}

Configuration settings for the task volume that was configuredAtLaunch that weren't set during RegisterTaskDef.

func (*TaskVolumeConfiguration) DeepCopy added in v0.0.3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskVolumeConfiguration.

func (*TaskVolumeConfiguration) DeepCopyInto added in v0.0.3

func (in *TaskVolumeConfiguration) DeepCopyInto(out *TaskVolumeConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TimeoutConfiguration added in v0.0.3

type TimeoutConfiguration struct {
	IdleTimeoutSeconds       *int64 `json:"idleTimeoutSeconds,omitempty"`
	PerRequestTimeoutSeconds *int64 `json:"perRequestTimeoutSeconds,omitempty"`
}

An object that represents the timeout configurations for Service Connect.

If idleTimeout is set to a time that is less than perRequestTimeout, the connection will close when the idleTimeout is reached and not the perRequestTimeout.

func (*TimeoutConfiguration) DeepCopy added in v0.0.3

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeoutConfiguration.

func (*TimeoutConfiguration) DeepCopyInto added in v0.0.3

func (in *TimeoutConfiguration) DeepCopyInto(out *TimeoutConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Tmpfs

type Tmpfs struct {
	ContainerPath *string   `json:"containerPath,omitempty"`
	MountOptions  []*string `json:"mountOptions,omitempty"`
	Size          *int64    `json:"size,omitempty"`
}

The container path, mount options, and size of the tmpfs mount.

func (*Tmpfs) DeepCopy

func (in *Tmpfs) DeepCopy() *Tmpfs

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tmpfs.

func (*Tmpfs) DeepCopyInto

func (in *Tmpfs) DeepCopyInto(out *Tmpfs)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TransportProtocol

type TransportProtocol string
const (
	TransportProtocol_tcp TransportProtocol = "tcp"
	TransportProtocol_udp TransportProtocol = "udp"
)

type Ulimit

type Ulimit struct {
	HardLimit *int64  `json:"hardLimit,omitempty"`
	Name      *string `json:"name,omitempty"`
	SoftLimit *int64  `json:"softLimit,omitempty"`
}

The ulimit settings to pass to the container.

Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the exception of the nofile resource limit parameter which Fargate overrides. The nofile resource limit sets a restriction on the number of open files that a container can use. The default nofile soft limit is 1024 and the default hard limit is 65535.

You can specify the ulimit settings for a container in a task definition.

func (*Ulimit) DeepCopy

func (in *Ulimit) DeepCopy() *Ulimit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ulimit.

func (*Ulimit) DeepCopyInto

func (in *Ulimit) DeepCopyInto(out *Ulimit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UlimitName

type UlimitName string
const (
	UlimitName_core       UlimitName = "core"
	UlimitName_cpu        UlimitName = "cpu"
	UlimitName_data       UlimitName = "data"
	UlimitName_fsize      UlimitName = "fsize"
	UlimitName_locks      UlimitName = "locks"
	UlimitName_memlock    UlimitName = "memlock"
	UlimitName_msgqueue   UlimitName = "msgqueue"
	UlimitName_nice       UlimitName = "nice"
	UlimitName_nofile     UlimitName = "nofile"
	UlimitName_nproc      UlimitName = "nproc"
	UlimitName_rss        UlimitName = "rss"
	UlimitName_rtprio     UlimitName = "rtprio"
	UlimitName_rttime     UlimitName = "rttime"
	UlimitName_sigpending UlimitName = "sigpending"
	UlimitName_stack      UlimitName = "stack"
)

type VersionInfo

type VersionInfo struct {
	AgentHash     *string `json:"agentHash,omitempty"`
	AgentVersion  *string `json:"agentVersion,omitempty"`
	DockerVersion *string `json:"dockerVersion,omitempty"`
}

The Docker and Amazon ECS container agent version information about a container instance.

func (*VersionInfo) DeepCopy

func (in *VersionInfo) DeepCopy() *VersionInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionInfo.

func (*VersionInfo) DeepCopyInto

func (in *VersionInfo) DeepCopyInto(out *VersionInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Volume

type Volume struct {
	ConfiguredAtLaunch *bool `json:"configuredAtLaunch,omitempty"`
	// This parameter is specified when you're using Docker volumes. Docker volumes
	// are only supported when you're using the EC2 launch type. Windows containers
	// only support the use of the local driver. To use bind mounts, specify a host
	// instead.
	DockerVolumeConfiguration *DockerVolumeConfiguration `json:"dockerVolumeConfiguration,omitempty"`
	// This parameter is specified when you're using an Amazon Elastic File System
	// file system for task storage. For more information, see Amazon EFS volumes
	// (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html)
	// in the Amazon Elastic Container Service Developer Guide.
	EFSVolumeConfiguration *EFSVolumeConfiguration `json:"efsVolumeConfiguration,omitempty"`
	// This parameter is specified when you're using Amazon FSx for Windows File
	// Server (https://docs.aws.amazon.com/fsx/latest/WindowsGuide/what-is.html)
	// file system for task storage.
	//
	// For more information and the input format, see Amazon FSx for Windows File
	// Server volumes (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/wfsx-volumes.html)
	// in the Amazon Elastic Container Service Developer Guide.
	FsxWindowsFileServerVolumeConfiguration *FSxWindowsFileServerVolumeConfiguration `json:"fsxWindowsFileServerVolumeConfiguration,omitempty"`
	// Details on a container instance bind mount host volume.
	Host *HostVolumeProperties `json:"host,omitempty"`
	Name *string               `json:"name,omitempty"`
}

The data volume configuration for tasks launched using this task definition. Specifying a volume configuration in a task definition is optional. The volume configuration may contain multiple volumes but only one volume configured at launch is supported. Each volume defined in the volume configuration may only specify a name and one of either configuredAtLaunch, dockerVolumeConfiguration, efsVolumeConfiguration, fsxWindowsFileServerVolumeConfiguration, or host. If an empty volume configuration is specified, by default Amazon ECS uses a host volume. For more information, see Using data volumes in tasks (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html).

func (*Volume) DeepCopy

func (in *Volume) DeepCopy() *Volume

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.

func (*Volume) DeepCopyInto

func (in *Volume) DeepCopyInto(out *Volume)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VolumeFrom

type VolumeFrom struct {
	ReadOnly        *bool   `json:"readOnly,omitempty"`
	SourceContainer *string `json:"sourceContainer,omitempty"`
}

Details on a data volume from another container in the same task definition.

func (*VolumeFrom) DeepCopy

func (in *VolumeFrom) DeepCopy() *VolumeFrom

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeFrom.

func (*VolumeFrom) DeepCopyInto

func (in *VolumeFrom) DeepCopyInto(out *VolumeFrom)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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