v1beta1

package
v1.21.0 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=batch.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "batch.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	ComputeEnvironment_Kind             = "ComputeEnvironment"
	ComputeEnvironment_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ComputeEnvironment_Kind}.String()
	ComputeEnvironment_KindAPIVersion   = ComputeEnvironment_Kind + "." + CRDGroupVersion.String()
	ComputeEnvironment_GroupVersionKind = CRDGroupVersion.WithKind(ComputeEnvironment_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	JobDefinition_Kind             = "JobDefinition"
	JobDefinition_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: JobDefinition_Kind}.String()
	JobDefinition_KindAPIVersion   = JobDefinition_Kind + "." + CRDGroupVersion.String()
	JobDefinition_GroupVersionKind = CRDGroupVersion.WithKind(JobDefinition_Kind)
)

Repository type metadata.

View Source
var (
	JobQueue_Kind             = "JobQueue"
	JobQueue_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: JobQueue_Kind}.String()
	JobQueue_KindAPIVersion   = JobQueue_Kind + "." + CRDGroupVersion.String()
	JobQueue_GroupVersionKind = CRDGroupVersion.WithKind(JobQueue_Kind)
)

Repository type metadata.

View Source
var (
	SchedulingPolicy_Kind             = "SchedulingPolicy"
	SchedulingPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SchedulingPolicy_Kind}.String()
	SchedulingPolicy_KindAPIVersion   = SchedulingPolicy_Kind + "." + CRDGroupVersion.String()
	SchedulingPolicy_GroupVersionKind = CRDGroupVersion.WithKind(SchedulingPolicy_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ComputeEnvironment added in v1.17.0

type ComputeEnvironment struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	Spec   ComputeEnvironmentSpec   `json:"spec"`
	Status ComputeEnvironmentStatus `json:"status,omitempty"`
}

ComputeEnvironment is the Schema for the ComputeEnvironments API. Creates a AWS Batch compute environment. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*ComputeEnvironment) DeepCopy added in v1.17.0

func (in *ComputeEnvironment) DeepCopy() *ComputeEnvironment

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

func (*ComputeEnvironment) DeepCopyInto added in v1.17.0

func (in *ComputeEnvironment) DeepCopyInto(out *ComputeEnvironment)

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

func (*ComputeEnvironment) DeepCopyObject added in v1.17.0

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

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

func (*ComputeEnvironment) GetCondition added in v1.17.0

func (mg *ComputeEnvironment) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this ComputeEnvironment.

func (*ComputeEnvironment) GetConnectionDetailsMapping added in v1.17.0

func (tr *ComputeEnvironment) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this ComputeEnvironment

func (*ComputeEnvironment) GetDeletionPolicy added in v1.17.0

