v1alpha1

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 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"`
	// Reference field for SecurityGroups
	SecurityGroupRefs []*ackv1alpha1.AWSResourceReferenceWrapper `json:"securityGroupRefs,omitempty"`
	SecurityGroups    []*string                                  `json:"securityGroups,omitempty"`
	// Reference field for Subnets
	SubnetRefs []*ackv1alpha1.AWSResourceReferenceWrapper `json:"subnetRefs,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 AcceleratorCountRequest added in v1.4.0

type AcceleratorCountRequest struct {
	Max *int64 `json:"max,omitempty"`
	Min *int64 `json:"min,omitempty"`
}

The minimum and maximum number of accelerators (such as GPUs) for instance type selection. This is used for workloads that require specific numbers of accelerators.

func (*AcceleratorCountRequest) DeepCopy added in v1.4.0

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

func (*AcceleratorCountRequest) DeepCopyInto added in v1.4.0

func (in *AcceleratorCountRequest) DeepCopyInto(out *AcceleratorCountRequest)

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

type AcceleratorManufacturer added in v1.4.0

type AcceleratorManufacturer string
const (
	AcceleratorManufacturer_amazon_web_services AcceleratorManufacturer = "amazon-web-services"
	AcceleratorManufacturer_amd                 AcceleratorManufacturer = "amd"
	AcceleratorManufacturer_habana              AcceleratorManufacturer = "habana"
	AcceleratorManufacturer_nvidia              AcceleratorManufacturer = "nvidia"
	AcceleratorManufacturer_xilinx              AcceleratorManufacturer = "xilinx"
)

type AcceleratorName added in v1.4.0

type AcceleratorName string
const (
	AcceleratorName_a100            AcceleratorName = "a100"
	AcceleratorName_a10g            AcceleratorName = "a10g"
	AcceleratorName_h100            AcceleratorName = "h100"
	AcceleratorName_inferentia      AcceleratorName = "inferentia"
	AcceleratorName_k520            AcceleratorName = "k520"
	AcceleratorName_k80             AcceleratorName = "k80"
	AcceleratorName_m60             AcceleratorName = "m60"
	AcceleratorName_radeon_pro_v520 AcceleratorName = "radeon-pro-v520"
	AcceleratorName_t4              AcceleratorName = "t4"
	AcceleratorName_t4g             AcceleratorName = "t4g"
	AcceleratorName_v100            AcceleratorName = "v100"
	AcceleratorName_vu9p            AcceleratorName = "vu9p"
)

type AcceleratorTotalMemoryMiBRequest added in v1.4.0

type AcceleratorTotalMemoryMiBRequest struct {
	Max *int64 `json:"max,omitempty"`
	Min *int64 `json:"min,omitempty"`
}

The minimum and maximum total accelerator memory in mebibytes (MiB) for instance type selection. This is important for GPU workloads that require specific amounts of video memory.

func (*AcceleratorTotalMemoryMiBRequest) DeepCopy added in v1.4.0

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

func (*AcceleratorTotalMemoryMiBRequest) DeepCopyInto added in v1.4.0

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

type AcceleratorType added in v1.4.0

type AcceleratorType string
const (
	AcceleratorType_fpga      AcceleratorType = "fpga"
	AcceleratorType_gpu       AcceleratorType = "gpu"
	AcceleratorType_inference AcceleratorType = "inference"
)

type AccessType added in v1.4.0

type AccessType string
const (
	AccessType_PRIVATE AccessType = "PRIVATE"
	AccessType_PUBLIC  AccessType = "PUBLIC"
)

type AdvancedConfiguration added in v1.4.0

type AdvancedConfiguration struct {
	AlternateTargetGroupARN *string `json:"alternateTargetGroupARN,omitempty"`
	ProductionListenerRule  *string `json:"productionListenerRule,omitempty"`
	RoleARN                 *string `json:"roleARN,omitempty"`
	TestListenerRule        *string `json:"testListenerRule,omitempty"`
}

The advanced settings for a load balancer used in blue/green deployments. Specify the alternate target group, listener rules, and IAM role required for traffic shifting during blue/green deployments. For more information, see Required resources for Amazon ECS blue/green deployments (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/blue-green-deployment-implementation.html) in the Amazon Elastic Container Service Developer Guide.

func (*AdvancedConfiguration) DeepCopy added in v1.4.0

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

func (*AdvancedConfiguration) DeepCopyInto added in v1.4.0

func (in *AdvancedConfiguration) DeepCopyInto(out *AdvancedConfiguration)

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

type AgentUpdateStatus

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

type ApplicationProtocol

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

type AssignPublicIP

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

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 AutoRepairActionsStatus added in v1.4.0

type AutoRepairActionsStatus string
const (
	AutoRepairActionsStatus_DISABLED AutoRepairActionsStatus = "DISABLED"
	AutoRepairActionsStatus_ENABLED  AutoRepairActionsStatus = "ENABLED"
)

type AutoRepairConfiguration added in v1.4.0

type AutoRepairConfiguration struct {
	ActionsStatus *string `json:"actionsStatus,omitempty"`
}

The auto repair configuration for an Amazon ECS Managed Instances capacity provider. When enabled, Amazon ECS automatically replaces container instances that are detected as unhealthy based on container instance health checks, including accelerated compute device and daemon health checks.

func (*AutoRepairConfiguration) DeepCopy added in v1.4.0

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

func (*AutoRepairConfiguration) DeepCopyInto added in v1.4.0

func (in *AutoRepairConfiguration) DeepCopyInto(out *AutoRepairConfiguration)

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

type AutoScalingGroupProvider

type AutoScalingGroupProvider struct {
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable once set"
	AutoScalingGroupARN *string `json:"autoScalingGroupARN,omitempty"`
	// Reference field for AutoScalingGroupARN
	AutoScalingGroupRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"autoScalingGroupRef,omitempty"`
	ManagedDraining     *string                                  `json:"managedDraining,omitempty"`
	// The managed scaling settings for the Auto Scaling group capacity provider.
	//
	// When managed scaling is turned on, Amazon ECS manages the scale-in and scale-out
	// actions of the Auto Scaling group. Amazon ECS manages a target tracking scaling
	// policy using an Amazon ECS managed CloudWatch metric with the specified targetCapacity
	// value as the target value for the metric. For more information, see Using
	// managed scaling (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/asg-capacity-providers.html#asg-capacity-providers-managed-scaling)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// If managed scaling is off, the user must manage the scaling of the Auto Scaling
	// group.
	ManagedScaling               *ManagedScaling `json:"managedScaling,omitempty"`
	ManagedTerminationProtection *string         `json:"managedTerminationProtection,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 AutoScalingGroupProviderUpdate added in v1.4.0

type AutoScalingGroupProviderUpdate struct {
	ManagedDraining *string `json:"managedDraining,omitempty"`
	// The managed scaling settings for the Auto Scaling group capacity provider.
	//
	// When managed scaling is turned on, Amazon ECS manages the scale-in and scale-out
	// actions of the Auto Scaling group. Amazon ECS manages a target tracking scaling
	// policy using an Amazon ECS managed CloudWatch metric with the specified targetCapacity
	// value as the target value for the metric. For more information, see Using
	// managed scaling (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/asg-capacity-providers.html#asg-capacity-providers-managed-scaling)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// If managed scaling is off, the user must manage the scaling of the Auto Scaling
	// group.
	ManagedScaling               *ManagedScaling `json:"managedScaling,omitempty"`
	ManagedTerminationProtection *string         `json:"managedTerminationProtection,omitempty"`
}

The details of the Auto Scaling group capacity provider to update.

func (*AutoScalingGroupProviderUpdate) DeepCopy added in v1.4.0

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

func (*AutoScalingGroupProviderUpdate) DeepCopyInto added in v1.4.0

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

type AvailabilityZoneRebalancing added in v1.0.5

type AvailabilityZoneRebalancing string
const (
	AvailabilityZoneRebalancing_DISABLED AvailabilityZoneRebalancing = "DISABLED"
	AvailabilityZoneRebalancing_ENABLED  AvailabilityZoneRebalancing = "ENABLED"
)

type BareMetal added in v1.4.0

type BareMetal string
const (
	BareMetal_excluded BareMetal = "excluded"
	BareMetal_included BareMetal = "included"
	BareMetal_required BareMetal = "required"
)

type BaselineEBSBandwidthMbpsRequest added in v1.4.0

type BaselineEBSBandwidthMbpsRequest struct {
	Max *int64 `json:"max,omitempty"`
	Min *int64 `json:"min,omitempty"`
}

The minimum and maximum baseline Amazon EBS bandwidth in megabits per second (Mbps) for instance type selection. This is important for workloads with high storage I/O requirements.

func (*BaselineEBSBandwidthMbpsRequest) DeepCopy added in v1.4.0

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

func (*BaselineEBSBandwidthMbpsRequest) DeepCopyInto added in v1.4.0

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

type BurstablePerformance added in v1.4.0

type BurstablePerformance string
const (
	BurstablePerformance_excluded BurstablePerformance = "excluded"
	BurstablePerformance_included BurstablePerformance = "included"
	BurstablePerformance_required BurstablePerformance = "required"
)

type CPUArchitecture

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

type CPUManufacturer added in v1.4.0

type CPUManufacturer string
const (
	CPUManufacturer_amazon_web_services CPUManufacturer = "amazon-web-services"
	CPUManufacturer_amd                 CPUManufacturer = "amd"
	CPUManufacturer_intel               CPUManufacturer = "intel"
)

type CanaryConfiguration added in v1.4.0

type CanaryConfiguration struct {
	CanaryBakeTimeInMinutes *int64   `json:"canaryBakeTimeInMinutes,omitempty"`
	CanaryPercent           *float64 `json:"canaryPercent,omitempty"`
}

Configuration for a canary deployment strategy that shifts a fixed percentage of traffic to the new service revision, waits for a specified bake time, then shifts the remaining traffic.

This is only valid when you run CreateService or UpdateService with deploymentController set to ECS and a deploymentConfiguration with a strategy set to CANARY.

func (*CanaryConfiguration) DeepCopy added in v1.4.0

func (in *CanaryConfiguration) DeepCopy() *CanaryConfiguration

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

func (*CanaryConfiguration) DeepCopyInto added in v1.4.0

func (in *CanaryConfiguration) DeepCopyInto(out *CanaryConfiguration)

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

type CapacityOptionType added in v1.4.0

type CapacityOptionType string
const (
	CapacityOptionType_ON_DEMAND CapacityOptionType = "ON_DEMAND"
	CapacityOptionType_RESERVED  CapacityOptionType = "RESERVED"
	CapacityOptionType_SPOT      CapacityOptionType = "SPOT"
)

type CapacityProvider

type CapacityProvider struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CapacityProviderSpec   `json:"spec,omitempty"`
	Status            CapacityProviderStatus `json:"status,omitempty"`
}

CapacityProvider is the Schema for the CapacityProviders API +kubebuilder:object:root=true +kubebuilder:subresource:status

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.

func (*CapacityProvider) DeepCopyObject added in v1.4.0

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

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

type CapacityProviderField

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

type CapacityProviderList added in v1.4.0

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

CapacityProviderList contains a list of CapacityProvider +kubebuilder:object:root=true

func (*CapacityProviderList) DeepCopy added in v1.4.0

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

func (*CapacityProviderList) DeepCopyInto added in v1.4.0

func (in *CapacityProviderList) DeepCopyInto(out *CapacityProviderList)

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

func (*CapacityProviderList) DeepCopyObject added in v1.4.0

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

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

type CapacityProviderSpec added in v1.4.0

type CapacityProviderSpec struct {

	// The details of the Auto Scaling group for the capacity provider.
	AutoScalingGroupProvider *AutoScalingGroupProvider `json:"autoScalingGroupProvider,omitempty"`
	// The name of the cluster to associate with the capacity provider. When you
	// create a capacity provider with Amazon ECS Managed Instances, it becomes
	// available only within the specified cluster.
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable once set"
	Cluster    *string                                  `json:"cluster,omitempty"`
	ClusterRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"clusterRef,omitempty"`
	// The configuration for the Amazon ECS Managed Instances provider. This configuration
	// specifies how Amazon ECS manages Amazon EC2 instances on your behalf, including
	// the infrastructure role, instance launch template, and tag propagation settings.
	ManagedInstancesProvider *CreateManagedInstancesProviderConfiguration `json:"managedInstancesProvider,omitempty"`
	// The name of the capacity provider. Up to 255 characters are allowed. They
	// include letters (both upper and lowercase letters), numbers, underscores
	// (_), and hyphens (-). The name can't be prefixed with "aws", "ecs", or "fargate".
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable once set"
	// +kubebuilder:validation:Required
	Name *string `json:"name"`
	// The metadata that you apply to the capacity provider to categorize and organize
	// them more conveniently. 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"`
}

CapacityProviderSpec defines the desired state of CapacityProvider.

The details for a capacity provider.

func (*CapacityProviderSpec) DeepCopy added in v1.4.0

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

func (*CapacityProviderSpec) DeepCopyInto added in v1.4.0

func (in *CapacityProviderSpec) DeepCopyInto(out *CapacityProviderSpec)

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

type CapacityProviderStatus

type CapacityProviderStatus 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 current status of the capacity provider. Only capacity providers in an
	// ACTIVE state can be used in a cluster. When a capacity provider is successfully
	// deleted, it has an INACTIVE status.
	// +kubebuilder:validation:Optional
	Status *string `json:"status,omitempty"`
	// The type of capacity provider. For Amazon ECS Managed Instances, this value
	// is MANAGED_INSTANCES, indicating that Amazon ECS manages the underlying Amazon
	// EC2 instances on your behalf.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty"`
	// The update status of the capacity provider. The following are the possible
	// states that is returned.
	//
	// DELETE_IN_PROGRESS
	//
	// The capacity provider is in the process of being deleted.
	//
	// DELETE_COMPLETE
	//
	// The capacity provider was successfully deleted and has an INACTIVE status.
	//
	// DELETE_FAILED
	//
	// The capacity provider can't be deleted. The update status reason provides
	// further details about why the delete failed.
	// +kubebuilder:validation:Optional
	UpdateStatus *string `json:"updateStatus,omitempty"`
	// The update status reason. This provides further details about the update
	// status for the capacity provider.
	// +kubebuilder:validation:Optional
	UpdateStatusReason *string `json:"updateStatusReason,omitempty"`
}

CapacityProviderStatus defines the observed state of CapacityProvider

func (*CapacityProviderStatus) DeepCopy added in v1.4.0

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

func (*CapacityProviderStatus) DeepCopyInto added in v1.4.0

func (in *CapacityProviderStatus) DeepCopyInto(out *CapacityProviderStatus)

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

type CapacityProviderStatus_SDK added in v1.4.0

