v1beta1

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 10 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 (
	// 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 (
	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 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 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) 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) Hub added in v0.47.2

func (tr *JobDefinition) Hub()

Hub marks this type as a conversion hub.

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 required if the type parameter is container.
	ContainerProperties *string `json:"containerProperties,omitempty" tf:"container_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"`

	// 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.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// A valid container properties
	// provided as a single valid JSON document. This parameter is required if the type parameter is container.
	ContainerProperties *string `json:"containerProperties,omitempty" tf:"container_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"`

	// 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 required if the type parameter is container.
	// +kubebuilder:validation:Optional
	ContainerProperties *string `json:"containerProperties,omitempty" tf:"container_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"`

	// 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 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) 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) Hub added in v0.47.2

func (tr *SchedulingPolicy) Hub()

Hub marks this type as a conversion hub.

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

Jump to

Keyboard shortcuts

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