func (mg *ComputeEnvironment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this ComputeEnvironment.

func (*ComputeEnvironment) GetID added in v1.17.0

func (tr *ComputeEnvironment) GetID() string

GetID returns ID of underlying Terraform resource of this ComputeEnvironment

func (*ComputeEnvironment) GetInitParameters added in v1.17.0

func (tr *ComputeEnvironment) GetInitParameters() (map[string]any, error)

GetInitParameters of this ComputeEnvironment

func (*ComputeEnvironment) GetManagementPolicies added in v1.17.0

func (mg *ComputeEnvironment) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this ComputeEnvironment.

func (*ComputeEnvironment) GetMergedParameters added in v1.17.0

func (tr *ComputeEnvironment) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this ComputeEnvironment

func (*ComputeEnvironment) GetObservation added in v1.17.0

func (tr *ComputeEnvironment) GetObservation() (map[string]any, error)

GetObservation of this ComputeEnvironment

func (*ComputeEnvironment) GetParameters added in v1.17.0

func (tr *ComputeEnvironment) GetParameters() (map[string]any, error)

GetParameters of this ComputeEnvironment

func (*ComputeEnvironment) GetProviderConfigReference added in v1.17.0

func (mg *ComputeEnvironment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this ComputeEnvironment.

func (*ComputeEnvironment) GetPublishConnectionDetailsTo added in v1.17.0

func (mg *ComputeEnvironment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this ComputeEnvironment.

func (*ComputeEnvironment) GetTerraformResourceType added in v1.17.0

func (mg *ComputeEnvironment) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ComputeEnvironment

func (*ComputeEnvironment) GetTerraformSchemaVersion added in v1.17.0

func (tr *ComputeEnvironment) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ComputeEnvironment) GetWriteConnectionSecretToReference added in v1.17.0

func (mg *ComputeEnvironment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this ComputeEnvironment.

func (*ComputeEnvironment) Hub added in v1.17.0

func (tr *ComputeEnvironment) Hub()

Hub marks this type as a conversion hub.

func (*ComputeEnvironment) LateInitialize added in v1.17.0

func (tr *ComputeEnvironment) LateInitialize(attrs []byte) (bool, error)

LateInitialize this ComputeEnvironment using its observed tfState. returns True if there are any spec changes for the resource.

func (*ComputeEnvironment) ResolveReferences added in v1.17.0

func (mg *ComputeEnvironment) ResolveReferences(
	ctx context.Context, c client.Reader) error

func (*ComputeEnvironment) SetConditions added in v1.17.0

func (mg *ComputeEnvironment) SetConditions(c ...xpv1.Condition)

SetConditions of this ComputeEnvironment.

func (*ComputeEnvironment) SetDeletionPolicy added in v1.17.0

func (mg *ComputeEnvironment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this ComputeEnvironment.

func (*ComputeEnvironment) SetManagementPolicies added in v1.17.0

func (mg *ComputeEnvironment) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this ComputeEnvironment.

func (*ComputeEnvironment) SetObservation added in v1.17.0

func (tr *ComputeEnvironment) SetObservation(obs map[string]any) error

SetObservation for this ComputeEnvironment

func (*ComputeEnvironment) SetParameters added in v1.17.0

func (tr *ComputeEnvironment) SetParameters(params map[string]any) error

SetParameters for this ComputeEnvironment

func (*ComputeEnvironment) SetProviderConfigReference added in v1.17.0

func (mg *ComputeEnvironment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this ComputeEnvironment.

func (*ComputeEnvironment) SetPublishConnectionDetailsTo added in v1.17.0

func (mg *ComputeEnvironment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this ComputeEnvironment.

func (*ComputeEnvironment) SetWriteConnectionSecretToReference added in v1.17.0

func (mg *ComputeEnvironment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this ComputeEnvironment.

type ComputeEnvironmentInitParameters added in v1.17.0

type ComputeEnvironmentInitParameters struct {

	// Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below.
	ComputeResources *ComputeResourcesInitParameters `json:"computeResources,omitempty" tf:"compute_resources,omitempty"`

	// Details for the Amazon EKS cluster that supports the compute environment. See details below.
	EksConfiguration *EksConfigurationInitParameters `json:"eksConfiguration,omitempty" tf:"eks_configuration,omitempty"`

	// The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	ServiceRole *string `json:"serviceRole,omitempty" tf:"service_role,omitempty"`

	// Reference to a Role in iam to populate serviceRole.
	// +kubebuilder:validation:Optional
	ServiceRoleRef *v1.Reference `json:"serviceRoleRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate serviceRole.
	// +kubebuilder:validation:Optional
	ServiceRoleSelector *v1.Selector `json:"serviceRoleSelector,omitempty" tf:"-"`

	// The state of the compute environment. If the state is ENABLED, then the compute environment accepts jobs from a queue and can scale out automatically based on queues. Valid items are ENABLED or DISABLED. Defaults to ENABLED.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The type of the compute environment. Valid items are MANAGED or UNMANAGED.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Specifies the infrastructure update policy for the compute environment. See details below.
	UpdatePolicy *UpdatePolicyInitParameters `json:"updatePolicy,omitempty" tf:"update_policy,omitempty"`
}

func (*ComputeEnvironmentInitParameters) DeepCopy added in v1.17.0

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

func (*ComputeEnvironmentInitParameters) DeepCopyInto added in v1.17.0

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

type ComputeEnvironmentList added in v1.17.0

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

ComputeEnvironmentList contains a list of ComputeEnvironments

func (*ComputeEnvironmentList) DeepCopy added in v1.17.0

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

func (*ComputeEnvironmentList) DeepCopyInto added in v1.17.0

func (in *ComputeEnvironmentList) DeepCopyInto(out *ComputeEnvironmentList)

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

func (*ComputeEnvironmentList) DeepCopyObject added in v1.17.0

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

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

func (*ComputeEnvironmentList) GetItems added in v1.17.0

func (l *ComputeEnvironmentList) GetItems() []resource.Managed

GetItems of this ComputeEnvironmentList.

type ComputeEnvironmentObservation added in v1.17.0

type ComputeEnvironmentObservation struct {

	// The Amazon Resource Name (ARN) of the compute environment.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below.
	ComputeResources *ComputeResourcesObservation `json:"computeResources,omitempty" tf:"compute_resources,omitempty"`

	// The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
	EcsClusterArn *string `json:"ecsClusterArn,omitempty" tf:"ecs_cluster_arn,omitempty"`

	// Details for the Amazon EKS cluster that supports the compute environment. See details below.
	EksConfiguration *EksConfigurationObservation `json:"eksConfiguration,omitempty" tf:"eks_configuration,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
	ServiceRole *string `json:"serviceRole,omitempty" tf:"service_role,omitempty"`

	// The state of the compute environment. If the state is ENABLED, then the compute environment accepts jobs from a queue and can scale out automatically based on queues. Valid items are ENABLED or DISABLED. Defaults to ENABLED.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// The current status of the compute environment (for example, CREATING or VALID).
	Status *string `json:"status,omitempty" tf:"status,omitempty"`

	// A short, human-readable string to provide additional details about the current status of the compute environment.
	StatusReason *string `json:"statusReason,omitempty" tf:"status_reason,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// The type of the compute environment. Valid items are MANAGED or UNMANAGED.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Specifies the infrastructure update policy for the compute environment. See details below.
	UpdatePolicy *UpdatePolicyObservation `json:"updatePolicy,omitempty" tf:"update_policy,omitempty"`
}

func (*ComputeEnvironmentObservation) DeepCopy added in v1.17.0

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

func (*ComputeEnvironmentObservation) DeepCopyInto added in v1.17.0

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

type ComputeEnvironmentOrderInitParameters added in v1.17.0

type ComputeEnvironmentOrderInitParameters struct {

	// The Amazon Resource Name (ARN) of the compute environment.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/batch/v1beta1.ComputeEnvironment
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	ComputeEnvironment *string `json:"computeEnvironment,omitempty" tf:"compute_environment,omitempty"`

	// Reference to a ComputeEnvironment in batch to populate computeEnvironment.
	// +kubebuilder:validation:Optional
	ComputeEnvironmentRef *v1.Reference `json:"computeEnvironmentRef,omitempty" tf:"-"`

	// Selector for a ComputeEnvironment in batch to populate computeEnvironment.
	// +kubebuilder:validation:Optional
	ComputeEnvironmentSelector *v1.Selector `json:"computeEnvironmentSelector,omitempty" tf:"-"`

	// The order of the compute environment. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.
	Order *float64 `json:"order,omitempty" tf:"order,omitempty"`
}

func (*ComputeEnvironmentOrderInitParameters) DeepCopy added in v1.17.0

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

func (*ComputeEnvironmentOrderInitParameters) DeepCopyInto added in v1.17.0

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

type ComputeEnvironmentOrderObservation added in v1.17.0

type ComputeEnvironmentOrderObservation struct {

	// The Amazon Resource Name (ARN) of the compute environment.
	ComputeEnvironment *string `json:"computeEnvironment,omitempty" tf:"compute_environment,omitempty"`

	// The order of the compute environment. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.
	Order *float64 `json:"order,omitempty" tf:"order,omitempty"`
}

func (*ComputeEnvironmentOrderObservation) DeepCopy added in v1.17.0

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

func (*ComputeEnvironmentOrderObservation) DeepCopyInto added in v1.17.0

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

type ComputeEnvironmentOrderParameters added in v1.17.0

type ComputeEnvironmentOrderParameters struct {

	// The Amazon Resource Name (ARN) of the compute environment.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/batch/v1beta1.ComputeEnvironment
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	ComputeEnvironment *string `json:"computeEnvironment,omitempty" tf:"compute_environment,omitempty"`

	// Reference to a ComputeEnvironment in batch to populate computeEnvironment.
	// +kubebuilder:validation:Optional
	ComputeEnvironmentRef *v1.Reference `json:"computeEnvironmentRef,omitempty" tf:"-"`

	// Selector for a ComputeEnvironment in batch to populate computeEnvironment.
	// +kubebuilder:validation:Optional
	ComputeEnvironmentSelector *v1.Selector `json:"computeEnvironmentSelector,omitempty" tf:"-"`

	// The order of the compute environment. Compute environments are tried in ascending order. For example, if two compute environments are associated with a job queue, the compute environment with a lower order integer value is tried for job placement first.
	// +kubebuilder:validation:Optional
	Order *float64 `json:"order" tf:"order,omitempty"`
}

func (*ComputeEnvironmentOrderParameters) DeepCopy added in v1.17.0

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

func (*ComputeEnvironmentOrderParameters) DeepCopyInto added in v1.17.0

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

type ComputeEnvironmentParameters added in v1.17.0

type ComputeEnvironmentParameters struct {

	// Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below.
	// +kubebuilder:validation:Optional
	ComputeResources *ComputeResourcesParameters `json:"computeResources,omitempty" tf:"compute_resources,omitempty"`

	// Details for the Amazon EKS cluster that supports the compute environment. See details below.
	// +kubebuilder:validation:Optional
	EksConfiguration *EksConfigurationParameters `json:"eksConfiguration,omitempty" tf:"eks_configuration,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	ServiceRole *string `json:"serviceRole,omitempty" tf:"service_role,omitempty"`

	// Reference to a Role in iam to populate serviceRole.
	// +kubebuilder:validation:Optional
	ServiceRoleRef *v1.Reference `json:"serviceRoleRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate serviceRole.
	// +kubebuilder:validation:Optional
	ServiceRoleSelector *v1.Selector `json:"serviceRoleSelector,omitempty" tf:"-"`

	// The state of the compute environment. If the state is ENABLED, then the compute environment accepts jobs from a queue and can scale out automatically based on queues. Valid items are ENABLED or DISABLED. Defaults to ENABLED.
	// +kubebuilder:validation:Optional
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The type of the compute environment. Valid items are MANAGED or UNMANAGED.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// Specifies the infrastructure update policy for the compute environment. See details below.
	// +kubebuilder:validation:Optional
	UpdatePolicy *UpdatePolicyParameters `json:"updatePolicy,omitempty" tf:"update_policy,omitempty"`
}

func (*ComputeEnvironmentParameters) DeepCopy added in v1.17.0

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

func (*ComputeEnvironmentParameters) DeepCopyInto added in v1.17.0

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

type ComputeEnvironmentSpec added in v1.17.0

type ComputeEnvironmentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ComputeEnvironmentParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ComputeEnvironmentInitParameters `json:"initProvider,omitempty"`
}

ComputeEnvironmentSpec defines the desired state of ComputeEnvironment

func (*ComputeEnvironmentSpec) DeepCopy added in v1.17.0

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

func (*ComputeEnvironmentSpec) DeepCopyInto added in v1.17.0

func (in *ComputeEnvironmentSpec) DeepCopyInto(out *ComputeEnvironmentSpec)

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

type ComputeEnvironmentStatus added in v1.17.0

type ComputeEnvironmentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ComputeEnvironmentObservation `json:"atProvider,omitempty"`
}

ComputeEnvironmentStatus defines the observed state of ComputeEnvironment.

func (*ComputeEnvironmentStatus) DeepCopy added in v1.17.0

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

func (*ComputeEnvironmentStatus) DeepCopyInto added in v1.17.0

func (in *ComputeEnvironmentStatus) DeepCopyInto(out *ComputeEnvironmentStatus)

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

type ComputeResourcesInitParameters added in v1.17.0

type ComputeResourcesInitParameters struct {

	// The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. For valid values, refer to the AWS documentation. Defaults to BEST_FIT. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy,omitempty"`

	// Integer of maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20% (20), then the Spot price must be below 20% of the current On-Demand price for that EC2 instance. If you leave this field empty, the default value is 100% of the On-Demand price. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	BidPercentage *float64 `json:"bidPercentage,omitempty" tf:"bid_percentage,omitempty"`

	// The desired number of EC2 vCPUS in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	DesiredVcpus *float64 `json:"desiredVcpus,omitempty" tf:"desired_vcpus,omitempty"`

	// Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2. This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
	EC2Configuration []EC2ConfigurationInitParameters `json:"ec2Configuration,omitempty" tf:"ec2_configuration,omitempty"`

	// The EC2 key pair that is used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	EC2KeyPair *string `json:"ec2KeyPair,omitempty" tf:"ec2_key_pair,omitempty"`

	// The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. (Deprecated, use ec2_configuration image_id_override instead)
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.InstanceProfile
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	InstanceRole *string `json:"instanceRole,omitempty" tf:"instance_role,omitempty"`

	// Reference to a InstanceProfile in iam to populate instanceRole.
	// +kubebuilder:validation:Optional
	InstanceRoleRef *v1.Reference `json:"instanceRoleRef,omitempty" tf:"-"`

	// Selector for a InstanceProfile in iam to populate instanceRole.
	// +kubebuilder:validation:Optional
	InstanceRoleSelector *v1.Selector `json:"instanceRoleSelector,omitempty" tf:"-"`

	// A list of instance types that may be launched. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +listType=set
	InstanceType []*string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// The launch template to use for your compute resources. See details below. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	LaunchTemplate *LaunchTemplateInitParameters `json:"launchTemplate,omitempty" tf:"launch_template,omitempty"`

	// The maximum number of EC2 vCPUs that an environment can reach.
	MaxVcpus *float64 `json:"maxVcpus,omitempty" tf:"max_vcpus,omitempty"`

	// The minimum number of EC2 vCPUs that an environment should maintain. For EC2 or SPOT compute environments, if the parameter is not explicitly defined, a 0 default value will be set. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	MinVcpus *float64 `json:"minVcpus,omitempty" tf:"min_vcpus,omitempty"`

	// The Amazon EC2 placement group to associate with your compute resources.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.PlacementGroup
	PlacementGroup *string `json:"placementGroup,omitempty" tf:"placement_group,omitempty"`

	// Reference to a PlacementGroup in ec2 to populate placementGroup.
	// +kubebuilder:validation:Optional
	PlacementGroupRef *v1.Reference `json:"placementGroupRef,omitempty" tf:"-"`

	// Selector for a PlacementGroup in ec2 to populate placementGroup.
	// +kubebuilder:validation:Optional
	PlacementGroupSelector *v1.Selector `json:"placementGroupSelector,omitempty" tf:"-"`

	// A list of EC2 security group that are associated with instances launched in the compute environment. This parameter is required for Fargate compute environments.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// References to SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIdsRefs []v1.Reference `json:"securityGroupIdsRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIdsSelector *v1.Selector `json:"securityGroupIdsSelector,omitempty" tf:"-"`

	// The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This parameter is required for SPOT compute environments. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	SpotIAMFleetRole *string `json:"spotIamFleetRole,omitempty" tf:"spot_iam_fleet_role,omitempty"`

	// A list of VPC subnets into which the compute resources are launched.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +listType=set
	Subnets []*string `json:"subnets,omitempty" tf:"subnets,omitempty"`

	// References to Subnet in ec2 to populate subnets.
	// +kubebuilder:validation:Optional
	SubnetsRefs []v1.Reference `json:"subnetsRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in ec2 to populate subnets.
	// +kubebuilder:validation:Optional
	SubnetsSelector *v1.Selector `json:"subnetsSelector,omitempty" tf:"-"`

	// Key-value pair tags to be applied to resources that are launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The type of compute environment. Valid items are EC2, SPOT, FARGATE or FARGATE_SPOT.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ComputeResourcesInitParameters) DeepCopy added in v1.17.0

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

func (*ComputeResourcesInitParameters) DeepCopyInto added in v1.17.0

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

type ComputeResourcesObservation added in v1.17.0

type ComputeResourcesObservation struct {

	// The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. For valid values, refer to the AWS documentation. Defaults to BEST_FIT. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy,omitempty"`

	// Integer of maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20% (20), then the Spot price must be below 20% of the current On-Demand price for that EC2 instance. If you leave this field empty, the default value is 100% of the On-Demand price. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	BidPercentage *float64 `json:"bidPercentage,omitempty" tf:"bid_percentage,omitempty"`

	// The desired number of EC2 vCPUS in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	DesiredVcpus *float64 `json:"desiredVcpus,omitempty" tf:"desired_vcpus,omitempty"`

	// Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2. This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
	EC2Configuration []EC2ConfigurationObservation `json:"ec2Configuration,omitempty" tf:"ec2_configuration,omitempty"`

	// The EC2 key pair that is used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	EC2KeyPair *string `json:"ec2KeyPair,omitempty" tf:"ec2_key_pair,omitempty"`

	// The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. (Deprecated, use ec2_configuration image_id_override instead)
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	InstanceRole *string `json:"instanceRole,omitempty" tf:"instance_role,omitempty"`

	// A list of instance types that may be launched. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +listType=set
	InstanceType []*string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// The launch template to use for your compute resources. See details below. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	LaunchTemplate *LaunchTemplateObservation `json:"launchTemplate,omitempty" tf:"launch_template,omitempty"`

	// The maximum number of EC2 vCPUs that an environment can reach.
	MaxVcpus *float64 `json:"maxVcpus,omitempty" tf:"max_vcpus,omitempty"`

	// The minimum number of EC2 vCPUs that an environment should maintain. For EC2 or SPOT compute environments, if the parameter is not explicitly defined, a 0 default value will be set. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	MinVcpus *float64 `json:"minVcpus,omitempty" tf:"min_vcpus,omitempty"`

	// The Amazon EC2 placement group to associate with your compute resources.
	PlacementGroup *string `json:"placementGroup,omitempty" tf:"placement_group,omitempty"`

	// A list of EC2 security group that are associated with instances launched in the compute environment. This parameter is required for Fargate compute environments.
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This parameter is required for SPOT compute environments. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	SpotIAMFleetRole *string `json:"spotIamFleetRole,omitempty" tf:"spot_iam_fleet_role,omitempty"`

	// A list of VPC subnets into which the compute resources are launched.
	// +listType=set
	Subnets []*string `json:"subnets,omitempty" tf:"subnets,omitempty"`

	// Key-value pair tags to be applied to resources that are launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The type of compute environment. Valid items are EC2, SPOT, FARGATE or FARGATE_SPOT.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ComputeResourcesObservation) DeepCopy added in v1.17.0

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

func (*ComputeResourcesObservation) DeepCopyInto added in v1.17.0

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

type ComputeResourcesParameters added in v1.17.0

type ComputeResourcesParameters struct {

	// The allocation strategy to use for the compute resource in case not enough instances of the best fitting instance type can be allocated. For valid values, refer to the AWS documentation. Defaults to BEST_FIT. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +kubebuilder:validation:Optional
	AllocationStrategy *string `json:"allocationStrategy,omitempty" tf:"allocation_strategy,omitempty"`

	// Integer of maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that instance type before instances are launched. For example, if your bid percentage is 20% (20), then the Spot price must be below 20% of the current On-Demand price for that EC2 instance. If you leave this field empty, the default value is 100% of the On-Demand price. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +kubebuilder:validation:Optional
	BidPercentage *float64 `json:"bidPercentage,omitempty" tf:"bid_percentage,omitempty"`

	// The desired number of EC2 vCPUS in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +kubebuilder:validation:Optional
	DesiredVcpus *float64 `json:"desiredVcpus,omitempty" tf:"desired_vcpus,omitempty"`

	// Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment. If Ec2Configuration isn't specified, the default is ECS_AL2. This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be specified.
	// +kubebuilder:validation:Optional
	EC2Configuration []EC2ConfigurationParameters `json:"ec2Configuration,omitempty" tf:"ec2_configuration,omitempty"`

	// The EC2 key pair that is used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +kubebuilder:validation:Optional
	EC2KeyPair *string `json:"ec2KeyPair,omitempty" tf:"ec2_key_pair,omitempty"`

	// The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified. (Deprecated, use ec2_configuration image_id_override instead)
	// +kubebuilder:validation:Optional
	ImageID *string `json:"imageId,omitempty" tf:"image_id,omitempty"`

	// The Amazon ECS instance role applied to Amazon EC2 instances in a compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.InstanceProfile
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	InstanceRole *string `json:"instanceRole,omitempty" tf:"instance_role,omitempty"`

	// Reference to a InstanceProfile in iam to populate instanceRole.
	// +kubebuilder:validation:Optional
	InstanceRoleRef *v1.Reference `json:"instanceRoleRef,omitempty" tf:"-"`

	// Selector for a InstanceProfile in iam to populate instanceRole.
	// +kubebuilder:validation:Optional
	InstanceRoleSelector *v1.Selector `json:"instanceRoleSelector,omitempty" tf:"-"`

	// A list of instance types that may be launched. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +kubebuilder:validation:Optional
	// +listType=set
	InstanceType []*string `json:"instanceType,omitempty" tf:"instance_type,omitempty"`

	// The launch template to use for your compute resources. See details below. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +kubebuilder:validation:Optional
	LaunchTemplate *LaunchTemplateParameters `json:"launchTemplate,omitempty" tf:"launch_template,omitempty"`

	// The maximum number of EC2 vCPUs that an environment can reach.
	// +kubebuilder:validation:Optional
	MaxVcpus *float64 `json:"maxVcpus" tf:"max_vcpus,omitempty"`

	// The minimum number of EC2 vCPUs that an environment should maintain. For EC2 or SPOT compute environments, if the parameter is not explicitly defined, a 0 default value will be set. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +kubebuilder:validation:Optional
	MinVcpus *float64 `json:"minVcpus,omitempty" tf:"min_vcpus,omitempty"`

	// The Amazon EC2 placement group to associate with your compute resources.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.PlacementGroup
	// +kubebuilder:validation:Optional
	PlacementGroup *string `json:"placementGroup,omitempty" tf:"placement_group,omitempty"`

	// Reference to a PlacementGroup in ec2 to populate placementGroup.
	// +kubebuilder:validation:Optional
	PlacementGroupRef *v1.Reference `json:"placementGroupRef,omitempty" tf:"-"`

	// Selector for a PlacementGroup in ec2 to populate placementGroup.
	// +kubebuilder:validation:Optional
	PlacementGroupSelector *v1.Selector `json:"placementGroupSelector,omitempty" tf:"-"`

	// A list of EC2 security group that are associated with instances launched in the compute environment. This parameter is required for Fargate compute environments.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.SecurityGroup
	// +kubebuilder:validation:Optional
	// +listType=set
	SecurityGroupIds []*string `json:"securityGroupIds,omitempty" tf:"security_group_ids,omitempty"`

	// References to SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIdsRefs []v1.Reference `json:"securityGroupIdsRefs,omitempty" tf:"-"`

	// Selector for a list of SecurityGroup in ec2 to populate securityGroupIds.
	// +kubebuilder:validation:Optional
	SecurityGroupIdsSelector *v1.Selector `json:"securityGroupIdsSelector,omitempty" tf:"-"`

	// The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This parameter is required for SPOT compute environments. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +kubebuilder:validation:Optional
	SpotIAMFleetRole *string `json:"spotIamFleetRole,omitempty" tf:"spot_iam_fleet_role,omitempty"`

	// A list of VPC subnets into which the compute resources are launched.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/ec2/v1beta1.Subnet
	// +kubebuilder:validation:Optional
	// +listType=set
	Subnets []*string `json:"subnets,omitempty" tf:"subnets,omitempty"`

	// References to Subnet in ec2 to populate subnets.
	// +kubebuilder:validation:Optional
	SubnetsRefs []v1.Reference `json:"subnetsRefs,omitempty" tf:"-"`

	// Selector for a list of Subnet in ec2 to populate subnets.
	// +kubebuilder:validation:Optional
	SubnetsSelector *v1.Selector `json:"subnetsSelector,omitempty" tf:"-"`

	// Key-value pair tags to be applied to resources that are launched in the compute environment. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// The type of compute environment. Valid items are EC2, SPOT, FARGATE or FARGATE_SPOT.
	// +kubebuilder:validation:Optional
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ComputeResourcesParameters) DeepCopy added in v1.17.0

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

func (*ComputeResourcesParameters) DeepCopyInto added in v1.17.0

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

type ContainersInitParameters added in v1.5.0

type ContainersInitParameters struct {

	// An array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.
	Args []*string `json:"args,omitempty" tf:"args,omitempty"`

	// The entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.
	Command []*string `json:"command,omitempty" tf:"command,omitempty"`

	// The environment variables to pass to a container. See EKS Environment below.
	Env []EnvInitParameters `json:"env,omitempty" tf:"env,omitempty"`

	// The Docker image used to start the container.
	Image *string `json:"image,omitempty" tf:"image,omitempty"`

	// The image pull policy for the container. Supported values are Always, IfNotPresent, and Never.
	ImagePullPolicy *string `json:"imagePullPolicy,omitempty" tf:"image_pull_policy,omitempty"`

	// The name of the container. If the name isn't specified, the default name "Default" is used. Each container in a pod must have a unique name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.
	Resources []ResourcesInitParameters `json:"resources,omitempty" tf:"resources,omitempty"`

	// The security context for a job.
	SecurityContext []SecurityContextInitParameters `json:"securityContext,omitempty" tf:"security_context,omitempty"`

	// The volume mounts for the container.
	VolumeMounts []VolumeMountsInitParameters `json:"volumeMounts,omitempty" tf:"volume_mounts,omitempty"`
}

func (*ContainersInitParameters) DeepCopy added in v1.5.0

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

func (*ContainersInitParameters) DeepCopyInto added in v1.5.0

func (in *ContainersInitParameters) DeepCopyInto(out *ContainersInitParameters)

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

type ContainersObservation added in v1.5.0

type ContainersObservation struct {

	// An array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.
	Args []*string `json:"args,omitempty" tf:"args,omitempty"`

	// The entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.
	Command []*string `json:"command,omitempty" tf:"command,omitempty"`

	// The environment variables to pass to a container. See EKS Environment below.
	Env []EnvObservation `json:"env,omitempty" tf:"env,omitempty"`

	// The Docker image used to start the container.
	Image *string `json:"image,omitempty" tf:"image,omitempty"`

	// The image pull policy for the container. Supported values are Always, IfNotPresent, and Never.
	ImagePullPolicy *string `json:"imagePullPolicy,omitempty" tf:"image_pull_policy,omitempty"`

	// The name of the container. If the name isn't specified, the default name "Default" is used. Each container in a pod must have a unique name.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.
	Resources []ResourcesObservation `json:"resources,omitempty" tf:"resources,omitempty"`

	// The security context for a job.
	SecurityContext []SecurityContextObservation `json:"securityContext,omitempty" tf:"security_context,omitempty"`

	// The volume mounts for the container.
	VolumeMounts []VolumeMountsObservation `json:"volumeMounts,omitempty" tf:"volume_mounts,omitempty"`
}

func (*ContainersObservation) DeepCopy added in v1.5.0

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

func (*ContainersObservation) DeepCopyInto added in v1.5.0

func (in *ContainersObservation) DeepCopyInto(out *ContainersObservation)

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

type ContainersParameters added in v1.5.0

type ContainersParameters struct {

	// An array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.
	// +kubebuilder:validation:Optional
	Args []*string `json:"args,omitempty" tf:"args,omitempty"`

	// The entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.
	// +kubebuilder:validation:Optional
	Command []*string `json:"command,omitempty" tf:"command,omitempty"`

	// The environment variables to pass to a container. See EKS Environment below.
	// +kubebuilder:validation:Optional
	Env []EnvParameters `json:"env,omitempty" tf:"env,omitempty"`

	// The Docker image used to start the container.
	// +kubebuilder:validation:Optional
	Image *string `json:"image" tf:"image,omitempty"`

	// The image pull policy for the container. Supported values are Always, IfNotPresent, and Never.
	// +kubebuilder:validation:Optional
	ImagePullPolicy *string `json:"imagePullPolicy,omitempty" tf:"image_pull_policy,omitempty"`

	// The name of the container. If the name isn't specified, the default name "Default" is used. Each container in a pod must have a unique name.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.
	// +kubebuilder:validation:Optional
	Resources []ResourcesParameters `json:"resources,omitempty" tf:"resources,omitempty"`

	// The security context for a job.
	// +kubebuilder:validation:Optional
	SecurityContext []SecurityContextParameters `json:"securityContext,omitempty" tf:"security_context,omitempty"`

	// The volume mounts for the container.
	// +kubebuilder:validation:Optional
	VolumeMounts []VolumeMountsParameters `json:"volumeMounts,omitempty" tf:"volume_mounts,omitempty"`
}

func (*ContainersParameters) DeepCopy added in v1.5.0

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

func (*ContainersParameters) DeepCopyInto added in v1.5.0

func (in *ContainersParameters) DeepCopyInto(out *ContainersParameters)

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

type EC2ConfigurationInitParameters added in v1.17.0

type EC2ConfigurationInitParameters struct {

	// The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the image_id argument in the compute_resources block.
	ImageIDOverride *string `json:"imageIdOverride,omitempty" tf:"image_id_override,omitempty"`

	// The image type to match with the instance type to select an AMI. If the image_id_override parameter isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI (ECS_AL2) is used.
	ImageType *string `json:"imageType,omitempty" tf:"image_type,omitempty"`
}

func (*EC2ConfigurationInitParameters) DeepCopy added in v1.17.0

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

func (*EC2ConfigurationInitParameters) DeepCopyInto added in v1.17.0

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

type EC2ConfigurationObservation added in v1.17.0

type EC2ConfigurationObservation struct {

	// The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the image_id argument in the compute_resources block.
	ImageIDOverride *string `json:"imageIdOverride,omitempty" tf:"image_id_override,omitempty"`

	// The image type to match with the instance type to select an AMI. If the image_id_override parameter isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI (ECS_AL2) is used.
	ImageType *string `json:"imageType,omitempty" tf:"image_type,omitempty"`
}

func (*EC2ConfigurationObservation) DeepCopy added in v1.17.0

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

func (*EC2ConfigurationObservation) DeepCopyInto added in v1.17.0

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

type EC2ConfigurationParameters added in v1.17.0

type EC2ConfigurationParameters struct {

	// The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the image_id argument in the compute_resources block.
	// +kubebuilder:validation:Optional
	ImageIDOverride *string `json:"imageIdOverride,omitempty" tf:"image_id_override,omitempty"`

	// The image type to match with the instance type to select an AMI. If the image_id_override parameter isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI (ECS_AL2) is used.
	// +kubebuilder:validation:Optional
	ImageType *string `json:"imageType,omitempty" tf:"image_type,omitempty"`
}

func (*EC2ConfigurationParameters) DeepCopy added in v1.17.0

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

func (*EC2ConfigurationParameters) DeepCopyInto added in v1.17.0

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

type EksConfigurationInitParameters added in v1.17.0

type EksConfigurationInitParameters struct {

	// The Amazon Resource Name (ARN) of the Amazon EKS cluster.
	EksClusterArn *string `json:"eksClusterArn,omitempty" tf:"eks_cluster_arn,omitempty"`

	// The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.
	KubernetesNamespace *string `json:"kubernetesNamespace,omitempty" tf:"kubernetes_namespace,omitempty"`
}

func (*EksConfigurationInitParameters) DeepCopy added in v1.17.0

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

func (*EksConfigurationInitParameters) DeepCopyInto added in v1.17.0

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

type EksConfigurationObservation added in v1.17.0

type EksConfigurationObservation struct {

	// The Amazon Resource Name (ARN) of the Amazon EKS cluster.
	EksClusterArn *string `json:"eksClusterArn,omitempty" tf:"eks_cluster_arn,omitempty"`

	// The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.
	KubernetesNamespace *string `json:"kubernetesNamespace,omitempty" tf:"kubernetes_namespace,omitempty"`
}

func (*EksConfigurationObservation) DeepCopy added in v1.17.0

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

func (*EksConfigurationObservation) DeepCopyInto added in v1.17.0

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

type EksConfigurationParameters added in v1.17.0

type EksConfigurationParameters struct {

	// The Amazon Resource Name (ARN) of the Amazon EKS cluster.
	// +kubebuilder:validation:Optional
	EksClusterArn *string `json:"eksClusterArn" tf:"eks_cluster_arn,omitempty"`

	// The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.
	// +kubebuilder:validation:Optional
	KubernetesNamespace *string `json:"kubernetesNamespace" tf:"kubernetes_namespace,omitempty"`
}

func (*EksConfigurationParameters) DeepCopy added in v1.17.0

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

func (*EksConfigurationParameters) DeepCopyInto added in v1.17.0

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

type EksPropertiesInitParameters added in v1.5.0

type EksPropertiesInitParameters struct {

	// The properties for the Kubernetes pod resources of a job. See pod_properties below.
	PodProperties []PodPropertiesInitParameters `json:"podProperties,omitempty" tf:"pod_properties,omitempty"`
}

func (*EksPropertiesInitParameters) DeepCopy added in v1.5.0

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

func (*EksPropertiesInitParameters) DeepCopyInto added in v1.5.0

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

type EksPropertiesObservation added in v1.5.0

type EksPropertiesObservation struct {

	// The properties for the Kubernetes pod resources of a job. See pod_properties below.
	PodProperties []PodPropertiesObservation `json:"podProperties,omitempty" tf:"pod_properties,omitempty"`
}

func (*EksPropertiesObservation) DeepCopy added in v1.5.0

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

func (*EksPropertiesObservation) DeepCopyInto added in v1.5.0

func (in *EksPropertiesObservation) DeepCopyInto(out *EksPropertiesObservation)

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

type EksPropertiesParameters added in v1.5.0

type EksPropertiesParameters struct {

	// The properties for the Kubernetes pod resources of a job. See pod_properties below.
	// +kubebuilder:validation:Optional
	PodProperties []PodPropertiesParameters `json:"podProperties" tf:"pod_properties,omitempty"`
}

func (*EksPropertiesParameters) DeepCopy added in v1.5.0

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

func (*EksPropertiesParameters) DeepCopyInto added in v1.5.0

func (in *EksPropertiesParameters) DeepCopyInto(out *EksPropertiesParameters)

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

type EmptyDirInitParameters added in v1.5.0

type EmptyDirInitParameters struct {

	// The medium to store the volume. The default value is an empty string, which uses the storage of the node.
	Medium *string `json:"medium,omitempty" tf:"medium,omitempty"`

	// The maximum size of the volume. By default, there's no maximum size defined.
	SizeLimit *string `json:"sizeLimit,omitempty" tf:"size_limit,omitempty"`
}

func (*EmptyDirInitParameters) DeepCopy added in v1.5.0

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

func (*EmptyDirInitParameters) DeepCopyInto added in v1.5.0

func (in *EmptyDirInitParameters) DeepCopyInto(out *EmptyDirInitParameters)

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

type EmptyDirObservation added in v1.5.0

type EmptyDirObservation struct {

	// The medium to store the volume. The default value is an empty string, which uses the storage of the node.
	Medium *string `json:"medium,omitempty" tf:"medium,omitempty"`

	// The maximum size of the volume. By default, there's no maximum size defined.
	SizeLimit *string `json:"sizeLimit,omitempty" tf:"size_limit,omitempty"`
}

func (*EmptyDirObservation) DeepCopy added in v1.5.0

func (in *EmptyDirObservation) DeepCopy() *EmptyDirObservation

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

func (*EmptyDirObservation) DeepCopyInto added in v1.5.0

func (in *EmptyDirObservation) DeepCopyInto(out *EmptyDirObservation)

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

type EmptyDirParameters added in v1.5.0

type EmptyDirParameters struct {

	// The medium to store the volume. The default value is an empty string, which uses the storage of the node.
	// +kubebuilder:validation:Optional
	Medium *string `json:"medium,omitempty" tf:"medium,omitempty"`

	// The maximum size of the volume. By default, there's no maximum size defined.
	// +kubebuilder:validation:Optional
	SizeLimit *string `json:"sizeLimit" tf:"size_limit,omitempty"`
}

func (*EmptyDirParameters) DeepCopy added in v1.5.0

func (in *EmptyDirParameters) DeepCopy() *EmptyDirParameters

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

func (*EmptyDirParameters) DeepCopyInto added in v1.5.0

func (in *EmptyDirParameters) DeepCopyInto(out *EmptyDirParameters)

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

type EnvInitParameters added in v1.5.0

type EnvInitParameters struct {

	// Specifies the name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The value of the environment variable.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*EnvInitParameters) DeepCopy added in v1.5.0

func (in *EnvInitParameters) DeepCopy() *EnvInitParameters

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

func (*EnvInitParameters) DeepCopyInto added in v1.5.0

func (in *EnvInitParameters) DeepCopyInto(out *EnvInitParameters)

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

type EnvObservation added in v1.5.0

type EnvObservation struct {

	// Specifies the name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The value of the environment variable.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*EnvObservation) DeepCopy added in v1.5.0

func (in *EnvObservation) DeepCopy() *EnvObservation

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

func (*EnvObservation) DeepCopyInto added in v1.5.0

func (in *EnvObservation) DeepCopyInto(out *EnvObservation)

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

type EnvParameters added in v1.5.0

type EnvParameters struct {

	// Specifies the name of the job definition.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// The value of the environment variable.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*EnvParameters) DeepCopy added in v1.5.0

func (in *EnvParameters) DeepCopy() *EnvParameters

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

func (*EnvParameters) DeepCopyInto added in v1.5.0

func (in *EnvParameters) DeepCopyInto(out *EnvParameters)

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

type EvaluateOnExitInitParameters added in v0.41.0

type EvaluateOnExitInitParameters struct {

	// Specifies the action to take if all of the specified conditions are met. The values are not case sensitive. Valid values: retry, exit.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// A glob pattern to match against the decimal representation of the exit code returned for a job.
	OnExitCode *string `json:"onExitCode,omitempty" tf:"on_exit_code,omitempty"`

	// A glob pattern to match against the reason returned for a job.
	OnReason *string `json:"onReason,omitempty" tf:"on_reason,omitempty"`

	// A glob pattern to match against the status reason returned for a job.
	OnStatusReason *string `json:"onStatusReason,omitempty" tf:"on_status_reason,omitempty"`
}

func (*EvaluateOnExitInitParameters) DeepCopy added in v0.41.0

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

func (*EvaluateOnExitInitParameters) DeepCopyInto added in v0.41.0

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

type EvaluateOnExitObservation added in v0.41.0

type EvaluateOnExitObservation struct {

	// Specifies the action to take if all of the specified conditions are met. The values are not case sensitive. Valid values: retry, exit.
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// A glob pattern to match against the decimal representation of the exit code returned for a job.
	OnExitCode *string `json:"onExitCode,omitempty" tf:"on_exit_code,omitempty"`

	// A glob pattern to match against the reason returned for a job.
	OnReason *string `json:"onReason,omitempty" tf:"on_reason,omitempty"`

	// A glob pattern to match against the status reason returned for a job.
	OnStatusReason *string `json:"onStatusReason,omitempty" tf:"on_status_reason,omitempty"`
}

func (*EvaluateOnExitObservation) DeepCopy added in v0.41.0

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

func (*EvaluateOnExitObservation) DeepCopyInto added in v0.41.0

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

type EvaluateOnExitParameters added in v0.41.0

type EvaluateOnExitParameters struct {

	// Specifies the action to take if all of the specified conditions are met. The values are not case sensitive. Valid values: retry, exit.
	// +kubebuilder:validation:Optional
	Action *string `json:"action" tf:"action,omitempty"`

	// A glob pattern to match against the decimal representation of the exit code returned for a job.
	// +kubebuilder:validation:Optional
	OnExitCode *string `json:"onExitCode,omitempty" tf:"on_exit_code,omitempty"`

	// A glob pattern to match against the reason returned for a job.
	// +kubebuilder:validation:Optional
	OnReason *string `json:"onReason,omitempty" tf:"on_reason,omitempty"`

	// A glob pattern to match against the status reason returned for a job.
	// +kubebuilder:validation:Optional
	OnStatusReason *string `json:"onStatusReason,omitempty" tf:"on_status_reason,omitempty"`
}

func (*EvaluateOnExitParameters) DeepCopy added in v0.41.0

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

func (*EvaluateOnExitParameters) DeepCopyInto added in v0.41.0

func (in *EvaluateOnExitParameters) DeepCopyInto(out *EvaluateOnExitParameters)

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

type FairSharePolicyInitParameters added in v0.38.0

type FairSharePolicyInitParameters struct {

	// A value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see FairsharePolicy.
	ComputeReservation *float64 `json:"computeReservation,omitempty" tf:"compute_reservation,omitempty"`

	ShareDecaySeconds *float64 `json:"shareDecaySeconds,omitempty" tf:"share_decay_seconds,omitempty"`

	// One or more share distribution blocks which define the weights for the fair share identifiers for the fair share policy. For more information, see FairsharePolicy. The share_distribution block is documented below.
	ShareDistribution []ShareDistributionInitParameters `json:"shareDistribution,omitempty" tf:"share_distribution,omitempty"`
}

func (*FairSharePolicyInitParameters) DeepCopy added in v0.38.0

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

func (*FairSharePolicyInitParameters) DeepCopyInto added in v0.38.0

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

type FairSharePolicyObservation

type FairSharePolicyObservation struct {

	// A value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see FairsharePolicy.
	ComputeReservation *float64 `json:"computeReservation,omitempty" tf:"compute_reservation,omitempty"`

	ShareDecaySeconds *float64 `json:"shareDecaySeconds,omitempty" tf:"share_decay_seconds,omitempty"`

	// One or more share distribution blocks which define the weights for the fair share identifiers for the fair share policy. For more information, see FairsharePolicy. The share_distribution block is documented below.
	ShareDistribution []ShareDistributionObservation `json:"shareDistribution,omitempty" tf:"share_distribution,omitempty"`
}

func (*FairSharePolicyObservation) DeepCopy

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

func (*FairSharePolicyObservation) DeepCopyInto

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

type FairSharePolicyParameters

type FairSharePolicyParameters struct {

	// A value used to reserve some of the available maximum vCPU for fair share identifiers that have not yet been used. For more information, see FairsharePolicy.
	// +kubebuilder:validation:Optional
	ComputeReservation *float64 `json:"computeReservation,omitempty" tf:"compute_reservation,omitempty"`

	// +kubebuilder:validation:Optional
	ShareDecaySeconds *float64 `json:"shareDecaySeconds,omitempty" tf:"share_decay_seconds,omitempty"`

	// One or more share distribution blocks which define the weights for the fair share identifiers for the fair share policy. For more information, see FairsharePolicy. The share_distribution block is documented below.
	// +kubebuilder:validation:Optional
	ShareDistribution []ShareDistributionParameters `json:"shareDistribution,omitempty" tf:"share_distribution,omitempty"`
}

func (*FairSharePolicyParameters) DeepCopy

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

func (*FairSharePolicyParameters) DeepCopyInto

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

type HostPathInitParameters added in v1.5.0

type HostPathInitParameters struct {

	// The path of the file or directory on the host to mount into containers on the pod.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`
}

func (*HostPathInitParameters) DeepCopy added in v1.5.0

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

func (*HostPathInitParameters) DeepCopyInto added in v1.5.0

func (in *HostPathInitParameters) DeepCopyInto(out *HostPathInitParameters)

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

type HostPathObservation added in v1.5.0

type HostPathObservation struct {

	// The path of the file or directory on the host to mount into containers on the pod.
	Path *string `json:"path,omitempty" tf:"path,omitempty"`
}

func (*HostPathObservation) DeepCopy added in v1.5.0

func (in *HostPathObservation) DeepCopy() *HostPathObservation

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

func (*HostPathObservation) DeepCopyInto added in v1.5.0

func (in *HostPathObservation) DeepCopyInto(out *HostPathObservation)

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

type HostPathParameters added in v1.5.0

type HostPathParameters struct {

	// The path of the file or directory on the host to mount into containers on the pod.
	// +kubebuilder:validation:Optional
	Path *string `json:"path" tf:"path,omitempty"`
}

func (*HostPathParameters) DeepCopy added in v1.5.0

func (in *HostPathParameters) DeepCopy() *HostPathParameters

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

func (*HostPathParameters) DeepCopyInto added in v1.5.0

func (in *HostPathParameters) DeepCopyInto(out *HostPathParameters)

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

type ImagePullSecretInitParameters added in v1.15.0

type ImagePullSecretInitParameters struct {

	// Unique identifier.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ImagePullSecretInitParameters) DeepCopy added in v1.15.0

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

func (*ImagePullSecretInitParameters) DeepCopyInto added in v1.15.0

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

type ImagePullSecretObservation added in v1.15.0

type ImagePullSecretObservation struct {

	// Unique identifier.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ImagePullSecretObservation) DeepCopy added in v1.15.0

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

func (*ImagePullSecretObservation) DeepCopyInto added in v1.15.0

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

type ImagePullSecretParameters added in v1.15.0

type ImagePullSecretParameters struct {

	// Unique identifier.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*ImagePullSecretParameters) DeepCopy added in v1.15.0

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

func (*ImagePullSecretParameters) DeepCopyInto added in v1.15.0

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

type InitContainersEnvInitParameters added in v1.18.1

type InitContainersEnvInitParameters struct {

	// Name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Value of the environment variable.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*InitContainersEnvInitParameters) DeepCopy added in v1.18.1

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

func (*InitContainersEnvInitParameters) DeepCopyInto added in v1.18.1

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

type InitContainersEnvObservation added in v1.18.1

type InitContainersEnvObservation struct {

	// Name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Value of the environment variable.
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*InitContainersEnvObservation) DeepCopy added in v1.18.1

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

func (*InitContainersEnvObservation) DeepCopyInto added in v1.18.1

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

type InitContainersEnvParameters added in v1.18.1

type InitContainersEnvParameters struct {

	// Name of the job definition.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// Value of the environment variable.
	// +kubebuilder:validation:Optional
	Value *string `json:"value" tf:"value,omitempty"`
}

func (*InitContainersEnvParameters) DeepCopy added in v1.18.1

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

func (*InitContainersEnvParameters) DeepCopyInto added in v1.18.1

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

type InitContainersInitParameters added in v1.18.1

type InitContainersInitParameters struct {

	// Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.
	Args []*string `json:"args,omitempty" tf:"args,omitempty"`

	// Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.
	Command []*string `json:"command,omitempty" tf:"command,omitempty"`

	// Environment variables to pass to a container. See EKS Environment below.
	Env []InitContainersEnvInitParameters `json:"env,omitempty" tf:"env,omitempty"`

	// Docker image used to start the container.
	Image *string `json:"image,omitempty" tf:"image,omitempty"`

	// Image pull policy for the container. Supported values are Always, IfNotPresent, and Never.
	ImagePullPolicy *string `json:"imagePullPolicy,omitempty" tf:"image_pull_policy,omitempty"`

	// Name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.
	Resources []InitContainersResourcesInitParameters `json:"resources,omitempty" tf:"resources,omitempty"`

	// Security context for a job.
	SecurityContext []InitContainersSecurityContextInitParameters `json:"securityContext,omitempty" tf:"security_context,omitempty"`

	// Volume mounts for the container.
	VolumeMounts []InitContainersVolumeMountsInitParameters `json:"volumeMounts,omitempty" tf:"volume_mounts,omitempty"`
}

func (*InitContainersInitParameters) DeepCopy added in v1.18.1

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

func (*InitContainersInitParameters) DeepCopyInto added in v1.18.1

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

type InitContainersObservation added in v1.18.1

type InitContainersObservation struct {

	// Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.
	Args []*string `json:"args,omitempty" tf:"args,omitempty"`

	// Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.
	Command []*string `json:"command,omitempty" tf:"command,omitempty"`

	// Environment variables to pass to a container. See EKS Environment below.
	Env []InitContainersEnvObservation `json:"env,omitempty" tf:"env,omitempty"`

	// Docker image used to start the container.
	Image *string `json:"image,omitempty" tf:"image,omitempty"`

	// Image pull policy for the container. Supported values are Always, IfNotPresent, and Never.
	ImagePullPolicy *string `json:"imagePullPolicy,omitempty" tf:"image_pull_policy,omitempty"`

	// Name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.
	Resources []InitContainersResourcesObservation `json:"resources,omitempty" tf:"resources,omitempty"`

	// Security context for a job.
	SecurityContext []InitContainersSecurityContextObservation `json:"securityContext,omitempty" tf:"security_context,omitempty"`

	// Volume mounts for the container.
	VolumeMounts []InitContainersVolumeMountsObservation `json:"volumeMounts,omitempty" tf:"volume_mounts,omitempty"`
}

func (*InitContainersObservation) DeepCopy added in v1.18.1

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

func (*InitContainersObservation) DeepCopyInto added in v1.18.1

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

type InitContainersParameters added in v1.18.1

type InitContainersParameters struct {

	// Array of arguments to the entrypoint. If this isn't specified, the CMD of the container image is used. This corresponds to the args member in the Entrypoint portion of the Pod in Kubernetes. Environment variable references are expanded using the container's environment.
	// +kubebuilder:validation:Optional
	Args []*string `json:"args,omitempty" tf:"args,omitempty"`

	// Entrypoint for the container. This isn't run within a shell. If this isn't specified, the ENTRYPOINT of the container image is used. Environment variable references are expanded using the container's environment.
	// +kubebuilder:validation:Optional
	Command []*string `json:"command,omitempty" tf:"command,omitempty"`

	// Environment variables to pass to a container. See EKS Environment below.
	// +kubebuilder:validation:Optional
	Env []InitContainersEnvParameters `json:"env,omitempty" tf:"env,omitempty"`

	// Docker image used to start the container.
	// +kubebuilder:validation:Optional
	Image *string `json:"image" tf:"image,omitempty"`

	// Image pull policy for the container. Supported values are Always, IfNotPresent, and Never.
	// +kubebuilder:validation:Optional
	ImagePullPolicy *string `json:"imagePullPolicy,omitempty" tf:"image_pull_policy,omitempty"`

	// Name of the job definition.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Type and amount of resources to assign to a container. The supported resources include memory, cpu, and nvidia.com/gpu.
	// +kubebuilder:validation:Optional
	Resources []InitContainersResourcesParameters `json:"resources,omitempty" tf:"resources,omitempty"`

	// Security context for a job.
	// +kubebuilder:validation:Optional
	SecurityContext []InitContainersSecurityContextParameters `json:"securityContext,omitempty" tf:"security_context,omitempty"`

	// Volume mounts for the container.
	// +kubebuilder:validation:Optional
	VolumeMounts []InitContainersVolumeMountsParameters `json:"volumeMounts,omitempty" tf:"volume_mounts,omitempty"`
}

func (*InitContainersParameters) DeepCopy added in v1.18.1

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

func (*InitContainersParameters) DeepCopyInto added in v1.18.1

func (in *InitContainersParameters) DeepCopyInto(out *InitContainersParameters)

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

type InitContainersResourcesInitParameters added in v1.18.1

type InitContainersResourcesInitParameters struct {

	// +mapType=granular
	Limits map[string]*string `json:"limits,omitempty" tf:"limits,omitempty"`

	// +mapType=granular
	Requests map[string]*string `json:"requests,omitempty" tf:"requests,omitempty"`
}

func (*InitContainersResourcesInitParameters) DeepCopy added in v1.18.1

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

func (*InitContainersResourcesInitParameters) DeepCopyInto added in v1.18.1

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

type InitContainersResourcesObservation added in v1.18.1

type InitContainersResourcesObservation struct {

	// +mapType=granular
	Limits map[string]*string `json:"limits,omitempty" tf:"limits,omitempty"`

	// +mapType=granular
	Requests map[string]*string `json:"requests,omitempty" tf:"requests,omitempty"`
}

func (*InitContainersResourcesObservation) DeepCopy added in v1.18.1

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

func (*InitContainersResourcesObservation) DeepCopyInto added in v1.18.1

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

type InitContainersResourcesParameters added in v1.18.1

type InitContainersResourcesParameters struct {

	// +kubebuilder:validation:Optional
	// +mapType=granular
	Limits map[string]*string `json:"limits,omitempty" tf:"limits,omitempty"`

	// +kubebuilder:validation:Optional
	// +mapType=granular
	Requests map[string]*string `json:"requests,omitempty" tf:"requests,omitempty"`
}

func (*InitContainersResourcesParameters) DeepCopy added in v1.18.1

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

func (*InitContainersResourcesParameters) DeepCopyInto added in v1.18.1

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

type InitContainersSecurityContextInitParameters added in v1.18.1

type InitContainersSecurityContextInitParameters struct {
	Privileged *bool `json:"privileged,omitempty" tf:"privileged,omitempty"`

	ReadOnlyRootFileSystem *bool `json:"readOnlyRootFileSystem,omitempty" tf:"read_only_root_file_system,omitempty"`

	RunAsGroup *float64 `json:"runAsGroup,omitempty" tf:"run_as_group,omitempty"`

	RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" tf:"run_as_non_root,omitempty"`

	RunAsUser *float64 `json:"runAsUser,omitempty" tf:"run_as_user,omitempty"`
}

func (*InitContainersSecurityContextInitParameters) DeepCopy added in v1.18.1

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

func (*InitContainersSecurityContextInitParameters) DeepCopyInto added in v1.18.1

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

type InitContainersSecurityContextObservation added in v1.18.1

type InitContainersSecurityContextObservation struct {
	Privileged *bool `json:"privileged,omitempty" tf:"privileged,omitempty"`

	ReadOnlyRootFileSystem *bool `json:"readOnlyRootFileSystem,omitempty" tf:"read_only_root_file_system,omitempty"`

	RunAsGroup *float64 `json:"runAsGroup,omitempty" tf:"run_as_group,omitempty"`

	RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" tf:"run_as_non_root,omitempty"`

	RunAsUser *float64 `json:"runAsUser,omitempty" tf:"run_as_user,omitempty"`
}

func (*InitContainersSecurityContextObservation) DeepCopy added in v1.18.1

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

func (*InitContainersSecurityContextObservation) DeepCopyInto added in v1.18.1

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

type InitContainersSecurityContextParameters added in v1.18.1

type InitContainersSecurityContextParameters struct {

	// +kubebuilder:validation:Optional
	Privileged *bool `json:"privileged,omitempty" tf:"privileged,omitempty"`

	// +kubebuilder:validation:Optional
	ReadOnlyRootFileSystem *bool `json:"readOnlyRootFileSystem,omitempty" tf:"read_only_root_file_system,omitempty"`

	// +kubebuilder:validation:Optional
	RunAsGroup *float64 `json:"runAsGroup,omitempty" tf:"run_as_group,omitempty"`

	// +kubebuilder:validation:Optional
	RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" tf:"run_as_non_root,omitempty"`

	// +kubebuilder:validation:Optional
	RunAsUser *float64 `json:"runAsUser,omitempty" tf:"run_as_user,omitempty"`
}

func (*InitContainersSecurityContextParameters) DeepCopy added in v1.18.1

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

func (*InitContainersSecurityContextParameters) DeepCopyInto added in v1.18.1

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

type InitContainersVolumeMountsInitParameters added in v1.18.1

type InitContainersVolumeMountsInitParameters struct {

	// Path of the file or directory on the host to mount into containers on the pod.
	MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"`

	// Name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`
}

func (*InitContainersVolumeMountsInitParameters) DeepCopy added in v1.18.1

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

func (*InitContainersVolumeMountsInitParameters) DeepCopyInto added in v1.18.1

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

type InitContainersVolumeMountsObservation added in v1.18.1

type InitContainersVolumeMountsObservation struct {

	// Path of the file or directory on the host to mount into containers on the pod.
	MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"`

	// Name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`
}

func (*InitContainersVolumeMountsObservation) DeepCopy added in v1.18.1

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

func (*InitContainersVolumeMountsObservation) DeepCopyInto added in v1.18.1

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

type InitContainersVolumeMountsParameters added in v1.18.1

type InitContainersVolumeMountsParameters struct {

	// Path of the file or directory on the host to mount into containers on the pod.
	// +kubebuilder:validation:Optional
	MountPath *string `json:"mountPath" tf:"mount_path,omitempty"`

	// Name of the job definition.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`
}

func (*InitContainersVolumeMountsParameters) DeepCopy added in v1.18.1

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

func (*InitContainersVolumeMountsParameters) DeepCopyInto added in v1.18.1

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

type JobDefinition added in v0.41.0

type JobDefinition struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	Spec   JobDefinitionSpec   `json:"spec"`
	Status JobDefinitionStatus `json:"status,omitempty"`
}

JobDefinition is the Schema for the JobDefinitions API. Provides a Batch Job Definition resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*JobDefinition) ConvertFrom added in v1.7.0

func (tr *JobDefinition) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the JobDefinition type.

func (*JobDefinition) ConvertTo added in v1.7.0

func (tr *JobDefinition) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this JobDefinition to the hub type.

func (*JobDefinition) DeepCopy added in v0.41.0

func (in *JobDefinition) DeepCopy() *JobDefinition

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

func (*JobDefinition) DeepCopyInto added in v0.41.0

func (in *JobDefinition) DeepCopyInto(out *JobDefinition)

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

func (*JobDefinition) DeepCopyObject added in v0.41.0

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

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

func (*JobDefinition) GetCondition added in v0.41.0

func (mg *JobDefinition) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this JobDefinition.

func (*JobDefinition) GetConnectionDetailsMapping added in v0.41.0

func (tr *JobDefinition) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this JobDefinition

func (*JobDefinition) GetDeletionPolicy added in v0.41.0

func (mg *JobDefinition) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this JobDefinition.

func (*JobDefinition) GetID added in v0.41.0

func (tr *JobDefinition) GetID() string

GetID returns ID of underlying Terraform resource of this JobDefinition

func (*JobDefinition) GetInitParameters added in v0.41.0

func (tr *JobDefinition) GetInitParameters() (map[string]any, error)

GetInitParameters of this JobDefinition

func (*JobDefinition) GetManagementPolicies added in v0.41.0

func (mg *JobDefinition) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this JobDefinition.

func (*JobDefinition) GetMergedParameters added in v0.44.0

func (tr *JobDefinition) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this JobDefinition

func (*JobDefinition) GetObservation added in v0.41.0

func (tr *JobDefinition) GetObservation() (map[string]any, error)

GetObservation of this JobDefinition

func (*JobDefinition) GetParameters added in v0.41.0

func (tr *JobDefinition) GetParameters() (map[string]any, error)

GetParameters of this JobDefinition

func (*JobDefinition) GetProviderConfigReference added in v0.41.0

func (mg *JobDefinition) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this JobDefinition.

func (*JobDefinition) GetPublishConnectionDetailsTo added in v0.41.0

func (mg *JobDefinition) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this JobDefinition.

func (*JobDefinition) GetTerraformResourceType added in v0.41.0

func (mg *JobDefinition) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this JobDefinition

func (*JobDefinition) GetTerraformSchemaVersion added in v0.41.0

func (tr *JobDefinition) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*JobDefinition) GetWriteConnectionSecretToReference added in v0.41.0

func (mg *JobDefinition) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this JobDefinition.

func (*JobDefinition) LateInitialize added in v0.41.0

func (tr *JobDefinition) LateInitialize(attrs []byte) (bool, error)

LateInitialize this JobDefinition using its observed tfState. returns True if there are any spec changes for the resource.

func (*JobDefinition) SetConditions added in v0.41.0

func (mg *JobDefinition) SetConditions(c ...xpv1.Condition)

SetConditions of this JobDefinition.

func (*JobDefinition) SetDeletionPolicy added in v0.41.0

func (mg *JobDefinition) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this JobDefinition.

func (*JobDefinition) SetManagementPolicies added in v0.41.0

func (mg *JobDefinition) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this JobDefinition.

func (*JobDefinition) SetObservation added in v0.41.0

func (tr *JobDefinition) SetObservation(obs map[string]any) error

SetObservation for this JobDefinition

func (*JobDefinition) SetParameters added in v0.41.0

func (tr *JobDefinition) SetParameters(params map[string]any) error

SetParameters for this JobDefinition

func (*JobDefinition) SetProviderConfigReference added in v0.41.0

func (mg *JobDefinition) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this JobDefinition.

func (*JobDefinition) SetPublishConnectionDetailsTo added in v0.41.0

func (mg *JobDefinition) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this JobDefinition.

func (*JobDefinition) SetWriteConnectionSecretToReference added in v0.41.0

func (mg *JobDefinition) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this JobDefinition.

type JobDefinitionInitParameters added in v0.41.0

type JobDefinitionInitParameters struct {

	// A valid container properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container.
	ContainerProperties *string `json:"containerProperties,omitempty" tf:"container_properties,omitempty"`

	// When updating a job definition a new revision is created. This parameter determines if the previous version is deregistered (INACTIVE) or left  ACTIVE. Defaults to true.
	DeregisterOnNewRevision *bool `json:"deregisterOnNewRevision,omitempty" tf:"deregister_on_new_revision,omitempty"`

	// Valid ECS properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container.
	EcsProperties *string `json:"ecsProperties,omitempty" tf:"ecs_properties,omitempty"`

	// A valid eks properties. This parameter is only valid if the type parameter is container.
	EksProperties []EksPropertiesInitParameters `json:"eksProperties,omitempty" tf:"eks_properties,omitempty"`

	// Specifies the name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A valid node properties provided as a single valid JSON document. This parameter is required if the type parameter is multinode.
	NodeProperties *string `json:"nodeProperties,omitempty" tf:"node_properties,omitempty"`

	// Specifies the parameter substitution placeholders to set in the job definition.
	// +mapType=granular
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The platform capabilities required by the job definition. If no value is specified, it defaults to EC2. To run the job on Fargate resources, specify FARGATE.
	// +listType=set
	PlatformCapabilities []*string `json:"platformCapabilities,omitempty" tf:"platform_capabilities,omitempty"`

	// Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is false.
	PropagateTags *bool `json:"propagateTags,omitempty" tf:"propagate_tags,omitempty"`

	// Specifies the retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of retry_strategy is 1.  Defined below.
	RetryStrategy []RetryStrategyInitParameters `json:"retryStrategy,omitempty" tf:"retry_strategy,omitempty"`

	// The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority. Allowed values 0 through 9999.
	SchedulingPriority *float64 `json:"schedulingPriority,omitempty" tf:"scheduling_priority,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of timeout is 1. Defined below.
	Timeout []TimeoutInitParameters `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// The type of job definition. Must be container or multinode.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*JobDefinitionInitParameters) DeepCopy added in v0.41.0

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

func (*JobDefinitionInitParameters) DeepCopyInto added in v0.41.0

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

type JobDefinitionList added in v0.41.0

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

JobDefinitionList contains a list of JobDefinitions

func (*JobDefinitionList) DeepCopy added in v0.41.0

func (in *JobDefinitionList) DeepCopy() *JobDefinitionList

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

func (*JobDefinitionList) DeepCopyInto added in v0.41.0

func (in *JobDefinitionList) DeepCopyInto(out *JobDefinitionList)

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

func (*JobDefinitionList) DeepCopyObject added in v0.41.0

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

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

func (*JobDefinitionList) GetItems added in v0.41.0

func (l *JobDefinitionList) GetItems() []resource.Managed

GetItems of this JobDefinitionList.

type JobDefinitionObservation added in v0.41.0

type JobDefinitionObservation struct {

	// The Amazon Resource Name of the job definition, includes revision (:#).
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The ARN without the revision number.
	ArnPrefix *string `json:"arnPrefix,omitempty" tf:"arn_prefix,omitempty"`

	// A valid container properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container.
	ContainerProperties *string `json:"containerProperties,omitempty" tf:"container_properties,omitempty"`

	// When updating a job definition a new revision is created. This parameter determines if the previous version is deregistered (INACTIVE) or left  ACTIVE. Defaults to true.
	DeregisterOnNewRevision *bool `json:"deregisterOnNewRevision,omitempty" tf:"deregister_on_new_revision,omitempty"`

	// Valid ECS properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container.
	EcsProperties *string `json:"ecsProperties,omitempty" tf:"ecs_properties,omitempty"`

	// A valid eks properties. This parameter is only valid if the type parameter is container.
	EksProperties []EksPropertiesObservation `json:"eksProperties,omitempty" tf:"eks_properties,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Specifies the name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A valid node properties provided as a single valid JSON document. This parameter is required if the type parameter is multinode.
	NodeProperties *string `json:"nodeProperties,omitempty" tf:"node_properties,omitempty"`

	// Specifies the parameter substitution placeholders to set in the job definition.
	// +mapType=granular
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The platform capabilities required by the job definition. If no value is specified, it defaults to EC2. To run the job on Fargate resources, specify FARGATE.
	// +listType=set
	PlatformCapabilities []*string `json:"platformCapabilities,omitempty" tf:"platform_capabilities,omitempty"`

	// Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is false.
	PropagateTags *bool `json:"propagateTags,omitempty" tf:"propagate_tags,omitempty"`

	// Specifies the retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of retry_strategy is 1.  Defined below.
	RetryStrategy []RetryStrategyObservation `json:"retryStrategy,omitempty" tf:"retry_strategy,omitempty"`

	// The revision of the job definition.
	Revision *float64 `json:"revision,omitempty" tf:"revision,omitempty"`

	// The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority. Allowed values 0 through 9999.
	SchedulingPriority *float64 `json:"schedulingPriority,omitempty" tf:"scheduling_priority,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// Specifies the timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of timeout is 1. Defined below.
	Timeout []TimeoutObservation `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// The type of job definition. Must be container or multinode.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*JobDefinitionObservation) DeepCopy added in v0.41.0

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

func (*JobDefinitionObservation) DeepCopyInto added in v0.41.0

func (in *JobDefinitionObservation) DeepCopyInto(out *JobDefinitionObservation)

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

type JobDefinitionParameters added in v0.41.0

type JobDefinitionParameters struct {

	// A valid container properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container.
	// +kubebuilder:validation:Optional
	ContainerProperties *string `json:"containerProperties,omitempty" tf:"container_properties,omitempty"`

	// When updating a job definition a new revision is created. This parameter determines if the previous version is deregistered (INACTIVE) or left  ACTIVE. Defaults to true.
	// +kubebuilder:validation:Optional
	DeregisterOnNewRevision *bool `json:"deregisterOnNewRevision,omitempty" tf:"deregister_on_new_revision,omitempty"`

	// Valid ECS properties provided as a single valid JSON document. This parameter is only valid if the type parameter is container.
	// +kubebuilder:validation:Optional
	EcsProperties *string `json:"ecsProperties,omitempty" tf:"ecs_properties,omitempty"`

	// A valid eks properties. This parameter is only valid if the type parameter is container.
	// +kubebuilder:validation:Optional
	EksProperties []EksPropertiesParameters `json:"eksProperties,omitempty" tf:"eks_properties,omitempty"`

	// Specifies the name of the job definition.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// A valid node properties provided as a single valid JSON document. This parameter is required if the type parameter is multinode.
	// +kubebuilder:validation:Optional
	NodeProperties *string `json:"nodeProperties,omitempty" tf:"node_properties,omitempty"`

	// Specifies the parameter substitution placeholders to set in the job definition.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Parameters map[string]*string `json:"parameters,omitempty" tf:"parameters,omitempty"`

	// The platform capabilities required by the job definition. If no value is specified, it defaults to EC2. To run the job on Fargate resources, specify FARGATE.
	// +kubebuilder:validation:Optional
	// +listType=set
	PlatformCapabilities []*string `json:"platformCapabilities,omitempty" tf:"platform_capabilities,omitempty"`

	// Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is false.
	// +kubebuilder:validation:Optional
	PropagateTags *bool `json:"propagateTags,omitempty" tf:"propagate_tags,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Specifies the retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of retry_strategy is 1.  Defined below.
	// +kubebuilder:validation:Optional
	RetryStrategy []RetryStrategyParameters `json:"retryStrategy,omitempty" tf:"retry_strategy,omitempty"`

	// The scheduling priority of the job definition. This only affects jobs in job queues with a fair share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority. Allowed values 0 through 9999.
	// +kubebuilder:validation:Optional
	SchedulingPriority *float64 `json:"schedulingPriority,omitempty" tf:"scheduling_priority,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Specifies the timeout for jobs so that if a job runs longer, AWS Batch terminates the job. Maximum number of timeout is 1. Defined below.
	// +kubebuilder:validation:Optional
	Timeout []TimeoutParameters `json:"timeout,omitempty" tf:"timeout,omitempty"`

	// The type of job definition. Must be container or multinode.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*JobDefinitionParameters) DeepCopy added in v0.41.0

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

func (*JobDefinitionParameters) DeepCopyInto added in v0.41.0

func (in *JobDefinitionParameters) DeepCopyInto(out *JobDefinitionParameters)

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

type JobDefinitionSpec added in v0.41.0

type JobDefinitionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     JobDefinitionParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider JobDefinitionInitParameters `json:"initProvider,omitempty"`
}

JobDefinitionSpec defines the desired state of JobDefinition

func (*JobDefinitionSpec) DeepCopy added in v0.41.0

func (in *JobDefinitionSpec) DeepCopy() *JobDefinitionSpec

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

func (*JobDefinitionSpec) DeepCopyInto added in v0.41.0

func (in *JobDefinitionSpec) DeepCopyInto(out *JobDefinitionSpec)

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

type JobDefinitionStatus added in v0.41.0

type JobDefinitionStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        JobDefinitionObservation `json:"atProvider,omitempty"`
}

JobDefinitionStatus defines the observed state of JobDefinition.

func (*JobDefinitionStatus) DeepCopy added in v0.41.0

func (in *JobDefinitionStatus) DeepCopy() *JobDefinitionStatus

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

func (*JobDefinitionStatus) DeepCopyInto added in v0.41.0

func (in *JobDefinitionStatus) DeepCopyInto(out *JobDefinitionStatus)

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

type JobQueue added in v1.17.0

type JobQueue struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.priority) || (has(self.initProvider) && has(self.initProvider.priority))",message="spec.forProvider.priority is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.state) || (has(self.initProvider) && has(self.initProvider.state))",message="spec.forProvider.state is a required parameter"
	Spec   JobQueueSpec   `json:"spec"`
	Status JobQueueStatus `json:"status,omitempty"`
}

JobQueue is the Schema for the JobQueues API. Provides a Batch Job Queue resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*JobQueue) DeepCopy added in v1.17.0

func (in *JobQueue) DeepCopy() *JobQueue

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

func (*JobQueue) DeepCopyInto added in v1.17.0

func (in *JobQueue) DeepCopyInto(out *JobQueue)

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

func (*JobQueue) DeepCopyObject added in v1.17.0

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

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

func (*JobQueue) GetCondition added in v1.17.0

func (mg *JobQueue) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this JobQueue.

func (*JobQueue) GetConnectionDetailsMapping added in v1.17.0

func (tr *JobQueue) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this JobQueue

func (*JobQueue) GetDeletionPolicy added in v1.17.0

func (mg *JobQueue) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this JobQueue.

func (*JobQueue) GetID added in v1.17.0

func (tr *JobQueue) GetID() string

GetID returns ID of underlying Terraform resource of this JobQueue

func (*JobQueue) GetInitParameters added in v1.17.0

func (tr *JobQueue) GetInitParameters() (map[string]any, error)

GetInitParameters of this JobQueue

func (*JobQueue) GetManagementPolicies added in v1.17.0

func (mg *JobQueue) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this JobQueue.

func (*JobQueue) GetMergedParameters added in v1.17.0

func (tr *JobQueue) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this JobQueue

func (*JobQueue) GetObservation added in v1.17.0

func (tr *JobQueue) GetObservation() (map[string]any, error)

GetObservation of this JobQueue

func (*JobQueue) GetParameters added in v1.17.0

func (tr *JobQueue) GetParameters() (map[string]any, error)

GetParameters of this JobQueue

func (*JobQueue) GetProviderConfigReference added in v1.17.0

func (mg *JobQueue) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this JobQueue.

func (*JobQueue) GetPublishConnectionDetailsTo added in v1.17.0

func (mg *JobQueue) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this JobQueue.

func (*JobQueue) GetTerraformResourceType added in v1.17.0

func (mg *JobQueue) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this JobQueue

func (*JobQueue) GetTerraformSchemaVersion added in v1.17.0

func (tr *JobQueue) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*JobQueue) GetWriteConnectionSecretToReference added in v1.17.0

func (mg *JobQueue) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this JobQueue.

func (*JobQueue) Hub added in v1.17.0

func (tr *JobQueue) Hub()

Hub marks this type as a conversion hub.

func (*JobQueue) LateInitialize added in v1.17.0

func (tr *JobQueue) LateInitialize(attrs []byte) (bool, error)

LateInitialize this JobQueue using its observed tfState. returns True if there are any spec changes for the resource.

func (*JobQueue) ResolveReferences added in v1.17.0

func (mg *JobQueue) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this JobQueue.

func (*JobQueue) SetConditions added in v1.17.0

func (mg *JobQueue) SetConditions(c ...xpv1.Condition)

SetConditions of this JobQueue.

func (*JobQueue) SetDeletionPolicy added in v1.17.0

func (mg *JobQueue) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this JobQueue.

func (*JobQueue) SetManagementPolicies added in v1.17.0

func (mg *JobQueue) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this JobQueue.

func (*JobQueue) SetObservation added in v1.17.0

func (tr *JobQueue) SetObservation(obs map[string]any) error

SetObservation for this JobQueue

func (*JobQueue) SetParameters added in v1.17.0

func (tr *JobQueue) SetParameters(params map[string]any) error

SetParameters for this JobQueue

func (*JobQueue) SetProviderConfigReference added in v1.17.0

func (mg *JobQueue) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this JobQueue.

func (*JobQueue) SetPublishConnectionDetailsTo added in v1.17.0

func (mg *JobQueue) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this JobQueue.

func (*JobQueue) SetWriteConnectionSecretToReference added in v1.17.0

func (mg *JobQueue) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this JobQueue.

type JobQueueInitParameters added in v1.17.0

type JobQueueInitParameters struct {

	// The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to three compute environments with a job queue.
	ComputeEnvironmentOrder []ComputeEnvironmentOrderInitParameters `json:"computeEnvironmentOrder,omitempty" tf:"compute_environment_order,omitempty"`

	// (Deprecated)  This parameter is deprecated, please use compute_environment_order instead. List of compute environment ARNs mapped to a job queue. The position of the compute environments in the list will dictate the order. When importing a AWS Batch Job Queue, the parameter compute_environments will always be used over compute_environment_order. Please adjust your HCL accordingly.
	ComputeEnvironments []*string `json:"computeEnvironments,omitempty" tf:"compute_environments,omitempty"`

	// The set of job state time limit actions mapped to a job queue. Specifies an action that AWS Batch will take after the job has remained at the head of the queue in the specified state for longer than the specified time.
	JobStateTimeLimitAction []JobStateTimeLimitActionInitParameters `json:"jobStateTimeLimitAction,omitempty" tf:"job_state_time_limit_action,omitempty"`

	// The priority of the job queue. Job queues with a higher priority
	// are evaluated first when associated with the same compute environment.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// The ARN of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO) scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/batch/v1beta2.SchedulingPolicy
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	SchedulingPolicyArn *string `json:"schedulingPolicyArn,omitempty" tf:"scheduling_policy_arn,omitempty"`

	// Reference to a SchedulingPolicy in batch to populate schedulingPolicyArn.
	// +kubebuilder:validation:Optional
	SchedulingPolicyArnRef *v1.Reference `json:"schedulingPolicyArnRef,omitempty" tf:"-"`

	// Selector for a SchedulingPolicy in batch to populate schedulingPolicyArn.
	// +kubebuilder:validation:Optional
	SchedulingPolicyArnSelector *v1.Selector `json:"schedulingPolicyArnSelector,omitempty" tf:"-"`

	// The state of the job queue. Must be one of: ENABLED or DISABLED
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*JobQueueInitParameters) DeepCopy added in v1.17.0

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

func (*JobQueueInitParameters) DeepCopyInto added in v1.17.0

func (in *JobQueueInitParameters) DeepCopyInto(out *JobQueueInitParameters)

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

type JobQueueList added in v1.17.0

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

JobQueueList contains a list of JobQueues

func (*JobQueueList) DeepCopy added in v1.17.0

func (in *JobQueueList) DeepCopy() *JobQueueList

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

func (*JobQueueList) DeepCopyInto added in v1.17.0

func (in *JobQueueList) DeepCopyInto(out *JobQueueList)

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

func (*JobQueueList) DeepCopyObject added in v1.17.0

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

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

func (*JobQueueList) GetItems added in v1.17.0

func (l *JobQueueList) GetItems() []resource.Managed

GetItems of this JobQueueList.

type JobQueueObservation added in v1.17.0

type JobQueueObservation struct {

	// The Amazon Resource Name of the job queue.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to three compute environments with a job queue.
	ComputeEnvironmentOrder []ComputeEnvironmentOrderObservation `json:"computeEnvironmentOrder,omitempty" tf:"compute_environment_order,omitempty"`

	// (Deprecated)  This parameter is deprecated, please use compute_environment_order instead. List of compute environment ARNs mapped to a job queue. The position of the compute environments in the list will dictate the order. When importing a AWS Batch Job Queue, the parameter compute_environments will always be used over compute_environment_order. Please adjust your HCL accordingly.
	ComputeEnvironments []*string `json:"computeEnvironments,omitempty" tf:"compute_environments,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The set of job state time limit actions mapped to a job queue. Specifies an action that AWS Batch will take after the job has remained at the head of the queue in the specified state for longer than the specified time.
	JobStateTimeLimitAction []JobStateTimeLimitActionObservation `json:"jobStateTimeLimitAction,omitempty" tf:"job_state_time_limit_action,omitempty"`

	// The priority of the job queue. Job queues with a higher priority
	// are evaluated first when associated with the same compute environment.
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// The ARN of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO) scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy.
	SchedulingPolicyArn *string `json:"schedulingPolicyArn,omitempty" tf:"scheduling_policy_arn,omitempty"`

	// The state of the job queue. Must be one of: ENABLED or DISABLED
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*JobQueueObservation) DeepCopy added in v1.17.0

func (in *JobQueueObservation) DeepCopy() *JobQueueObservation

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

func (*JobQueueObservation) DeepCopyInto added in v1.17.0

func (in *JobQueueObservation) DeepCopyInto(out *JobQueueObservation)

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

type JobQueueParameters added in v1.17.0

type JobQueueParameters struct {

	// The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler uses this parameter to determine which compute environment runs a specific job. Compute environments must be in the VALID state before you can associate them with a job queue. You can associate up to three compute environments with a job queue.
	// +kubebuilder:validation:Optional
	ComputeEnvironmentOrder []ComputeEnvironmentOrderParameters `json:"computeEnvironmentOrder,omitempty" tf:"compute_environment_order,omitempty"`

	// (Deprecated)  This parameter is deprecated, please use compute_environment_order instead. List of compute environment ARNs mapped to a job queue. The position of the compute environments in the list will dictate the order. When importing a AWS Batch Job Queue, the parameter compute_environments will always be used over compute_environment_order. Please adjust your HCL accordingly.
	// +kubebuilder:validation:Optional
	ComputeEnvironments []*string `json:"computeEnvironments,omitempty" tf:"compute_environments,omitempty"`

	// The set of job state time limit actions mapped to a job queue. Specifies an action that AWS Batch will take after the job has remained at the head of the queue in the specified state for longer than the specified time.
	// +kubebuilder:validation:Optional
	JobStateTimeLimitAction []JobStateTimeLimitActionParameters `json:"jobStateTimeLimitAction,omitempty" tf:"job_state_time_limit_action,omitempty"`

	// The priority of the job queue. Job queues with a higher priority
	// are evaluated first when associated with the same compute environment.
	// +kubebuilder:validation:Optional
	Priority *float64 `json:"priority,omitempty" tf:"priority,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// The ARN of the fair share scheduling policy. If this parameter is specified, the job queue uses a fair share scheduling policy. If this parameter isn't specified, the job queue uses a first in, first out (FIFO) scheduling policy. After a job queue is created, you can replace but can't remove the fair share scheduling policy.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/batch/v1beta2.SchedulingPolicy
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	SchedulingPolicyArn *string `json:"schedulingPolicyArn,omitempty" tf:"scheduling_policy_arn,omitempty"`

	// Reference to a SchedulingPolicy in batch to populate schedulingPolicyArn.
	// +kubebuilder:validation:Optional
	SchedulingPolicyArnRef *v1.Reference `json:"schedulingPolicyArnRef,omitempty" tf:"-"`

	// Selector for a SchedulingPolicy in batch to populate schedulingPolicyArn.
	// +kubebuilder:validation:Optional
	SchedulingPolicyArnSelector *v1.Selector `json:"schedulingPolicyArnSelector,omitempty" tf:"-"`

	// The state of the job queue. Must be one of: ENABLED or DISABLED
	// +kubebuilder:validation:Optional
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*JobQueueParameters) DeepCopy added in v1.17.0

func (in *JobQueueParameters) DeepCopy() *JobQueueParameters

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

func (*JobQueueParameters) DeepCopyInto added in v1.17.0

func (in *JobQueueParameters) DeepCopyInto(out *JobQueueParameters)

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

type JobQueueSpec added in v1.17.0

type JobQueueSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     JobQueueParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider JobQueueInitParameters `json:"initProvider,omitempty"`
}

JobQueueSpec defines the desired state of JobQueue

func (*JobQueueSpec) DeepCopy added in v1.17.0

func (in *JobQueueSpec) DeepCopy() *JobQueueSpec

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

func (*JobQueueSpec) DeepCopyInto added in v1.17.0

func (in *JobQueueSpec) DeepCopyInto(out *JobQueueSpec)

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

type JobQueueStatus added in v1.17.0

type JobQueueStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        JobQueueObservation `json:"atProvider,omitempty"`
}

JobQueueStatus defines the observed state of JobQueue.

func (*JobQueueStatus) DeepCopy added in v1.17.0

func (in *JobQueueStatus) DeepCopy() *JobQueueStatus

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

func (*JobQueueStatus) DeepCopyInto added in v1.17.0

func (in *JobQueueStatus) DeepCopyInto(out *JobQueueStatus)

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

type JobStateTimeLimitActionInitParameters added in v1.17.0

type JobStateTimeLimitActionInitParameters struct {

	// The action to take when a job is at the head of the job queue in the specified state for the specified period of time. Valid values include "CANCEL"
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. Valid values include integers between 600 & 86400
	MaxTimeSeconds *float64 `json:"maxTimeSeconds,omitempty" tf:"max_time_seconds,omitempty"`

	// The reason to log for the action being taken.
	Reason *string `json:"reason,omitempty" tf:"reason,omitempty"`

	// The state of the job needed to trigger the action. Valid values include "RUNNABLE".
	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*JobStateTimeLimitActionInitParameters) DeepCopy added in v1.17.0

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

func (*JobStateTimeLimitActionInitParameters) DeepCopyInto added in v1.17.0

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

type JobStateTimeLimitActionObservation added in v1.17.0

type JobStateTimeLimitActionObservation struct {

	// The action to take when a job is at the head of the job queue in the specified state for the specified period of time. Valid values include "CANCEL"
	Action *string `json:"action,omitempty" tf:"action,omitempty"`

	// The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. Valid values include integers between 600 & 86400
	MaxTimeSeconds *float64 `json:"maxTimeSeconds,omitempty" tf:"max_time_seconds,omitempty"`

	// The reason to log for the action being taken.
	Reason *string `json:"reason,omitempty" tf:"reason,omitempty"`

	// The state of the job needed to trigger the action. Valid values include "RUNNABLE".
	State *string `json:"state,omitempty" tf:"state,omitempty"`
}

func (*JobStateTimeLimitActionObservation) DeepCopy added in v1.17.0

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

func (*JobStateTimeLimitActionObservation) DeepCopyInto added in v1.17.0

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

type JobStateTimeLimitActionParameters added in v1.17.0

type JobStateTimeLimitActionParameters struct {

	// The action to take when a job is at the head of the job queue in the specified state for the specified period of time. Valid values include "CANCEL"
	// +kubebuilder:validation:Optional
	Action *string `json:"action" tf:"action,omitempty"`

	// The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. Valid values include integers between 600 & 86400
	// +kubebuilder:validation:Optional
	MaxTimeSeconds *float64 `json:"maxTimeSeconds" tf:"max_time_seconds,omitempty"`

	// The reason to log for the action being taken.
	// +kubebuilder:validation:Optional
	Reason *string `json:"reason" tf:"reason,omitempty"`

	// The state of the job needed to trigger the action. Valid values include "RUNNABLE".
	// +kubebuilder:validation:Optional
	State *string `json:"state" tf:"state,omitempty"`
}

func (*JobStateTimeLimitActionParameters) DeepCopy added in v1.17.0

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

func (*JobStateTimeLimitActionParameters) DeepCopyInto added in v1.17.0

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

type LaunchTemplateInitParameters added in v1.17.0

type LaunchTemplateInitParameters struct {

	// ID of the launch template. You must specify either the launch template ID or launch template name in the request, but not both.
	LaunchTemplateID *string `json:"launchTemplateId,omitempty" tf:"launch_template_id,omitempty"`

	// Name of the launch template.
	LaunchTemplateName *string `json:"launchTemplateName,omitempty" tf:"launch_template_name,omitempty"`

	// The version number of the launch template. Default: The default version of the launch template.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*LaunchTemplateInitParameters) DeepCopy added in v1.17.0

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

func (*LaunchTemplateInitParameters) DeepCopyInto added in v1.17.0

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

type LaunchTemplateObservation added in v1.17.0

type LaunchTemplateObservation struct {

	// ID of the launch template. You must specify either the launch template ID or launch template name in the request, but not both.
	LaunchTemplateID *string `json:"launchTemplateId,omitempty" tf:"launch_template_id,omitempty"`

	// Name of the launch template.
	LaunchTemplateName *string `json:"launchTemplateName,omitempty" tf:"launch_template_name,omitempty"`

	// The version number of the launch template. Default: The default version of the launch template.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*LaunchTemplateObservation) DeepCopy added in v1.17.0

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

func (*LaunchTemplateObservation) DeepCopyInto added in v1.17.0

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

type LaunchTemplateParameters added in v1.17.0

type LaunchTemplateParameters struct {

	// ID of the launch template. You must specify either the launch template ID or launch template name in the request, but not both.
	// +kubebuilder:validation:Optional
	LaunchTemplateID *string `json:"launchTemplateId,omitempty" tf:"launch_template_id,omitempty"`

	// Name of the launch template.
	// +kubebuilder:validation:Optional
	LaunchTemplateName *string `json:"launchTemplateName,omitempty" tf:"launch_template_name,omitempty"`

	// The version number of the launch template. Default: The default version of the launch template.
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*LaunchTemplateParameters) DeepCopy added in v1.17.0

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

func (*LaunchTemplateParameters) DeepCopyInto added in v1.17.0

func (in *LaunchTemplateParameters) DeepCopyInto(out *LaunchTemplateParameters)

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

type MetadataInitParameters added in v1.5.0

type MetadataInitParameters struct {

	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
}

func (*MetadataInitParameters) DeepCopy added in v1.5.0

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

func (*MetadataInitParameters) DeepCopyInto added in v1.5.0

func (in *MetadataInitParameters) DeepCopyInto(out *MetadataInitParameters)

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

type MetadataObservation added in v1.5.0

type MetadataObservation struct {

	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
}

func (*MetadataObservation) DeepCopy added in v1.5.0

func (in *MetadataObservation) DeepCopy() *MetadataObservation

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

func (*MetadataObservation) DeepCopyInto added in v1.5.0

func (in *MetadataObservation) DeepCopyInto(out *MetadataObservation)

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

type MetadataParameters added in v1.5.0

type MetadataParameters struct {

	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`
}

func (*MetadataParameters) DeepCopy added in v1.5.0

func (in *MetadataParameters) DeepCopy() *MetadataParameters

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

func (*MetadataParameters) DeepCopyInto added in v1.5.0

func (in *MetadataParameters) DeepCopyInto(out *MetadataParameters)

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

type PodPropertiesInitParameters added in v1.5.0

type PodPropertiesInitParameters struct {

	// The properties of the container that's used on the Amazon EKS pod. See containers below.
	Containers []ContainersInitParameters `json:"containers,omitempty" tf:"containers,omitempty"`

	// The DNS policy for the pod. The default value is ClusterFirst. If the host_network argument is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation.
	DNSPolicy *string `json:"dnsPolicy,omitempty" tf:"dns_policy,omitempty"`

	// Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.
	HostNetwork *bool `json:"hostNetwork,omitempty" tf:"host_network,omitempty"`

	// List of Kubernetes secret resources. See image_pull_secret below.
	ImagePullSecret []ImagePullSecretInitParameters `json:"imagePullSecret,omitempty" tf:"image_pull_secret,omitempty"`

	// Containers which run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. See containers below.
	InitContainers []InitContainersInitParameters `json:"initContainers,omitempty" tf:"init_containers,omitempty"`

	// Metadata about the Kubernetes pod.
	Metadata []MetadataInitParameters `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name of the service account that's used to run the pod.
	ServiceAccountName *string `json:"serviceAccountName,omitempty" tf:"service_account_name,omitempty"`

	// Indicates if the processes in a container are shared, or visible, to other containers in the same pod.
	ShareProcessNamespace *bool `json:"shareProcessNamespace,omitempty" tf:"share_process_namespace,omitempty"`

	// Specifies the volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types.
	Volumes []VolumesInitParameters `json:"volumes,omitempty" tf:"volumes,omitempty"`
}

func (*PodPropertiesInitParameters) DeepCopy added in v1.5.0

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

func (*PodPropertiesInitParameters) DeepCopyInto added in v1.5.0

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

type PodPropertiesObservation added in v1.5.0

type PodPropertiesObservation struct {

	// The properties of the container that's used on the Amazon EKS pod. See containers below.
	Containers []ContainersObservation `json:"containers,omitempty" tf:"containers,omitempty"`

	// The DNS policy for the pod. The default value is ClusterFirst. If the host_network argument is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation.
	DNSPolicy *string `json:"dnsPolicy,omitempty" tf:"dns_policy,omitempty"`

	// Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.
	HostNetwork *bool `json:"hostNetwork,omitempty" tf:"host_network,omitempty"`

	// List of Kubernetes secret resources. See image_pull_secret below.
	ImagePullSecret []ImagePullSecretObservation `json:"imagePullSecret,omitempty" tf:"image_pull_secret,omitempty"`

	// Containers which run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. See containers below.
	InitContainers []InitContainersObservation `json:"initContainers,omitempty" tf:"init_containers,omitempty"`

	// Metadata about the Kubernetes pod.
	Metadata []MetadataObservation `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name of the service account that's used to run the pod.
	ServiceAccountName *string `json:"serviceAccountName,omitempty" tf:"service_account_name,omitempty"`

	// Indicates if the processes in a container are shared, or visible, to other containers in the same pod.
	ShareProcessNamespace *bool `json:"shareProcessNamespace,omitempty" tf:"share_process_namespace,omitempty"`

	// Specifies the volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types.
	Volumes []VolumesObservation `json:"volumes,omitempty" tf:"volumes,omitempty"`
}

func (*PodPropertiesObservation) DeepCopy added in v1.5.0

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

func (*PodPropertiesObservation) DeepCopyInto added in v1.5.0

func (in *PodPropertiesObservation) DeepCopyInto(out *PodPropertiesObservation)

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

type PodPropertiesParameters added in v1.5.0

type PodPropertiesParameters struct {

	// The properties of the container that's used on the Amazon EKS pod. See containers below.
	// +kubebuilder:validation:Optional
	Containers []ContainersParameters `json:"containers" tf:"containers,omitempty"`

	// The DNS policy for the pod. The default value is ClusterFirst. If the host_network argument is not specified, the default is ClusterFirstWithHostNet. ClusterFirst indicates that any DNS query that does not match the configured cluster domain suffix is forwarded to the upstream nameserver inherited from the node. For more information, see Pod's DNS policy in the Kubernetes documentation.
	// +kubebuilder:validation:Optional
	DNSPolicy *string `json:"dnsPolicy,omitempty" tf:"dns_policy,omitempty"`

	// Indicates if the pod uses the hosts' network IP address. The default value is true. Setting this to false enables the Kubernetes pod networking model. Most AWS Batch workloads are egress-only and don't require the overhead of IP allocation for each pod for incoming connections.
	// +kubebuilder:validation:Optional
	HostNetwork *bool `json:"hostNetwork,omitempty" tf:"host_network,omitempty"`

	// List of Kubernetes secret resources. See image_pull_secret below.
	// +kubebuilder:validation:Optional
	ImagePullSecret []ImagePullSecretParameters `json:"imagePullSecret,omitempty" tf:"image_pull_secret,omitempty"`

	// Containers which run before application containers, always runs to completion, and must complete successfully before the next container starts. These containers are registered with the Amazon EKS Connector agent and persists the registration information in the Kubernetes backend data store. See containers below.
	// +kubebuilder:validation:Optional
	InitContainers []InitContainersParameters `json:"initContainers,omitempty" tf:"init_containers,omitempty"`

	// Metadata about the Kubernetes pod.
	// +kubebuilder:validation:Optional
	Metadata []MetadataParameters `json:"metadata,omitempty" tf:"metadata,omitempty"`

	// The name of the service account that's used to run the pod.
	// +kubebuilder:validation:Optional
	ServiceAccountName *string `json:"serviceAccountName,omitempty" tf:"service_account_name,omitempty"`

	// Indicates if the processes in a container are shared, or visible, to other containers in the same pod.
	// +kubebuilder:validation:Optional
	ShareProcessNamespace *bool `json:"shareProcessNamespace,omitempty" tf:"share_process_namespace,omitempty"`

	// Specifies the volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types.
	// +kubebuilder:validation:Optional
	Volumes []VolumesParameters `json:"volumes,omitempty" tf:"volumes,omitempty"`
}

func (*PodPropertiesParameters) DeepCopy added in v1.5.0

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

func (*PodPropertiesParameters) DeepCopyInto added in v1.5.0

func (in *PodPropertiesParameters) DeepCopyInto(out *PodPropertiesParameters)

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

type ResourcesInitParameters added in v1.5.0

type ResourcesInitParameters struct {

	// +mapType=granular
	Limits map[string]*string `json:"limits,omitempty" tf:"limits,omitempty"`

	// +mapType=granular
	Requests map[string]*string `json:"requests,omitempty" tf:"requests,omitempty"`
}

func (*ResourcesInitParameters) DeepCopy added in v1.5.0

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

func (*ResourcesInitParameters) DeepCopyInto added in v1.5.0

func (in *ResourcesInitParameters) DeepCopyInto(out *ResourcesInitParameters)

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

type ResourcesObservation added in v1.5.0

type ResourcesObservation struct {

	// +mapType=granular
	Limits map[string]*string `json:"limits,omitempty" tf:"limits,omitempty"`

	// +mapType=granular
	Requests map[string]*string `json:"requests,omitempty" tf:"requests,omitempty"`
}

func (*ResourcesObservation) DeepCopy added in v1.5.0

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

func (*ResourcesObservation) DeepCopyInto added in v1.5.0

func (in *ResourcesObservation) DeepCopyInto(out *ResourcesObservation)

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

type ResourcesParameters added in v1.5.0

type ResourcesParameters struct {

	// +kubebuilder:validation:Optional
	// +mapType=granular
	Limits map[string]*string `json:"limits,omitempty" tf:"limits,omitempty"`

	// +kubebuilder:validation:Optional
	// +mapType=granular
	Requests map[string]*string `json:"requests,omitempty" tf:"requests,omitempty"`
}

func (*ResourcesParameters) DeepCopy added in v1.5.0

func (in *ResourcesParameters) DeepCopy() *ResourcesParameters

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

func (*ResourcesParameters) DeepCopyInto added in v1.5.0

func (in *ResourcesParameters) DeepCopyInto(out *ResourcesParameters)

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

type RetryStrategyInitParameters added in v0.41.0

type RetryStrategyInitParameters struct {

	// The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts.
	Attempts *float64 `json:"attempts,omitempty" tf:"attempts,omitempty"`

	// The evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified. You may specify up to 5 configuration blocks.
	EvaluateOnExit []EvaluateOnExitInitParameters `json:"evaluateOnExit,omitempty" tf:"evaluate_on_exit,omitempty"`
}

func (*RetryStrategyInitParameters) DeepCopy added in v0.41.0

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

func (*RetryStrategyInitParameters) DeepCopyInto added in v0.41.0

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

type RetryStrategyObservation added in v0.41.0

type RetryStrategyObservation struct {

	// The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts.
	Attempts *float64 `json:"attempts,omitempty" tf:"attempts,omitempty"`

	// The evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified. You may specify up to 5 configuration blocks.
	EvaluateOnExit []EvaluateOnExitObservation `json:"evaluateOnExit,omitempty" tf:"evaluate_on_exit,omitempty"`
}

func (*RetryStrategyObservation) DeepCopy added in v0.41.0

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

func (*RetryStrategyObservation) DeepCopyInto added in v0.41.0

func (in *RetryStrategyObservation) DeepCopyInto(out *RetryStrategyObservation)

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

type RetryStrategyParameters added in v0.41.0

type RetryStrategyParameters struct {

	// The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts.
	// +kubebuilder:validation:Optional
	Attempts *float64 `json:"attempts,omitempty" tf:"attempts,omitempty"`

	// The evaluate on exit conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified. You may specify up to 5 configuration blocks.
	// +kubebuilder:validation:Optional
	EvaluateOnExit []EvaluateOnExitParameters `json:"evaluateOnExit,omitempty" tf:"evaluate_on_exit,omitempty"`
}

func (*RetryStrategyParameters) DeepCopy added in v0.41.0

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

func (*RetryStrategyParameters) DeepCopyInto added in v0.41.0

func (in *RetryStrategyParameters) DeepCopyInto(out *RetryStrategyParameters)

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

type SchedulingPolicy

type SchedulingPolicy struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SchedulingPolicySpec   `json:"spec"`
	Status            SchedulingPolicyStatus `json:"status,omitempty"`
}

SchedulingPolicy is the Schema for the SchedulingPolicys API. Provides a Batch Scheduling Policy resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*SchedulingPolicy) ConvertFrom added in v1.7.0

func (tr *SchedulingPolicy) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the hub type to the SchedulingPolicy type.

func (*SchedulingPolicy) ConvertTo added in v1.7.0

func (tr *SchedulingPolicy) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this SchedulingPolicy to the hub type.

func (*SchedulingPolicy) DeepCopy

func (in *SchedulingPolicy) DeepCopy() *SchedulingPolicy

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

func (*SchedulingPolicy) DeepCopyInto

func (in *SchedulingPolicy) DeepCopyInto(out *SchedulingPolicy)

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

func (*SchedulingPolicy) DeepCopyObject

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

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

func (*SchedulingPolicy) GetCondition

func (mg *SchedulingPolicy) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this SchedulingPolicy.

func (*SchedulingPolicy) GetConnectionDetailsMapping

func (tr *SchedulingPolicy) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SchedulingPolicy

func (*SchedulingPolicy) GetDeletionPolicy

func (mg *SchedulingPolicy) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SchedulingPolicy.

func (*SchedulingPolicy) GetID

func (tr *SchedulingPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this SchedulingPolicy

func (*SchedulingPolicy) GetInitParameters added in v0.38.0

func (tr *SchedulingPolicy) GetInitParameters() (map[string]any, error)

GetInitParameters of this SchedulingPolicy

func (*SchedulingPolicy) GetManagementPolicies added in v0.38.0

func (mg *SchedulingPolicy) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this SchedulingPolicy.

func (*SchedulingPolicy) GetMergedParameters added in v0.44.0

func (tr *SchedulingPolicy) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this SchedulingPolicy

func (*SchedulingPolicy) GetObservation

func (tr *SchedulingPolicy) GetObservation() (map[string]any, error)

GetObservation of this SchedulingPolicy

func (*SchedulingPolicy) GetParameters

func (tr *SchedulingPolicy) GetParameters() (map[string]any, error)

GetParameters of this SchedulingPolicy

func (*SchedulingPolicy) GetProviderConfigReference

func (mg *SchedulingPolicy) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SchedulingPolicy.

func (*SchedulingPolicy) GetPublishConnectionDetailsTo

func (mg *SchedulingPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SchedulingPolicy.

func (*SchedulingPolicy) GetTerraformResourceType

func (mg *SchedulingPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SchedulingPolicy

func (*SchedulingPolicy) GetTerraformSchemaVersion

func (tr *SchedulingPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SchedulingPolicy) GetWriteConnectionSecretToReference

func (mg *SchedulingPolicy) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SchedulingPolicy.

func (*SchedulingPolicy) LateInitialize

func (tr *SchedulingPolicy) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SchedulingPolicy using its observed tfState. returns True if there are any spec changes for the resource.

func (*SchedulingPolicy) SetConditions

func (mg *SchedulingPolicy) SetConditions(c ...xpv1.Condition)

SetConditions of this SchedulingPolicy.

func (*SchedulingPolicy) SetDeletionPolicy

func (mg *SchedulingPolicy) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SchedulingPolicy.

func (*SchedulingPolicy) SetManagementPolicies added in v0.38.0

func (mg *SchedulingPolicy) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this SchedulingPolicy.

func (*SchedulingPolicy) SetObservation

func (tr *SchedulingPolicy) SetObservation(obs map[string]any) error

SetObservation for this SchedulingPolicy

func (*SchedulingPolicy) SetParameters

func (tr *SchedulingPolicy) SetParameters(params map[string]any) error

SetParameters for this SchedulingPolicy

func (*SchedulingPolicy) SetProviderConfigReference

func (mg *SchedulingPolicy) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SchedulingPolicy.

func (*SchedulingPolicy) SetPublishConnectionDetailsTo

func (mg *SchedulingPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SchedulingPolicy.

func (*SchedulingPolicy) SetWriteConnectionSecretToReference

func (mg *SchedulingPolicy) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SchedulingPolicy.

type SchedulingPolicyInitParameters added in v0.38.0

type SchedulingPolicyInitParameters struct {
	FairSharePolicy []FairSharePolicyInitParameters `json:"fairSharePolicy,omitempty" tf:"fair_share_policy,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*SchedulingPolicyInitParameters) DeepCopy added in v0.38.0

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

func (*SchedulingPolicyInitParameters) DeepCopyInto added in v0.38.0

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

type SchedulingPolicyList

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

SchedulingPolicyList contains a list of SchedulingPolicys

func (*SchedulingPolicyList) DeepCopy

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

func (*SchedulingPolicyList) DeepCopyInto

func (in *SchedulingPolicyList) DeepCopyInto(out *SchedulingPolicyList)

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

func (*SchedulingPolicyList) DeepCopyObject

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

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

func (*SchedulingPolicyList) GetItems

func (l *SchedulingPolicyList) GetItems() []resource.Managed

GetItems of this SchedulingPolicyList.

type SchedulingPolicyObservation

type SchedulingPolicyObservation struct {

	// The Amazon Resource Name of the scheduling policy.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	FairSharePolicy []FairSharePolicyObservation `json:"fairSharePolicy,omitempty" tf:"fair_share_policy,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*SchedulingPolicyObservation) DeepCopy

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

func (*SchedulingPolicyObservation) DeepCopyInto

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

type SchedulingPolicyParameters

type SchedulingPolicyParameters struct {

	// +kubebuilder:validation:Optional
	FairSharePolicy []FairSharePolicyParameters `json:"fairSharePolicy,omitempty" tf:"fair_share_policy,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*SchedulingPolicyParameters) DeepCopy

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

func (*SchedulingPolicyParameters) DeepCopyInto

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

type SchedulingPolicySpec

type SchedulingPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SchedulingPolicyParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SchedulingPolicyInitParameters `json:"initProvider,omitempty"`
}

SchedulingPolicySpec defines the desired state of SchedulingPolicy

func (*SchedulingPolicySpec) DeepCopy

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

func (*SchedulingPolicySpec) DeepCopyInto

func (in *SchedulingPolicySpec) DeepCopyInto(out *SchedulingPolicySpec)

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

type SchedulingPolicyStatus

type SchedulingPolicyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SchedulingPolicyObservation `json:"atProvider,omitempty"`
}

SchedulingPolicyStatus defines the observed state of SchedulingPolicy.

func (*SchedulingPolicyStatus) DeepCopy

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

func (*SchedulingPolicyStatus) DeepCopyInto

func (in *SchedulingPolicyStatus) DeepCopyInto(out *SchedulingPolicyStatus)

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

type SecretInitParameters added in v1.5.0

type SecretInitParameters struct {

	// Specifies whether the secret or the secret's keys must be defined.
	Optional *bool `json:"optional,omitempty" tf:"optional,omitempty"`

	// The name of the secret. The name must be allowed as a DNS subdomain name.
	SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
}

func (*SecretInitParameters) DeepCopy added in v1.5.0

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

func (*SecretInitParameters) DeepCopyInto added in v1.5.0

func (in *SecretInitParameters) DeepCopyInto(out *SecretInitParameters)

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

type SecretObservation added in v1.5.0

type SecretObservation struct {

	// Specifies whether the secret or the secret's keys must be defined.
	Optional *bool `json:"optional,omitempty" tf:"optional,omitempty"`

	// The name of the secret. The name must be allowed as a DNS subdomain name.
	SecretName *string `json:"secretName,omitempty" tf:"secret_name,omitempty"`
}

func (*SecretObservation) DeepCopy added in v1.5.0

func (in *SecretObservation) DeepCopy() *SecretObservation

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

func (*SecretObservation) DeepCopyInto added in v1.5.0

func (in *SecretObservation) DeepCopyInto(out *SecretObservation)

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

type SecretParameters added in v1.5.0

type SecretParameters struct {

	// Specifies whether the secret or the secret's keys must be defined.
	// +kubebuilder:validation:Optional
	Optional *bool `json:"optional,omitempty" tf:"optional,omitempty"`

	// The name of the secret. The name must be allowed as a DNS subdomain name.
	// +kubebuilder:validation:Optional
	SecretName *string `json:"secretName" tf:"secret_name,omitempty"`
}

func (*SecretParameters) DeepCopy added in v1.5.0

func (in *SecretParameters) DeepCopy() *SecretParameters

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

func (*SecretParameters) DeepCopyInto added in v1.5.0

func (in *SecretParameters) DeepCopyInto(out *SecretParameters)

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

type SecurityContextInitParameters added in v1.5.0

type SecurityContextInitParameters struct {
	Privileged *bool `json:"privileged,omitempty" tf:"privileged,omitempty"`

	ReadOnlyRootFileSystem *bool `json:"readOnlyRootFileSystem,omitempty" tf:"read_only_root_file_system,omitempty"`

	RunAsGroup *float64 `json:"runAsGroup,omitempty" tf:"run_as_group,omitempty"`

	RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" tf:"run_as_non_root,omitempty"`

	RunAsUser *float64 `json:"runAsUser,omitempty" tf:"run_as_user,omitempty"`
}

func (*SecurityContextInitParameters) DeepCopy added in v1.5.0

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

func (*SecurityContextInitParameters) DeepCopyInto added in v1.5.0

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

type SecurityContextObservation added in v1.5.0

type SecurityContextObservation struct {
	Privileged *bool `json:"privileged,omitempty" tf:"privileged,omitempty"`

	ReadOnlyRootFileSystem *bool `json:"readOnlyRootFileSystem,omitempty" tf:"read_only_root_file_system,omitempty"`

	RunAsGroup *float64 `json:"runAsGroup,omitempty" tf:"run_as_group,omitempty"`

	RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" tf:"run_as_non_root,omitempty"`

	RunAsUser *float64 `json:"runAsUser,omitempty" tf:"run_as_user,omitempty"`
}

func (*SecurityContextObservation) DeepCopy added in v1.5.0

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

func (*SecurityContextObservation) DeepCopyInto added in v1.5.0

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

type SecurityContextParameters added in v1.5.0

type SecurityContextParameters struct {

	// +kubebuilder:validation:Optional
	Privileged *bool `json:"privileged,omitempty" tf:"privileged,omitempty"`

	// +kubebuilder:validation:Optional
	ReadOnlyRootFileSystem *bool `json:"readOnlyRootFileSystem,omitempty" tf:"read_only_root_file_system,omitempty"`

	// +kubebuilder:validation:Optional
	RunAsGroup *float64 `json:"runAsGroup,omitempty" tf:"run_as_group,omitempty"`

	// +kubebuilder:validation:Optional
	RunAsNonRoot *bool `json:"runAsNonRoot,omitempty" tf:"run_as_non_root,omitempty"`

	// +kubebuilder:validation:Optional
	RunAsUser *float64 `json:"runAsUser,omitempty" tf:"run_as_user,omitempty"`
}

func (*SecurityContextParameters) DeepCopy added in v1.5.0

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

func (*SecurityContextParameters) DeepCopyInto added in v1.5.0

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

type ShareDistributionInitParameters added in v0.38.0

type ShareDistributionInitParameters struct {

	// A fair share identifier or fair share identifier prefix. For more information, see ShareAttributes.
	ShareIdentifier *string `json:"shareIdentifier,omitempty" tf:"share_identifier,omitempty"`

	// The weight factor for the fair share identifier. For more information, see ShareAttributes.
	WeightFactor *float64 `json:"weightFactor,omitempty" tf:"weight_factor,omitempty"`
}

func (*ShareDistributionInitParameters) DeepCopy added in v0.38.0

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

func (*ShareDistributionInitParameters) DeepCopyInto added in v0.38.0

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

type ShareDistributionObservation

type ShareDistributionObservation struct {

	// A fair share identifier or fair share identifier prefix. For more information, see ShareAttributes.
	ShareIdentifier *string `json:"shareIdentifier,omitempty" tf:"share_identifier,omitempty"`

	// The weight factor for the fair share identifier. For more information, see ShareAttributes.
	WeightFactor *float64 `json:"weightFactor,omitempty" tf:"weight_factor,omitempty"`
}

func (*ShareDistributionObservation) DeepCopy

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

func (*ShareDistributionObservation) DeepCopyInto

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

type ShareDistributionParameters

type ShareDistributionParameters struct {

	// A fair share identifier or fair share identifier prefix. For more information, see ShareAttributes.
	// +kubebuilder:validation:Optional
	ShareIdentifier *string `json:"shareIdentifier" tf:"share_identifier,omitempty"`

	// The weight factor for the fair share identifier. For more information, see ShareAttributes.
	// +kubebuilder:validation:Optional
	WeightFactor *float64 `json:"weightFactor,omitempty" tf:"weight_factor,omitempty"`
}

func (*ShareDistributionParameters) DeepCopy

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

func (*ShareDistributionParameters) DeepCopyInto

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

type TimeoutInitParameters added in v0.41.0

type TimeoutInitParameters struct {

	// The time duration in seconds after which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds.
	AttemptDurationSeconds *float64 `json:"attemptDurationSeconds,omitempty" tf:"attempt_duration_seconds,omitempty"`
}

func (*TimeoutInitParameters) DeepCopy added in v0.41.0

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

func (*TimeoutInitParameters) DeepCopyInto added in v0.41.0

func (in *TimeoutInitParameters) DeepCopyInto(out *TimeoutInitParameters)

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

type TimeoutObservation added in v0.41.0

type TimeoutObservation struct {

	// The time duration in seconds after which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds.
	AttemptDurationSeconds *float64 `json:"attemptDurationSeconds,omitempty" tf:"attempt_duration_seconds,omitempty"`
}

func (*TimeoutObservation) DeepCopy added in v0.41.0

func (in *TimeoutObservation) DeepCopy() *TimeoutObservation

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

func (*TimeoutObservation) DeepCopyInto added in v0.41.0

func (in *TimeoutObservation) DeepCopyInto(out *TimeoutObservation)

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

type TimeoutParameters added in v0.41.0

type TimeoutParameters struct {

	// The time duration in seconds after which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds.
	// +kubebuilder:validation:Optional
	AttemptDurationSeconds *float64 `json:"attemptDurationSeconds,omitempty" tf:"attempt_duration_seconds,omitempty"`
}

func (*TimeoutParameters) DeepCopy added in v0.41.0

func (in *TimeoutParameters) DeepCopy() *TimeoutParameters

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

func (*TimeoutParameters) DeepCopyInto added in v0.41.0

func (in *TimeoutParameters) DeepCopyInto(out *TimeoutParameters)

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

type UpdatePolicyInitParameters added in v1.17.0

type UpdatePolicyInitParameters struct {

	// Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.
	JobExecutionTimeoutMinutes *float64 `json:"jobExecutionTimeoutMinutes,omitempty" tf:"job_execution_timeout_minutes,omitempty"`

	// Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated.
	TerminateJobsOnUpdate *bool `json:"terminateJobsOnUpdate,omitempty" tf:"terminate_jobs_on_update,omitempty"`
}

func (*UpdatePolicyInitParameters) DeepCopy added in v1.17.0

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

func (*UpdatePolicyInitParameters) DeepCopyInto added in v1.17.0

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

type UpdatePolicyObservation added in v1.17.0

type UpdatePolicyObservation struct {

	// Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.
	JobExecutionTimeoutMinutes *float64 `json:"jobExecutionTimeoutMinutes,omitempty" tf:"job_execution_timeout_minutes,omitempty"`

	// Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated.
	TerminateJobsOnUpdate *bool `json:"terminateJobsOnUpdate,omitempty" tf:"terminate_jobs_on_update,omitempty"`
}

func (*UpdatePolicyObservation) DeepCopy added in v1.17.0

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

func (*UpdatePolicyObservation) DeepCopyInto added in v1.17.0

func (in *UpdatePolicyObservation) DeepCopyInto(out *UpdatePolicyObservation)

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

type UpdatePolicyParameters added in v1.17.0

type UpdatePolicyParameters struct {

	// Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.
	// +kubebuilder:validation:Optional
	JobExecutionTimeoutMinutes *float64 `json:"jobExecutionTimeoutMinutes" tf:"job_execution_timeout_minutes,omitempty"`

	// Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated.
	// +kubebuilder:validation:Optional
	TerminateJobsOnUpdate *bool `json:"terminateJobsOnUpdate" tf:"terminate_jobs_on_update,omitempty"`
}

func (*UpdatePolicyParameters) DeepCopy added in v1.17.0

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

func (*UpdatePolicyParameters) DeepCopyInto added in v1.17.0

func (in *UpdatePolicyParameters) DeepCopyInto(out *UpdatePolicyParameters)

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

type VolumeMountsInitParameters added in v1.5.0

type VolumeMountsInitParameters struct {

	// The path of the file or directory on the host to mount into containers on the pod.
	MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"`

	// Specifies the name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`
}

func (*VolumeMountsInitParameters) DeepCopy added in v1.5.0

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

func (*VolumeMountsInitParameters) DeepCopyInto added in v1.5.0

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

type VolumeMountsObservation added in v1.5.0

type VolumeMountsObservation struct {

	// The path of the file or directory on the host to mount into containers on the pod.
	MountPath *string `json:"mountPath,omitempty" tf:"mount_path,omitempty"`

	// Specifies the name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`
}

func (*VolumeMountsObservation) DeepCopy added in v1.5.0

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

func (*VolumeMountsObservation) DeepCopyInto added in v1.5.0

func (in *VolumeMountsObservation) DeepCopyInto(out *VolumeMountsObservation)

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

type VolumeMountsParameters added in v1.5.0

type VolumeMountsParameters struct {

	// The path of the file or directory on the host to mount into containers on the pod.
	// +kubebuilder:validation:Optional
	MountPath *string `json:"mountPath" tf:"mount_path,omitempty"`

	// Specifies the name of the job definition.
	// +kubebuilder:validation:Optional
	Name *string `json:"name" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`
}

func (*VolumeMountsParameters) DeepCopy added in v1.5.0

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

func (*VolumeMountsParameters) DeepCopyInto added in v1.5.0

func (in *VolumeMountsParameters) DeepCopyInto(out *VolumeMountsParameters)

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

type VolumesInitParameters added in v1.5.0

type VolumesInitParameters struct {
	EmptyDir []EmptyDirInitParameters `json:"emptyDir,omitempty" tf:"empty_dir,omitempty"`

	// The path of the file or directory on the host to mount into containers on the pod.
	HostPath []HostPathInitParameters `json:"hostPath,omitempty" tf:"host_path,omitempty"`

	// Specifies the name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	Secret []SecretInitParameters `json:"secret,omitempty" tf:"secret,omitempty"`
}

func (*VolumesInitParameters) DeepCopy added in v1.5.0

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

func (*VolumesInitParameters) DeepCopyInto added in v1.5.0

func (in *VolumesInitParameters) DeepCopyInto(out *VolumesInitParameters)

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

type VolumesObservation added in v1.5.0

type VolumesObservation struct {
	EmptyDir []EmptyDirObservation `json:"emptyDir,omitempty" tf:"empty_dir,omitempty"`

	// The path of the file or directory on the host to mount into containers on the pod.
	HostPath []HostPathObservation `json:"hostPath,omitempty" tf:"host_path,omitempty"`

	// Specifies the name of the job definition.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	Secret []SecretObservation `json:"secret,omitempty" tf:"secret,omitempty"`
}

func (*VolumesObservation) DeepCopy added in v1.5.0

func (in *VolumesObservation) DeepCopy() *VolumesObservation

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

func (*VolumesObservation) DeepCopyInto added in v1.5.0

func (in *VolumesObservation) DeepCopyInto(out *VolumesObservation)

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

type VolumesParameters added in v1.5.0

type VolumesParameters struct {

	// +kubebuilder:validation:Optional
	EmptyDir []EmptyDirParameters `json:"emptyDir,omitempty" tf:"empty_dir,omitempty"`

	// The path of the file or directory on the host to mount into containers on the pod.
	// +kubebuilder:validation:Optional
	HostPath []HostPathParameters `json:"hostPath,omitempty" tf:"host_path,omitempty"`

	// Specifies the name of the job definition.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +kubebuilder:validation:Optional
	Secret []SecretParameters `json:"secret,omitempty" tf:"secret,omitempty"`
}

func (*VolumesParameters) DeepCopy added in v1.5.0

func (in *VolumesParameters) DeepCopy() *VolumesParameters

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

func (*VolumesParameters) DeepCopyInto added in v1.5.0

func (in *VolumesParameters) DeepCopyInto(out *VolumesParameters)

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