type CapacityProviderStatus_SDK string
const (
	CapacityProviderStatus_SDK_ACTIVE         CapacityProviderStatus_SDK = "ACTIVE"
	CapacityProviderStatus_SDK_DEPROVISIONING CapacityProviderStatus_SDK = "DEPROVISIONING"
	CapacityProviderStatus_SDK_INACTIVE       CapacityProviderStatus_SDK = "INACTIVE"
	CapacityProviderStatus_SDK_PROVISIONING   CapacityProviderStatus_SDK = "PROVISIONING"
)

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 (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RunTask.html)or CreateCluster (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateCluster.html) 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 (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) 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 CreateClusterCapacityProvider (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateClusterCapacityProvider.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 in a capacity provider strategy.

With FARGATE_SPOT, you can run interruption tolerant tasks at a rate that's discounted compared to the FARGATE price. FARGATE_SPOT runs tasks on spare compute capacity. When Amazon Web Services needs the capacity back, your tasks are interrupted with a two-minute warning. FARGATE_SPOT supports Linux tasks with the X86_64 architecture on platform version 1.3.0 or later. FARGATE_SPOT supports Linux tasks with the ARM64 architecture on platform version 1.4.0 or later.

A capacity provider strategy can contain a maximum of 20 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 CapacityProviderType added in v1.4.0

type CapacityProviderType string
const (
	CapacityProviderType_EC2_AUTOSCALING   CapacityProviderType = "EC2_AUTOSCALING"
	CapacityProviderType_FARGATE           CapacityProviderType = "FARGATE"
	CapacityProviderType_FARGATE_SPOT      CapacityProviderType = "FARGATE_SPOT"
	CapacityProviderType_MANAGED_INSTANCES CapacityProviderType = "MANAGED_INSTANCES"
)

type CapacityProviderUpdateStatus

type CapacityProviderUpdateStatus string
const (
	CapacityProviderUpdateStatus_CREATE_COMPLETE    CapacityProviderUpdateStatus = "CREATE_COMPLETE"
	CapacityProviderUpdateStatus_CREATE_FAILED      CapacityProviderUpdateStatus = "CREATE_FAILED"
	CapacityProviderUpdateStatus_CREATE_IN_PROGRESS CapacityProviderUpdateStatus = "CREATE_IN_PROGRESS"
	CapacityProviderUpdateStatus_DELETE_COMPLETE    CapacityProviderUpdateStatus = "DELETE_COMPLETE"
	CapacityProviderUpdateStatus_DELETE_FAILED      CapacityProviderUpdateStatus = "DELETE_FAILED"
	CapacityProviderUpdateStatus_DELETE_IN_PROGRESS CapacityProviderUpdateStatus = "DELETE_IN_PROGRESS"
	CapacityProviderUpdateStatus_UPDATE_COMPLETE    CapacityProviderUpdateStatus = "UPDATE_COMPLETE"
	CapacityProviderUpdateStatus_UPDATE_FAILED      CapacityProviderUpdateStatus = "UPDATE_FAILED"
	CapacityProviderUpdateStatus_UPDATE_IN_PROGRESS CapacityProviderUpdateStatus = "UPDATE_IN_PROGRESS"
)

type CapacityProvider_SDK added in v1.4.0

type CapacityProvider_SDK struct {
	// The details of the Auto Scaling group for the capacity provider.
	AutoScalingGroupProvider *AutoScalingGroupProvider `json:"autoScalingGroupProvider,omitempty"`
	CapacityProviderARN      *string                   `json:"capacityProviderARN,omitempty"`
	Cluster                  *string                   `json:"cluster,omitempty"`
	// The configuration for a Amazon ECS Managed Instances provider. Amazon ECS
	// uses this configuration to automatically launch, manage, and terminate Amazon
	// EC2 instances on your behalf. Managed instances provide access to the full
	// range of Amazon EC2 instance types and features while offloading infrastructure
	// management to Amazon Web Services.
	ManagedInstancesProvider *ManagedInstancesProvider `json:"managedInstancesProvider,omitempty"`
	Name                     *string                   `json:"name,omitempty"`
	Status                   *string                   `json:"status,omitempty"`
	Tags                     []*Tag                    `json:"tags,omitempty"`
	Type                     *string                   `json:"type_,omitempty"`
	UpdateStatus             *string                   `json:"updateStatus,omitempty"`
	UpdateStatusReason       *string                   `json:"updateStatusReason,omitempty"`
}

The details for a capacity provider.

func (*CapacityProvider_SDK) DeepCopy added in v1.4.0

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

func (*CapacityProvider_SDK) DeepCopyInto added in v1.4.0

func (in *CapacityProvider_SDK) DeepCopyInto(out *CapacityProvider_SDK)

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

type CapacityReservationPreference added in v1.4.0

type CapacityReservationPreference string
const (
	CapacityReservationPreference_RESERVATIONS_EXCLUDED CapacityReservationPreference = "RESERVATIONS_EXCLUDED"
	CapacityReservationPreference_RESERVATIONS_FIRST    CapacityReservationPreference = "RESERVATIONS_FIRST"
	CapacityReservationPreference_RESERVATIONS_ONLY     CapacityReservationPreference = "RESERVATIONS_ONLY"
)

type CapacityReservationRequest added in v1.4.0

type CapacityReservationRequest struct {
	ReservationGroupARN   *string `json:"reservationGroupARN,omitempty"`
	ReservationPreference *string `json:"reservationPreference,omitempty"`
}

The Capacity Reservation configurations to be used when using the RESERVED capacity option type.

func (*CapacityReservationRequest) DeepCopy added in v1.4.0

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

func (*CapacityReservationRequest) DeepCopyInto added in v1.4.0

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

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 and managed storage 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 with enhanced observability or CloudWatch Container Insights for a cluster.

Container Insights with enhanced observability provides all the Container Insights metrics, plus additional task and container metrics. This version supports enhanced observability for Amazon ECS clusters using the Amazon EC2 and Fargate launch types. After you configure Container Insights with enhanced observability on Amazon ECS, Container Insights auto-collects detailed infrastructure telemetry from the cluster level down to the container level in your environment and displays these critical performance data in curated dashboards removing the heavy lifting in observability set-up.

For more information, see Monitor Amazon ECS containers using Container Insights with enhanced observability (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html) in the Amazon Elastic Container Service Developer Guide.

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
	// (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html)
	// 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 (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html)
	// or PutAccountSettingDefault (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html).
	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 (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ListServices.html).
	// +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 and managed storage 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_EXTERNAL          Compatibility = "EXTERNAL"
	Compatibility_FARGATE           Compatibility = "FARGATE"
	Compatibility_MANAGED_INSTANCES Compatibility = "MANAGED_INSTANCES"
)

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_COMPLETE ContainerCondition = "COMPLETE"
	ContainerCondition_HEALTHY  ContainerCondition = "HEALTHY"
	ContainerCondition_START    ContainerCondition = "START"
	ContainerCondition_SUCCESS  ContainerCondition = "SUCCESS"
)

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.
	//
	// 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.
	//
	// Amazon ECS performs health checks on containers with the default that launched
	// the container instance or the task.
	//
	// 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.
	//
	// When a container health check fails for a task that is part of a service,
	// the following process occurs:
	//
	// The task is marked as UNHEALTHY.
	//
	// The unhealthy task will be stopped, and during the stopping process, it will
	// go through the following states:
	//
	//    * DEACTIVATING - In this state, Amazon ECS performs additional steps before
	//    stopping the task. For example, for tasks that are part of services configured
	//    to use Elastic Load Balancing target groups, target groups will be deregistered
	//    in this state.
	//
	//    * STOPPING - The task is in the process of being stopped.
	//
	//    * DEPROVISIONING - Resources associated with the task are being cleaned
	//    up.
	//
	//    * STOPPED - The task has been completely stopped.
	//
	// After the old task stops, a new task will be launched to ensure service operation,
	// and the new task will go through the following lifecycle:
	//
	//    * PROVISIONING - Resources required for the task are being provisioned.
	//
	//    * PENDING - The task is waiting to be placed on a container instance.
	//
	//    * ACTIVATING - In this state, Amazon ECS pulls container images, creates
	//    containers, configures task networking, registers load balancer target
	//    groups, and configures service discovery status.
	//
	//    * RUNNING - The task is running and performing its work.
	//
	// For more detailed information about task lifecycle states, see Task lifecycle
	// (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle-explanation.html)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// The following are notes about container health check support:
	//
	//    * If the Amazon ECS container agent becomes disconnected from the Amazon
	//    ECS service, this won't cause a container to transition to an UNHEALTHY
	//    status. This is by design, to ensure that containers remain running during
	//    agent restarts or temporary unavailability. The health check status is
	//    the "last heard from" response from the Amazon ECS agent, so if the container
	//    was considered HEALTHY prior to the disconnect, that status will remain
	//    until the agent reconnects and another health check occurs. 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.
	//
	// For an example of how to specify a task definition with multiple containers
	// where container dependency is specified, 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.
	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 docker container create command and the --log-driver option to docker
	// 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.
	//
	// 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,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 ContainerImage added in v1.0.5

type ContainerImage struct {
	ContainerName *string `json:"containerName,omitempty"`
	Image         *string `json:"image,omitempty"`
	ImageDigest   *string `json:"imageDigest,omitempty"`
}

The details about the container image a service revision uses.

To ensure that all tasks in a service use the same container image, Amazon ECS resolves container image names and any image tags specified in the task definition to container image digests.

After the container image digest has been established, Amazon ECS uses the digest to start any other desired tasks, and for any future service and service revision updates. This leads to all tasks in a service always running identical container images, resulting in version consistency for your software. For more information, see Container image resolution (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html#deployment-container-image-stability) in the Amazon ECS Developer Guide.

func (*ContainerImage) DeepCopy added in v1.0.5

func (in *ContainerImage) DeepCopy() *ContainerImage

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

func (*ContainerImage) DeepCopyInto added in v1.0.5

func (in *ContainerImage) DeepCopyInto(out *ContainerImage)

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_CONTAINER_INSTANCE_HEALTH ContainerInstanceField = "CONTAINER_INSTANCE_HEALTH"
	ContainerInstanceField_TAGS                      ContainerInstanceField = "TAGS"
)

type ContainerInstanceStatus

