You are viewing an outdated version of provider-aws.Go to Latest
crossplane-contrib/provider-aws@v0.36.1
ComputeEnvironment
batch.aws.crossplane.io
ComputeEnvironment
crossplane-contrib/provider-aws@v0.36.1batch.aws.crossplane.io

ComputeEnvironment is the Schema for the ComputeEnvironments API

Type

CRD

Group

batch.aws.crossplane.io

Version

v1alpha1

apiVersion: batch.aws.crossplane.io/v1alpha1

kind: ComputeEnvironment

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

ComputeEnvironmentSpec defines the desired state of ComputeEnvironment

forProvider
requiredobject
requiredobject

ComputeEnvironmentParameters defines the desired state of ComputeEnvironment

object

Details about the compute resources managed by the compute environment. This parameter is required for managed compute environments. For more information, see Compute Environments (https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) in the Batch User Guide.

array

No description provided.

array

No description provided.

object

An object representing a launch template associated with a compute resource. You must specify either the launch template ID or launch template name in the request, but not both. If security groups are specified using both the securityGroupIds parameter of CreateComputeEnvironment and the launch template, the values in the securityGroupIds parameter of CreateComputeEnvironment will be used. This object isn't applicable to jobs that are running on Fargate resources.

maxvCPUs
integer
minvCPUs
integer
tags
object
type_
string
object

InstanceRoleRef is a reference to the IAM InstanceProfile used to set the InstanceRole.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

InstanceRoleSelector selects references to the IAM InstanceProfile used to set the InstanceRole.

policy
object
object

Policies for selection.

resolve
string
region
requiredstring
array

SecurityGroupIDRefs is a list of references to SecurityGroups used to set the SecurityGroupIDs.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

SecurityGroupIDsSelector selects references to SecurityGroupID used to set the SecurityGroupIDs.

policy
object
object

Policies for selection.

resolve
string
array

The Amazon EC2 security groups associated with instances launched in the compute environment. One or more security groups must be specified, either in securityGroupIds or using a launch template referenced in launchTemplate. This parameter is required for jobs that are running on Fargate resources and must contain at least one security group. Fargate doesn't support launch templates. If security groups are specified using both securityGroupIds and launchTemplate, the values in securityGroupIds are used. For a MANGED CE of type EC2 or SPOT to be able to update this field Allocation Strategy BEST_FIT_PROGRESSIVE or SPOT_CAPACITY_OPTIMIZED is required.

object

ServiceRoleARNRef is a reference to an ARN of the IAM role used to set the ServiceRoleARN.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

ServiceRoleARNSelector selects references to an ARN of the IAM role used to set the ServiceRoleARN.

policy
object
object

Policies for selection.

resolve
string
object

SpotIAMFleetRoleRef is a reference to an ARN of the IAM role used to set the SpotIAMFleetRole.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

SpotIAMFleetRoleSelector selects references to an ARN of the IAM role used to set the SpotIAMFleetRole.

policy
object
object

Policies for selection.

resolve
string
array

SubnetIDRefs is a list of references to SubnetIDs used to set the SubnetIDs.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

SubnetIDSelector selects references to SubnetIDs used to set the SubnetIDs.

policy
object
object

Policies for selection.

resolve
string
array

The VPC subnets where the compute resources are launched. These subnets must be within the same VPC. Fargate compute resources can contain up to 16 subnets. For more information, see VPCs and Subnets (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) in the Amazon VPC User Guide. (Subnets is originally a field of ComputeResources) Subnets is a required field for CE type MANAGED. For a MANGED CE of type EC2 or SPOT to be able to update this field Allocation Strategy BEST_FIT_PROGRESSIVE or SPOT_CAPACITY_OPTIMIZED is required.

tags
object
type_
requiredstring
object

Specifies the infrastructure update policy for the compute environment. For more information about infrastructure updates, see Updating compute environments (https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html) in the Batch User Guide. Only applicable to MANGED CE of type EC2 or SPOT. This field requires an update request to be set and it can be updated for CE only with Allocation Strategy BEST_FIT_PROGRESSIVE or SPOT_CAPACITY_OPTIMIZED. JobExecutionTimeoutMinutes specifies the job timeout (in minutes) when the compute environment infrastructure is updated. The default value is 30. TerminateJobsOnUpdate specifies whether jobs are automatically terminated when the computer environment infrastructure is updated. The default value is false.

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

ComputeEnvironmentStatus defines the observed state of ComputeEnvironment.

object

ComputeEnvironmentObservation defines the observed state of ComputeEnvironment

array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Discover the building blocks for your internal cloud platform.
© 2024 Upbound, Inc.
Solutions