type ContainerInstanceStatus string
const (
	ContainerInstanceStatus_ACTIVE              ContainerInstanceStatus = "ACTIVE"
	ContainerInstanceStatus_DEREGISTERING       ContainerInstanceStatus = "DEREGISTERING"
	ContainerInstanceStatus_DRAINING            ContainerInstanceStatus = "DRAINING"
	ContainerInstanceStatus_REGISTERING         ContainerInstanceStatus = "REGISTERING"
	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 CreateManagedInstancesProviderConfiguration added in v1.4.0

type CreateManagedInstancesProviderConfiguration struct {
	// The auto repair configuration for an Amazon ECS Managed Instances capacity
	// provider. When enabled, Amazon ECS automatically replaces container instances
	// that are detected as unhealthy based on container instance health checks,
	// including accelerated compute device and daemon health checks.
	AutoRepairConfiguration *AutoRepairConfiguration `json:"autoRepairConfiguration,omitempty"`
	// The configuration that controls how Amazon ECS optimizes your infrastructure.
	InfrastructureOptimization *InfrastructureOptimization `json:"infrastructureOptimization,omitempty"`
	InfrastructureRoleARN      *string                     `json:"infrastructureRoleARN,omitempty"`
	// Reference field for InfrastructureRoleARN
	InfrastructureRoleRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"infrastructureRoleRef,omitempty"`
	// The launch template configuration for Amazon ECS Managed Instances. This
	// defines how Amazon ECS launches Amazon EC2 instances, including the instance
	// profile for your tasks, network and storage configuration, capacity options,
	// and instance requirements for flexible instance type selection.
	InstanceLaunchTemplate *InstanceLaunchTemplate `json:"instanceLaunchTemplate,omitempty"`
	PropagateTags          *string                 `json:"propagateTags,omitempty"`
}

The configuration for creating a Amazon ECS Managed Instances provider. This specifies how Amazon ECS should manage Amazon EC2 instances, including the infrastructure role, instance launch template, and whether to propagate tags from the capacity provider to the instances.

func (*CreateManagedInstancesProviderConfiguration) DeepCopy added in v1.4.0

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

func (*CreateManagedInstancesProviderConfiguration) DeepCopyInto added in v1.4.0

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

type CreatedAt added in v1.0.5

type CreatedAt struct {
	After  *metav1.Time `json:"after,omitempty"`
	Before *metav1.Time `json:"before,omitempty"`
}

The optional filter to narrow the ListServiceDeployment results.

If you do not specify a value, service deployments that were created before the current time are included in the result.

func (*CreatedAt) DeepCopy added in v1.0.5

func (in *CreatedAt) DeepCopy() *CreatedAt

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

func (*CreatedAt) DeepCopyInto added in v1.0.5

func (in *CreatedAt) DeepCopyInto(out *CreatedAt)

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

type DaemonAlarmConfiguration added in v1.4.0

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

The CloudWatch alarm configuration for a daemon. When enabled, CloudWatch alarms determine whether a daemon deployment has failed.

func (*DaemonAlarmConfiguration) DeepCopy added in v1.4.0

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

func (*DaemonAlarmConfiguration) DeepCopyInto added in v1.4.0

func (in *DaemonAlarmConfiguration) DeepCopyInto(out *DaemonAlarmConfiguration)

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

type DaemonCapacityProvider added in v1.4.0

type DaemonCapacityProvider struct {
	ARN          *string `json:"arn,omitempty"`
	RunningCount *int64  `json:"runningCount,omitempty"`
}

Information about a capacity provider associated with a daemon revision.

func (*DaemonCapacityProvider) DeepCopy added in v1.4.0

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

func (*DaemonCapacityProvider) DeepCopyInto added in v1.4.0

func (in *DaemonCapacityProvider) DeepCopyInto(out *DaemonCapacityProvider)

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

type DaemonCircuitBreaker added in v1.4.0

type DaemonCircuitBreaker struct {
	FailureCount *int64 `json:"failureCount,omitempty"`
	Threshold    *int64 `json:"threshold,omitempty"`
}

Information about the circuit breaker used to determine when a daemon deployment has failed.

func (*DaemonCircuitBreaker) DeepCopy added in v1.4.0

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

func (*DaemonCircuitBreaker) DeepCopyInto added in v1.4.0

func (in *DaemonCircuitBreaker) DeepCopyInto(out *DaemonCircuitBreaker)

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

type DaemonContainerDefinition added in v1.4.0

type DaemonContainerDefinition struct {
	Command          []*string              `json:"command,omitempty"`
	CPU              *int64                 `json:"cpu,omitempty"`
	DependsOn        []*ContainerDependency `json:"dependsOn,omitempty"`
	EntryPoint       []*string              `json:"entryPoint,omitempty"`
	Environment      []*KeyValuePair        `json:"environment,omitempty"`
	EnvironmentFiles []*EnvironmentFile     `json:"environmentFiles,omitempty"`
	Essential        *bool                  `json:"essential,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.
	//
	// 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.
	//
	// Amazon ECS performs health checks on containers with the default that launched
	// the container instance or the task.
	//
	// 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.
	//
	// When a container health check fails for a task that is part of a service,
	// the following process occurs:
	//
	// The task is marked as UNHEALTHY.
	//
	// The unhealthy task will be stopped, and during the stopping process, it will
	// go through the following states:
	//
	//    * DEACTIVATING - In this state, Amazon ECS performs additional steps before
	//    stopping the task. For example, for tasks that are part of services configured
	//    to use Elastic Load Balancing target groups, target groups will be deregistered
	//    in this state.
	//
	//    * STOPPING - The task is in the process of being stopped.
	//
	//    * DEPROVISIONING - Resources associated with the task are being cleaned
	//    up.
	//
	//    * STOPPED - The task has been completely stopped.
	//
	// After the old task stops, a new task will be launched to ensure service operation,
	// and the new task will go through the following lifecycle:
	//
	//    * PROVISIONING - Resources required for the task are being provisioned.
	//
	//    * PENDING - The task is waiting to be placed on a container instance.
	//
	//    * ACTIVATING - In this state, Amazon ECS pulls container images, creates
	//    containers, configures task networking, registers load balancer target
	//    groups, and configures service discovery status.
	//
	//    * RUNNING - The task is running and performing its work.
	//
	// For more detailed information about task lifecycle states, see Task lifecycle
	// (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle-explanation.html)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// The following are notes about container health check support:
	//
	//    * If the Amazon ECS container agent becomes disconnected from the Amazon
	//    ECS service, this won't cause a container to transition to an UNHEALTHY
	//    status. This is by design, to ensure that containers remain running during
	//    agent restarts or temporary unavailability. The health check status is
	//    the "last heard from" response from the Amazon ECS agent, so if the container
	//    was considered HEALTHY prior to the disconnect, that status will remain
	//    until the agent reconnects and another health check occurs. 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.
	//
	// For an example of how to specify a task definition with multiple containers
	// where container dependency is specified, 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.
	HealthCheck *HealthCheck `json:"healthCheck,omitempty"`
	Image       *string      `json:"image,omitempty"`
	Interactive *bool        `json:"interactive,omitempty"`
	// The log configuration for the container. This parameter maps to LogConfig
	// in the docker container create command and the --log-driver option to docker
	// 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.
	//
	// 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,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"`
	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"`
	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"`
	WorkingDirectory      *string                `json:"workingDirectory,omitempty"`
}

A container definition for a daemon task. Daemon container definitions describe the containers that run as part of a daemon task on container instances managed by capacity providers.

func (*DaemonContainerDefinition) DeepCopy added in v1.4.0

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

func (*DaemonContainerDefinition) DeepCopyInto added in v1.4.0

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

type DaemonContainerImage added in v1.4.0

type DaemonContainerImage struct {
	ContainerName *string `json:"containerName,omitempty"`
	Image         *string `json:"image,omitempty"`
	ImageDigest   *string `json:"imageDigest,omitempty"`
}

The details about the container image a daemon revision uses.

func (*DaemonContainerImage) DeepCopy added in v1.4.0

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

func (*DaemonContainerImage) DeepCopyInto added in v1.4.0

func (in *DaemonContainerImage) DeepCopyInto(out *DaemonContainerImage)

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

type DaemonDeployment added in v1.4.0

type DaemonDeployment struct {
	ClusterARN          *string      `json:"clusterARN,omitempty"`
	CreatedAt           *metav1.Time `json:"createdAt,omitempty"`
	DaemonDeploymentARN *string      `json:"daemonDeploymentARN,omitempty"`
	FinishedAt          *metav1.Time `json:"finishedAt,omitempty"`
	StartedAt           *metav1.Time `json:"startedAt,omitempty"`
	StatusReason        *string      `json:"statusReason,omitempty"`
	StoppedAt           *metav1.Time `json:"stoppedAt,omitempty"`
}

Information about a daemon deployment. A daemon deployment orchestrates the progressive rollout of daemon task updates across container instances.

func (*DaemonDeployment) DeepCopy added in v1.4.0

func (in *DaemonDeployment) DeepCopy() *DaemonDeployment

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

func (*DaemonDeployment) DeepCopyInto added in v1.4.0

func (in *DaemonDeployment) DeepCopyInto(out *DaemonDeployment)

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

type DaemonDeploymentAlarms added in v1.4.0

type DaemonDeploymentAlarms struct {
	AlarmNames          []*string `json:"alarmNames,omitempty"`
	TriggeredAlarmNames []*string `json:"triggeredAlarmNames,omitempty"`
}

The CloudWatch alarms used to determine a daemon deployment failed.

func (*DaemonDeploymentAlarms) DeepCopy added in v1.4.0

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

func (*DaemonDeploymentAlarms) DeepCopyInto added in v1.4.0

func (in *DaemonDeploymentAlarms) DeepCopyInto(out *DaemonDeploymentAlarms)

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

type DaemonDeploymentCapacityProvider added in v1.4.0

type DaemonDeploymentCapacityProvider struct {
	ARN                   *string `json:"arn,omitempty"`
	DrainingInstanceCount *int64  `json:"drainingInstanceCount,omitempty"`
	RunningInstanceCount  *int64  `json:"runningInstanceCount,omitempty"`
}

Information about a capacity provider during a daemon deployment.

func (*DaemonDeploymentCapacityProvider) DeepCopy added in v1.4.0

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

func (*DaemonDeploymentCapacityProvider) DeepCopyInto added in v1.4.0

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

type DaemonDeploymentConfiguration added in v1.4.0

type DaemonDeploymentConfiguration struct {
	BakeTimeInMinutes *int64 `json:"bakeTimeInMinutes,omitempty"`
}

Optional deployment parameters that control how a daemon rolls out updates across container instances.

func (*DaemonDeploymentConfiguration) DeepCopy added in v1.4.0

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

func (*DaemonDeploymentConfiguration) DeepCopyInto added in v1.4.0

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

type DaemonDeploymentRevisionDetail added in v1.4.0

type DaemonDeploymentRevisionDetail struct {
	ARN                        *string `json:"arn,omitempty"`
	TotalDrainingInstanceCount *int64  `json:"totalDrainingInstanceCount,omitempty"`
	TotalRunningInstanceCount  *int64  `json:"totalRunningInstanceCount,omitempty"`
}

Details about a daemon revision during a deployment, including running and draining instance counts per capacity provider.

func (*DaemonDeploymentRevisionDetail) DeepCopy added in v1.4.0

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

func (*DaemonDeploymentRevisionDetail) DeepCopyInto added in v1.4.0

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

type DaemonDeploymentRollbackMonitorsStatus added in v1.4.0

type DaemonDeploymentRollbackMonitorsStatus string
const (
	DaemonDeploymentRollbackMonitorsStatus_DISABLED            DaemonDeploymentRollbackMonitorsStatus = "DISABLED"
	DaemonDeploymentRollbackMonitorsStatus_MONITORING          DaemonDeploymentRollbackMonitorsStatus = "MONITORING"
	DaemonDeploymentRollbackMonitorsStatus_MONITORING_COMPLETE DaemonDeploymentRollbackMonitorsStatus = "MONITORING_COMPLETE"
	DaemonDeploymentRollbackMonitorsStatus_TRIGGERED           DaemonDeploymentRollbackMonitorsStatus = "TRIGGERED"
)

type DaemonDeploymentStatus added in v1.4.0

type DaemonDeploymentStatus string
const (
	DaemonDeploymentStatus_IN_PROGRESS          DaemonDeploymentStatus = "IN_PROGRESS"
	DaemonDeploymentStatus_PENDING              DaemonDeploymentStatus = "PENDING"
	DaemonDeploymentStatus_ROLLBACK_FAILED      DaemonDeploymentStatus = "ROLLBACK_FAILED"
	DaemonDeploymentStatus_ROLLBACK_IN_PROGRESS DaemonDeploymentStatus = "ROLLBACK_IN_PROGRESS"
	DaemonDeploymentStatus_ROLLBACK_SUCCESSFUL  DaemonDeploymentStatus = "ROLLBACK_SUCCESSFUL"
	DaemonDeploymentStatus_STOPPED              DaemonDeploymentStatus = "STOPPED"
	DaemonDeploymentStatus_STOP_REQUESTED       DaemonDeploymentStatus = "STOP_REQUESTED"
	DaemonDeploymentStatus_SUCCESSFUL           DaemonDeploymentStatus = "SUCCESSFUL"
)

type DaemonDeploymentSummary added in v1.4.0

type DaemonDeploymentSummary struct {
	ClusterARN              *string      `json:"clusterARN,omitempty"`
	CreatedAt               *metav1.Time `json:"createdAt,omitempty"`
	DaemonARN               *string      `json:"daemonARN,omitempty"`
	DaemonDeploymentARN     *string      `json:"daemonDeploymentARN,omitempty"`
	FinishedAt              *metav1.Time `json:"finishedAt,omitempty"`
	StartedAt               *metav1.Time `json:"startedAt,omitempty"`
	StatusReason            *string      `json:"statusReason,omitempty"`
	StoppedAt               *metav1.Time `json:"stoppedAt,omitempty"`
	TargetDaemonRevisionARN *string      `json:"targetDaemonRevisionARN,omitempty"`
}

A summary of a daemon deployment.

func (*DaemonDeploymentSummary) DeepCopy added in v1.4.0

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

func (*DaemonDeploymentSummary) DeepCopyInto added in v1.4.0

func (in *DaemonDeploymentSummary) DeepCopyInto(out *DaemonDeploymentSummary)

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

type DaemonDetail added in v1.4.0

type DaemonDetail struct {
	ClusterARN    *string      `json:"clusterARN,omitempty"`
	CreatedAt     *metav1.Time `json:"createdAt,omitempty"`
	DaemonARN     *string      `json:"daemonARN,omitempty"`
	DeploymentARN *string      `json:"deploymentARN,omitempty"`
	UpdatedAt     *metav1.Time `json:"updatedAt,omitempty"`
}

The detailed information about a daemon.

func (*DaemonDetail) DeepCopy added in v1.4.0

func (in *DaemonDetail) DeepCopy() *DaemonDetail

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

func (*DaemonDetail) DeepCopyInto added in v1.4.0

func (in *DaemonDetail) DeepCopyInto(out *DaemonDetail)

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

type DaemonLinuxParameters added in v1.4.0

type DaemonLinuxParameters struct {
	// The Linux capabilities to add or remove from the default Docker configuration
	// for a container defined in the task definition. 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.
	//
	// The following describes how Docker processes the Linux capabilities specified
	// in the add and drop request parameters. For information about the latest
	// behavior, see Docker Compose: order of cap_drop and cap_add (https://forums.docker.com/t/docker-compose-order-of-cap-drop-and-cap-add/97136/1)
	// in the Docker Community Forum.
	//
	//    * When the container is a privleged container, the container capabilities
	//    are all of the default Docker capabilities. The capabilities specified
	//    in the add request parameter, and the drop request parameter are ignored.
	//
	//    * When the add request parameter is set to ALL, the container capabilities
	//    are all of the default Docker capabilities, excluding those specified
	//    in the drop request parameter.
	//
	//    * When the drop request parameter is set to ALL, the container capabilities
	//    are the capabilities specified in the add request parameter.
	//
	//    * When the add request parameter and the drop request parameter are both
	//    empty, the capabilities the container capabilities are all of the default
	//    Docker capabilities.
	//
	//    * The default is to first drop the capabilities specified in the drop
	//    request parameter, and then add the capabilities specified in the add
	//    request parameter.
	Capabilities       *KernelCapabilities `json:"capabilities,omitempty"`
	Devices            []*Device           `json:"devices,omitempty"`
	InitProcessEnabled *bool               `json:"initProcessEnabled,omitempty"`
	Tmpfs              []*Tmpfs            `json:"tmpfs,omitempty"`
}

The Linux-specific options that are applied to the daemon container, such as Linux kernel capabilities.

func (*DaemonLinuxParameters) DeepCopy added in v1.4.0

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

func (*DaemonLinuxParameters) DeepCopyInto added in v1.4.0

func (in *DaemonLinuxParameters) DeepCopyInto(out *DaemonLinuxParameters)

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

type DaemonPropagateTags added in v1.4.0

type DaemonPropagateTags string
const (
	DaemonPropagateTags_DAEMON DaemonPropagateTags = "DAEMON"
	DaemonPropagateTags_NONE   DaemonPropagateTags = "NONE"
)

type DaemonRevision added in v1.4.0

type DaemonRevision struct {
	ClusterARN              *string      `json:"clusterARN,omitempty"`
	CreatedAt               *metav1.Time `json:"createdAt,omitempty"`
	DaemonARN               *string      `json:"daemonARN,omitempty"`
	DaemonRevisionARN       *string      `json:"daemonRevisionARN,omitempty"`
	DaemonTaskDefinitionARN *string      `json:"daemonTaskDefinitionARN,omitempty"`
	EnableECSManagedTags    *bool        `json:"enableECSManagedTags,omitempty"`
	EnableExecuteCommand    *bool        `json:"enableExecuteCommand,omitempty"`
}

Information about a daemon revision. A daemon revision is a snapshot of the daemon's configuration at the time a deployment was initiated.

func (*DaemonRevision) DeepCopy added in v1.4.0

func (in *DaemonRevision) DeepCopy() *DaemonRevision

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

func (*DaemonRevision) DeepCopyInto added in v1.4.0

func (in *DaemonRevision) DeepCopyInto(out *DaemonRevision)

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

type DaemonRevisionDetail added in v1.4.0

type DaemonRevisionDetail struct {
	ARN               *string `json:"arn,omitempty"`
	TotalRunningCount *int64  `json:"totalRunningCount,omitempty"`
}

Details about a daemon revision, including the running task counts per capacity provider.

func (*DaemonRevisionDetail) DeepCopy added in v1.4.0

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

func (*DaemonRevisionDetail) DeepCopyInto added in v1.4.0

func (in *DaemonRevisionDetail) DeepCopyInto(out *DaemonRevisionDetail)

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

type DaemonRollback added in v1.4.0

type DaemonRollback struct {
	Reason                          *string      `json:"reason,omitempty"`
	RollbackCapacityProviders       []*string    `json:"rollbackCapacityProviders,omitempty"`
	RollbackTargetDaemonRevisionARN *string      `json:"rollbackTargetDaemonRevisionARN,omitempty"`
	StartedAt                       *metav1.Time `json:"startedAt,omitempty"`
}

Information about a daemon deployment rollback.

func (*DaemonRollback) DeepCopy added in v1.4.0

func (in *DaemonRollback) DeepCopy() *DaemonRollback

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

func (*DaemonRollback) DeepCopyInto added in v1.4.0

func (in *DaemonRollback) DeepCopyInto(out *DaemonRollback)

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

type DaemonStatus added in v1.4.0

type DaemonStatus string
const (
	DaemonStatus_ACTIVE             DaemonStatus = "ACTIVE"
	DaemonStatus_DELETE_IN_PROGRESS DaemonStatus = "DELETE_IN_PROGRESS"
)

type DaemonSummary added in v1.4.0

type DaemonSummary struct {
	CreatedAt *metav1.Time `json:"createdAt,omitempty"`
	DaemonARN *string      `json:"daemonARN,omitempty"`
	UpdatedAt *metav1.Time `json:"updatedAt,omitempty"`
}

A summary of a daemon.

func (*DaemonSummary) DeepCopy added in v1.4.0

func (in *DaemonSummary) DeepCopy() *DaemonSummary

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

func (*DaemonSummary) DeepCopyInto added in v1.4.0

func (in *DaemonSummary) DeepCopyInto(out *DaemonSummary)

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

type DaemonTaskDefinition added in v1.4.0

type DaemonTaskDefinition struct {
	CPU                     *string      `json:"cpu,omitempty"`
	DaemonTaskDefinitionARN *string      `json:"daemonTaskDefinitionARN,omitempty"`
	DeleteRequestedAt       *metav1.Time `json:"deleteRequestedAt,omitempty"`
	ExecutionRoleARN        *string      `json:"executionRoleARN,omitempty"`
	Family                  *string      `json:"family,omitempty"`
	Memory                  *string      `json:"memory,omitempty"`
	RegisteredAt            *metav1.Time `json:"registeredAt,omitempty"`
	RegisteredBy            *string      `json:"registeredBy,omitempty"`
	Revision                *int64       `json:"revision,omitempty"`
	TaskRoleARN             *string      `json:"taskRoleARN,omitempty"`
}

The details of a daemon task definition. A daemon task definition is a template that describes the containers that form a daemon. Daemons deploy cross-cutting software agents independently across your Amazon ECS infrastructure.

func (*DaemonTaskDefinition) DeepCopy added in v1.4.0

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

func (*DaemonTaskDefinition) DeepCopyInto added in v1.4.0

func (in *DaemonTaskDefinition) DeepCopyInto(out *DaemonTaskDefinition)

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

type DaemonTaskDefinitionRevisionFilter added in v1.4.0

type DaemonTaskDefinitionRevisionFilter string
const (
	DaemonTaskDefinitionRevisionFilter_LAST_REGISTERED DaemonTaskDefinitionRevisionFilter = "LAST_REGISTERED"
)

type DaemonTaskDefinitionStatus added in v1.4.0

type DaemonTaskDefinitionStatus string
const (
	DaemonTaskDefinitionStatus_ACTIVE             DaemonTaskDefinitionStatus = "ACTIVE"
	DaemonTaskDefinitionStatus_DELETED            DaemonTaskDefinitionStatus = "DELETED"
	DaemonTaskDefinitionStatus_DELETE_IN_PROGRESS DaemonTaskDefinitionStatus = "DELETE_IN_PROGRESS"
)

type DaemonTaskDefinitionStatusFilter added in v1.4.0

type DaemonTaskDefinitionStatusFilter string
const (
	DaemonTaskDefinitionStatusFilter_ACTIVE             DaemonTaskDefinitionStatusFilter = "ACTIVE"
	DaemonTaskDefinitionStatusFilter_ALL                DaemonTaskDefinitionStatusFilter = "ALL"
	DaemonTaskDefinitionStatusFilter_DELETE_IN_PROGRESS DaemonTaskDefinitionStatusFilter = "DELETE_IN_PROGRESS"
)

type DaemonTaskDefinitionSummary added in v1.4.0

type DaemonTaskDefinitionSummary struct {
	ARN               *string      `json:"arn,omitempty"`
	DeleteRequestedAt *metav1.Time `json:"deleteRequestedAt,omitempty"`
	RegisteredAt      *metav1.Time `json:"registeredAt,omitempty"`
	RegisteredBy      *string      `json:"registeredBy,omitempty"`
}

A summary of a daemon task definition.

func (*DaemonTaskDefinitionSummary) DeepCopy added in v1.4.0

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

func (*DaemonTaskDefinitionSummary) DeepCopyInto added in v1.4.0

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

type DaemonVolume added in v1.4.0

type DaemonVolume struct {
	// Details on a container instance bind mount host volume.
	Host *HostVolumeProperties `json:"host,omitempty"`
	Name *string               `json:"name,omitempty"`
}

A data volume definition for a daemon task.

func (*DaemonVolume) DeepCopy added in v1.4.0

func (in *DaemonVolume) DeepCopy() *DaemonVolume

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

func (*DaemonVolume) DeepCopyInto added in v1.4.0

func (in *DaemonVolume) DeepCopyInto(out *DaemonVolume)

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.

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.
	//
	// 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.

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_CODE_DEPLOY DeploymentControllerType = "CODE_DEPLOY"
	DeploymentControllerType_ECS         DeploymentControllerType = "ECS"
	DeploymentControllerType_EXTERNAL    DeploymentControllerType = "EXTERNAL"
)

type DeploymentEphemeralStorage added in v1.0.5

type DeploymentEphemeralStorage struct {
	KMSKeyID *string `json:"kmsKeyID,omitempty"`
}

The amount of ephemeral storage to allocate for the deployment.

func (*DeploymentEphemeralStorage) DeepCopy added in v1.0.5

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

func (*DeploymentEphemeralStorage) DeepCopyInto added in v1.0.5

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

type DeploymentLifecycleHook added in v1.4.0

type DeploymentLifecycleHook struct {
	HookTargetARN *string `json:"hookTargetARN,omitempty"`
	RoleARN       *string `json:"roleARN,omitempty"`
}

A deployment lifecycle hook runs custom logic at specific stages of the deployment process. Currently, you can use Lambda functions as hook targets.

For more information, see Lifecycle hooks for Amazon ECS service deployments (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-lifecycle-hooks.html) in the Amazon Elastic Container Service Developer Guide.

func (*DeploymentLifecycleHook) DeepCopy added in v1.4.0

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

func (*DeploymentLifecycleHook) DeepCopyInto added in v1.4.0

func (in *DeploymentLifecycleHook) DeepCopyInto(out *DeploymentLifecycleHook)

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

type DeploymentLifecycleHookAction added in v1.4.0

type DeploymentLifecycleHookAction string
const (
	DeploymentLifecycleHookAction_CONTINUE DeploymentLifecycleHookAction = "CONTINUE"
	DeploymentLifecycleHookAction_ROLLBACK DeploymentLifecycleHookAction = "ROLLBACK"
)

type DeploymentLifecycleHookDetail added in v1.4.0

type DeploymentLifecycleHookDetail struct {
	ExpiresAt *metav1.Time `json:"expiresAt,omitempty"`
	HookID    *string      `json:"hookID,omitempty"`
	TargetARN *string      `json:"targetARN,omitempty"`
}

The details of a deployment lifecycle hook that is active during a service deployment.

You can view lifecycle hook details by calling DescribeServiceDeployments (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeServiceDeployments.html).

func (*DeploymentLifecycleHookDetail) DeepCopy added in v1.4.0

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

func (*DeploymentLifecycleHookDetail) DeepCopyInto added in v1.4.0

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

type DeploymentLifecycleHookStage added in v1.4.0

type DeploymentLifecycleHookStage string
const (
	DeploymentLifecycleHookStage_POST_PRODUCTION_TRAFFIC_SHIFT DeploymentLifecycleHookStage = "POST_PRODUCTION_TRAFFIC_SHIFT"
	DeploymentLifecycleHookStage_POST_SCALE_UP                 DeploymentLifecycleHookStage = "POST_SCALE_UP"
	DeploymentLifecycleHookStage_POST_TEST_TRAFFIC_SHIFT       DeploymentLifecycleHookStage = "POST_TEST_TRAFFIC_SHIFT"
	DeploymentLifecycleHookStage_PRE_PRODUCTION_TRAFFIC_SHIFT  DeploymentLifecycleHookStage = "PRE_PRODUCTION_TRAFFIC_SHIFT"
	DeploymentLifecycleHookStage_PRE_SCALE_UP                  DeploymentLifecycleHookStage = "PRE_SCALE_UP"
	DeploymentLifecycleHookStage_PRODUCTION_TRAFFIC_SHIFT      DeploymentLifecycleHookStage = "PRODUCTION_TRAFFIC_SHIFT"
	DeploymentLifecycleHookStage_RECONCILE_SERVICE             DeploymentLifecycleHookStage = "RECONCILE_SERVICE"
	DeploymentLifecycleHookStage_TEST_TRAFFIC_SHIFT            DeploymentLifecycleHookStage = "TEST_TRAFFIC_SHIFT"
)

type DeploymentLifecycleHookStatus added in v1.4.0

type DeploymentLifecycleHookStatus string
const (
	DeploymentLifecycleHookStatus_AWAITING_ACTION DeploymentLifecycleHookStatus = "AWAITING_ACTION"
	DeploymentLifecycleHookStatus_FAILED          DeploymentLifecycleHookStatus = "FAILED"
	DeploymentLifecycleHookStatus_IN_PROGRESS     DeploymentLifecycleHookStatus = "IN_PROGRESS"
	DeploymentLifecycleHookStatus_SUCCEEDED       DeploymentLifecycleHookStatus = "SUCCEEDED"
	DeploymentLifecycleHookStatus_TIMED_OUT       DeploymentLifecycleHookStatus = "TIMED_OUT"
)

type DeploymentLifecycleHookTargetType added in v1.4.0

type DeploymentLifecycleHookTargetType string
const (
	DeploymentLifecycleHookTargetType_AWS_LAMBDA DeploymentLifecycleHookTargetType = "AWS_LAMBDA"
	DeploymentLifecycleHookTargetType_PAUSE      DeploymentLifecycleHookTargetType = "PAUSE"
)

type DeploymentRolloutState

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

type DeploymentStrategy added in v1.4.0

type DeploymentStrategy string
const (
	DeploymentStrategy_BLUE_GREEN DeploymentStrategy = "BLUE_GREEN"
	DeploymentStrategy_CANARY     DeploymentStrategy = "CANARY"
	DeploymentStrategy_LINEAR     DeploymentStrategy = "LINEAR"
	DeploymentStrategy_ROLLING    DeploymentStrategy = "ROLLING"
)

type DesiredStatus

type DesiredStatus string
const (
	DesiredStatus_PENDING DesiredStatus = "PENDING"
	DesiredStatus_RUNNING DesiredStatus = "RUNNING"
	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_mknod DeviceCgroupPermission = "mknod"
	DeviceCgroupPermission_read  DeviceCgroupPermission = "read"
	DeviceCgroupPermission_write DeviceCgroupPermission = "write"
)

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 ECSExpressGatewayService added in v1.4.0

type ECSExpressGatewayService struct {
	Cluster               *string      `json:"cluster,omitempty"`
	CreatedAt             *metav1.Time `json:"createdAt,omitempty"`
	CurrentDeployment     *string      `json:"currentDeployment,omitempty"`
	InfrastructureRoleARN *string      `json:"infrastructureRoleARN,omitempty"`
	ServiceARN            *string      `json:"serviceARN,omitempty"`
	ServiceName           *string      `json:"serviceName,omitempty"`
	Tags                  []*Tag       `json:"tags,omitempty"`
	UpdatedAt             *metav1.Time `json:"updatedAt,omitempty"`
}

Represents an Express service, which provides a simplified way to deploy containerized web applications on Amazon ECS with managed Amazon Web Services infrastructure. An Express service automatically provisions and manages Application Load Balancers, target groups, security groups, and auto-scaling policies.

Express services use a service revision architecture where each service can have multiple active configurations, enabling blue-green deployments and gradual rollouts. The service maintains a list of active configurations and manages the lifecycle of the underlying Amazon Web Services resources.

func (*ECSExpressGatewayService) DeepCopy added in v1.4.0

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

func (*ECSExpressGatewayService) DeepCopyInto added in v1.4.0

func (in *ECSExpressGatewayService) DeepCopyInto(out *ECSExpressGatewayService)

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_DISABLED EFSAuthorizationConfigIAM = "DISABLED"
	EFSAuthorizationConfigIAM_ENABLED  EFSAuthorizationConfigIAM = "ENABLED"
)

type EFSTransitEncryption

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

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 Use a file to pass environment variables to a container (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/use-environment-file.html) in the Amazon Elastic Container Service Developer Guide.

Environment variable files are objects in Amazon S3 and all Amazon S3 security considerations apply.

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_DEFAULT  ExecuteCommandLogging = "DEFAULT"
	ExecuteCommandLogging_NONE     ExecuteCommandLogging = "NONE"
	ExecuteCommandLogging_OVERRIDE ExecuteCommandLogging = "OVERRIDE"
)

type ExpressGatewayContainer added in v1.4.0

type ExpressGatewayContainer struct {
	Command       []*string       `json:"command,omitempty"`
	ContainerPort *int64          `json:"containerPort,omitempty"`
	Environment   []*KeyValuePair `json:"environment,omitempty"`
	Image         *string         `json:"image,omitempty"`
	Secrets       []*Secret       `json:"secrets,omitempty"`
}

Defines the configuration for the primary container in an Express service. This container receives traffic from the Application Load Balancer and runs your application code.

The container configuration includes the container image, port mapping, logging settings, environment variables, and secrets. The container image is the only required parameter, with sensible defaults provided for other settings.

func (*ExpressGatewayContainer) DeepCopy added in v1.4.0

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

func (*ExpressGatewayContainer) DeepCopyInto added in v1.4.0

func (in *ExpressGatewayContainer) DeepCopyInto(out *ExpressGatewayContainer)

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

type ExpressGatewayRepositoryCredentials added in v1.4.0

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

The repository credentials for private registry authentication to pass to the container.

func (*ExpressGatewayRepositoryCredentials) DeepCopy added in v1.4.0

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

func (*ExpressGatewayRepositoryCredentials) DeepCopyInto added in v1.4.0

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

type ExpressGatewayScalingTarget added in v1.4.0

type ExpressGatewayScalingTarget struct {
	AutoScalingTargetValue *int64 `json:"autoScalingTargetValue,omitempty"`
	MaxTaskCount           *int64 `json:"maxTaskCount,omitempty"`
	MinTaskCount           *int64 `json:"minTaskCount,omitempty"`
}

Defines the auto-scaling configuration for an Express service. This determines how the service automatically adjusts the number of running tasks based on demand metrics such as CPU utilization, memory utilization, or request count per target.

Auto-scaling helps ensure your application can handle varying levels of traffic while optimizing costs by scaling down during low-demand periods. You can specify the minimum and maximum number of tasks, the scaling metric, and the target value for that metric.

func (*ExpressGatewayScalingTarget) DeepCopy added in v1.4.0

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

func (*ExpressGatewayScalingTarget) DeepCopyInto added in v1.4.0

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

type ExpressGatewayServiceAWSLogsConfiguration added in v1.4.0

type ExpressGatewayServiceAWSLogsConfiguration struct {
	LogGroup        *string `json:"logGroup,omitempty"`
	LogStreamPrefix *string `json:"logStreamPrefix,omitempty"`
}

Specifies the Amazon CloudWatch Logs configuration for the Express service container.

func (*ExpressGatewayServiceAWSLogsConfiguration) DeepCopy added in v1.4.0

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

func (*ExpressGatewayServiceAWSLogsConfiguration) DeepCopyInto added in v1.4.0

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

type ExpressGatewayServiceConfiguration added in v1.4.0

type ExpressGatewayServiceConfiguration struct {
	CPU                *string      `json:"cpu,omitempty"`
	CreatedAt          *metav1.Time `json:"createdAt,omitempty"`
	ExecutionRoleARN   *string      `json:"executionRoleARN,omitempty"`
	HealthCheckPath    *string      `json:"healthCheckPath,omitempty"`
	Memory             *string      `json:"memory,omitempty"`
	ServiceRevisionARN *string      `json:"serviceRevisionARN,omitempty"`
	TaskRoleARN        *string      `json:"taskRoleARN,omitempty"`
}

Represents a specific configuration revision of an Express service, containing all the settings and parameters for that revision.

func (*ExpressGatewayServiceConfiguration) DeepCopy added in v1.4.0

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

func (*ExpressGatewayServiceConfiguration) DeepCopyInto added in v1.4.0

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

type ExpressGatewayServiceInclude added in v1.4.0

type ExpressGatewayServiceInclude string
const (
	ExpressGatewayServiceInclude_TAGS ExpressGatewayServiceInclude = "TAGS"
)

type ExpressGatewayServiceNetworkConfiguration added in v1.4.0

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

The network configuration for an Express service. By default, an Express service utilizes subnets and security groups associated with the default VPC.

func (*ExpressGatewayServiceNetworkConfiguration) DeepCopy added in v1.4.0

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

func (*ExpressGatewayServiceNetworkConfiguration) DeepCopyInto added in v1.4.0

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

type ExpressGatewayServiceScalingMetric added in v1.4.0

type ExpressGatewayServiceScalingMetric string
const (
	ExpressGatewayServiceScalingMetric_AVERAGE_CPU              ExpressGatewayServiceScalingMetric = "AVERAGE_CPU"
	ExpressGatewayServiceScalingMetric_AVERAGE_MEMORY           ExpressGatewayServiceScalingMetric = "AVERAGE_MEMORY"
	ExpressGatewayServiceScalingMetric_REQUEST_COUNT_PER_TARGET ExpressGatewayServiceScalingMetric = "REQUEST_COUNT_PER_TARGET"
)

type ExpressGatewayServiceStatus added in v1.4.0

type ExpressGatewayServiceStatus struct {
	StatusReason *string `json:"statusReason,omitempty"`
}

An object that defines the status of Express service creation and information about the status of the service.

func (*ExpressGatewayServiceStatus) DeepCopy added in v1.4.0

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

func (*ExpressGatewayServiceStatus) DeepCopyInto added in v1.4.0

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

type ExpressGatewayServiceStatusCode added in v1.4.0

type ExpressGatewayServiceStatusCode string
const (
	ExpressGatewayServiceStatusCode_ACTIVE   ExpressGatewayServiceStatusCode = "ACTIVE"
	ExpressGatewayServiceStatusCode_DRAINING ExpressGatewayServiceStatusCode = "DRAINING"
	ExpressGatewayServiceStatusCode_INACTIVE ExpressGatewayServiceStatusCode = "INACTIVE"
)

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_fluentbit FirelensConfigurationType = "fluentbit"
	FirelensConfigurationType_fluentd   FirelensConfigurationType = "fluentd"
)

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.

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.

Amazon ECS performs health checks on containers with the default that launched the container instance or the task.

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.

When a container health check fails for a task that is part of a service, the following process occurs:

The task is marked as UNHEALTHY.

The unhealthy task will be stopped, and during the stopping process, it will go through the following states:

  • DEACTIVATING - In this state, Amazon ECS performs additional steps before stopping the task. For example, for tasks that are part of services configured to use Elastic Load Balancing target groups, target groups will be deregistered in this state.

  • STOPPING - The task is in the process of being stopped.

  • DEPROVISIONING - Resources associated with the task are being cleaned up.

  • STOPPED - The task has been completely stopped.

After the old task stops, a new task will be launched to ensure service operation, and the new task will go through the following lifecycle:

  • PROVISIONING - Resources required for the task are being provisioned.

  • PENDING - The task is waiting to be placed on a container instance.

  • ACTIVATING - In this state, Amazon ECS pulls container images, creates containers, configures task networking, registers load balancer target groups, and configures service discovery status.

  • RUNNING - The task is running and performing its work.

For more detailed information about task lifecycle states, see Task lifecycle (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle-explanation.html) in the Amazon Elastic Container Service Developer Guide.

The following are notes about container health check support:

  • If the Amazon ECS container agent becomes disconnected from the Amazon ECS service, this won't cause a container to transition to an UNHEALTHY status. This is by design, to ensure that containers remain running during agent restarts or temporary unavailability. The health check status is the "last heard from" response from the Amazon ECS agent, so if the container was considered HEALTHY prior to the disconnect, that status will remain until the agent reconnects and another health check occurs. 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.

For an example of how to specify a task definition with multiple containers where container dependency is specified, 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 (*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 (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html).

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_none IPCMode = "none"
	IPCMode_task IPCMode = "task"
)

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 InfrastructureOptimization added in v1.4.0

type InfrastructureOptimization struct {
	ScaleInAfter *int64 `json:"scaleInAfter,omitempty"`
}

The configuration that controls how Amazon ECS optimizes your infrastructure.

func (*InfrastructureOptimization) DeepCopy added in v1.4.0

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

func (*InfrastructureOptimization) DeepCopyInto added in v1.4.0

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

type IngressPathSummary added in v1.4.0

type IngressPathSummary struct {
	Endpoint *string `json:"endpoint,omitempty"`
}

The entry point into an Express service.

func (*IngressPathSummary) DeepCopy added in v1.4.0

func (in *IngressPathSummary) DeepCopy() *IngressPathSummary

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

func (*IngressPathSummary) DeepCopyInto added in v1.4.0

func (in *IngressPathSummary) DeepCopyInto(out *IngressPathSummary)

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

type InstanceGeneration added in v1.4.0

type InstanceGeneration string
const (
	InstanceGeneration_current  InstanceGeneration = "current"
	InstanceGeneration_previous InstanceGeneration = "previous"
)

type InstanceHealthCheckResult added in v0.0.2

type InstanceHealthCheckResult struct {
	LastStatusChange *metav1.Time `json:"lastStatusChange,omitempty"`
	LastUpdated      *metav1.Time `json:"lastUpdated,omitempty"`
	StatusReason     *string      `json:"statusReason,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_IMPAIRED          InstanceHealthCheckState = "IMPAIRED"
	InstanceHealthCheckState_INITIALIZING      InstanceHealthCheckState = "INITIALIZING"
	InstanceHealthCheckState_INSUFFICIENT_DATA InstanceHealthCheckState = "INSUFFICIENT_DATA"
	InstanceHealthCheckState_OK                InstanceHealthCheckState = "OK"
)

type InstanceHealthCheckType

type InstanceHealthCheckType string
const (
	InstanceHealthCheckType_ACCELERATED_COMPUTE InstanceHealthCheckType = "ACCELERATED_COMPUTE"
	InstanceHealthCheckType_CONTAINER_RUNTIME   InstanceHealthCheckType = "CONTAINER_RUNTIME"
	InstanceHealthCheckType_DAEMON              InstanceHealthCheckType = "DAEMON"
)

type InstanceLaunchTemplate added in v1.4.0

type InstanceLaunchTemplate struct {
	CapacityOptionType *string `json:"capacityOptionType,omitempty"`
	// The Capacity Reservation configurations to be used when using the RESERVED
	// capacity option type.
	CapacityReservations  *CapacityReservationRequest `json:"capacityReservations,omitempty"`
	EC2InstanceProfileARN *string                     `json:"ec2InstanceProfileARN,omitempty"`
	// Reference field for EC2InstanceProfileARN
	EC2InstanceProfileRef           *ackv1alpha1.AWSResourceReferenceWrapper `json:"ec2InstanceProfileRef,omitempty"`
	FipsEnabled                     *bool                                    `json:"fipsEnabled,omitempty"`
	InstanceMetadataTagsPropagation *bool                                    `json:"instanceMetadataTagsPropagation,omitempty"`
	// The instance requirements for attribute-based instance type selection. Instead
	// of specifying exact instance types, you define requirements such as vCPU
	// count, memory size, network performance, and accelerator specifications.
	// Amazon ECS automatically selects Amazon EC2 instance types that match these
	// requirements, providing flexibility and helping to mitigate capacity constraints.
	InstanceRequirements *InstanceRequirementsRequest `json:"instanceRequirements,omitempty"`
	// The local storage configuration for Amazon ECS Managed Instances. This defines
	// how ECS uses and configures instance store volumes available on container
	// instance.
	LocalStorageConfiguration *ManagedInstancesLocalStorageConfiguration `json:"localStorageConfiguration,omitempty"`
	Monitoring                *string                                    `json:"monitoring,omitempty"`
	// The network configuration for Amazon ECS Managed Instances. This specifies
	// the VPC subnets and security groups that instances use for network connectivity.
	// Amazon ECS Managed Instances support multiple network modes including awsvpc
	// (instances receive ENIs for task isolation), host (instances share network
	// namespace with tasks), and none (no external network connectivity), ensuring
	// backward compatibility for migrating workloads from Fargate or Amazon EC2.
	NetworkConfiguration *ManagedInstancesNetworkConfiguration `json:"networkConfiguration,omitempty"`
	// The storage configuration for Amazon ECS Managed Instances. This defines
	// the data volume configuration for the instances.
	StorageConfiguration *ManagedInstancesStorageConfiguration `json:"storageConfiguration,omitempty"`
}

The launch template configuration for Amazon ECS Managed Instances. This defines how Amazon ECS launches Amazon EC2 instances, including the instance profile for your tasks, network and storage configuration, capacity options, and instance requirements for flexible instance type selection.

func (*InstanceLaunchTemplate) DeepCopy added in v1.4.0

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

func (*InstanceLaunchTemplate) DeepCopyInto added in v1.4.0

func (in *InstanceLaunchTemplate) DeepCopyInto(out *InstanceLaunchTemplate)

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

type InstanceLaunchTemplateUpdate added in v1.4.0

type InstanceLaunchTemplateUpdate struct {
	// The Capacity Reservation configurations to be used when using the RESERVED
	// capacity option type.
	CapacityReservations            *CapacityReservationRequest `json:"capacityReservations,omitempty"`
	EC2InstanceProfileARN           *string                     `json:"ec2InstanceProfileARN,omitempty"`
	InstanceMetadataTagsPropagation *bool                       `json:"instanceMetadataTagsPropagation,omitempty"`
	// The instance requirements for attribute-based instance type selection. Instead
	// of specifying exact instance types, you define requirements such as vCPU
	// count, memory size, network performance, and accelerator specifications.
	// Amazon ECS automatically selects Amazon EC2 instance types that match these
	// requirements, providing flexibility and helping to mitigate capacity constraints.
	InstanceRequirements *InstanceRequirementsRequest `json:"instanceRequirements,omitempty"`
	// The local storage configuration for Amazon ECS Managed Instances. This defines
	// how ECS uses and configures instance store volumes available on container
	// instance.
	LocalStorageConfiguration *ManagedInstancesLocalStorageConfiguration `json:"localStorageConfiguration,omitempty"`
	Monitoring                *string                                    `json:"monitoring,omitempty"`
	// The network configuration for Amazon ECS Managed Instances. This specifies
	// the VPC subnets and security groups that instances use for network connectivity.
	// Amazon ECS Managed Instances support multiple network modes including awsvpc
	// (instances receive ENIs for task isolation), host (instances share network
	// namespace with tasks), and none (no external network connectivity), ensuring
	// backward compatibility for migrating workloads from Fargate or Amazon EC2.
	NetworkConfiguration *ManagedInstancesNetworkConfiguration `json:"networkConfiguration,omitempty"`
	// The storage configuration for Amazon ECS Managed Instances. This defines
	// the data volume configuration for the instances.
	StorageConfiguration *ManagedInstancesStorageConfiguration `json:"storageConfiguration,omitempty"`
}

The updated launch template configuration for Amazon ECS Managed Instances. You can modify the instance profile, network configuration, storage settings, and instance requirements. Changes apply to new instances launched after the update.

For more information, see Store instance launch parameters in Amazon EC2 launch templates (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) in the Amazon EC2 User Guide.

func (*InstanceLaunchTemplateUpdate) DeepCopy added in v1.4.0

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

func (*InstanceLaunchTemplateUpdate) DeepCopyInto added in v1.4.0

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

type InstanceRequirementsRequest added in v1.4.0

type InstanceRequirementsRequest struct {
	// The minimum and maximum number of accelerators (such as GPUs) for instance
	// type selection. This is used for workloads that require specific numbers
	// of accelerators.
	AcceleratorCount         *AcceleratorCountRequest `json:"acceleratorCount,omitempty"`
	AcceleratorManufacturers []*string                `json:"acceleratorManufacturers,omitempty"`
	AcceleratorNames         []*string                `json:"acceleratorNames,omitempty"`
	// The minimum and maximum total accelerator memory in mebibytes (MiB) for instance
	// type selection. This is important for GPU workloads that require specific
	// amounts of video memory.
	AcceleratorTotalMemoryMiB *AcceleratorTotalMemoryMiBRequest `json:"acceleratorTotalMemoryMiB,omitempty"`
	AcceleratorTypes          []*string                         `json:"acceleratorTypes,omitempty"`
	AllowedInstanceTypes      []*string                         `json:"allowedInstanceTypes,omitempty"`
	BareMetal                 *string                           `json:"bareMetal,omitempty"`
	// The minimum and maximum baseline Amazon EBS bandwidth in megabits per second
	// (Mbps) for instance type selection. This is important for workloads with
	// high storage I/O requirements.
	BaselineEBSBandwidthMbps                       *BaselineEBSBandwidthMbpsRequest `json:"baselineEBSBandwidthMbps,omitempty"`
	BurstablePerformance                           *string                          `json:"burstablePerformance,omitempty"`
	CPUManufacturers                               []*string                        `json:"cpuManufacturers,omitempty"`
	ExcludedInstanceTypes                          []*string                        `json:"excludedInstanceTypes,omitempty"`
	InstanceGenerations                            []*string                        `json:"instanceGenerations,omitempty"`
	LocalStorage                                   *string                          `json:"localStorage,omitempty"`
	LocalStorageTypes                              []*string                        `json:"localStorageTypes,omitempty"`
	MaxSpotPriceAsPercentageOfOptimalOnDemandPrice *int64                           `json:"maxSpotPriceAsPercentageOfOptimalOnDemandPrice,omitempty"`
	// The minimum and maximum amount of memory per vCPU in gibibytes (GiB). This
	// helps ensure that instance types have the appropriate memory-to-CPU ratio
	// for your workloads.
	MemoryGiBPerVCPU *MemoryGiBPerVCPURequest `json:"memoryGiBPerVCPU,omitempty"`
	// The minimum and maximum amount of memory in mebibytes (MiB) for instance
	// type selection. This ensures that selected instance types have adequate memory
	// for your workloads.
	MemoryMiB *MemoryMiBRequest `json:"memoryMiB,omitempty"`
	// The minimum and maximum network bandwidth in gigabits per second (Gbps) for
	// instance type selection. This is important for network-intensive workloads.
	NetworkBandwidthGbps *NetworkBandwidthGbpsRequest `json:"networkBandwidthGbps,omitempty"`
	// The minimum and maximum number of network interfaces for instance type selection.
	// This is useful for workloads that require multiple network interfaces.
	NetworkInterfaceCount                     *NetworkInterfaceCountRequest `json:"networkInterfaceCount,omitempty"`
	OnDemandMaxPricePercentageOverLowestPrice *int64                        `json:"onDemandMaxPricePercentageOverLowestPrice,omitempty"`
	RequireHibernateSupport                   *bool                         `json:"requireHibernateSupport,omitempty"`
	SpotMaxPricePercentageOverLowestPrice     *int64                        `json:"spotMaxPricePercentageOverLowestPrice,omitempty"`
	// The minimum and maximum total local storage in gigabytes (GB) for instance
	// types with local storage. This is useful for workloads that require local
	// storage for temporary data or caching.
	TotalLocalStorageGB *TotalLocalStorageGBRequest `json:"totalLocalStorageGB,omitempty"`
	// The minimum and maximum number of vCPUs for instance type selection. This
	// allows you to specify a range of vCPU counts that meet your workload requirements.
	VCPUCount *VCPUCountRangeRequest `json:"vCPUCount,omitempty"`
}

The instance requirements for attribute-based instance type selection. Instead of specifying exact instance types, you define requirements such as vCPU count, memory size, network performance, and accelerator specifications. Amazon ECS automatically selects Amazon EC2 instance types that match these requirements, providing flexibility and helping to mitigate capacity constraints.

func (*InstanceRequirementsRequest) DeepCopy added in v1.4.0

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

func (*InstanceRequirementsRequest) DeepCopyInto added in v1.4.0

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

type KernelCapabilities

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

The Linux capabilities to add or remove from the default Docker configuration for a container defined in the task definition. 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.

The following describes how Docker processes the Linux capabilities specified in the add and drop request parameters. For information about the latest behavior, see Docker Compose: order of cap_drop and cap_add (https://forums.docker.com/t/docker-compose-order-of-cap-drop-and-cap-add/97136/1) in the Docker Community Forum.

  • When the container is a privleged container, the container capabilities are all of the default Docker capabilities. The capabilities specified in the add request parameter, and the drop request parameter are ignored.

  • When the add request parameter is set to ALL, the container capabilities are all of the default Docker capabilities, excluding those specified in the drop request parameter.

  • When the drop request parameter is set to ALL, the container capabilities are the capabilities specified in the add request parameter.

  • When the add request parameter and the drop request parameter are both empty, the capabilities the container capabilities are all of the default Docker capabilities.

  • The default is to first drop the capabilities specified in the drop request parameter, and then add the capabilities specified in the add request parameter.

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_EXTERNAL          LaunchType = "EXTERNAL"
	LaunchType_FARGATE           LaunchType = "FARGATE"
	LaunchType_MANAGED_INSTANCES LaunchType = "MANAGED_INSTANCES"
)

type LinearConfiguration added in v1.4.0

type LinearConfiguration struct {
	StepBakeTimeInMinutes *int64   `json:"stepBakeTimeInMinutes,omitempty"`
	StepPercent           *float64 `json:"stepPercent,omitempty"`
}

Configuration for linear deployment strategy that shifts production traffic in equal percentage increments with configurable wait times between each step until 100% of traffic is shifted to the new service revision. This is only valid when you run CreateService or UpdateService with deploymentController set to ECS and a deploymentConfiguration with a strategy set to LINEAR.

func (*LinearConfiguration) DeepCopy added in v1.4.0

func (in *LinearConfiguration) DeepCopy() *LinearConfiguration

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

func (*LinearConfiguration) DeepCopyInto added in v1.4.0

func (in *LinearConfiguration) DeepCopyInto(out *LinearConfiguration)

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

type LinuxParameters added in v0.0.2

type LinuxParameters struct {
	// The Linux capabilities to add or remove from the default Docker configuration
	// for a container defined in the task definition. 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.
	//
	// The following describes how Docker processes the Linux capabilities specified
	// in the add and drop request parameters. For information about the latest
	// behavior, see Docker Compose: order of cap_drop and cap_add (https://forums.docker.com/t/docker-compose-order-of-cap-drop-and-cap-add/97136/1)
	// in the Docker Community Forum.
	//
	//    * When the container is a privleged container, the container capabilities
	//    are all of the default Docker capabilities. The capabilities specified
	//    in the add request parameter, and the drop request parameter are ignored.
	//
	//    * When the add request parameter is set to ALL, the container capabilities
	//    are all of the default Docker capabilities, excluding those specified
	//    in the drop request parameter.
	//
	//    * When the drop request parameter is set to ALL, the container capabilities
	//    are the capabilities specified in the add request parameter.
	//
	//    * When the add request parameter and the drop request parameter are both
	//    empty, the capabilities the container capabilities are all of the default
	//    Docker capabilities.
	//
	//    * The default is to first drop the capabilities specified in the drop
	//    request parameter, and then add the capabilities specified in the add
	//    request parameter.
	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"`
	// Reference field for LoadBalancerName
	LoadBalancerRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"loadBalancerRef,omitempty"`
	TargetGroupARN  *string                                  `json:"targetGroupARN,omitempty"`
	// Reference field for TargetGroupARN
	TargetGroupRef *ackv1alpha1.AWSResourceReferenceWrapper `json:"targetGroupRef,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 LocalStorage added in v1.4.0

type LocalStorage string
const (
	LocalStorage_excluded LocalStorage = "excluded"
	LocalStorage_included LocalStorage = "included"
	LocalStorage_required LocalStorage = "required"
)

type LocalStorageType added in v1.4.0

type LocalStorageType string
const (
	LocalStorageType_hdd LocalStorageType = "hdd"
	LocalStorageType_ssd LocalStorageType = "ssd"
)

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 docker container create command and the --log-driver option to docker 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.

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,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_awsfirelens LogDriver = "awsfirelens"
	LogDriver_awslogs     LogDriver = "awslogs"
	LogDriver_fluentd     LogDriver = "fluentd"
	LogDriver_gelf        LogDriver = "gelf"
	LogDriver_journald    LogDriver = "journald"
	LogDriver_json_file   LogDriver = "json-file"
	LogDriver_splunk      LogDriver = "splunk"
	LogDriver_syslog      LogDriver = "syslog"
)

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 ManagedApplicationAutoScalingPolicy added in v1.4.0

type ManagedApplicationAutoScalingPolicy struct {
	ARN          *string      `json:"arn,omitempty"`
	Metric       *string      `json:"metric,omitempty"`
	PolicyType   *string      `json:"policyType,omitempty"`
	StatusReason *string      `json:"statusReason,omitempty"`
	TargetValue  *float64     `json:"targetValue,omitempty"`
	UpdatedAt    *metav1.Time `json:"updatedAt,omitempty"`
}

The Application Auto Scaling policy created by Amazon ECS when you create an Express service.

func (*ManagedApplicationAutoScalingPolicy) DeepCopy added in v1.4.0

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

func (*ManagedApplicationAutoScalingPolicy) DeepCopyInto added in v1.4.0

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

type ManagedCertificate added in v1.4.0

type ManagedCertificate struct {
	ARN          *string      `json:"arn,omitempty"`
	DomainName   *string      `json:"domainName,omitempty"`
	StatusReason *string      `json:"statusReason,omitempty"`
	UpdatedAt    *metav1.Time `json:"updatedAt,omitempty"`
}

The ACM certificate associated with the HTTPS domain created for the Express service.

func (*ManagedCertificate) DeepCopy added in v1.4.0

func (in *ManagedCertificate) DeepCopy() *ManagedCertificate

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

func (*ManagedCertificate) DeepCopyInto added in v1.4.0

func (in *ManagedCertificate) DeepCopyInto(out *ManagedCertificate)

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

type ManagedDraining

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

type ManagedIngressPath added in v1.4.0

type ManagedIngressPath struct {
	Endpoint *string `json:"endpoint,omitempty"`
}

The entry point into the Express service.

func (*ManagedIngressPath) DeepCopy added in v1.4.0

func (in *ManagedIngressPath) DeepCopy() *ManagedIngressPath

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

func (*ManagedIngressPath) DeepCopyInto added in v1.4.0

func (in *ManagedIngressPath) DeepCopyInto(out *ManagedIngressPath)

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

type ManagedInstancesLocalStorageConfiguration added in v1.4.0

type ManagedInstancesLocalStorageConfiguration struct {
	UseLocalStorage *bool `json:"useLocalStorage,omitempty"`
}

The local storage configuration for Amazon ECS Managed Instances. This defines how ECS uses and configures instance store volumes available on container instance.

func (*ManagedInstancesLocalStorageConfiguration) DeepCopy added in v1.4.0

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

func (*ManagedInstancesLocalStorageConfiguration) DeepCopyInto added in v1.4.0

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

type ManagedInstancesMonitoringOptions added in v1.4.0

type ManagedInstancesMonitoringOptions string
const (
	ManagedInstancesMonitoringOptions_BASIC    ManagedInstancesMonitoringOptions = "BASIC"
	ManagedInstancesMonitoringOptions_DETAILED ManagedInstancesMonitoringOptions = "DETAILED"
)

type ManagedInstancesNetworkConfiguration added in v1.4.0

type ManagedInstancesNetworkConfiguration struct {
	// Reference field for SecurityGroups
	SecurityGroupRefs []*ackv1alpha1.AWSResourceReferenceWrapper `json:"securityGroupRefs,omitempty"`
	SecurityGroups    []*string                                  `json:"securityGroups,omitempty"`
	// Reference field for Subnets
	SubnetRefs []*ackv1alpha1.AWSResourceReferenceWrapper `json:"subnetRefs,omitempty"`
	Subnets    []*string                                  `json:"subnets,omitempty"`
}

The network configuration for Amazon ECS Managed Instances. This specifies the VPC subnets and security groups that instances use for network connectivity. Amazon ECS Managed Instances support multiple network modes including awsvpc (instances receive ENIs for task isolation), host (instances share network namespace with tasks), and none (no external network connectivity), ensuring backward compatibility for migrating workloads from Fargate or Amazon EC2.

func (*ManagedInstancesNetworkConfiguration) DeepCopy added in v1.4.0

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

func (*ManagedInstancesNetworkConfiguration) DeepCopyInto added in v1.4.0

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

type ManagedInstancesProvider added in v1.4.0

type ManagedInstancesProvider struct {
	// The auto repair configuration for an Amazon ECS Managed Instances capacity
	// provider. When enabled, Amazon ECS automatically replaces container instances
	// that are detected as unhealthy based on container instance health checks,
	// including accelerated compute device and daemon health checks.
	AutoRepairConfiguration *AutoRepairConfiguration `json:"autoRepairConfiguration,omitempty"`
	// The configuration that controls how Amazon ECS optimizes your infrastructure.
	InfrastructureOptimization *InfrastructureOptimization `json:"infrastructureOptimization,omitempty"`
	InfrastructureRoleARN      *string                     `json:"infrastructureRoleARN,omitempty"`
	// The launch template configuration for Amazon ECS Managed Instances. This
	// defines how Amazon ECS launches Amazon EC2 instances, including the instance
	// profile for your tasks, network and storage configuration, capacity options,
	// and instance requirements for flexible instance type selection.
	InstanceLaunchTemplate *InstanceLaunchTemplate `json:"instanceLaunchTemplate,omitempty"`
	PropagateTags          *string                 `json:"propagateTags,omitempty"`
}

The configuration for a Amazon ECS Managed Instances provider. Amazon ECS uses this configuration to automatically launch, manage, and terminate Amazon EC2 instances on your behalf. Managed instances provide access to the full range of Amazon EC2 instance types and features while offloading infrastructure management to Amazon Web Services.

func (*ManagedInstancesProvider) DeepCopy added in v1.4.0

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

func (*ManagedInstancesProvider) DeepCopyInto added in v1.4.0

func (in *ManagedInstancesProvider) DeepCopyInto(out *ManagedInstancesProvider)

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

type ManagedInstancesStorageConfiguration added in v1.4.0

type ManagedInstancesStorageConfiguration struct {
	StorageSizeGiB *int64 `json:"storageSizeGiB,omitempty"`
}

The storage configuration for Amazon ECS Managed Instances. This defines the data volume configuration for the instances.

func (*ManagedInstancesStorageConfiguration) DeepCopy added in v1.4.0

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

func (*ManagedInstancesStorageConfiguration) DeepCopyInto added in v1.4.0

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

type ManagedListener added in v1.4.0

type ManagedListener struct {
	ARN          *string      `json:"arn,omitempty"`
	StatusReason *string      `json:"statusReason,omitempty"`
	UpdatedAt    *metav1.Time `json:"updatedAt,omitempty"`
}

The listeners associated with the Express service's Application Load Balancer.

func (*ManagedListener) DeepCopy added in v1.4.0

func (in *ManagedListener) DeepCopy() *ManagedListener

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

func (*ManagedListener) DeepCopyInto added in v1.4.0

func (in *ManagedListener) DeepCopyInto(out *ManagedListener)

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

type ManagedListenerRule added in v1.4.0

type ManagedListenerRule struct {
	ARN          *string      `json:"arn,omitempty"`
	StatusReason *string      `json:"statusReason,omitempty"`
	UpdatedAt    *metav1.Time `json:"updatedAt,omitempty"`
}

The listener rule associated with the Express service's Application Load Balancer.

func (*ManagedListenerRule) DeepCopy added in v1.4.0

func (in *ManagedListenerRule) DeepCopy() *ManagedListenerRule

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

func (*ManagedListenerRule) DeepCopyInto added in v1.4.0

func (in *ManagedListenerRule) DeepCopyInto(out *ManagedListenerRule)

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

type ManagedLoadBalancer added in v1.4.0

type ManagedLoadBalancer struct {
	ARN              *string      `json:"arn,omitempty"`
	Scheme           *string      `json:"scheme,omitempty"`
	SecurityGroupIDs []*string    `json:"securityGroupIDs,omitempty"`
	StatusReason     *string      `json:"statusReason,omitempty"`
	SubnetIDs        []*string    `json:"subnetIDs,omitempty"`
	UpdatedAt        *metav1.Time `json:"updatedAt,omitempty"`
}

The Application Load Balancer associated with the Express service.

func (*ManagedLoadBalancer) DeepCopy added in v1.4.0

func (in *ManagedLoadBalancer) DeepCopy() *ManagedLoadBalancer

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

func (*ManagedLoadBalancer) DeepCopyInto added in v1.4.0

func (in *ManagedLoadBalancer) DeepCopyInto(out *ManagedLoadBalancer)

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

type ManagedLogGroup added in v1.4.0

type ManagedLogGroup struct {
	ARN          *string      `json:"arn,omitempty"`
	LogGroupName *string      `json:"logGroupName,omitempty"`
	StatusReason *string      `json:"statusReason,omitempty"`
	UpdatedAt    *metav1.Time `json:"updatedAt,omitempty"`
}

The Cloudwatch Log Group created by Amazon ECS for an Express service.

func (*ManagedLogGroup) DeepCopy added in v1.4.0

func (in *ManagedLogGroup) DeepCopy() *ManagedLogGroup

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

func (*ManagedLogGroup) DeepCopyInto added in v1.4.0

func (in *ManagedLogGroup) DeepCopyInto(out *ManagedLogGroup)

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

type ManagedMetricAlarm added in v1.4.0

type ManagedMetricAlarm struct {
	ARN          *string      `json:"arn,omitempty"`
	StatusReason *string      `json:"statusReason,omitempty"`
	UpdatedAt    *metav1.Time `json:"updatedAt,omitempty"`
}

The CloudWatch metric alarm associated with the Express service's scaling policy.

func (*ManagedMetricAlarm) DeepCopy added in v1.4.0

func (in *ManagedMetricAlarm) DeepCopy() *ManagedMetricAlarm

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

func (*ManagedMetricAlarm) DeepCopyInto added in v1.4.0

func (in *ManagedMetricAlarm) DeepCopyInto(out *ManagedMetricAlarm)

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

type ManagedResourceStatus added in v1.4.0

type ManagedResourceStatus string
const (
	ManagedResourceStatus_ACTIVE         ManagedResourceStatus = "ACTIVE"
	ManagedResourceStatus_DELETED        ManagedResourceStatus = "DELETED"
	ManagedResourceStatus_DEPROVISIONING ManagedResourceStatus = "DEPROVISIONING"
	ManagedResourceStatus_FAILED         ManagedResourceStatus = "FAILED"
	ManagedResourceStatus_PROVISIONING   ManagedResourceStatus = "PROVISIONING"
)

type ManagedScalableTarget added in v1.4.0

type ManagedScalableTarget struct {
	ARN          *string      `json:"arn,omitempty"`
	MaxCapacity  *int64       `json:"maxCapacity,omitempty"`
	MinCapacity  *int64       `json:"minCapacity,omitempty"`
	StatusReason *string      `json:"statusReason,omitempty"`
	UpdatedAt    *metav1.Time `json:"updatedAt,omitempty"`
}

Represents a scalable target.

func (*ManagedScalableTarget) DeepCopy added in v1.4.0

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

func (*ManagedScalableTarget) DeepCopyInto added in v1.4.0

func (in *ManagedScalableTarget) DeepCopyInto(out *ManagedScalableTarget)

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

type ManagedScaling added in v1.4.0

type ManagedScaling struct {
	InstanceWarmupPeriod   *int64  `json:"instanceWarmupPeriod,omitempty"`
	MaximumScalingStepSize *int64  `json:"maximumScalingStepSize,omitempty"`
	MinimumScalingStepSize *int64  `json:"minimumScalingStepSize,omitempty"`
	Status                 *string `json:"status,omitempty"`
	TargetCapacity         *int64  `json:"targetCapacity,omitempty"`
}

The managed scaling settings for the Auto Scaling group capacity provider.

When managed scaling is turned on, Amazon ECS manages the scale-in and scale-out actions of the Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an Amazon ECS managed CloudWatch metric with the specified targetCapacity value as the target value for the metric. For more information, see Using managed scaling (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/asg-capacity-providers.html#asg-capacity-providers-managed-scaling) in the Amazon Elastic Container Service Developer Guide.

If managed scaling is off, the user must manage the scaling of the Auto Scaling group.

func (*ManagedScaling) DeepCopy added in v1.4.0

func (in *ManagedScaling) DeepCopy() *ManagedScaling

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

func (*ManagedScaling) DeepCopyInto added in v1.4.0

func (in *ManagedScaling) DeepCopyInto(out *ManagedScaling)

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

type ManagedScalingStatus

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

type ManagedSecurityGroup added in v1.4.0

type ManagedSecurityGroup struct {
	ARN          *string      `json:"arn,omitempty"`
	StatusReason *string      `json:"statusReason,omitempty"`
	UpdatedAt    *metav1.Time `json:"updatedAt,omitempty"`
}

A security group associated with the Express service.

func (*ManagedSecurityGroup) DeepCopy added in v1.4.0

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

func (*ManagedSecurityGroup) DeepCopyInto added in v1.4.0

func (in *ManagedSecurityGroup) DeepCopyInto(out *ManagedSecurityGroup)

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

type ManagedStorageConfiguration added in v1.0.5

type ManagedStorageConfiguration struct {
	FargateEphemeralStorageKMSKeyID *string `json:"fargateEphemeralStorageKMSKeyID,omitempty"`
	KMSKeyID                        *string `json:"kmsKeyID,omitempty"`
}

The managed storage configuration for the cluster.

func (*ManagedStorageConfiguration) DeepCopy added in v1.0.5

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

func (*ManagedStorageConfiguration) DeepCopyInto added in v1.0.5

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

type ManagedTargetGroup added in v1.4.0

type ManagedTargetGroup struct {
	ARN             *string      `json:"arn,omitempty"`
	HealthCheckPath *string      `json:"healthCheckPath,omitempty"`
	HealthCheckPort *int64       `json:"healthCheckPort,omitempty"`
	Port            *int64       `json:"port,omitempty"`
	StatusReason    *string      `json:"statusReason,omitempty"`
	UpdatedAt       *metav1.Time `json:"updatedAt,omitempty"`
}

The target group associated with the Express service's Application Load Balancer. For more information about load balancer target groups, see CreateTargetGroup (https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateTargetGroup.html) in the Elastic Load Balancing API Reference

func (*ManagedTargetGroup) DeepCopy added in v1.4.0

func (in *ManagedTargetGroup) DeepCopy() *ManagedTargetGroup

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

func (*ManagedTargetGroup) DeepCopyInto added in v1.4.0

func (in *ManagedTargetGroup) DeepCopyInto(out *ManagedTargetGroup)

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

type ManagedTerminationProtection

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

type MemoryGiBPerVCPURequest added in v1.4.0

type MemoryGiBPerVCPURequest struct {
	Max *float64 `json:"max,omitempty"`
	Min *float64 `json:"min,omitempty"`
}

The minimum and maximum amount of memory per vCPU in gibibytes (GiB). This helps ensure that instance types have the appropriate memory-to-CPU ratio for your workloads.

func (*MemoryGiBPerVCPURequest) DeepCopy added in v1.4.0

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

func (*MemoryGiBPerVCPURequest) DeepCopyInto added in v1.4.0

func (in *MemoryGiBPerVCPURequest) DeepCopyInto(out *MemoryGiBPerVCPURequest)

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

type MemoryMiBRequest added in v1.4.0

type MemoryMiBRequest struct {
	Max *int64 `json:"max,omitempty"`
	Min *int64 `json:"min,omitempty"`
}

The minimum and maximum amount of memory in mebibytes (MiB) for instance type selection. This ensures that selected instance types have adequate memory for your workloads.

func (*MemoryMiBRequest) DeepCopy added in v1.4.0

func (in *MemoryMiBRequest) DeepCopy() *MemoryMiBRequest

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

func (*MemoryMiBRequest) DeepCopyInto added in v1.4.0

func (in *MemoryMiBRequest) DeepCopyInto(out *MemoryMiBRequest)

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

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 NetworkBandwidthGbpsRequest added in v1.4.0

type NetworkBandwidthGbpsRequest struct {
	Max *float64 `json:"max,omitempty"`
	Min *float64 `json:"min,omitempty"`
}

The minimum and maximum network bandwidth in gigabits per second (Gbps) for instance type selection. This is important for network-intensive workloads.

func (*NetworkBandwidthGbpsRequest) DeepCopy added in v1.4.0

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

func (*NetworkBandwidthGbpsRequest) DeepCopyInto added in v1.4.0

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 (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) 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 NetworkInterfaceCountRequest added in v1.4.0

type NetworkInterfaceCountRequest struct {
	Max *int64 `json:"max,omitempty"`
	Min *int64 `json:"min,omitempty"`
}

The minimum and maximum number of network interfaces for instance type selection. This is useful for workloads that require multiple network interfaces.

func (*NetworkInterfaceCountRequest) DeepCopy added in v1.4.0

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

func (*NetworkInterfaceCountRequest) DeepCopyInto added in v1.4.0

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

type NetworkMode

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

type OSFamily

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

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_binpack PlacementStrategyType = "binpack"
	PlacementStrategyType_random  PlacementStrategyType = "random"
	PlacementStrategyType_spread  PlacementStrategyType = "spread"
)

type PlatformDevice

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

The devices that are available on the container instance. The supported device types are GPUs and Neuron devices.

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"
	PlatformDeviceType_NEURON_DEVICE PlatformDeviceType = "NEURON_DEVICE"
)

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 docker container create command and the --publish option to docker 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 (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeTasks.html) 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 PropagateMITags added in v1.4.0

type PropagateMITags string
const (
	PropagateMITags_CAPACITY_PROVIDER PropagateMITags = "CAPACITY_PROVIDER"
	PropagateMITags_NONE              PropagateMITags = "NONE"
)

type PropagateTags

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

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 (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateTaskProtection.html) API and get the status of tasks with the GetTaskProtection (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_GetTaskProtection.html) 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 ResourceManagementType added in v1.4.0

type ResourceManagementType string
const (
	ResourceManagementType_CUSTOMER ResourceManagementType = "CUSTOMER"
	ResourceManagementType_ECS      ResourceManagementType = "ECS"
)

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, Neuron devices, 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"
	ResourceType_NeuronDevice         ResourceType = "NeuronDevice"
)

type Rollback added in v1.0.5

type Rollback struct {
	Reason             *string      `json:"reason,omitempty"`
	ServiceRevisionARN *string      `json:"serviceRevisionARN,omitempty"`
	StartedAt          *metav1.Time `json:"startedAt,omitempty"`
}

Information about the service deployment rollback.

func (*Rollback) DeepCopy added in v1.0.5

func (in *Rollback) DeepCopy() *Rollback

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

func (*Rollback) DeepCopyInto added in v1.0.5

func (in *Rollback) DeepCopyInto(out *Rollback)

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

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 S3FilesVolumeConfiguration added in v1.4.0

type S3FilesVolumeConfiguration struct {
	AccessPointARN        *string `json:"accessPointARN,omitempty"`
	FileSystemARN         *string `json:"fileSystemARN,omitempty"`
	RootDirectory         *string `json:"rootDirectory,omitempty"`
	TransitEncryptionPort *int64  `json:"transitEncryptionPort,omitempty"`
}

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

Your task definition must include a Task IAM Role. See IAM role for attaching your file system to Amazon Web Services compute resources (https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-files-prereq-policies.html#s3-files-prereq-iam-compute-role) for required permissions.

func (*S3FilesVolumeConfiguration) DeepCopy added in v1.4.0

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

func (*S3FilesVolumeConfiguration) DeepCopyInto added in v1.4.0

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_DAEMON  SchedulingStrategy = "DAEMON"
	SchedulingStrategy_REPLICA SchedulingStrategy = "REPLICA"
)

type Scope

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

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"`
}

The certificate root authority that secures your service.

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 {
	// The certificate root authority that secures your service.
	IssuerCertificateAuthority *ServiceConnecTTLSCertificateAuthority `json:"issuerCertificateAuthority,omitempty"`
	KMSKey                     *string                                `json:"kmsKey,omitempty"`
	RoleARN                    *string                                `json:"roleARN,omitempty"`
}

The key that encrypts and decrypts your resources 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 ServiceConnectAccessLoggingFormat added in v1.4.0

type ServiceConnectAccessLoggingFormat string
const (
	ServiceConnectAccessLoggingFormat_JSON ServiceConnectAccessLoggingFormat = "JSON"
	ServiceConnectAccessLoggingFormat_TEXT ServiceConnectAccessLoggingFormat = "TEXT"
)

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 docker container create command and the --log-driver option to docker
	// 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.
	//
	// 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,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 ServiceConnectIncludeQueryParameters added in v1.4.0

type ServiceConnectIncludeQueryParameters string
const (
	ServiceConnectIncludeQueryParameters_DISABLED ServiceConnectIncludeQueryParameters = "DISABLED"
	ServiceConnectIncludeQueryParameters_ENABLED  ServiceConnectIncludeQueryParameters = "ENABLED"
)

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"`
	// The key that encrypts and decrypts your resources 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 ServiceConnectTestTrafficHeaderMatchRules added in v1.4.0

type ServiceConnectTestTrafficHeaderMatchRules struct {
	Exact *string `json:"exact,omitempty"`
}

The header matching rules for test traffic routing in Amazon ECS blue/green deployments. These rules determine how incoming requests are matched based on HTTP headers to route test traffic to the new service revision.

func (*ServiceConnectTestTrafficHeaderMatchRules) DeepCopy added in v1.4.0

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

func (*ServiceConnectTestTrafficHeaderMatchRules) DeepCopyInto added in v1.4.0

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

type ServiceConnectTestTrafficHeaderRules added in v1.4.0

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

The HTTP header rules used to identify and route test traffic during Amazon ECS blue/green deployments. These rules specify which HTTP headers to examine and what values to match for routing decisions.

For more information, see Service Connect for Amazon ECS blue/green deployments (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect-blue-green.html) in the Amazon Elastic Container Service Developer Guide.

func (*ServiceConnectTestTrafficHeaderRules) DeepCopy added in v1.4.0

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

func (*ServiceConnectTestTrafficHeaderRules) DeepCopyInto added in v1.4.0

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

type ServiceCurrentRevisionSummary added in v1.4.0

type ServiceCurrentRevisionSummary struct {
	ARN                *string `json:"arn,omitempty"`
	PendingTaskCount   *int64  `json:"pendingTaskCount,omitempty"`
	RequestedTaskCount *int64  `json:"requestedTaskCount,omitempty"`
	RunningTaskCount   *int64  `json:"runningTaskCount,omitempty"`
}

The summary of the current service revision configuration

func (*ServiceCurrentRevisionSummary) DeepCopy added in v1.4.0

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

func (*ServiceCurrentRevisionSummary) DeepCopyInto added in v1.4.0

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

type ServiceDeployment added in v1.0.5

type ServiceDeployment struct {
	ClusterARN *string      `json:"clusterARN,omitempty"`
	CreatedAt  *metav1.Time `json:"createdAt,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"`
	FinishedAt              *metav1.Time             `json:"finishedAt,omitempty"`
	ServiceARN              *string                  `json:"serviceARN,omitempty"`
	ServiceDeploymentARN    *string                  `json:"serviceDeploymentARN,omitempty"`
	StartedAt               *metav1.Time             `json:"startedAt,omitempty"`
	StatusReason            *string                  `json:"statusReason,omitempty"`
	StoppedAt               *metav1.Time             `json:"stoppedAt,omitempty"`
	UpdatedAt               *metav1.Time             `json:"updatedAt,omitempty"`
}

Information about the service deployment.

Service deployments provide a comprehensive view of your deployments. For information about service deployments, see View service history using Amazon ECS service deployments (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-deployment.html) in the Amazon Elastic Container Service Developer Guide .

func (*ServiceDeployment) DeepCopy added in v1.0.5

func (in *ServiceDeployment) DeepCopy() *ServiceDeployment

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

func (*ServiceDeployment) DeepCopyInto added in v1.0.5

func (in *ServiceDeployment) DeepCopyInto(out *ServiceDeployment)

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

type ServiceDeploymentAlarms added in v1.0.5

type ServiceDeploymentAlarms struct {
	AlarmNames          []*string `json:"alarmNames,omitempty"`
	TriggeredAlarmNames []*string `json:"triggeredAlarmNames,omitempty"`
}

The CloudWatch alarms used to determine a service deployment failed.

Amazon ECS considers the service deployment as failed when any of the alarms move to the ALARM state. For more information, see How CloudWatch alarms detect Amazon ECS deployment failures (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-alarm-failure.html) in the Amazon ECS Developer Guide.

func (*ServiceDeploymentAlarms) DeepCopy added in v1.0.5

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

func (*ServiceDeploymentAlarms) DeepCopyInto added in v1.0.5

func (in *ServiceDeploymentAlarms) DeepCopyInto(out *ServiceDeploymentAlarms)

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

type ServiceDeploymentBrief added in v1.0.5

type ServiceDeploymentBrief struct {
	ClusterARN               *string      `json:"clusterARN,omitempty"`
	CreatedAt                *metav1.Time `json:"createdAt,omitempty"`
	FinishedAt               *metav1.Time `json:"finishedAt,omitempty"`
	ServiceARN               *string      `json:"serviceARN,omitempty"`
	ServiceDeploymentARN     *string      `json:"serviceDeploymentARN,omitempty"`
	StartedAt                *metav1.Time `json:"startedAt,omitempty"`
	StatusReason             *string      `json:"statusReason,omitempty"`
	TargetServiceRevisionARN *string      `json:"targetServiceRevisionARN,omitempty"`
}

The service deployment properties that are retured when you call ListServiceDeployments.

This provides a high-level overview of the service deployment.

func (*ServiceDeploymentBrief) DeepCopy added in v1.0.5

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

func (*ServiceDeploymentBrief) DeepCopyInto added in v1.0.5

func (in *ServiceDeploymentBrief) DeepCopyInto(out *ServiceDeploymentBrief)

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

type ServiceDeploymentCircuitBreaker added in v1.0.5

type ServiceDeploymentCircuitBreaker struct {
	FailureCount *int64 `json:"failureCount,omitempty"`
	Threshold    *int64 `json:"threshold,omitempty"`
}

Information about the circuit breaker used to determine when a service deployment has failed.

The deployment circuit breaker is the rolling update mechanism that determines if the tasks reach a steady state. The deployment circuit breaker has an option that will automatically roll back a failed deployment to the last cpompleted service revision. For more information, see How the Amazon ECS deployment circuit breaker detects failures (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-circuit-breaker.html) in the Amazon ECS Developer Guide.

func (*ServiceDeploymentCircuitBreaker) DeepCopy added in v1.0.5

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

func (*ServiceDeploymentCircuitBreaker) DeepCopyInto added in v1.0.5

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

type ServiceDeploymentLifecycleStage added in v1.4.0

type ServiceDeploymentLifecycleStage string
const (
	ServiceDeploymentLifecycleStage_BAKE_TIME                     ServiceDeploymentLifecycleStage = "BAKE_TIME"
	ServiceDeploymentLifecycleStage_CLEAN_UP                      ServiceDeploymentLifecycleStage = "CLEAN_UP"
	ServiceDeploymentLifecycleStage_POST_PRODUCTION_TRAFFIC_SHIFT ServiceDeploymentLifecycleStage = "POST_PRODUCTION_TRAFFIC_SHIFT"
	ServiceDeploymentLifecycleStage_POST_SCALE_UP                 ServiceDeploymentLifecycleStage = "POST_SCALE_UP"
	ServiceDeploymentLifecycleStage_POST_TEST_TRAFFIC_SHIFT       ServiceDeploymentLifecycleStage = "POST_TEST_TRAFFIC_SHIFT"
	ServiceDeploymentLifecycleStage_PRE_SCALE_UP                  ServiceDeploymentLifecycleStage = "PRE_SCALE_UP"
	ServiceDeploymentLifecycleStage_PRODUCTION_TRAFFIC_SHIFT      ServiceDeploymentLifecycleStage = "PRODUCTION_TRAFFIC_SHIFT"
	ServiceDeploymentLifecycleStage_RECONCILE_SERVICE             ServiceDeploymentLifecycleStage = "RECONCILE_SERVICE"
	ServiceDeploymentLifecycleStage_SCALE_UP                      ServiceDeploymentLifecycleStage = "SCALE_UP"
	ServiceDeploymentLifecycleStage_TEST_TRAFFIC_SHIFT            ServiceDeploymentLifecycleStage = "TEST_TRAFFIC_SHIFT"
)

type ServiceDeploymentRollbackMonitorsStatus added in v1.0.5

type ServiceDeploymentRollbackMonitorsStatus string
const (
	ServiceDeploymentRollbackMonitorsStatus_DISABLED            ServiceDeploymentRollbackMonitorsStatus = "DISABLED"
	ServiceDeploymentRollbackMonitorsStatus_MONITORING          ServiceDeploymentRollbackMonitorsStatus = "MONITORING"
	ServiceDeploymentRollbackMonitorsStatus_MONITORING_COMPLETE ServiceDeploymentRollbackMonitorsStatus = "MONITORING_COMPLETE"
	ServiceDeploymentRollbackMonitorsStatus_TRIGGERED           ServiceDeploymentRollbackMonitorsStatus = "TRIGGERED"
)

type ServiceDeploymentStatus added in v1.0.5

type ServiceDeploymentStatus string
const (
	ServiceDeploymentStatus_IN_PROGRESS          ServiceDeploymentStatus = "IN_PROGRESS"
	ServiceDeploymentStatus_PENDING              ServiceDeploymentStatus = "PENDING"
	ServiceDeploymentStatus_ROLLBACK_FAILED      ServiceDeploymentStatus = "ROLLBACK_FAILED"
	ServiceDeploymentStatus_ROLLBACK_IN_PROGRESS ServiceDeploymentStatus = "ROLLBACK_IN_PROGRESS"
	ServiceDeploymentStatus_ROLLBACK_REQUESTED   ServiceDeploymentStatus = "ROLLBACK_REQUESTED"
	ServiceDeploymentStatus_ROLLBACK_SUCCESSFUL  ServiceDeploymentStatus = "ROLLBACK_SUCCESSFUL"
	ServiceDeploymentStatus_STOPPED              ServiceDeploymentStatus = "STOPPED"
	ServiceDeploymentStatus_STOP_REQUESTED       ServiceDeploymentStatus = "STOP_REQUESTED"
	ServiceDeploymentStatus_SUCCESSFUL           ServiceDeploymentStatus = "SUCCESSFUL"
)

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. For information about the supported launch types and operating systems, see Supported operating systems and launch types (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volumes-configuration) in the Amazon Elastic Container Service Developer Guide.

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 ServiceRevision added in v1.0.5

type ServiceRevision struct {
	CapacityProviderStrategy []*CapacityProviderStrategyItem `json:"capacityProviderStrategy,omitempty"`
	ClusterARN               *string                         `json:"clusterARN,omitempty"`
	CreatedAt                *metav1.Time                    `json:"createdAt,omitempty"`
	GuardDutyEnabled         *bool                           `json:"guardDutyEnabled,omitempty"`
	LaunchType               *string                         `json:"launchType,omitempty"`
	LoadBalancers            []*LoadBalancer                 `json:"loadBalancers,omitempty"`
	// The network configuration for a task or service.
	NetworkConfiguration *NetworkConfiguration `json:"networkConfiguration,omitempty"`
	PlatformFamily       *string               `json:"platformFamily,omitempty"`
	PlatformVersion      *string               `json:"platformVersion,omitempty"`
	ServiceARN           *string               `json:"serviceARN,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"`
	ServiceRegistries           []*ServiceRegistry            `json:"serviceRegistries,omitempty"`
	ServiceRevisionARN          *string                       `json:"serviceRevisionARN,omitempty"`
	TaskDefinition              *string                       `json:"taskDefinition,omitempty"`
	VolumeConfigurations        []*ServiceVolumeConfiguration `json:"volumeConfigurations,omitempty"`
	VPCLatticeConfigurations    []*VPCLatticeConfiguration    `json:"vpcLatticeConfigurations,omitempty"`
}

Information about the service revision.

A service revision contains a record of the workload configuration Amazon ECS is attempting to deploy. Whenever you create or deploy a service, Amazon ECS automatically creates and captures the configuration that you're trying to deploy in the service revision. For information about service revisions, see Amazon ECS service revisions (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-revision.html) in the Amazon Elastic Container Service Developer Guide .

func (*ServiceRevision) DeepCopy added in v1.0.5

func (in *ServiceRevision) DeepCopy() *ServiceRevision

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

func (*ServiceRevision) DeepCopyInto added in v1.0.5

func (in *ServiceRevision) DeepCopyInto(out *ServiceRevision)

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

type ServiceRevisionLoadBalancer added in v1.4.0

type ServiceRevisionLoadBalancer struct {
	ProductionListenerRule *string `json:"productionListenerRule,omitempty"`
	TargetGroupARN         *string `json:"targetGroupARN,omitempty"`
}

The resolved load balancer configuration for a service revision. This includes information about which target groups serve traffic and which listener rules direct traffic to them.

func (*ServiceRevisionLoadBalancer) DeepCopy added in v1.4.0

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

func (*ServiceRevisionLoadBalancer) DeepCopyInto added in v1.4.0

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

type ServiceRevisionSummary added in v1.0.5

type ServiceRevisionSummary struct {
	ARN                              *string  `json:"arn,omitempty"`
	PendingTaskCount                 *int64   `json:"pendingTaskCount,omitempty"`
	RequestedProductionTrafficWeight *float64 `json:"requestedProductionTrafficWeight,omitempty"`
	RequestedTaskCount               *int64   `json:"requestedTaskCount,omitempty"`
	RequestedTestTrafficWeight       *float64 `json:"requestedTestTrafficWeight,omitempty"`
	RunningTaskCount                 *int64   `json:"runningTaskCount,omitempty"`
}

The information about the number of requested, pending, and running tasks for a service revision.

func (*ServiceRevisionSummary) DeepCopy added in v1.0.5

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

func (*ServiceRevisionSummary) DeepCopyInto added in v1.0.5

func (in *ServiceRevisionSummary) DeepCopyInto(out *ServiceRevisionSummary)

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 you want to use Amazon ECS Managed Instances, you must use the capacityProviderStrategy
	// request parameter and omit the launchType request parameter.
	//
	// 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 can contain a maximum of 20 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 must 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, VPC Lattice, and container health checks
	// after a task has first started. If you do not specify a health check grace
	// period value, the default value of 0 is used. If you do not use any of the
	// health checks, then healthCheckGracePeriodSeconds is unused.
	//
	// If your service has more running tasks than desired, unhealthy tasks in the
	// grace period might be stopped to reach the desired count.
	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.
	//
	// If you want to use Amazon ECS Managed Instances, you must use the capacityProviderStrategy
	// request parameter and omit the launchType request parameter.
	//
	// 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 Developer Guide.
	//
	// 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 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.
	//
	// You must set this to a value other than NONE when you use Cost Explorer.
	// For more information, see Amazon ECS usage reports (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/usage-reports.html)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// 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. For information about
	// the supported launch types and operating systems, see Supported operating
	// systems and launch types (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volumes-configuration)
	// in the Amazon Elastic Container Service Developer Guide.
	//
	// 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.
	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_awsvpcTrunking                  SettingName = "awsvpcTrunking"
	SettingName_containerInsights               SettingName = "containerInsights"
	SettingName_containerInstanceLongArnFormat  SettingName = "containerInstanceLongArnFormat"
	SettingName_defaultLogDriverMode            SettingName = "defaultLogDriverMode"
	SettingName_fargateEventWindows             SettingName = "fargateEventWindows"
	SettingName_fargateFIPSMode                 SettingName = "fargateFIPSMode"
	SettingName_fargateTaskRetirementWaitPeriod SettingName = "fargateTaskRetirementWaitPeriod"
	SettingName_guardDutyActivate               SettingName = "guardDutyActivate"
	SettingName_serviceLongArnFormat            SettingName = "serviceLongArnFormat"
	SettingName_tagResourceAuthorization        SettingName = "tagResourceAuthorization"
	SettingName_taskLongArnFormat               SettingName = "taskLongArnFormat"
)

type SettingType

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

type SortOrder

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

type StabilityStatus

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

type StopServiceDeploymentStopType added in v1.4.0

type StopServiceDeploymentStopType string
const (
	StopServiceDeploymentStopType_ABORT    StopServiceDeploymentStopType = "ABORT"
	StopServiceDeploymentStopType_ROLLBACK StopServiceDeploymentStopType = "ROLLBACK"
)

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 docker container create command and the --sysctl option to docker run. 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_ALL      TaskDefinitionFamilyStatus = "ALL"
	TaskDefinitionFamilyStatus_INACTIVE TaskDefinitionFamilyStatus = "INACTIVE"
)

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 or external launch type, this field is
	// optional. Supported values are between 128 CPU units (0.125 vCPUs) and 196608
	// CPU units (192 vCPUs). If you do not specify a value, the parameter is ignored.
	//
	// This field is required for Fargate. For information about the valid values,
	// see Task size (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size)
	// in the Amazon Elastic Container Service Developer Guide.
	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. For informationabout the required IAM roles for Amazon ECS,
	// see IAM roles for Amazon ECS (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security-ecs-iam-role-overview.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.
	//
	// If the host IPC mode is used, be aware that there is a heightened risk of
	// undesired IPC namespace expose.
	//
	// 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 (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_NetworkConfiguration.html)
	// 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.
	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 The default is a private namespace for each
	// container.
	//
	// If the host PID mode is used, there's a heightened risk of undesired process
	// namespace exposure.
	//
	// 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.
	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"`
	// Amazon ECS validates the task definition parameters with those supported
	// by the launch type. 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 (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAttributes.html)
	// 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_DELETE_IN_PROGRESS TaskDefinitionStatus_SDK = "DELETE_IN_PROGRESS"
	TaskDefinitionStatus_SDK_INACTIVE           TaskDefinitionStatus_SDK = "INACTIVE"
)

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 TaskEphemeralStorage added in v1.0.5

type TaskEphemeralStorage struct {
	KMSKeyID  *string `json:"kmsKeyID,omitempty"`
	SizeInGiB *int64  `json:"sizeInGiB,omitempty"`
}

The amount of ephemeral storage to allocate for the task.

func (*TaskEphemeralStorage) DeepCopy added in v1.0.5

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

func (*TaskEphemeralStorage) DeepCopyInto added in v1.0.5

func (in *TaskEphemeralStorage) DeepCopyInto(out *TaskEphemeralStorage)

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_ntfs TaskFilesystemType = "ntfs"
	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"`
	VolumeInitializationRate *int64                 `json:"volumeInitializationRate,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_EssentialContainerExited  TaskStopCode = "EssentialContainerExited"
	TaskStopCode_ServiceSchedulerInitiated TaskStopCode = "ServiceSchedulerInitiated"
	TaskStopCode_SpotInterruption          TaskStopCode = "SpotInterruption"
	TaskStopCode_TaskFailedToStart         TaskStopCode = "TaskFailedToStart"
	TaskStopCode_TerminationNotice         TaskStopCode = "TerminationNotice"
	TaskStopCode_UserInitiated             TaskStopCode = "UserInitiated"
)

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 TotalLocalStorageGBRequest added in v1.4.0

type TotalLocalStorageGBRequest struct {
	Max *float64 `json:"max,omitempty"`
	Min *float64 `json:"min,omitempty"`
}

The minimum and maximum total local storage in gigabytes (GB) for instance types with local storage. This is useful for workloads that require local storage for temporary data or caching.

func (*TotalLocalStorageGBRequest) DeepCopy added in v1.4.0

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

func (*TotalLocalStorageGBRequest) DeepCopyInto added in v1.4.0

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 65535 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 UpdateManagedInstancesProviderConfiguration added in v1.4.0

type UpdateManagedInstancesProviderConfiguration struct {
	// The auto repair configuration for an Amazon ECS Managed Instances capacity
	// provider. When enabled, Amazon ECS automatically replaces container instances
	// that are detected as unhealthy based on container instance health checks,
	// including accelerated compute device and daemon health checks.
	AutoRepairConfiguration *AutoRepairConfiguration `json:"autoRepairConfiguration,omitempty"`
	// The configuration that controls how Amazon ECS optimizes your infrastructure.
	InfrastructureOptimization *InfrastructureOptimization `json:"infrastructureOptimization,omitempty"`
	InfrastructureRoleARN      *string                     `json:"infrastructureRoleARN,omitempty"`
	// The updated launch template configuration for Amazon ECS Managed Instances.
	// You can modify the instance profile, network configuration, storage settings,
	// and instance requirements. Changes apply to new instances launched after
	// the update.
	//
	// For more information, see Store instance launch parameters in Amazon EC2
	// launch templates (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html)
	// in the Amazon EC2 User Guide.
	InstanceLaunchTemplate *InstanceLaunchTemplateUpdate `json:"instanceLaunchTemplate,omitempty"`
	PropagateTags          *string                       `json:"propagateTags,omitempty"`
}

The updated configuration for a Amazon ECS Managed Instances provider. You can modify the infrastructure role, instance launch template, and tag propagation settings. Changes apply to new instances launched after the update.

func (*UpdateManagedInstancesProviderConfiguration) DeepCopy added in v1.4.0

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

func (*UpdateManagedInstancesProviderConfiguration) DeepCopyInto added in v1.4.0

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

type UpdatedExpressGatewayService added in v1.4.0

type UpdatedExpressGatewayService struct {
	Cluster     *string      `json:"cluster,omitempty"`
	CreatedAt   *metav1.Time `json:"createdAt,omitempty"`
	ServiceARN  *string      `json:"serviceARN,omitempty"`
	ServiceName *string      `json:"serviceName,omitempty"`
	UpdatedAt   *metav1.Time `json:"updatedAt,omitempty"`
}

An object that describes an Express service to be updated.

func (*UpdatedExpressGatewayService) DeepCopy added in v1.4.0

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

func (*UpdatedExpressGatewayService) DeepCopyInto added in v1.4.0

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

type VCPUCountRangeRequest added in v1.4.0

type VCPUCountRangeRequest struct {
	Max *int64 `json:"max,omitempty"`
	Min *int64 `json:"min,omitempty"`
}

The minimum and maximum number of vCPUs for instance type selection. This allows you to specify a range of vCPU counts that meet your workload requirements.

func (*VCPUCountRangeRequest) DeepCopy added in v1.4.0

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

func (*VCPUCountRangeRequest) DeepCopyInto added in v1.4.0

func (in *VCPUCountRangeRequest) DeepCopyInto(out *VCPUCountRangeRequest)

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

type VPCLatticeConfiguration added in v1.0.5

type VPCLatticeConfiguration struct {
	PortName       *string `json:"portName,omitempty"`
	RoleARN        *string `json:"roleARN,omitempty"`
	TargetGroupARN *string `json:"targetGroupARN,omitempty"`
}

The VPC Lattice configuration for your service that holds the information for the target group(s) Amazon ECS tasks will be registered to.

func (*VPCLatticeConfiguration) DeepCopy added in v1.0.5

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

func (*VPCLatticeConfiguration) DeepCopyInto added in v1.0.5

func (in *VPCLatticeConfiguration) DeepCopyInto(out *VPCLatticeConfiguration)

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

type VersionConsistency added in v1.0.5

type VersionConsistency string
const (
	VersionConsistency_disabled VersionConsistency = "disabled"
	VersionConsistency_enabled  VersionConsistency = "enabled"
)

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, s3filesVolumeConfiguration, 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