batch

package
v6.32.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComputeEnvironment

type ComputeEnvironment struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the compute environment.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. If omitted, the provider will assign a random, unique name.
	ComputeEnvironmentName pulumi.StringOutput `pulumi:"computeEnvironmentName"`
	// Creates a unique compute environment name beginning with the specified prefix. Conflicts with `computeEnvironmentName`.
	ComputeEnvironmentNamePrefix pulumi.StringOutput `pulumi:"computeEnvironmentNamePrefix"`
	// Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below.
	ComputeResources ComputeEnvironmentComputeResourcesPtrOutput `pulumi:"computeResources"`
	// The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
	EcsClusterArn pulumi.StringOutput `pulumi:"ecsClusterArn"`
	// Details for the Amazon EKS cluster that supports the compute environment. See details below.
	EksConfiguration ComputeEnvironmentEksConfigurationPtrOutput `pulumi:"eksConfiguration"`
	// 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 pulumi.StringOutput `pulumi:"serviceRole"`
	// 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 pulumi.StringPtrOutput `pulumi:"state"`
	// The current status of the compute environment (for example, CREATING or VALID).
	Status pulumi.StringOutput `pulumi:"status"`
	// A short, human-readable string to provide additional details about the current status of the compute environment.
	StatusReason pulumi.StringOutput `pulumi:"statusReason"`
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The type of the compute environment. Valid items are `MANAGED` or `UNMANAGED`.
	Type pulumi.StringOutput `pulumi:"type"`
	// Specifies the infrastructure update policy for the compute environment. See details below.
	UpdatePolicy ComputeEnvironmentUpdatePolicyPtrOutput `pulumi:"updatePolicy"`
}

Creates a AWS Batch compute environment. Compute environments contain the Amazon ECS container instances that are used to run containerized batch jobs.

For information about AWS Batch, see [What is AWS Batch?](http://docs.aws.amazon.com/batch/latest/userguide/what-is-batch.html) . For information about compute environment, see [Compute Environments](http://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html) .

> **Note:** To prevent a race condition during environment deletion, make sure to set `dependsOn` to the related `iam.RolePolicyAttachment`; otherwise, the policy may be destroyed too soon and the compute environment will then get stuck in the `DELETING` state, see [Troubleshooting AWS Batch](http://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html) .

## Example Usage

### EC2 Type

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ec2AssumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"ec2.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"sts:AssumeRole",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		ecsInstanceRole, err := iam.NewRole(ctx, "ecs_instance_role", &iam.RoleArgs{
			Name:             pulumi.String("ecs_instance_role"),
			AssumeRolePolicy: pulumi.String(ec2AssumeRole.Json),
		})
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicyAttachment(ctx, "ecs_instance_role", &iam.RolePolicyAttachmentArgs{
			Role:      ecsInstanceRole.Name,
			PolicyArn: pulumi.String("arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role"),
		})
		if err != nil {
			return err
		}
		ecsInstanceRoleInstanceProfile, err := iam.NewInstanceProfile(ctx, "ecs_instance_role", &iam.InstanceProfileArgs{
			Name: pulumi.String("ecs_instance_role"),
			Role: ecsInstanceRole.Name,
		})
		if err != nil {
			return err
		}
		batchAssumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Effect: pulumi.StringRef("Allow"),
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"batch.amazonaws.com",
							},
						},
					},
					Actions: []string{
						"sts:AssumeRole",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		awsBatchServiceRole, err := iam.NewRole(ctx, "aws_batch_service_role", &iam.RoleArgs{
			Name:             pulumi.String("aws_batch_service_role"),
			AssumeRolePolicy: pulumi.String(batchAssumeRole.Json),
		})
		if err != nil {
			return err
		}
		awsBatchServiceRoleRolePolicyAttachment, err := iam.NewRolePolicyAttachment(ctx, "aws_batch_service_role", &iam.RolePolicyAttachmentArgs{
			Role:      awsBatchServiceRole.Name,
			PolicyArn: pulumi.String("arn:aws:iam::aws:policy/service-role/AWSBatchServiceRole"),
		})
		if err != nil {
			return err
		}
		sample, err := ec2.NewSecurityGroup(ctx, "sample", &ec2.SecurityGroupArgs{
			Name: pulumi.String("aws_batch_compute_environment_security_group"),
			Egress: ec2.SecurityGroupEgressArray{
				&ec2.SecurityGroupEgressArgs{
					FromPort: pulumi.Int(0),
					ToPort:   pulumi.Int(0),
					Protocol: pulumi.String("-1"),
					CidrBlocks: pulumi.StringArray{
						pulumi.String("0.0.0.0/0"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		sampleVpc, err := ec2.NewVpc(ctx, "sample", &ec2.VpcArgs{
			CidrBlock: pulumi.String("10.1.0.0/16"),
		})
		if err != nil {
			return err
		}
		sampleSubnet, err := ec2.NewSubnet(ctx, "sample", &ec2.SubnetArgs{
			VpcId:     sampleVpc.ID(),
			CidrBlock: pulumi.String("10.1.1.0/24"),
		})
		if err != nil {
			return err
		}
		samplePlacementGroup, err := ec2.NewPlacementGroup(ctx, "sample", &ec2.PlacementGroupArgs{
			Name:     pulumi.String("sample"),
			Strategy: pulumi.String(ec2.PlacementStrategyCluster),
		})
		if err != nil {
			return err
		}
		_, err = batch.NewComputeEnvironment(ctx, "sample", &batch.ComputeEnvironmentArgs{
			ComputeEnvironmentName: pulumi.String("sample"),
			ComputeResources: &batch.ComputeEnvironmentComputeResourcesArgs{
				InstanceRole: ecsInstanceRoleInstanceProfile.Arn,
				InstanceTypes: pulumi.StringArray{
					pulumi.String("c4.large"),
				},
				MaxVcpus:       pulumi.Int(16),
				MinVcpus:       pulumi.Int(0),
				PlacementGroup: samplePlacementGroup.Name,
				SecurityGroupIds: pulumi.StringArray{
					sample.ID(),
				},
				Subnets: pulumi.StringArray{
					sampleSubnet.ID(),
				},
				Type: pulumi.String("EC2"),
			},
			ServiceRole: awsBatchServiceRole.Arn,
			Type:        pulumi.String("MANAGED"),
		}, pulumi.DependsOn([]pulumi.Resource{
			awsBatchServiceRoleRolePolicyAttachment,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Fargate Type

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewComputeEnvironment(ctx, "sample", &batch.ComputeEnvironmentArgs{
			ComputeEnvironmentName: pulumi.String("sample"),
			ComputeResources: &batch.ComputeEnvironmentComputeResourcesArgs{
				MaxVcpus: pulumi.Int(16),
				SecurityGroupIds: pulumi.StringArray{
					sampleAwsSecurityGroup.Id,
				},
				Subnets: pulumi.StringArray{
					sampleAwsSubnet.Id,
				},
				Type: pulumi.String("FARGATE"),
			},
			ServiceRole: pulumi.Any(awsBatchServiceRoleAwsIamRole.Arn),
			Type:        pulumi.String("MANAGED"),
		}, pulumi.DependsOn([]pulumi.Resource{
			awsBatchServiceRole,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Setting Update Policy

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewComputeEnvironment(ctx, "sample", &batch.ComputeEnvironmentArgs{
			ComputeEnvironmentName: pulumi.String("sample"),
			ComputeResources: &batch.ComputeEnvironmentComputeResourcesArgs{
				AllocationStrategy: pulumi.String("BEST_FIT_PROGRESSIVE"),
				InstanceRole:       pulumi.Any(ecsInstance.Arn),
				InstanceTypes: pulumi.StringArray{
					pulumi.String("optimal"),
				},
				MaxVcpus: pulumi.Int(4),
				MinVcpus: pulumi.Int(0),
				SecurityGroupIds: pulumi.StringArray{
					sampleAwsSecurityGroup.Id,
				},
				Subnets: pulumi.StringArray{
					sampleAwsSubnet.Id,
				},
				Type: pulumi.String("EC2"),
			},
			UpdatePolicy: &batch.ComputeEnvironmentUpdatePolicyArgs{
				JobExecutionTimeoutMinutes: pulumi.Int(30),
				TerminateJobsOnUpdate:      pulumi.Bool(false),
			},
			Type: pulumi.String("MANAGED"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import AWS Batch compute using the `compute_environment_name`. For example:

```sh $ pulumi import aws:batch/computeEnvironment:ComputeEnvironment sample sample ```

func GetComputeEnvironment

func GetComputeEnvironment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ComputeEnvironmentState, opts ...pulumi.ResourceOption) (*ComputeEnvironment, error)

GetComputeEnvironment gets an existing ComputeEnvironment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewComputeEnvironment

func NewComputeEnvironment(ctx *pulumi.Context,
	name string, args *ComputeEnvironmentArgs, opts ...pulumi.ResourceOption) (*ComputeEnvironment, error)

NewComputeEnvironment registers a new resource with the given unique name, arguments, and options.

func (*ComputeEnvironment) ElementType

func (*ComputeEnvironment) ElementType() reflect.Type

func (*ComputeEnvironment) ToComputeEnvironmentOutput

func (i *ComputeEnvironment) ToComputeEnvironmentOutput() ComputeEnvironmentOutput

func (*ComputeEnvironment) ToComputeEnvironmentOutputWithContext

func (i *ComputeEnvironment) ToComputeEnvironmentOutputWithContext(ctx context.Context) ComputeEnvironmentOutput

type ComputeEnvironmentArgs

type ComputeEnvironmentArgs struct {
	// The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. If omitted, the provider will assign a random, unique name.
	ComputeEnvironmentName pulumi.StringPtrInput
	// Creates a unique compute environment name beginning with the specified prefix. Conflicts with `computeEnvironmentName`.
	ComputeEnvironmentNamePrefix pulumi.StringPtrInput
	// Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below.
	ComputeResources ComputeEnvironmentComputeResourcesPtrInput
	// Details for the Amazon EKS cluster that supports the compute environment. See details below.
	EksConfiguration ComputeEnvironmentEksConfigurationPtrInput
	// 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 pulumi.StringPtrInput
	// 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 pulumi.StringPtrInput
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The type of the compute environment. Valid items are `MANAGED` or `UNMANAGED`.
	Type pulumi.StringInput
	// Specifies the infrastructure update policy for the compute environment. See details below.
	UpdatePolicy ComputeEnvironmentUpdatePolicyPtrInput
}

The set of arguments for constructing a ComputeEnvironment resource.

func (ComputeEnvironmentArgs) ElementType

func (ComputeEnvironmentArgs) ElementType() reflect.Type

type ComputeEnvironmentArray

type ComputeEnvironmentArray []ComputeEnvironmentInput

func (ComputeEnvironmentArray) ElementType

func (ComputeEnvironmentArray) ElementType() reflect.Type

func (ComputeEnvironmentArray) ToComputeEnvironmentArrayOutput

func (i ComputeEnvironmentArray) ToComputeEnvironmentArrayOutput() ComputeEnvironmentArrayOutput

func (ComputeEnvironmentArray) ToComputeEnvironmentArrayOutputWithContext

func (i ComputeEnvironmentArray) ToComputeEnvironmentArrayOutputWithContext(ctx context.Context) ComputeEnvironmentArrayOutput

type ComputeEnvironmentArrayInput

type ComputeEnvironmentArrayInput interface {
	pulumi.Input

	ToComputeEnvironmentArrayOutput() ComputeEnvironmentArrayOutput
	ToComputeEnvironmentArrayOutputWithContext(context.Context) ComputeEnvironmentArrayOutput
}

ComputeEnvironmentArrayInput is an input type that accepts ComputeEnvironmentArray and ComputeEnvironmentArrayOutput values. You can construct a concrete instance of `ComputeEnvironmentArrayInput` via:

ComputeEnvironmentArray{ ComputeEnvironmentArgs{...} }

type ComputeEnvironmentArrayOutput

type ComputeEnvironmentArrayOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentArrayOutput) ElementType

func (ComputeEnvironmentArrayOutput) Index

func (ComputeEnvironmentArrayOutput) ToComputeEnvironmentArrayOutput

func (o ComputeEnvironmentArrayOutput) ToComputeEnvironmentArrayOutput() ComputeEnvironmentArrayOutput

func (ComputeEnvironmentArrayOutput) ToComputeEnvironmentArrayOutputWithContext

func (o ComputeEnvironmentArrayOutput) ToComputeEnvironmentArrayOutputWithContext(ctx context.Context) ComputeEnvironmentArrayOutput

type ComputeEnvironmentComputeResources

type ComputeEnvironmentComputeResources 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](https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-allocationStrategy). Defaults to `BEST_FIT`. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	AllocationStrategy *string `pulumi:"allocationStrategy"`
	// 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 *int `pulumi:"bidPercentage"`
	// 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 *int `pulumi:"desiredVcpus"`
	// 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.
	Ec2Configurations []ComputeEnvironmentComputeResourcesEc2Configuration `pulumi:"ec2Configurations"`
	// 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 `pulumi:"ec2KeyPair"`
	// 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 `ec2Configuration` `imageIdOverride` instead)
	ImageId *string `pulumi:"imageId"`
	// 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 `pulumi:"instanceRole"`
	// 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.
	InstanceTypes []string `pulumi:"instanceTypes"`
	// 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 *ComputeEnvironmentComputeResourcesLaunchTemplate `pulumi:"launchTemplate"`
	// The maximum number of EC2 vCPUs that an environment can reach.
	MaxVcpus int `pulumi:"maxVcpus"`
	// 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 *int `pulumi:"minVcpus"`
	// The Amazon EC2 placement group to associate with your compute resources.
	PlacementGroup *string `pulumi:"placementGroup"`
	// A list of EC2 security group that are associated with instances launched in the compute environment. This parameter is required for Fargate compute environments.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// 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 `pulumi:"spotIamFleetRole"`
	// A list of VPC subnets into which the compute resources are launched.
	Subnets []string `pulumi:"subnets"`
	// 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.
	Tags map[string]string `pulumi:"tags"`
	// The type of compute environment. Valid items are `EC2`, `SPOT`, `FARGATE` or `FARGATE_SPOT`.
	Type string `pulumi:"type"`
}

type ComputeEnvironmentComputeResourcesArgs

type ComputeEnvironmentComputeResourcesArgs 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](https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-allocationStrategy). Defaults to `BEST_FIT`. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.
	AllocationStrategy pulumi.StringPtrInput `pulumi:"allocationStrategy"`
	// 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 pulumi.IntPtrInput `pulumi:"bidPercentage"`
	// 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 pulumi.IntPtrInput `pulumi:"desiredVcpus"`
	// 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.
	Ec2Configurations ComputeEnvironmentComputeResourcesEc2ConfigurationArrayInput `pulumi:"ec2Configurations"`
	// 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 pulumi.StringPtrInput `pulumi:"ec2KeyPair"`
	// 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 `ec2Configuration` `imageIdOverride` instead)
	ImageId pulumi.StringPtrInput `pulumi:"imageId"`
	// 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 pulumi.StringPtrInput `pulumi:"instanceRole"`
	// 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.
	InstanceTypes pulumi.StringArrayInput `pulumi:"instanceTypes"`
	// 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 ComputeEnvironmentComputeResourcesLaunchTemplatePtrInput `pulumi:"launchTemplate"`
	// The maximum number of EC2 vCPUs that an environment can reach.
	MaxVcpus pulumi.IntInput `pulumi:"maxVcpus"`
	// 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 pulumi.IntPtrInput `pulumi:"minVcpus"`
	// The Amazon EC2 placement group to associate with your compute resources.
	PlacementGroup pulumi.StringPtrInput `pulumi:"placementGroup"`
	// A list of EC2 security group that are associated with instances launched in the compute environment. This parameter is required for Fargate compute environments.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// 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 pulumi.StringPtrInput `pulumi:"spotIamFleetRole"`
	// A list of VPC subnets into which the compute resources are launched.
	Subnets pulumi.StringArrayInput `pulumi:"subnets"`
	// 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.
	Tags pulumi.StringMapInput `pulumi:"tags"`
	// The type of compute environment. Valid items are `EC2`, `SPOT`, `FARGATE` or `FARGATE_SPOT`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ComputeEnvironmentComputeResourcesArgs) ElementType

func (ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesOutput

func (i ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesOutput() ComputeEnvironmentComputeResourcesOutput

func (ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesOutputWithContext

func (i ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesOutput

func (ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesPtrOutput

func (i ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesPtrOutput() ComputeEnvironmentComputeResourcesPtrOutput

func (ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesPtrOutputWithContext

func (i ComputeEnvironmentComputeResourcesArgs) ToComputeEnvironmentComputeResourcesPtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesPtrOutput

type ComputeEnvironmentComputeResourcesEc2Configuration

type ComputeEnvironmentComputeResourcesEc2Configuration struct {
	// The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the `imageId` argument in the `computeResources` block.
	ImageIdOverride *string `pulumi:"imageIdOverride"`
	// The image type to match with the instance type to select an AMI. If the `imageIdOverride` parameter isn't specified, then a recent [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) (`ECS_AL2`) is used.
	ImageType *string `pulumi:"imageType"`
}

type ComputeEnvironmentComputeResourcesEc2ConfigurationArgs

type ComputeEnvironmentComputeResourcesEc2ConfigurationArgs struct {
	// The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the `imageId` argument in the `computeResources` block.
	ImageIdOverride pulumi.StringPtrInput `pulumi:"imageIdOverride"`
	// The image type to match with the instance type to select an AMI. If the `imageIdOverride` parameter isn't specified, then a recent [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) (`ECS_AL2`) is used.
	ImageType pulumi.StringPtrInput `pulumi:"imageType"`
}

func (ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ElementType

func (ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutput

func (ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutputWithContext

func (i ComputeEnvironmentComputeResourcesEc2ConfigurationArgs) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationOutput

type ComputeEnvironmentComputeResourcesEc2ConfigurationArray

type ComputeEnvironmentComputeResourcesEc2ConfigurationArray []ComputeEnvironmentComputeResourcesEc2ConfigurationInput

func (ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ElementType

func (ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput

func (i ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput

func (ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutputWithContext

func (i ComputeEnvironmentComputeResourcesEc2ConfigurationArray) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput

type ComputeEnvironmentComputeResourcesEc2ConfigurationArrayInput

type ComputeEnvironmentComputeResourcesEc2ConfigurationArrayInput interface {
	pulumi.Input

	ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
	ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutputWithContext(context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput
}

ComputeEnvironmentComputeResourcesEc2ConfigurationArrayInput is an input type that accepts ComputeEnvironmentComputeResourcesEc2ConfigurationArray and ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput values. You can construct a concrete instance of `ComputeEnvironmentComputeResourcesEc2ConfigurationArrayInput` via:

ComputeEnvironmentComputeResourcesEc2ConfigurationArray{ ComputeEnvironmentComputeResourcesEc2ConfigurationArgs{...} }

type ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput

type ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ElementType

func (ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) Index

func (ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput

func (ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutputWithContext

func (o ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationArrayOutput

type ComputeEnvironmentComputeResourcesEc2ConfigurationInput

type ComputeEnvironmentComputeResourcesEc2ConfigurationInput interface {
	pulumi.Input

	ToComputeEnvironmentComputeResourcesEc2ConfigurationOutput() ComputeEnvironmentComputeResourcesEc2ConfigurationOutput
	ToComputeEnvironmentComputeResourcesEc2ConfigurationOutputWithContext(context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationOutput
}

ComputeEnvironmentComputeResourcesEc2ConfigurationInput is an input type that accepts ComputeEnvironmentComputeResourcesEc2ConfigurationArgs and ComputeEnvironmentComputeResourcesEc2ConfigurationOutput values. You can construct a concrete instance of `ComputeEnvironmentComputeResourcesEc2ConfigurationInput` via:

ComputeEnvironmentComputeResourcesEc2ConfigurationArgs{...}

type ComputeEnvironmentComputeResourcesEc2ConfigurationOutput

type ComputeEnvironmentComputeResourcesEc2ConfigurationOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ElementType

func (ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ImageIdOverride

The AMI ID used for instances launched in the compute environment that match the image type. This setting overrides the `imageId` argument in the `computeResources` block.

func (ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ImageType

The image type to match with the instance type to select an AMI. If the `imageIdOverride` parameter isn't specified, then a recent [Amazon ECS-optimized Amazon Linux 2 AMI](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami) (`ECS_AL2`) is used.

func (ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutput

func (ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutputWithContext

func (o ComputeEnvironmentComputeResourcesEc2ConfigurationOutput) ToComputeEnvironmentComputeResourcesEc2ConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesEc2ConfigurationOutput

type ComputeEnvironmentComputeResourcesInput

type ComputeEnvironmentComputeResourcesInput interface {
	pulumi.Input

	ToComputeEnvironmentComputeResourcesOutput() ComputeEnvironmentComputeResourcesOutput
	ToComputeEnvironmentComputeResourcesOutputWithContext(context.Context) ComputeEnvironmentComputeResourcesOutput
}

ComputeEnvironmentComputeResourcesInput is an input type that accepts ComputeEnvironmentComputeResourcesArgs and ComputeEnvironmentComputeResourcesOutput values. You can construct a concrete instance of `ComputeEnvironmentComputeResourcesInput` via:

ComputeEnvironmentComputeResourcesArgs{...}

type ComputeEnvironmentComputeResourcesLaunchTemplate

type ComputeEnvironmentComputeResourcesLaunchTemplate 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 `pulumi:"launchTemplateId"`
	// Name of the launch template.
	LaunchTemplateName *string `pulumi:"launchTemplateName"`
	// The version number of the launch template. Default: The default version of the launch template.
	Version *string `pulumi:"version"`
}

type ComputeEnvironmentComputeResourcesLaunchTemplateArgs

type ComputeEnvironmentComputeResourcesLaunchTemplateArgs 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 pulumi.StringPtrInput `pulumi:"launchTemplateId"`
	// Name of the launch template.
	LaunchTemplateName pulumi.StringPtrInput `pulumi:"launchTemplateName"`
	// The version number of the launch template. Default: The default version of the launch template.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

func (ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ElementType

func (ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplateOutput

func (i ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplateOutput() ComputeEnvironmentComputeResourcesLaunchTemplateOutput

func (ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplateOutputWithContext

func (i ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplateOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplateOutput

func (ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput

func (i ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput

func (ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext

func (i ComputeEnvironmentComputeResourcesLaunchTemplateArgs) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput

type ComputeEnvironmentComputeResourcesLaunchTemplateInput

type ComputeEnvironmentComputeResourcesLaunchTemplateInput interface {
	pulumi.Input

	ToComputeEnvironmentComputeResourcesLaunchTemplateOutput() ComputeEnvironmentComputeResourcesLaunchTemplateOutput
	ToComputeEnvironmentComputeResourcesLaunchTemplateOutputWithContext(context.Context) ComputeEnvironmentComputeResourcesLaunchTemplateOutput
}

ComputeEnvironmentComputeResourcesLaunchTemplateInput is an input type that accepts ComputeEnvironmentComputeResourcesLaunchTemplateArgs and ComputeEnvironmentComputeResourcesLaunchTemplateOutput values. You can construct a concrete instance of `ComputeEnvironmentComputeResourcesLaunchTemplateInput` via:

ComputeEnvironmentComputeResourcesLaunchTemplateArgs{...}

type ComputeEnvironmentComputeResourcesLaunchTemplateOutput

type ComputeEnvironmentComputeResourcesLaunchTemplateOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ElementType

func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) LaunchTemplateId

ID of the launch template. You must specify either the launch template ID or launch template name in the request, but not both.

func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) LaunchTemplateName

Name of the launch template.

func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplateOutput

func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplateOutputWithContext

func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplateOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplateOutput

func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput

func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput

func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext

func (o ComputeEnvironmentComputeResourcesLaunchTemplateOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput

func (ComputeEnvironmentComputeResourcesLaunchTemplateOutput) Version

The version number of the launch template. Default: The default version of the launch template.

type ComputeEnvironmentComputeResourcesLaunchTemplatePtrInput

type ComputeEnvironmentComputeResourcesLaunchTemplatePtrInput interface {
	pulumi.Input

	ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput() ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
	ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext(context.Context) ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput
}

ComputeEnvironmentComputeResourcesLaunchTemplatePtrInput is an input type that accepts ComputeEnvironmentComputeResourcesLaunchTemplateArgs, ComputeEnvironmentComputeResourcesLaunchTemplatePtr and ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput values. You can construct a concrete instance of `ComputeEnvironmentComputeResourcesLaunchTemplatePtrInput` via:

        ComputeEnvironmentComputeResourcesLaunchTemplateArgs{...}

or:

        nil

type ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput

type ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) Elem

func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ElementType

func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) LaunchTemplateId

ID of the launch template. You must specify either the launch template ID or launch template name in the request, but not both.

func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) LaunchTemplateName

Name of the launch template.

func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput

func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext

func (o ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) ToComputeEnvironmentComputeResourcesLaunchTemplatePtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput

func (ComputeEnvironmentComputeResourcesLaunchTemplatePtrOutput) Version

The version number of the launch template. Default: The default version of the launch template.

type ComputeEnvironmentComputeResourcesOutput

type ComputeEnvironmentComputeResourcesOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentComputeResourcesOutput) AllocationStrategy

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](https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-allocationStrategy). Defaults to `BEST_FIT`. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

func (ComputeEnvironmentComputeResourcesOutput) BidPercentage

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.

func (ComputeEnvironmentComputeResourcesOutput) DesiredVcpus

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.

func (ComputeEnvironmentComputeResourcesOutput) Ec2Configurations

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.

func (ComputeEnvironmentComputeResourcesOutput) Ec2KeyPair

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.

func (ComputeEnvironmentComputeResourcesOutput) ElementType

func (ComputeEnvironmentComputeResourcesOutput) ImageId

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 `ec2Configuration` `imageIdOverride` instead)

func (ComputeEnvironmentComputeResourcesOutput) InstanceRole

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.

func (ComputeEnvironmentComputeResourcesOutput) InstanceTypes

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.

func (ComputeEnvironmentComputeResourcesOutput) LaunchTemplate

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.

func (ComputeEnvironmentComputeResourcesOutput) MaxVcpus

The maximum number of EC2 vCPUs that an environment can reach.

func (ComputeEnvironmentComputeResourcesOutput) MinVcpus

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.

func (ComputeEnvironmentComputeResourcesOutput) PlacementGroup

The Amazon EC2 placement group to associate with your compute resources.

func (ComputeEnvironmentComputeResourcesOutput) SecurityGroupIds

A list of EC2 security group that are associated with instances launched in the compute environment. This parameter is required for Fargate compute environments.

func (ComputeEnvironmentComputeResourcesOutput) SpotIamFleetRole

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.

func (ComputeEnvironmentComputeResourcesOutput) Subnets

A list of VPC subnets into which the compute resources are launched.

func (ComputeEnvironmentComputeResourcesOutput) Tags

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.

func (ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesOutput

func (o ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesOutput() ComputeEnvironmentComputeResourcesOutput

func (ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesOutputWithContext

func (o ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesOutput

func (ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesPtrOutput

func (o ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesPtrOutput() ComputeEnvironmentComputeResourcesPtrOutput

func (ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesPtrOutputWithContext

func (o ComputeEnvironmentComputeResourcesOutput) ToComputeEnvironmentComputeResourcesPtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesPtrOutput

func (ComputeEnvironmentComputeResourcesOutput) Type

The type of compute environment. Valid items are `EC2`, `SPOT`, `FARGATE` or `FARGATE_SPOT`.

type ComputeEnvironmentComputeResourcesPtrInput

type ComputeEnvironmentComputeResourcesPtrInput interface {
	pulumi.Input

	ToComputeEnvironmentComputeResourcesPtrOutput() ComputeEnvironmentComputeResourcesPtrOutput
	ToComputeEnvironmentComputeResourcesPtrOutputWithContext(context.Context) ComputeEnvironmentComputeResourcesPtrOutput
}

ComputeEnvironmentComputeResourcesPtrInput is an input type that accepts ComputeEnvironmentComputeResourcesArgs, ComputeEnvironmentComputeResourcesPtr and ComputeEnvironmentComputeResourcesPtrOutput values. You can construct a concrete instance of `ComputeEnvironmentComputeResourcesPtrInput` via:

        ComputeEnvironmentComputeResourcesArgs{...}

or:

        nil

type ComputeEnvironmentComputeResourcesPtrOutput

type ComputeEnvironmentComputeResourcesPtrOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentComputeResourcesPtrOutput) AllocationStrategy

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](https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-allocationStrategy). Defaults to `BEST_FIT`. This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

func (ComputeEnvironmentComputeResourcesPtrOutput) BidPercentage

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.

func (ComputeEnvironmentComputeResourcesPtrOutput) DesiredVcpus

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.

func (ComputeEnvironmentComputeResourcesPtrOutput) Ec2Configurations

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.

func (ComputeEnvironmentComputeResourcesPtrOutput) Ec2KeyPair

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.

func (ComputeEnvironmentComputeResourcesPtrOutput) Elem

func (ComputeEnvironmentComputeResourcesPtrOutput) ElementType

func (ComputeEnvironmentComputeResourcesPtrOutput) ImageId

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 `ec2Configuration` `imageIdOverride` instead)

func (ComputeEnvironmentComputeResourcesPtrOutput) InstanceRole

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.

func (ComputeEnvironmentComputeResourcesPtrOutput) InstanceTypes

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.

func (ComputeEnvironmentComputeResourcesPtrOutput) LaunchTemplate

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.

func (ComputeEnvironmentComputeResourcesPtrOutput) MaxVcpus

The maximum number of EC2 vCPUs that an environment can reach.

func (ComputeEnvironmentComputeResourcesPtrOutput) MinVcpus

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.

func (ComputeEnvironmentComputeResourcesPtrOutput) PlacementGroup

The Amazon EC2 placement group to associate with your compute resources.

func (ComputeEnvironmentComputeResourcesPtrOutput) SecurityGroupIds

A list of EC2 security group that are associated with instances launched in the compute environment. This parameter is required for Fargate compute environments.

func (ComputeEnvironmentComputeResourcesPtrOutput) SpotIamFleetRole

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.

func (ComputeEnvironmentComputeResourcesPtrOutput) Subnets

A list of VPC subnets into which the compute resources are launched.

func (ComputeEnvironmentComputeResourcesPtrOutput) Tags

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.

func (ComputeEnvironmentComputeResourcesPtrOutput) ToComputeEnvironmentComputeResourcesPtrOutput

func (o ComputeEnvironmentComputeResourcesPtrOutput) ToComputeEnvironmentComputeResourcesPtrOutput() ComputeEnvironmentComputeResourcesPtrOutput

func (ComputeEnvironmentComputeResourcesPtrOutput) ToComputeEnvironmentComputeResourcesPtrOutputWithContext

func (o ComputeEnvironmentComputeResourcesPtrOutput) ToComputeEnvironmentComputeResourcesPtrOutputWithContext(ctx context.Context) ComputeEnvironmentComputeResourcesPtrOutput

func (ComputeEnvironmentComputeResourcesPtrOutput) Type

The type of compute environment. Valid items are `EC2`, `SPOT`, `FARGATE` or `FARGATE_SPOT`.

type ComputeEnvironmentEksConfiguration

type ComputeEnvironmentEksConfiguration struct {
	// The Amazon Resource Name (ARN) of the Amazon EKS cluster.
	EksClusterArn string `pulumi:"eksClusterArn"`
	// The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.
	KubernetesNamespace string `pulumi:"kubernetesNamespace"`
}

type ComputeEnvironmentEksConfigurationArgs

type ComputeEnvironmentEksConfigurationArgs struct {
	// The Amazon Resource Name (ARN) of the Amazon EKS cluster.
	EksClusterArn pulumi.StringInput `pulumi:"eksClusterArn"`
	// The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.
	KubernetesNamespace pulumi.StringInput `pulumi:"kubernetesNamespace"`
}

func (ComputeEnvironmentEksConfigurationArgs) ElementType

func (ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutput

func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutput() ComputeEnvironmentEksConfigurationOutput

func (ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutputWithContext

func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationOutput

func (ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutput

func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput

func (ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutputWithContext

func (i ComputeEnvironmentEksConfigurationArgs) ToComputeEnvironmentEksConfigurationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationPtrOutput

type ComputeEnvironmentEksConfigurationInput

type ComputeEnvironmentEksConfigurationInput interface {
	pulumi.Input

	ToComputeEnvironmentEksConfigurationOutput() ComputeEnvironmentEksConfigurationOutput
	ToComputeEnvironmentEksConfigurationOutputWithContext(context.Context) ComputeEnvironmentEksConfigurationOutput
}

ComputeEnvironmentEksConfigurationInput is an input type that accepts ComputeEnvironmentEksConfigurationArgs and ComputeEnvironmentEksConfigurationOutput values. You can construct a concrete instance of `ComputeEnvironmentEksConfigurationInput` via:

ComputeEnvironmentEksConfigurationArgs{...}

type ComputeEnvironmentEksConfigurationOutput

type ComputeEnvironmentEksConfigurationOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentEksConfigurationOutput) EksClusterArn

The Amazon Resource Name (ARN) of the Amazon EKS cluster.

func (ComputeEnvironmentEksConfigurationOutput) ElementType

func (ComputeEnvironmentEksConfigurationOutput) KubernetesNamespace

The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.

func (ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutput

func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutput() ComputeEnvironmentEksConfigurationOutput

func (ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutputWithContext

func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationOutput

func (ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutput

func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput

func (ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext

func (o ComputeEnvironmentEksConfigurationOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationPtrOutput

type ComputeEnvironmentEksConfigurationPtrInput

type ComputeEnvironmentEksConfigurationPtrInput interface {
	pulumi.Input

	ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput
	ToComputeEnvironmentEksConfigurationPtrOutputWithContext(context.Context) ComputeEnvironmentEksConfigurationPtrOutput
}

ComputeEnvironmentEksConfigurationPtrInput is an input type that accepts ComputeEnvironmentEksConfigurationArgs, ComputeEnvironmentEksConfigurationPtr and ComputeEnvironmentEksConfigurationPtrOutput values. You can construct a concrete instance of `ComputeEnvironmentEksConfigurationPtrInput` via:

        ComputeEnvironmentEksConfigurationArgs{...}

or:

        nil

type ComputeEnvironmentEksConfigurationPtrOutput

type ComputeEnvironmentEksConfigurationPtrOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentEksConfigurationPtrOutput) EksClusterArn

The Amazon Resource Name (ARN) of the Amazon EKS cluster.

func (ComputeEnvironmentEksConfigurationPtrOutput) Elem

func (ComputeEnvironmentEksConfigurationPtrOutput) ElementType

func (ComputeEnvironmentEksConfigurationPtrOutput) KubernetesNamespace

The namespace of the Amazon EKS cluster. AWS Batch manages pods in this namespace.

func (ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutput

func (o ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutput() ComputeEnvironmentEksConfigurationPtrOutput

func (ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext

func (o ComputeEnvironmentEksConfigurationPtrOutput) ToComputeEnvironmentEksConfigurationPtrOutputWithContext(ctx context.Context) ComputeEnvironmentEksConfigurationPtrOutput

type ComputeEnvironmentInput

type ComputeEnvironmentInput interface {
	pulumi.Input

	ToComputeEnvironmentOutput() ComputeEnvironmentOutput
	ToComputeEnvironmentOutputWithContext(ctx context.Context) ComputeEnvironmentOutput
}

type ComputeEnvironmentMap

type ComputeEnvironmentMap map[string]ComputeEnvironmentInput

func (ComputeEnvironmentMap) ElementType

func (ComputeEnvironmentMap) ElementType() reflect.Type

func (ComputeEnvironmentMap) ToComputeEnvironmentMapOutput

func (i ComputeEnvironmentMap) ToComputeEnvironmentMapOutput() ComputeEnvironmentMapOutput

func (ComputeEnvironmentMap) ToComputeEnvironmentMapOutputWithContext

func (i ComputeEnvironmentMap) ToComputeEnvironmentMapOutputWithContext(ctx context.Context) ComputeEnvironmentMapOutput

type ComputeEnvironmentMapInput

type ComputeEnvironmentMapInput interface {
	pulumi.Input

	ToComputeEnvironmentMapOutput() ComputeEnvironmentMapOutput
	ToComputeEnvironmentMapOutputWithContext(context.Context) ComputeEnvironmentMapOutput
}

ComputeEnvironmentMapInput is an input type that accepts ComputeEnvironmentMap and ComputeEnvironmentMapOutput values. You can construct a concrete instance of `ComputeEnvironmentMapInput` via:

ComputeEnvironmentMap{ "key": ComputeEnvironmentArgs{...} }

type ComputeEnvironmentMapOutput

type ComputeEnvironmentMapOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentMapOutput) ElementType

func (ComputeEnvironmentMapOutput) MapIndex

func (ComputeEnvironmentMapOutput) ToComputeEnvironmentMapOutput

func (o ComputeEnvironmentMapOutput) ToComputeEnvironmentMapOutput() ComputeEnvironmentMapOutput

func (ComputeEnvironmentMapOutput) ToComputeEnvironmentMapOutputWithContext

func (o ComputeEnvironmentMapOutput) ToComputeEnvironmentMapOutputWithContext(ctx context.Context) ComputeEnvironmentMapOutput

type ComputeEnvironmentOutput

type ComputeEnvironmentOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentOutput) Arn

The Amazon Resource Name (ARN) of the compute environment.

func (ComputeEnvironmentOutput) ComputeEnvironmentName

func (o ComputeEnvironmentOutput) ComputeEnvironmentName() pulumi.StringOutput

The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. If omitted, the provider will assign a random, unique name.

func (ComputeEnvironmentOutput) ComputeEnvironmentNamePrefix

func (o ComputeEnvironmentOutput) ComputeEnvironmentNamePrefix() pulumi.StringOutput

Creates a unique compute environment name beginning with the specified prefix. Conflicts with `computeEnvironmentName`.

func (ComputeEnvironmentOutput) ComputeResources

Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below.

func (ComputeEnvironmentOutput) EcsClusterArn

func (o ComputeEnvironmentOutput) EcsClusterArn() pulumi.StringOutput

The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.

func (ComputeEnvironmentOutput) EksConfiguration

Details for the Amazon EKS cluster that supports the compute environment. See details below.

func (ComputeEnvironmentOutput) ElementType

func (ComputeEnvironmentOutput) ElementType() reflect.Type

func (ComputeEnvironmentOutput) ServiceRole

The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.

func (ComputeEnvironmentOutput) State

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

func (ComputeEnvironmentOutput) Status

The current status of the compute environment (for example, CREATING or VALID).

func (ComputeEnvironmentOutput) StatusReason

func (o ComputeEnvironmentOutput) StatusReason() pulumi.StringOutput

A short, human-readable string to provide additional details about the current status of the compute environment.

func (ComputeEnvironmentOutput) Tags

Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ComputeEnvironmentOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ComputeEnvironmentOutput) ToComputeEnvironmentOutput

func (o ComputeEnvironmentOutput) ToComputeEnvironmentOutput() ComputeEnvironmentOutput

func (ComputeEnvironmentOutput) ToComputeEnvironmentOutputWithContext

func (o ComputeEnvironmentOutput) ToComputeEnvironmentOutputWithContext(ctx context.Context) ComputeEnvironmentOutput

func (ComputeEnvironmentOutput) Type

The type of the compute environment. Valid items are `MANAGED` or `UNMANAGED`.

func (ComputeEnvironmentOutput) UpdatePolicy added in v6.18.2

Specifies the infrastructure update policy for the compute environment. See details below.

type ComputeEnvironmentState

type ComputeEnvironmentState struct {
	// The Amazon Resource Name (ARN) of the compute environment.
	Arn pulumi.StringPtrInput
	// The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, and underscores are allowed. If omitted, the provider will assign a random, unique name.
	ComputeEnvironmentName pulumi.StringPtrInput
	// Creates a unique compute environment name beginning with the specified prefix. Conflicts with `computeEnvironmentName`.
	ComputeEnvironmentNamePrefix pulumi.StringPtrInput
	// Details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. See details below.
	ComputeResources ComputeEnvironmentComputeResourcesPtrInput
	// The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.
	EcsClusterArn pulumi.StringPtrInput
	// Details for the Amazon EKS cluster that supports the compute environment. See details below.
	EksConfiguration ComputeEnvironmentEksConfigurationPtrInput
	// 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 pulumi.StringPtrInput
	// 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 pulumi.StringPtrInput
	// The current status of the compute environment (for example, CREATING or VALID).
	Status pulumi.StringPtrInput
	// A short, human-readable string to provide additional details about the current status of the compute environment.
	StatusReason pulumi.StringPtrInput
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The type of the compute environment. Valid items are `MANAGED` or `UNMANAGED`.
	Type pulumi.StringPtrInput
	// Specifies the infrastructure update policy for the compute environment. See details below.
	UpdatePolicy ComputeEnvironmentUpdatePolicyPtrInput
}

func (ComputeEnvironmentState) ElementType

func (ComputeEnvironmentState) ElementType() reflect.Type

type ComputeEnvironmentUpdatePolicy added in v6.18.2

type ComputeEnvironmentUpdatePolicy struct {
	// Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.
	JobExecutionTimeoutMinutes int `pulumi:"jobExecutionTimeoutMinutes"`
	// Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated.
	TerminateJobsOnUpdate bool `pulumi:"terminateJobsOnUpdate"`
}

type ComputeEnvironmentUpdatePolicyArgs added in v6.18.2

type ComputeEnvironmentUpdatePolicyArgs struct {
	// Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.
	JobExecutionTimeoutMinutes pulumi.IntInput `pulumi:"jobExecutionTimeoutMinutes"`
	// Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated.
	TerminateJobsOnUpdate pulumi.BoolInput `pulumi:"terminateJobsOnUpdate"`
}

func (ComputeEnvironmentUpdatePolicyArgs) ElementType added in v6.18.2

func (ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyOutput added in v6.18.2

func (i ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyOutput() ComputeEnvironmentUpdatePolicyOutput

func (ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyOutputWithContext added in v6.18.2

func (i ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyOutput

func (ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyPtrOutput added in v6.18.2

func (i ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyPtrOutput() ComputeEnvironmentUpdatePolicyPtrOutput

func (ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext added in v6.18.2

func (i ComputeEnvironmentUpdatePolicyArgs) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyPtrOutput

type ComputeEnvironmentUpdatePolicyInput added in v6.18.2

type ComputeEnvironmentUpdatePolicyInput interface {
	pulumi.Input

	ToComputeEnvironmentUpdatePolicyOutput() ComputeEnvironmentUpdatePolicyOutput
	ToComputeEnvironmentUpdatePolicyOutputWithContext(context.Context) ComputeEnvironmentUpdatePolicyOutput
}

ComputeEnvironmentUpdatePolicyInput is an input type that accepts ComputeEnvironmentUpdatePolicyArgs and ComputeEnvironmentUpdatePolicyOutput values. You can construct a concrete instance of `ComputeEnvironmentUpdatePolicyInput` via:

ComputeEnvironmentUpdatePolicyArgs{...}

type ComputeEnvironmentUpdatePolicyOutput added in v6.18.2

type ComputeEnvironmentUpdatePolicyOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentUpdatePolicyOutput) ElementType added in v6.18.2

func (ComputeEnvironmentUpdatePolicyOutput) JobExecutionTimeoutMinutes added in v6.18.2

func (o ComputeEnvironmentUpdatePolicyOutput) JobExecutionTimeoutMinutes() pulumi.IntOutput

Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.

func (ComputeEnvironmentUpdatePolicyOutput) TerminateJobsOnUpdate added in v6.18.2

func (o ComputeEnvironmentUpdatePolicyOutput) TerminateJobsOnUpdate() pulumi.BoolOutput

Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated.

func (ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyOutput added in v6.18.2

func (o ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyOutput() ComputeEnvironmentUpdatePolicyOutput

func (ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyOutputWithContext added in v6.18.2

func (o ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyOutput

func (ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyPtrOutput added in v6.18.2

func (o ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyPtrOutput() ComputeEnvironmentUpdatePolicyPtrOutput

func (ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext added in v6.18.2

func (o ComputeEnvironmentUpdatePolicyOutput) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyPtrOutput

type ComputeEnvironmentUpdatePolicyPtrInput added in v6.18.2

type ComputeEnvironmentUpdatePolicyPtrInput interface {
	pulumi.Input

	ToComputeEnvironmentUpdatePolicyPtrOutput() ComputeEnvironmentUpdatePolicyPtrOutput
	ToComputeEnvironmentUpdatePolicyPtrOutputWithContext(context.Context) ComputeEnvironmentUpdatePolicyPtrOutput
}

ComputeEnvironmentUpdatePolicyPtrInput is an input type that accepts ComputeEnvironmentUpdatePolicyArgs, ComputeEnvironmentUpdatePolicyPtr and ComputeEnvironmentUpdatePolicyPtrOutput values. You can construct a concrete instance of `ComputeEnvironmentUpdatePolicyPtrInput` via:

        ComputeEnvironmentUpdatePolicyArgs{...}

or:

        nil

type ComputeEnvironmentUpdatePolicyPtrOutput added in v6.18.2

type ComputeEnvironmentUpdatePolicyPtrOutput struct{ *pulumi.OutputState }

func (ComputeEnvironmentUpdatePolicyPtrOutput) Elem added in v6.18.2

func (ComputeEnvironmentUpdatePolicyPtrOutput) ElementType added in v6.18.2

func (ComputeEnvironmentUpdatePolicyPtrOutput) JobExecutionTimeoutMinutes added in v6.18.2

func (o ComputeEnvironmentUpdatePolicyPtrOutput) JobExecutionTimeoutMinutes() pulumi.IntPtrOutput

Specifies the job timeout (in minutes) when the compute environment infrastructure is updated.

func (ComputeEnvironmentUpdatePolicyPtrOutput) TerminateJobsOnUpdate added in v6.18.2

Specifies whether jobs are automatically terminated when the computer environment infrastructure is updated.

func (ComputeEnvironmentUpdatePolicyPtrOutput) ToComputeEnvironmentUpdatePolicyPtrOutput added in v6.18.2

func (o ComputeEnvironmentUpdatePolicyPtrOutput) ToComputeEnvironmentUpdatePolicyPtrOutput() ComputeEnvironmentUpdatePolicyPtrOutput

func (ComputeEnvironmentUpdatePolicyPtrOutput) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext added in v6.18.2

func (o ComputeEnvironmentUpdatePolicyPtrOutput) ToComputeEnvironmentUpdatePolicyPtrOutputWithContext(ctx context.Context) ComputeEnvironmentUpdatePolicyPtrOutput

type GetComputeEnvironmentUpdatePolicy added in v6.18.2

type GetComputeEnvironmentUpdatePolicy struct {
	JobExecutionTimeoutMinutes int  `pulumi:"jobExecutionTimeoutMinutes"`
	TerminateJobsOnUpdate      bool `pulumi:"terminateJobsOnUpdate"`
}

type GetComputeEnvironmentUpdatePolicyArgs added in v6.18.2

type GetComputeEnvironmentUpdatePolicyArgs struct {
	JobExecutionTimeoutMinutes pulumi.IntInput  `pulumi:"jobExecutionTimeoutMinutes"`
	TerminateJobsOnUpdate      pulumi.BoolInput `pulumi:"terminateJobsOnUpdate"`
}

func (GetComputeEnvironmentUpdatePolicyArgs) ElementType added in v6.18.2

func (GetComputeEnvironmentUpdatePolicyArgs) ToGetComputeEnvironmentUpdatePolicyOutput added in v6.18.2

func (i GetComputeEnvironmentUpdatePolicyArgs) ToGetComputeEnvironmentUpdatePolicyOutput() GetComputeEnvironmentUpdatePolicyOutput

func (GetComputeEnvironmentUpdatePolicyArgs) ToGetComputeEnvironmentUpdatePolicyOutputWithContext added in v6.18.2

func (i GetComputeEnvironmentUpdatePolicyArgs) ToGetComputeEnvironmentUpdatePolicyOutputWithContext(ctx context.Context) GetComputeEnvironmentUpdatePolicyOutput

type GetComputeEnvironmentUpdatePolicyArray added in v6.18.2

type GetComputeEnvironmentUpdatePolicyArray []GetComputeEnvironmentUpdatePolicyInput

func (GetComputeEnvironmentUpdatePolicyArray) ElementType added in v6.18.2

func (GetComputeEnvironmentUpdatePolicyArray) ToGetComputeEnvironmentUpdatePolicyArrayOutput added in v6.18.2

func (i GetComputeEnvironmentUpdatePolicyArray) ToGetComputeEnvironmentUpdatePolicyArrayOutput() GetComputeEnvironmentUpdatePolicyArrayOutput

func (GetComputeEnvironmentUpdatePolicyArray) ToGetComputeEnvironmentUpdatePolicyArrayOutputWithContext added in v6.18.2

func (i GetComputeEnvironmentUpdatePolicyArray) ToGetComputeEnvironmentUpdatePolicyArrayOutputWithContext(ctx context.Context) GetComputeEnvironmentUpdatePolicyArrayOutput

type GetComputeEnvironmentUpdatePolicyArrayInput added in v6.18.2

type GetComputeEnvironmentUpdatePolicyArrayInput interface {
	pulumi.Input

	ToGetComputeEnvironmentUpdatePolicyArrayOutput() GetComputeEnvironmentUpdatePolicyArrayOutput
	ToGetComputeEnvironmentUpdatePolicyArrayOutputWithContext(context.Context) GetComputeEnvironmentUpdatePolicyArrayOutput
}

GetComputeEnvironmentUpdatePolicyArrayInput is an input type that accepts GetComputeEnvironmentUpdatePolicyArray and GetComputeEnvironmentUpdatePolicyArrayOutput values. You can construct a concrete instance of `GetComputeEnvironmentUpdatePolicyArrayInput` via:

GetComputeEnvironmentUpdatePolicyArray{ GetComputeEnvironmentUpdatePolicyArgs{...} }

type GetComputeEnvironmentUpdatePolicyArrayOutput added in v6.18.2

type GetComputeEnvironmentUpdatePolicyArrayOutput struct{ *pulumi.OutputState }

func (GetComputeEnvironmentUpdatePolicyArrayOutput) ElementType added in v6.18.2

func (GetComputeEnvironmentUpdatePolicyArrayOutput) Index added in v6.18.2

func (GetComputeEnvironmentUpdatePolicyArrayOutput) ToGetComputeEnvironmentUpdatePolicyArrayOutput added in v6.18.2

func (o GetComputeEnvironmentUpdatePolicyArrayOutput) ToGetComputeEnvironmentUpdatePolicyArrayOutput() GetComputeEnvironmentUpdatePolicyArrayOutput

func (GetComputeEnvironmentUpdatePolicyArrayOutput) ToGetComputeEnvironmentUpdatePolicyArrayOutputWithContext added in v6.18.2

func (o GetComputeEnvironmentUpdatePolicyArrayOutput) ToGetComputeEnvironmentUpdatePolicyArrayOutputWithContext(ctx context.Context) GetComputeEnvironmentUpdatePolicyArrayOutput

type GetComputeEnvironmentUpdatePolicyInput added in v6.18.2

type GetComputeEnvironmentUpdatePolicyInput interface {
	pulumi.Input

	ToGetComputeEnvironmentUpdatePolicyOutput() GetComputeEnvironmentUpdatePolicyOutput
	ToGetComputeEnvironmentUpdatePolicyOutputWithContext(context.Context) GetComputeEnvironmentUpdatePolicyOutput
}

GetComputeEnvironmentUpdatePolicyInput is an input type that accepts GetComputeEnvironmentUpdatePolicyArgs and GetComputeEnvironmentUpdatePolicyOutput values. You can construct a concrete instance of `GetComputeEnvironmentUpdatePolicyInput` via:

GetComputeEnvironmentUpdatePolicyArgs{...}

type GetComputeEnvironmentUpdatePolicyOutput added in v6.18.2

type GetComputeEnvironmentUpdatePolicyOutput struct{ *pulumi.OutputState }

func (GetComputeEnvironmentUpdatePolicyOutput) ElementType added in v6.18.2

func (GetComputeEnvironmentUpdatePolicyOutput) JobExecutionTimeoutMinutes added in v6.18.2

func (o GetComputeEnvironmentUpdatePolicyOutput) JobExecutionTimeoutMinutes() pulumi.IntOutput

func (GetComputeEnvironmentUpdatePolicyOutput) TerminateJobsOnUpdate added in v6.18.2

func (o GetComputeEnvironmentUpdatePolicyOutput) TerminateJobsOnUpdate() pulumi.BoolOutput

func (GetComputeEnvironmentUpdatePolicyOutput) ToGetComputeEnvironmentUpdatePolicyOutput added in v6.18.2

func (o GetComputeEnvironmentUpdatePolicyOutput) ToGetComputeEnvironmentUpdatePolicyOutput() GetComputeEnvironmentUpdatePolicyOutput

func (GetComputeEnvironmentUpdatePolicyOutput) ToGetComputeEnvironmentUpdatePolicyOutputWithContext added in v6.18.2

func (o GetComputeEnvironmentUpdatePolicyOutput) ToGetComputeEnvironmentUpdatePolicyOutputWithContext(ctx context.Context) GetComputeEnvironmentUpdatePolicyOutput

type GetJobDefinitionEksProperty added in v6.24.2

type GetJobDefinitionEksProperty struct {
	// The properties for the Kubernetes pod resources of a job.
	PodProperties []interface{} `pulumi:"podProperties"`
}

type GetJobDefinitionEksPropertyArgs added in v6.24.2

type GetJobDefinitionEksPropertyArgs struct {
	// The properties for the Kubernetes pod resources of a job.
	PodProperties pulumi.ArrayInput `pulumi:"podProperties"`
}

func (GetJobDefinitionEksPropertyArgs) ElementType added in v6.24.2

func (GetJobDefinitionEksPropertyArgs) ToGetJobDefinitionEksPropertyOutput added in v6.24.2

func (i GetJobDefinitionEksPropertyArgs) ToGetJobDefinitionEksPropertyOutput() GetJobDefinitionEksPropertyOutput

func (GetJobDefinitionEksPropertyArgs) ToGetJobDefinitionEksPropertyOutputWithContext added in v6.24.2

func (i GetJobDefinitionEksPropertyArgs) ToGetJobDefinitionEksPropertyOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyOutput

type GetJobDefinitionEksPropertyArray added in v6.24.2

type GetJobDefinitionEksPropertyArray []GetJobDefinitionEksPropertyInput

func (GetJobDefinitionEksPropertyArray) ElementType added in v6.24.2

func (GetJobDefinitionEksPropertyArray) ToGetJobDefinitionEksPropertyArrayOutput added in v6.24.2

func (i GetJobDefinitionEksPropertyArray) ToGetJobDefinitionEksPropertyArrayOutput() GetJobDefinitionEksPropertyArrayOutput

func (GetJobDefinitionEksPropertyArray) ToGetJobDefinitionEksPropertyArrayOutputWithContext added in v6.24.2

func (i GetJobDefinitionEksPropertyArray) ToGetJobDefinitionEksPropertyArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyArrayOutput

type GetJobDefinitionEksPropertyArrayInput added in v6.24.2

type GetJobDefinitionEksPropertyArrayInput interface {
	pulumi.Input

	ToGetJobDefinitionEksPropertyArrayOutput() GetJobDefinitionEksPropertyArrayOutput
	ToGetJobDefinitionEksPropertyArrayOutputWithContext(context.Context) GetJobDefinitionEksPropertyArrayOutput
}

GetJobDefinitionEksPropertyArrayInput is an input type that accepts GetJobDefinitionEksPropertyArray and GetJobDefinitionEksPropertyArrayOutput values. You can construct a concrete instance of `GetJobDefinitionEksPropertyArrayInput` via:

GetJobDefinitionEksPropertyArray{ GetJobDefinitionEksPropertyArgs{...} }

type GetJobDefinitionEksPropertyArrayOutput added in v6.24.2

type GetJobDefinitionEksPropertyArrayOutput struct{ *pulumi.OutputState }

func (GetJobDefinitionEksPropertyArrayOutput) ElementType added in v6.24.2

func (GetJobDefinitionEksPropertyArrayOutput) Index added in v6.24.2

func (GetJobDefinitionEksPropertyArrayOutput) ToGetJobDefinitionEksPropertyArrayOutput added in v6.24.2

func (o GetJobDefinitionEksPropertyArrayOutput) ToGetJobDefinitionEksPropertyArrayOutput() GetJobDefinitionEksPropertyArrayOutput

func (GetJobDefinitionEksPropertyArrayOutput) ToGetJobDefinitionEksPropertyArrayOutputWithContext added in v6.24.2

func (o GetJobDefinitionEksPropertyArrayOutput) ToGetJobDefinitionEksPropertyArrayOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyArrayOutput

type GetJobDefinitionEksPropertyInput added in v6.24.2

type GetJobDefinitionEksPropertyInput interface {
	pulumi.Input

	ToGetJobDefinitionEksPropertyOutput() GetJobDefinitionEksPropertyOutput
	ToGetJobDefinitionEksPropertyOutputWithContext(context.Context) GetJobDefinitionEksPropertyOutput
}

GetJobDefinitionEksPropertyInput is an input type that accepts GetJobDefinitionEksPropertyArgs and GetJobDefinitionEksPropertyOutput values. You can construct a concrete instance of `GetJobDefinitionEksPropertyInput` via:

GetJobDefinitionEksPropertyArgs{...}

type GetJobDefinitionEksPropertyOutput added in v6.24.2

type GetJobDefinitionEksPropertyOutput struct{ *pulumi.OutputState }

func (GetJobDefinitionEksPropertyOutput) ElementType added in v6.24.2

func (GetJobDefinitionEksPropertyOutput) PodProperties added in v6.24.2

The properties for the Kubernetes pod resources of a job.

func (GetJobDefinitionEksPropertyOutput) ToGetJobDefinitionEksPropertyOutput added in v6.24.2

func (o GetJobDefinitionEksPropertyOutput) ToGetJobDefinitionEksPropertyOutput() GetJobDefinitionEksPropertyOutput

func (GetJobDefinitionEksPropertyOutput) ToGetJobDefinitionEksPropertyOutputWithContext added in v6.24.2

func (o GetJobDefinitionEksPropertyOutput) ToGetJobDefinitionEksPropertyOutputWithContext(ctx context.Context) GetJobDefinitionEksPropertyOutput

type GetJobDefinitionNodeProperty added in v6.24.2

type GetJobDefinitionNodeProperty struct {
	// Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
	MainNode int `pulumi:"mainNode"`
	// A list of node ranges and their properties that are associated with a multi-node parallel job.
	NodeRangeProperties []interface{} `pulumi:"nodeRangeProperties"`
	// The number of nodes that are associated with a multi-node parallel job.
	NumNodes int `pulumi:"numNodes"`
}

type GetJobDefinitionNodePropertyArgs added in v6.24.2

type GetJobDefinitionNodePropertyArgs struct {
	// Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
	MainNode pulumi.IntInput `pulumi:"mainNode"`
	// A list of node ranges and their properties that are associated with a multi-node parallel job.
	NodeRangeProperties pulumi.ArrayInput `pulumi:"nodeRangeProperties"`
	// The number of nodes that are associated with a multi-node parallel job.
	NumNodes pulumi.IntInput `pulumi:"numNodes"`
}

func (GetJobDefinitionNodePropertyArgs) ElementType added in v6.24.2

func (GetJobDefinitionNodePropertyArgs) ToGetJobDefinitionNodePropertyOutput added in v6.24.2

func (i GetJobDefinitionNodePropertyArgs) ToGetJobDefinitionNodePropertyOutput() GetJobDefinitionNodePropertyOutput

func (GetJobDefinitionNodePropertyArgs) ToGetJobDefinitionNodePropertyOutputWithContext added in v6.24.2

func (i GetJobDefinitionNodePropertyArgs) ToGetJobDefinitionNodePropertyOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyOutput

type GetJobDefinitionNodePropertyArray added in v6.24.2

type GetJobDefinitionNodePropertyArray []GetJobDefinitionNodePropertyInput

func (GetJobDefinitionNodePropertyArray) ElementType added in v6.24.2

func (GetJobDefinitionNodePropertyArray) ToGetJobDefinitionNodePropertyArrayOutput added in v6.24.2

func (i GetJobDefinitionNodePropertyArray) ToGetJobDefinitionNodePropertyArrayOutput() GetJobDefinitionNodePropertyArrayOutput

func (GetJobDefinitionNodePropertyArray) ToGetJobDefinitionNodePropertyArrayOutputWithContext added in v6.24.2

func (i GetJobDefinitionNodePropertyArray) ToGetJobDefinitionNodePropertyArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyArrayOutput

type GetJobDefinitionNodePropertyArrayInput added in v6.24.2

type GetJobDefinitionNodePropertyArrayInput interface {
	pulumi.Input

	ToGetJobDefinitionNodePropertyArrayOutput() GetJobDefinitionNodePropertyArrayOutput
	ToGetJobDefinitionNodePropertyArrayOutputWithContext(context.Context) GetJobDefinitionNodePropertyArrayOutput
}

GetJobDefinitionNodePropertyArrayInput is an input type that accepts GetJobDefinitionNodePropertyArray and GetJobDefinitionNodePropertyArrayOutput values. You can construct a concrete instance of `GetJobDefinitionNodePropertyArrayInput` via:

GetJobDefinitionNodePropertyArray{ GetJobDefinitionNodePropertyArgs{...} }

type GetJobDefinitionNodePropertyArrayOutput added in v6.24.2

type GetJobDefinitionNodePropertyArrayOutput struct{ *pulumi.OutputState }

func (GetJobDefinitionNodePropertyArrayOutput) ElementType added in v6.24.2

func (GetJobDefinitionNodePropertyArrayOutput) Index added in v6.24.2

func (GetJobDefinitionNodePropertyArrayOutput) ToGetJobDefinitionNodePropertyArrayOutput added in v6.24.2

func (o GetJobDefinitionNodePropertyArrayOutput) ToGetJobDefinitionNodePropertyArrayOutput() GetJobDefinitionNodePropertyArrayOutput

func (GetJobDefinitionNodePropertyArrayOutput) ToGetJobDefinitionNodePropertyArrayOutputWithContext added in v6.24.2

func (o GetJobDefinitionNodePropertyArrayOutput) ToGetJobDefinitionNodePropertyArrayOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyArrayOutput

type GetJobDefinitionNodePropertyInput added in v6.24.2

type GetJobDefinitionNodePropertyInput interface {
	pulumi.Input

	ToGetJobDefinitionNodePropertyOutput() GetJobDefinitionNodePropertyOutput
	ToGetJobDefinitionNodePropertyOutputWithContext(context.Context) GetJobDefinitionNodePropertyOutput
}

GetJobDefinitionNodePropertyInput is an input type that accepts GetJobDefinitionNodePropertyArgs and GetJobDefinitionNodePropertyOutput values. You can construct a concrete instance of `GetJobDefinitionNodePropertyInput` via:

GetJobDefinitionNodePropertyArgs{...}

type GetJobDefinitionNodePropertyOutput added in v6.24.2

type GetJobDefinitionNodePropertyOutput struct{ *pulumi.OutputState }

func (GetJobDefinitionNodePropertyOutput) ElementType added in v6.24.2

func (GetJobDefinitionNodePropertyOutput) MainNode added in v6.24.2

Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.

func (GetJobDefinitionNodePropertyOutput) NodeRangeProperties added in v6.24.2

func (o GetJobDefinitionNodePropertyOutput) NodeRangeProperties() pulumi.ArrayOutput

A list of node ranges and their properties that are associated with a multi-node parallel job.

func (GetJobDefinitionNodePropertyOutput) NumNodes added in v6.24.2

The number of nodes that are associated with a multi-node parallel job.

func (GetJobDefinitionNodePropertyOutput) ToGetJobDefinitionNodePropertyOutput added in v6.24.2

func (o GetJobDefinitionNodePropertyOutput) ToGetJobDefinitionNodePropertyOutput() GetJobDefinitionNodePropertyOutput

func (GetJobDefinitionNodePropertyOutput) ToGetJobDefinitionNodePropertyOutputWithContext added in v6.24.2

func (o GetJobDefinitionNodePropertyOutput) ToGetJobDefinitionNodePropertyOutputWithContext(ctx context.Context) GetJobDefinitionNodePropertyOutput

type GetJobDefinitionRetryStrategy added in v6.24.2

type GetJobDefinitionRetryStrategy struct {
	// The number of times to move a job to the RUNNABLE status.
	Attempts int `pulumi:"attempts"`
	// Array of up to 5 objects that specify the conditions where jobs are retried or failed.
	EvaluateOnExits []interface{} `pulumi:"evaluateOnExits"`
}

type GetJobDefinitionRetryStrategyArgs added in v6.24.2

type GetJobDefinitionRetryStrategyArgs struct {
	// The number of times to move a job to the RUNNABLE status.
	Attempts pulumi.IntInput `pulumi:"attempts"`
	// Array of up to 5 objects that specify the conditions where jobs are retried or failed.
	EvaluateOnExits pulumi.ArrayInput `pulumi:"evaluateOnExits"`
}

func (GetJobDefinitionRetryStrategyArgs) ElementType added in v6.24.2

func (GetJobDefinitionRetryStrategyArgs) ToGetJobDefinitionRetryStrategyOutput added in v6.24.2

func (i GetJobDefinitionRetryStrategyArgs) ToGetJobDefinitionRetryStrategyOutput() GetJobDefinitionRetryStrategyOutput

func (GetJobDefinitionRetryStrategyArgs) ToGetJobDefinitionRetryStrategyOutputWithContext added in v6.24.2

func (i GetJobDefinitionRetryStrategyArgs) ToGetJobDefinitionRetryStrategyOutputWithContext(ctx context.Context) GetJobDefinitionRetryStrategyOutput

type GetJobDefinitionRetryStrategyArray added in v6.24.2

type GetJobDefinitionRetryStrategyArray []GetJobDefinitionRetryStrategyInput

func (GetJobDefinitionRetryStrategyArray) ElementType added in v6.24.2

func (GetJobDefinitionRetryStrategyArray) ToGetJobDefinitionRetryStrategyArrayOutput added in v6.24.2

func (i GetJobDefinitionRetryStrategyArray) ToGetJobDefinitionRetryStrategyArrayOutput() GetJobDefinitionRetryStrategyArrayOutput

func (GetJobDefinitionRetryStrategyArray) ToGetJobDefinitionRetryStrategyArrayOutputWithContext added in v6.24.2

func (i GetJobDefinitionRetryStrategyArray) ToGetJobDefinitionRetryStrategyArrayOutputWithContext(ctx context.Context) GetJobDefinitionRetryStrategyArrayOutput

type GetJobDefinitionRetryStrategyArrayInput added in v6.24.2

type GetJobDefinitionRetryStrategyArrayInput interface {
	pulumi.Input

	ToGetJobDefinitionRetryStrategyArrayOutput() GetJobDefinitionRetryStrategyArrayOutput
	ToGetJobDefinitionRetryStrategyArrayOutputWithContext(context.Context) GetJobDefinitionRetryStrategyArrayOutput
}

GetJobDefinitionRetryStrategyArrayInput is an input type that accepts GetJobDefinitionRetryStrategyArray and GetJobDefinitionRetryStrategyArrayOutput values. You can construct a concrete instance of `GetJobDefinitionRetryStrategyArrayInput` via:

GetJobDefinitionRetryStrategyArray{ GetJobDefinitionRetryStrategyArgs{...} }

type GetJobDefinitionRetryStrategyArrayOutput added in v6.24.2

type GetJobDefinitionRetryStrategyArrayOutput struct{ *pulumi.OutputState }

func (GetJobDefinitionRetryStrategyArrayOutput) ElementType added in v6.24.2

func (GetJobDefinitionRetryStrategyArrayOutput) Index added in v6.24.2

func (GetJobDefinitionRetryStrategyArrayOutput) ToGetJobDefinitionRetryStrategyArrayOutput added in v6.24.2

func (o GetJobDefinitionRetryStrategyArrayOutput) ToGetJobDefinitionRetryStrategyArrayOutput() GetJobDefinitionRetryStrategyArrayOutput

func (GetJobDefinitionRetryStrategyArrayOutput) ToGetJobDefinitionRetryStrategyArrayOutputWithContext added in v6.24.2

func (o GetJobDefinitionRetryStrategyArrayOutput) ToGetJobDefinitionRetryStrategyArrayOutputWithContext(ctx context.Context) GetJobDefinitionRetryStrategyArrayOutput

type GetJobDefinitionRetryStrategyInput added in v6.24.2

type GetJobDefinitionRetryStrategyInput interface {
	pulumi.Input

	ToGetJobDefinitionRetryStrategyOutput() GetJobDefinitionRetryStrategyOutput
	ToGetJobDefinitionRetryStrategyOutputWithContext(context.Context) GetJobDefinitionRetryStrategyOutput
}

GetJobDefinitionRetryStrategyInput is an input type that accepts GetJobDefinitionRetryStrategyArgs and GetJobDefinitionRetryStrategyOutput values. You can construct a concrete instance of `GetJobDefinitionRetryStrategyInput` via:

GetJobDefinitionRetryStrategyArgs{...}

type GetJobDefinitionRetryStrategyOutput added in v6.24.2

type GetJobDefinitionRetryStrategyOutput struct{ *pulumi.OutputState }

func (GetJobDefinitionRetryStrategyOutput) Attempts added in v6.24.2

The number of times to move a job to the RUNNABLE status.

func (GetJobDefinitionRetryStrategyOutput) ElementType added in v6.24.2

func (GetJobDefinitionRetryStrategyOutput) EvaluateOnExits added in v6.24.2

Array of up to 5 objects that specify the conditions where jobs are retried or failed.

func (GetJobDefinitionRetryStrategyOutput) ToGetJobDefinitionRetryStrategyOutput added in v6.24.2

func (o GetJobDefinitionRetryStrategyOutput) ToGetJobDefinitionRetryStrategyOutput() GetJobDefinitionRetryStrategyOutput

func (GetJobDefinitionRetryStrategyOutput) ToGetJobDefinitionRetryStrategyOutputWithContext added in v6.24.2

func (o GetJobDefinitionRetryStrategyOutput) ToGetJobDefinitionRetryStrategyOutputWithContext(ctx context.Context) GetJobDefinitionRetryStrategyOutput

type GetJobDefinitionTimeout added in v6.24.2

type GetJobDefinitionTimeout struct {
	// The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp.
	AttemptDurationSeconds int `pulumi:"attemptDurationSeconds"`
}

type GetJobDefinitionTimeoutArgs added in v6.24.2

type GetJobDefinitionTimeoutArgs struct {
	// The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp.
	AttemptDurationSeconds pulumi.IntInput `pulumi:"attemptDurationSeconds"`
}

func (GetJobDefinitionTimeoutArgs) ElementType added in v6.24.2

func (GetJobDefinitionTimeoutArgs) ToGetJobDefinitionTimeoutOutput added in v6.24.2

func (i GetJobDefinitionTimeoutArgs) ToGetJobDefinitionTimeoutOutput() GetJobDefinitionTimeoutOutput

func (GetJobDefinitionTimeoutArgs) ToGetJobDefinitionTimeoutOutputWithContext added in v6.24.2

func (i GetJobDefinitionTimeoutArgs) ToGetJobDefinitionTimeoutOutputWithContext(ctx context.Context) GetJobDefinitionTimeoutOutput

type GetJobDefinitionTimeoutArray added in v6.24.2

type GetJobDefinitionTimeoutArray []GetJobDefinitionTimeoutInput

func (GetJobDefinitionTimeoutArray) ElementType added in v6.24.2

func (GetJobDefinitionTimeoutArray) ToGetJobDefinitionTimeoutArrayOutput added in v6.24.2

func (i GetJobDefinitionTimeoutArray) ToGetJobDefinitionTimeoutArrayOutput() GetJobDefinitionTimeoutArrayOutput

func (GetJobDefinitionTimeoutArray) ToGetJobDefinitionTimeoutArrayOutputWithContext added in v6.24.2

func (i GetJobDefinitionTimeoutArray) ToGetJobDefinitionTimeoutArrayOutputWithContext(ctx context.Context) GetJobDefinitionTimeoutArrayOutput

type GetJobDefinitionTimeoutArrayInput added in v6.24.2

type GetJobDefinitionTimeoutArrayInput interface {
	pulumi.Input

	ToGetJobDefinitionTimeoutArrayOutput() GetJobDefinitionTimeoutArrayOutput
	ToGetJobDefinitionTimeoutArrayOutputWithContext(context.Context) GetJobDefinitionTimeoutArrayOutput
}

GetJobDefinitionTimeoutArrayInput is an input type that accepts GetJobDefinitionTimeoutArray and GetJobDefinitionTimeoutArrayOutput values. You can construct a concrete instance of `GetJobDefinitionTimeoutArrayInput` via:

GetJobDefinitionTimeoutArray{ GetJobDefinitionTimeoutArgs{...} }

type GetJobDefinitionTimeoutArrayOutput added in v6.24.2

type GetJobDefinitionTimeoutArrayOutput struct{ *pulumi.OutputState }

func (GetJobDefinitionTimeoutArrayOutput) ElementType added in v6.24.2

func (GetJobDefinitionTimeoutArrayOutput) Index added in v6.24.2

func (GetJobDefinitionTimeoutArrayOutput) ToGetJobDefinitionTimeoutArrayOutput added in v6.24.2

func (o GetJobDefinitionTimeoutArrayOutput) ToGetJobDefinitionTimeoutArrayOutput() GetJobDefinitionTimeoutArrayOutput

func (GetJobDefinitionTimeoutArrayOutput) ToGetJobDefinitionTimeoutArrayOutputWithContext added in v6.24.2

func (o GetJobDefinitionTimeoutArrayOutput) ToGetJobDefinitionTimeoutArrayOutputWithContext(ctx context.Context) GetJobDefinitionTimeoutArrayOutput

type GetJobDefinitionTimeoutInput added in v6.24.2

type GetJobDefinitionTimeoutInput interface {
	pulumi.Input

	ToGetJobDefinitionTimeoutOutput() GetJobDefinitionTimeoutOutput
	ToGetJobDefinitionTimeoutOutputWithContext(context.Context) GetJobDefinitionTimeoutOutput
}

GetJobDefinitionTimeoutInput is an input type that accepts GetJobDefinitionTimeoutArgs and GetJobDefinitionTimeoutOutput values. You can construct a concrete instance of `GetJobDefinitionTimeoutInput` via:

GetJobDefinitionTimeoutArgs{...}

type GetJobDefinitionTimeoutOutput added in v6.24.2

type GetJobDefinitionTimeoutOutput struct{ *pulumi.OutputState }

func (GetJobDefinitionTimeoutOutput) AttemptDurationSeconds added in v6.24.2

func (o GetJobDefinitionTimeoutOutput) AttemptDurationSeconds() pulumi.IntOutput

The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp.

func (GetJobDefinitionTimeoutOutput) ElementType added in v6.24.2

func (GetJobDefinitionTimeoutOutput) ToGetJobDefinitionTimeoutOutput added in v6.24.2

func (o GetJobDefinitionTimeoutOutput) ToGetJobDefinitionTimeoutOutput() GetJobDefinitionTimeoutOutput

func (GetJobDefinitionTimeoutOutput) ToGetJobDefinitionTimeoutOutputWithContext added in v6.24.2

func (o GetJobDefinitionTimeoutOutput) ToGetJobDefinitionTimeoutOutputWithContext(ctx context.Context) GetJobDefinitionTimeoutOutput

type GetJobQueueComputeEnvironmentOrder

type GetJobQueueComputeEnvironmentOrder struct {
	ComputeEnvironment string `pulumi:"computeEnvironment"`
	Order              int    `pulumi:"order"`
}

type GetJobQueueComputeEnvironmentOrderArgs

type GetJobQueueComputeEnvironmentOrderArgs struct {
	ComputeEnvironment pulumi.StringInput `pulumi:"computeEnvironment"`
	Order              pulumi.IntInput    `pulumi:"order"`
}

func (GetJobQueueComputeEnvironmentOrderArgs) ElementType

func (GetJobQueueComputeEnvironmentOrderArgs) ToGetJobQueueComputeEnvironmentOrderOutput

func (i GetJobQueueComputeEnvironmentOrderArgs) ToGetJobQueueComputeEnvironmentOrderOutput() GetJobQueueComputeEnvironmentOrderOutput

func (GetJobQueueComputeEnvironmentOrderArgs) ToGetJobQueueComputeEnvironmentOrderOutputWithContext

func (i GetJobQueueComputeEnvironmentOrderArgs) ToGetJobQueueComputeEnvironmentOrderOutputWithContext(ctx context.Context) GetJobQueueComputeEnvironmentOrderOutput

type GetJobQueueComputeEnvironmentOrderArray

type GetJobQueueComputeEnvironmentOrderArray []GetJobQueueComputeEnvironmentOrderInput

func (GetJobQueueComputeEnvironmentOrderArray) ElementType

func (GetJobQueueComputeEnvironmentOrderArray) ToGetJobQueueComputeEnvironmentOrderArrayOutput

func (i GetJobQueueComputeEnvironmentOrderArray) ToGetJobQueueComputeEnvironmentOrderArrayOutput() GetJobQueueComputeEnvironmentOrderArrayOutput

func (GetJobQueueComputeEnvironmentOrderArray) ToGetJobQueueComputeEnvironmentOrderArrayOutputWithContext

func (i GetJobQueueComputeEnvironmentOrderArray) ToGetJobQueueComputeEnvironmentOrderArrayOutputWithContext(ctx context.Context) GetJobQueueComputeEnvironmentOrderArrayOutput

type GetJobQueueComputeEnvironmentOrderArrayInput

type GetJobQueueComputeEnvironmentOrderArrayInput interface {
	pulumi.Input

	ToGetJobQueueComputeEnvironmentOrderArrayOutput() GetJobQueueComputeEnvironmentOrderArrayOutput
	ToGetJobQueueComputeEnvironmentOrderArrayOutputWithContext(context.Context) GetJobQueueComputeEnvironmentOrderArrayOutput
}

GetJobQueueComputeEnvironmentOrderArrayInput is an input type that accepts GetJobQueueComputeEnvironmentOrderArray and GetJobQueueComputeEnvironmentOrderArrayOutput values. You can construct a concrete instance of `GetJobQueueComputeEnvironmentOrderArrayInput` via:

GetJobQueueComputeEnvironmentOrderArray{ GetJobQueueComputeEnvironmentOrderArgs{...} }

type GetJobQueueComputeEnvironmentOrderArrayOutput

type GetJobQueueComputeEnvironmentOrderArrayOutput struct{ *pulumi.OutputState }

func (GetJobQueueComputeEnvironmentOrderArrayOutput) ElementType

func (GetJobQueueComputeEnvironmentOrderArrayOutput) Index

func (GetJobQueueComputeEnvironmentOrderArrayOutput) ToGetJobQueueComputeEnvironmentOrderArrayOutput

func (o GetJobQueueComputeEnvironmentOrderArrayOutput) ToGetJobQueueComputeEnvironmentOrderArrayOutput() GetJobQueueComputeEnvironmentOrderArrayOutput

func (GetJobQueueComputeEnvironmentOrderArrayOutput) ToGetJobQueueComputeEnvironmentOrderArrayOutputWithContext

func (o GetJobQueueComputeEnvironmentOrderArrayOutput) ToGetJobQueueComputeEnvironmentOrderArrayOutputWithContext(ctx context.Context) GetJobQueueComputeEnvironmentOrderArrayOutput

type GetJobQueueComputeEnvironmentOrderInput

type GetJobQueueComputeEnvironmentOrderInput interface {
	pulumi.Input

	ToGetJobQueueComputeEnvironmentOrderOutput() GetJobQueueComputeEnvironmentOrderOutput
	ToGetJobQueueComputeEnvironmentOrderOutputWithContext(context.Context) GetJobQueueComputeEnvironmentOrderOutput
}

GetJobQueueComputeEnvironmentOrderInput is an input type that accepts GetJobQueueComputeEnvironmentOrderArgs and GetJobQueueComputeEnvironmentOrderOutput values. You can construct a concrete instance of `GetJobQueueComputeEnvironmentOrderInput` via:

GetJobQueueComputeEnvironmentOrderArgs{...}

type GetJobQueueComputeEnvironmentOrderOutput

type GetJobQueueComputeEnvironmentOrderOutput struct{ *pulumi.OutputState }

func (GetJobQueueComputeEnvironmentOrderOutput) ComputeEnvironment

func (GetJobQueueComputeEnvironmentOrderOutput) ElementType

func (GetJobQueueComputeEnvironmentOrderOutput) Order

func (GetJobQueueComputeEnvironmentOrderOutput) ToGetJobQueueComputeEnvironmentOrderOutput

func (o GetJobQueueComputeEnvironmentOrderOutput) ToGetJobQueueComputeEnvironmentOrderOutput() GetJobQueueComputeEnvironmentOrderOutput

func (GetJobQueueComputeEnvironmentOrderOutput) ToGetJobQueueComputeEnvironmentOrderOutputWithContext

func (o GetJobQueueComputeEnvironmentOrderOutput) ToGetJobQueueComputeEnvironmentOrderOutputWithContext(ctx context.Context) GetJobQueueComputeEnvironmentOrderOutput

type GetSchedulingPolicyFairSharePolicy

type GetSchedulingPolicyFairSharePolicy struct {
	// 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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).
	ComputeReservation int `pulumi:"computeReservation"`
	ShareDecaySeconds  int `pulumi:"shareDecaySeconds"`
	// 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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.
	ShareDistributions []GetSchedulingPolicyFairSharePolicyShareDistribution `pulumi:"shareDistributions"`
}

type GetSchedulingPolicyFairSharePolicyArgs

type GetSchedulingPolicyFairSharePolicyArgs struct {
	// 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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).
	ComputeReservation pulumi.IntInput `pulumi:"computeReservation"`
	ShareDecaySeconds  pulumi.IntInput `pulumi:"shareDecaySeconds"`
	// 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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.
	ShareDistributions GetSchedulingPolicyFairSharePolicyShareDistributionArrayInput `pulumi:"shareDistributions"`
}

func (GetSchedulingPolicyFairSharePolicyArgs) ElementType

func (GetSchedulingPolicyFairSharePolicyArgs) ToGetSchedulingPolicyFairSharePolicyOutput

func (i GetSchedulingPolicyFairSharePolicyArgs) ToGetSchedulingPolicyFairSharePolicyOutput() GetSchedulingPolicyFairSharePolicyOutput

func (GetSchedulingPolicyFairSharePolicyArgs) ToGetSchedulingPolicyFairSharePolicyOutputWithContext

func (i GetSchedulingPolicyFairSharePolicyArgs) ToGetSchedulingPolicyFairSharePolicyOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyOutput

type GetSchedulingPolicyFairSharePolicyArray

type GetSchedulingPolicyFairSharePolicyArray []GetSchedulingPolicyFairSharePolicyInput

func (GetSchedulingPolicyFairSharePolicyArray) ElementType

func (GetSchedulingPolicyFairSharePolicyArray) ToGetSchedulingPolicyFairSharePolicyArrayOutput

func (i GetSchedulingPolicyFairSharePolicyArray) ToGetSchedulingPolicyFairSharePolicyArrayOutput() GetSchedulingPolicyFairSharePolicyArrayOutput

func (GetSchedulingPolicyFairSharePolicyArray) ToGetSchedulingPolicyFairSharePolicyArrayOutputWithContext

func (i GetSchedulingPolicyFairSharePolicyArray) ToGetSchedulingPolicyFairSharePolicyArrayOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyArrayOutput

type GetSchedulingPolicyFairSharePolicyArrayInput

type GetSchedulingPolicyFairSharePolicyArrayInput interface {
	pulumi.Input

	ToGetSchedulingPolicyFairSharePolicyArrayOutput() GetSchedulingPolicyFairSharePolicyArrayOutput
	ToGetSchedulingPolicyFairSharePolicyArrayOutputWithContext(context.Context) GetSchedulingPolicyFairSharePolicyArrayOutput
}

GetSchedulingPolicyFairSharePolicyArrayInput is an input type that accepts GetSchedulingPolicyFairSharePolicyArray and GetSchedulingPolicyFairSharePolicyArrayOutput values. You can construct a concrete instance of `GetSchedulingPolicyFairSharePolicyArrayInput` via:

GetSchedulingPolicyFairSharePolicyArray{ GetSchedulingPolicyFairSharePolicyArgs{...} }

type GetSchedulingPolicyFairSharePolicyArrayOutput

type GetSchedulingPolicyFairSharePolicyArrayOutput struct{ *pulumi.OutputState }

func (GetSchedulingPolicyFairSharePolicyArrayOutput) ElementType

func (GetSchedulingPolicyFairSharePolicyArrayOutput) Index

func (GetSchedulingPolicyFairSharePolicyArrayOutput) ToGetSchedulingPolicyFairSharePolicyArrayOutput

func (o GetSchedulingPolicyFairSharePolicyArrayOutput) ToGetSchedulingPolicyFairSharePolicyArrayOutput() GetSchedulingPolicyFairSharePolicyArrayOutput

func (GetSchedulingPolicyFairSharePolicyArrayOutput) ToGetSchedulingPolicyFairSharePolicyArrayOutputWithContext

func (o GetSchedulingPolicyFairSharePolicyArrayOutput) ToGetSchedulingPolicyFairSharePolicyArrayOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyArrayOutput

type GetSchedulingPolicyFairSharePolicyInput

type GetSchedulingPolicyFairSharePolicyInput interface {
	pulumi.Input

	ToGetSchedulingPolicyFairSharePolicyOutput() GetSchedulingPolicyFairSharePolicyOutput
	ToGetSchedulingPolicyFairSharePolicyOutputWithContext(context.Context) GetSchedulingPolicyFairSharePolicyOutput
}

GetSchedulingPolicyFairSharePolicyInput is an input type that accepts GetSchedulingPolicyFairSharePolicyArgs and GetSchedulingPolicyFairSharePolicyOutput values. You can construct a concrete instance of `GetSchedulingPolicyFairSharePolicyInput` via:

GetSchedulingPolicyFairSharePolicyArgs{...}

type GetSchedulingPolicyFairSharePolicyOutput

type GetSchedulingPolicyFairSharePolicyOutput struct{ *pulumi.OutputState }

func (GetSchedulingPolicyFairSharePolicyOutput) ComputeReservation

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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).

func (GetSchedulingPolicyFairSharePolicyOutput) ElementType

func (GetSchedulingPolicyFairSharePolicyOutput) ShareDecaySeconds

func (GetSchedulingPolicyFairSharePolicyOutput) ShareDistributions

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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.

func (GetSchedulingPolicyFairSharePolicyOutput) ToGetSchedulingPolicyFairSharePolicyOutput

func (o GetSchedulingPolicyFairSharePolicyOutput) ToGetSchedulingPolicyFairSharePolicyOutput() GetSchedulingPolicyFairSharePolicyOutput

func (GetSchedulingPolicyFairSharePolicyOutput) ToGetSchedulingPolicyFairSharePolicyOutputWithContext

func (o GetSchedulingPolicyFairSharePolicyOutput) ToGetSchedulingPolicyFairSharePolicyOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyOutput

type GetSchedulingPolicyFairSharePolicyShareDistribution

type GetSchedulingPolicyFairSharePolicyShareDistribution struct {
	// Fair share identifier or fair share identifier prefix. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).
	ShareIdentifier string `pulumi:"shareIdentifier"`
	// Weight factor for the fair share identifier. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).
	WeightFactor float64 `pulumi:"weightFactor"`
}

type GetSchedulingPolicyFairSharePolicyShareDistributionArgs

type GetSchedulingPolicyFairSharePolicyShareDistributionArgs struct {
	// Fair share identifier or fair share identifier prefix. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).
	ShareIdentifier pulumi.StringInput `pulumi:"shareIdentifier"`
	// Weight factor for the fair share identifier. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).
	WeightFactor pulumi.Float64Input `pulumi:"weightFactor"`
}

func (GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ElementType

func (GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutput

func (GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext

func (i GetSchedulingPolicyFairSharePolicyShareDistributionArgs) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionOutput

type GetSchedulingPolicyFairSharePolicyShareDistributionArray

type GetSchedulingPolicyFairSharePolicyShareDistributionArray []GetSchedulingPolicyFairSharePolicyShareDistributionInput

func (GetSchedulingPolicyFairSharePolicyShareDistributionArray) ElementType

func (GetSchedulingPolicyFairSharePolicyShareDistributionArray) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput

func (i GetSchedulingPolicyFairSharePolicyShareDistributionArray) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput() GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput

func (GetSchedulingPolicyFairSharePolicyShareDistributionArray) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext

func (i GetSchedulingPolicyFairSharePolicyShareDistributionArray) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput

type GetSchedulingPolicyFairSharePolicyShareDistributionArrayInput

type GetSchedulingPolicyFairSharePolicyShareDistributionArrayInput interface {
	pulumi.Input

	ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput() GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
	ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput
}

GetSchedulingPolicyFairSharePolicyShareDistributionArrayInput is an input type that accepts GetSchedulingPolicyFairSharePolicyShareDistributionArray and GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput values. You can construct a concrete instance of `GetSchedulingPolicyFairSharePolicyShareDistributionArrayInput` via:

GetSchedulingPolicyFairSharePolicyShareDistributionArray{ GetSchedulingPolicyFairSharePolicyShareDistributionArgs{...} }

type GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput

type GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput struct{ *pulumi.OutputState }

func (GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ElementType

func (GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) Index

func (GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput

func (GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext

func (o GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionArrayOutput

type GetSchedulingPolicyFairSharePolicyShareDistributionInput

type GetSchedulingPolicyFairSharePolicyShareDistributionInput interface {
	pulumi.Input

	ToGetSchedulingPolicyFairSharePolicyShareDistributionOutput() GetSchedulingPolicyFairSharePolicyShareDistributionOutput
	ToGetSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionOutput
}

GetSchedulingPolicyFairSharePolicyShareDistributionInput is an input type that accepts GetSchedulingPolicyFairSharePolicyShareDistributionArgs and GetSchedulingPolicyFairSharePolicyShareDistributionOutput values. You can construct a concrete instance of `GetSchedulingPolicyFairSharePolicyShareDistributionInput` via:

GetSchedulingPolicyFairSharePolicyShareDistributionArgs{...}

type GetSchedulingPolicyFairSharePolicyShareDistributionOutput

type GetSchedulingPolicyFairSharePolicyShareDistributionOutput struct{ *pulumi.OutputState }

func (GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ElementType

func (GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ShareIdentifier

Fair share identifier or fair share identifier prefix. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).

func (GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutput

func (GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext

func (o GetSchedulingPolicyFairSharePolicyShareDistributionOutput) ToGetSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(ctx context.Context) GetSchedulingPolicyFairSharePolicyShareDistributionOutput

func (GetSchedulingPolicyFairSharePolicyShareDistributionOutput) WeightFactor

Weight factor for the fair share identifier. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).

type JobDefinition

type JobDefinition struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name of the job definition, includes revision (`:#`).
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ARN without the revision number.
	ArnPrefix pulumi.StringOutput `pulumi:"arnPrefix"`
	// A valid [container properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html)
	// provided as a single valid JSON document. This parameter is only valid if the `type` parameter is `container`.
	ContainerProperties pulumi.StringPtrOutput `pulumi:"containerProperties"`
	// 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 pulumi.BoolPtrOutput `pulumi:"deregisterOnNewRevision"`
	// A valid eks properties. This parameter is only valid if the `type` parameter is `container`.
	EksProperties JobDefinitionEksPropertiesPtrOutput `pulumi:"eksProperties"`
	// Specifies the name of the job definition.
	Name pulumi.StringOutput `pulumi:"name"`
	// A valid [node properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html)
	// provided as a single valid JSON document. This parameter is required if the `type` parameter is `multinode`.
	NodeProperties pulumi.StringPtrOutput `pulumi:"nodeProperties"`
	// Specifies the parameter substitution placeholders to set in the job definition.
	Parameters pulumi.StringMapOutput `pulumi:"parameters"`
	// 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`.
	PlatformCapabilities pulumi.StringArrayOutput `pulumi:"platformCapabilities"`
	// Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is `false`.
	PropagateTags pulumi.BoolPtrOutput `pulumi:"propagateTags"`
	// Specifies the retry strategy to use for failed jobs that are submitted with this job definition.
	// Maximum number of `retryStrategy` is `1`.  Defined below.
	RetryStrategy JobDefinitionRetryStrategyPtrOutput `pulumi:"retryStrategy"`
	// The revision of the job definition.
	Revision pulumi.IntOutput `pulumi:"revision"`
	// 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 pulumi.IntPtrOutput `pulumi:"schedulingPriority"`
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// 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 JobDefinitionTimeoutPtrOutput `pulumi:"timeout"`
	// The type of job definition. Must be `container` or `multinode`.
	//
	// The following arguments are optional:
	Type pulumi.StringOutput `pulumi:"type"`
}

Provides a Batch Job Definition resource.

## Example Usage

### Job definition of type container

<!--Start PulumiCodeChooser --> ```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"command": []string{
				"ls",
				"-la",
			},
			"image": "busybox",
			"resourceRequirements": []map[string]interface{}{
				map[string]interface{}{
					"type":  "VCPU",
					"value": "0.25",
				},
				map[string]interface{}{
					"type":  "MEMORY",
					"value": "512",
				},
			},
			"volumes": []map[string]interface{}{
				map[string]interface{}{
					"host": map[string]interface{}{
						"sourcePath": "/tmp",
					},
					"name": "tmp",
				},
			},
			"environment": []map[string]interface{}{
				map[string]interface{}{
					"name":  "VARNAME",
					"value": "VARVAL",
				},
			},
			"mountPoints": []map[string]interface{}{
				map[string]interface{}{
					"sourceVolume":  "tmp",
					"containerPath": "/tmp",
					"readOnly":      false,
				},
			},
			"ulimits": []map[string]interface{}{
				map[string]interface{}{
					"hardLimit": 1024,
					"name":      "nofile",
					"softLimit": 1024,
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = batch.NewJobDefinition(ctx, "test", &batch.JobDefinitionArgs{
			Name:                pulumi.String("my_test_batch_job_definition"),
			Type:                pulumi.String("container"),
			ContainerProperties: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Job definition of type multinode

<!--Start PulumiCodeChooser --> ```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"mainNode": 0,
			"nodeRangeProperties": []map[string]interface{}{
				map[string]interface{}{
					"container": map[string]interface{}{
						"command": []string{
							"ls",
							"-la",
						},
						"image":  "busybox",
						"memory": 128,
						"vcpus":  1,
					},
					"targetNodes": "0:",
				},
				map[string]interface{}{
					"container": map[string]interface{}{
						"command": []string{
							"echo",
							"test",
						},
						"image":  "busybox",
						"memory": 128,
						"vcpus":  1,
					},
					"targetNodes": "1:",
				},
			},
			"numNodes": 2,
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = batch.NewJobDefinition(ctx, "test", &batch.JobDefinitionArgs{
			Name:           pulumi.String("tf_test_batch_job_definition_multinode"),
			Type:           pulumi.String("multinode"),
			NodeProperties: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Job Definitionn of type EKS

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewJobDefinition(ctx, "test", &batch.JobDefinitionArgs{
			Name: pulumi.String(" tf_test_batch_job_definition_eks"),
			Type: pulumi.String("container"),
			EksProperties: &batch.JobDefinitionEksPropertiesArgs{
				PodProperties: &batch.JobDefinitionEksPropertiesPodPropertiesArgs{
					HostNetwork: pulumi.Bool(true),
					Containers: &batch.JobDefinitionEksPropertiesPodPropertiesContainersArgs{
						Image: pulumi.String("public.ecr.aws/amazonlinux/amazonlinux:1"),
						Commands: pulumi.StringArray{
							pulumi.String("sleep"),
							pulumi.String("60"),
						},
						Resources: &batch.JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs{
							Limits: pulumi.StringMap{
								"cpu":    pulumi.String("1"),
								"memory": pulumi.String("1024Mi"),
							},
						},
					},
					Metadata: &batch.JobDefinitionEksPropertiesPodPropertiesMetadataArgs{
						Labels: pulumi.StringMap{
							"environment": pulumi.String("test"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Fargate Platform Capability

<!--Start PulumiCodeChooser --> ```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		assumeRolePolicy, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Actions: []string{
						"sts:AssumeRole",
					},
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"ecs-tasks.amazonaws.com",
							},
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		ecsTaskExecutionRole, err := iam.NewRole(ctx, "ecs_task_execution_role", &iam.RoleArgs{
			Name:             pulumi.String("my_test_batch_exec_role"),
			AssumeRolePolicy: pulumi.String(assumeRolePolicy.Json),
		})
		if err != nil {
			return err
		}
		_, err = iam.NewRolePolicyAttachment(ctx, "ecs_task_execution_role_policy", &iam.RolePolicyAttachmentArgs{
			Role:      ecsTaskExecutionRole.Name,
			PolicyArn: pulumi.String("arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy"),
		})
		if err != nil {
			return err
		}
		_, err = batch.NewJobDefinition(ctx, "test", &batch.JobDefinitionArgs{
			Name: pulumi.String("my_test_batch_job_definition"),
			Type: pulumi.String("container"),
			PlatformCapabilities: pulumi.StringArray{
				pulumi.String("FARGATE"),
			},
			ContainerProperties: ecsTaskExecutionRole.Arn.ApplyT(func(arn string) (pulumi.String, error) {
				var _zero pulumi.String
				tmpJSON0, err := json.Marshal(map[string]interface{}{
					"command": []string{
						"echo",
						"test",
					},
					"image":      "busybox",
					"jobRoleArn": "arn:aws:iam::123456789012:role/AWSBatchS3ReadOnly",
					"fargatePlatformConfiguration": map[string]interface{}{
						"platformVersion": "LATEST",
					},
					"resourceRequirements": []map[string]interface{}{
						map[string]interface{}{
							"type":  "VCPU",
							"value": "0.25",
						},
						map[string]interface{}{
							"type":  "MEMORY",
							"value": "512",
						},
					},
					"executionRoleArn": arn,
				})
				if err != nil {
					return _zero, err
				}
				json0 := string(tmpJSON0)
				return pulumi.String(json0), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import Batch Job Definition using the `arn`. For example:

```sh $ pulumi import aws:batch/jobDefinition:JobDefinition test arn:aws:batch:us-east-1:123456789012:job-definition/sample ```

func GetJobDefinition

func GetJobDefinition(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobDefinitionState, opts ...pulumi.ResourceOption) (*JobDefinition, error)

GetJobDefinition gets an existing JobDefinition resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewJobDefinition

func NewJobDefinition(ctx *pulumi.Context,
	name string, args *JobDefinitionArgs, opts ...pulumi.ResourceOption) (*JobDefinition, error)

NewJobDefinition registers a new resource with the given unique name, arguments, and options.

func (*JobDefinition) ElementType

func (*JobDefinition) ElementType() reflect.Type

func (*JobDefinition) ToJobDefinitionOutput

func (i *JobDefinition) ToJobDefinitionOutput() JobDefinitionOutput

func (*JobDefinition) ToJobDefinitionOutputWithContext

func (i *JobDefinition) ToJobDefinitionOutputWithContext(ctx context.Context) JobDefinitionOutput

type JobDefinitionArgs

type JobDefinitionArgs struct {
	// A valid [container properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html)
	// provided as a single valid JSON document. This parameter is only valid if the `type` parameter is `container`.
	ContainerProperties pulumi.StringPtrInput
	// 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 pulumi.BoolPtrInput
	// A valid eks properties. This parameter is only valid if the `type` parameter is `container`.
	EksProperties JobDefinitionEksPropertiesPtrInput
	// Specifies the name of the job definition.
	Name pulumi.StringPtrInput
	// A valid [node properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html)
	// provided as a single valid JSON document. This parameter is required if the `type` parameter is `multinode`.
	NodeProperties pulumi.StringPtrInput
	// Specifies the parameter substitution placeholders to set in the job definition.
	Parameters pulumi.StringMapInput
	// 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`.
	PlatformCapabilities pulumi.StringArrayInput
	// Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is `false`.
	PropagateTags pulumi.BoolPtrInput
	// Specifies the retry strategy to use for failed jobs that are submitted with this job definition.
	// Maximum number of `retryStrategy` is `1`.  Defined below.
	RetryStrategy JobDefinitionRetryStrategyPtrInput
	// 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 pulumi.IntPtrInput
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// 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 JobDefinitionTimeoutPtrInput
	// The type of job definition. Must be `container` or `multinode`.
	//
	// The following arguments are optional:
	Type pulumi.StringInput
}

The set of arguments for constructing a JobDefinition resource.

func (JobDefinitionArgs) ElementType

func (JobDefinitionArgs) ElementType() reflect.Type

type JobDefinitionArray

type JobDefinitionArray []JobDefinitionInput

func (JobDefinitionArray) ElementType

func (JobDefinitionArray) ElementType() reflect.Type

func (JobDefinitionArray) ToJobDefinitionArrayOutput

func (i JobDefinitionArray) ToJobDefinitionArrayOutput() JobDefinitionArrayOutput

func (JobDefinitionArray) ToJobDefinitionArrayOutputWithContext

func (i JobDefinitionArray) ToJobDefinitionArrayOutputWithContext(ctx context.Context) JobDefinitionArrayOutput

type JobDefinitionArrayInput

type JobDefinitionArrayInput interface {
	pulumi.Input

	ToJobDefinitionArrayOutput() JobDefinitionArrayOutput
	ToJobDefinitionArrayOutputWithContext(context.Context) JobDefinitionArrayOutput
}

JobDefinitionArrayInput is an input type that accepts JobDefinitionArray and JobDefinitionArrayOutput values. You can construct a concrete instance of `JobDefinitionArrayInput` via:

JobDefinitionArray{ JobDefinitionArgs{...} }

type JobDefinitionArrayOutput

type JobDefinitionArrayOutput struct{ *pulumi.OutputState }

func (JobDefinitionArrayOutput) ElementType

func (JobDefinitionArrayOutput) ElementType() reflect.Type

func (JobDefinitionArrayOutput) Index

func (JobDefinitionArrayOutput) ToJobDefinitionArrayOutput

func (o JobDefinitionArrayOutput) ToJobDefinitionArrayOutput() JobDefinitionArrayOutput

func (JobDefinitionArrayOutput) ToJobDefinitionArrayOutputWithContext

func (o JobDefinitionArrayOutput) ToJobDefinitionArrayOutputWithContext(ctx context.Context) JobDefinitionArrayOutput

type JobDefinitionEksProperties added in v6.18.2

type JobDefinitionEksProperties struct {
	// The properties for the Kubernetes pod resources of a job. See `podProperties` below.
	PodProperties JobDefinitionEksPropertiesPodProperties `pulumi:"podProperties"`
}

type JobDefinitionEksPropertiesArgs added in v6.18.2

type JobDefinitionEksPropertiesArgs struct {
	// The properties for the Kubernetes pod resources of a job. See `podProperties` below.
	PodProperties JobDefinitionEksPropertiesPodPropertiesInput `pulumi:"podProperties"`
}

func (JobDefinitionEksPropertiesArgs) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesOutput added in v6.18.2

func (i JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesOutput() JobDefinitionEksPropertiesOutput

func (JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesOutput

func (JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesPtrOutput added in v6.18.2

func (i JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesPtrOutput() JobDefinitionEksPropertiesPtrOutput

func (JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesPtrOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesArgs) ToJobDefinitionEksPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPtrOutput

type JobDefinitionEksPropertiesInput added in v6.18.2

type JobDefinitionEksPropertiesInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesOutput() JobDefinitionEksPropertiesOutput
	ToJobDefinitionEksPropertiesOutputWithContext(context.Context) JobDefinitionEksPropertiesOutput
}

JobDefinitionEksPropertiesInput is an input type that accepts JobDefinitionEksPropertiesArgs and JobDefinitionEksPropertiesOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesInput` via:

JobDefinitionEksPropertiesArgs{...}

type JobDefinitionEksPropertiesOutput added in v6.18.2

type JobDefinitionEksPropertiesOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesOutput) PodProperties added in v6.18.2

The properties for the Kubernetes pod resources of a job. See `podProperties` below.

func (JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesOutput added in v6.18.2

func (o JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesOutput() JobDefinitionEksPropertiesOutput

func (JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesOutput

func (JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesPtrOutput added in v6.18.2

func (o JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesPtrOutput() JobDefinitionEksPropertiesPtrOutput

func (JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesOutput) ToJobDefinitionEksPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPtrOutput

type JobDefinitionEksPropertiesPodProperties added in v6.18.2

type JobDefinitionEksPropertiesPodProperties struct {
	// The properties of the container that's used on the Amazon EKS pod. See containers below.
	Containers JobDefinitionEksPropertiesPodPropertiesContainers `pulumi:"containers"`
	// The DNS policy for the pod. The default value is `ClusterFirst`. If the `hostNetwork` 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 `pulumi:"dnsPolicy"`
	// 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 `pulumi:"hostNetwork"`
	// Metadata about the Kubernetes pod.
	Metadata *JobDefinitionEksPropertiesPodPropertiesMetadata `pulumi:"metadata"`
	// The name of the service account that's used to run the pod.
	ServiceAccountName *string `pulumi:"serviceAccountName"`
	// Specifies the volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types.
	Volumes []JobDefinitionEksPropertiesPodPropertiesVolume `pulumi:"volumes"`
}

type JobDefinitionEksPropertiesPodPropertiesArgs added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesArgs struct {
	// The properties of the container that's used on the Amazon EKS pod. See containers below.
	Containers JobDefinitionEksPropertiesPodPropertiesContainersInput `pulumi:"containers"`
	// The DNS policy for the pod. The default value is `ClusterFirst`. If the `hostNetwork` 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 pulumi.StringPtrInput `pulumi:"dnsPolicy"`
	// 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 pulumi.BoolPtrInput `pulumi:"hostNetwork"`
	// Metadata about the Kubernetes pod.
	Metadata JobDefinitionEksPropertiesPodPropertiesMetadataPtrInput `pulumi:"metadata"`
	// The name of the service account that's used to run the pod.
	ServiceAccountName pulumi.StringPtrInput `pulumi:"serviceAccountName"`
	// Specifies the volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types.
	Volumes JobDefinitionEksPropertiesPodPropertiesVolumeArrayInput `pulumi:"volumes"`
}

func (JobDefinitionEksPropertiesPodPropertiesArgs) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesArgs) ToJobDefinitionEksPropertiesPodPropertiesOutput added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesArgs) ToJobDefinitionEksPropertiesPodPropertiesOutput() JobDefinitionEksPropertiesPodPropertiesOutput

func (JobDefinitionEksPropertiesPodPropertiesArgs) ToJobDefinitionEksPropertiesPodPropertiesOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesArgs) ToJobDefinitionEksPropertiesPodPropertiesOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesOutput

func (JobDefinitionEksPropertiesPodPropertiesArgs) ToJobDefinitionEksPropertiesPodPropertiesPtrOutput added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesArgs) ToJobDefinitionEksPropertiesPodPropertiesPtrOutput() JobDefinitionEksPropertiesPodPropertiesPtrOutput

func (JobDefinitionEksPropertiesPodPropertiesArgs) ToJobDefinitionEksPropertiesPodPropertiesPtrOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesArgs) ToJobDefinitionEksPropertiesPodPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesPtrOutput

type JobDefinitionEksPropertiesPodPropertiesContainers added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainers 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 `pulumi:"args"`
	// 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.
	Commands []string `pulumi:"commands"`
	// The environment variables to pass to a container. See EKS Environment below.
	Envs []JobDefinitionEksPropertiesPodPropertiesContainersEnv `pulumi:"envs"`
	// The Docker image used to start the container.
	Image string `pulumi:"image"`
	// The image pull policy for the container. Supported values are `Always`, `IfNotPresent`, and `Never`.
	ImagePullPolicy *string `pulumi:"imagePullPolicy"`
	// 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 `pulumi:"name"`
	// The type and amount of resources to assign to a container. The supported resources include `memory`, `cpu`, and `nvidia.com/gpu`.
	Resources *JobDefinitionEksPropertiesPodPropertiesContainersResources `pulumi:"resources"`
	// The security context for a job.
	SecurityContext *JobDefinitionEksPropertiesPodPropertiesContainersSecurityContext `pulumi:"securityContext"`
	// The volume mounts for the container.
	VolumeMounts []JobDefinitionEksPropertiesPodPropertiesContainersVolumeMount `pulumi:"volumeMounts"`
}

type JobDefinitionEksPropertiesPodPropertiesContainersArgs added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersArgs 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 pulumi.StringArrayInput `pulumi:"args"`
	// 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.
	Commands pulumi.StringArrayInput `pulumi:"commands"`
	// The environment variables to pass to a container. See EKS Environment below.
	Envs JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayInput `pulumi:"envs"`
	// The Docker image used to start the container.
	Image pulumi.StringInput `pulumi:"image"`
	// The image pull policy for the container. Supported values are `Always`, `IfNotPresent`, and `Never`.
	ImagePullPolicy pulumi.StringPtrInput `pulumi:"imagePullPolicy"`
	// 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 pulumi.StringPtrInput `pulumi:"name"`
	// The type and amount of resources to assign to a container. The supported resources include `memory`, `cpu`, and `nvidia.com/gpu`.
	Resources JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrInput `pulumi:"resources"`
	// The security context for a job.
	SecurityContext JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrInput `pulumi:"securityContext"`
	// The volume mounts for the container.
	VolumeMounts JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayInput `pulumi:"volumeMounts"`
}

func (JobDefinitionEksPropertiesPodPropertiesContainersArgs) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersOutput added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersOutput() JobDefinitionEksPropertiesPodPropertiesContainersOutput

func (JobDefinitionEksPropertiesPodPropertiesContainersArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersOutput

func (JobDefinitionEksPropertiesPodPropertiesContainersArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersPtrOutput added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersPtrOutput() JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput

func (JobDefinitionEksPropertiesPodPropertiesContainersArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersPtrOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput

type JobDefinitionEksPropertiesPodPropertiesContainersEnv added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersEnv struct {
	// Specifies the name of the job definition.
	Name string `pulumi:"name"`
	// The value of the environment variable.
	Value string `pulumi:"value"`
}

type JobDefinitionEksPropertiesPodPropertiesContainersEnvArgs added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersEnvArgs struct {
	// Specifies the name of the job definition.
	Name pulumi.StringInput `pulumi:"name"`
	// The value of the environment variable.
	Value pulumi.StringInput `pulumi:"value"`
}

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvArgs) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersEnvArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput

type JobDefinitionEksPropertiesPodPropertiesContainersEnvArray added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersEnvArray []JobDefinitionEksPropertiesPodPropertiesContainersEnvInput

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvArray) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvArray) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersEnvArray) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput() JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvArray) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersEnvArray) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput

type JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput() JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput
	ToJobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput
}

JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesContainersEnvArray and JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayInput` via:

JobDefinitionEksPropertiesPodPropertiesContainersEnvArray{ JobDefinitionEksPropertiesPodPropertiesContainersEnvArgs{...} }

type JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput) Index added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersEnvArrayOutput

type JobDefinitionEksPropertiesPodPropertiesContainersEnvInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersEnvInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesContainersEnvOutput() JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput
	ToJobDefinitionEksPropertiesPodPropertiesContainersEnvOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput
}

JobDefinitionEksPropertiesPodPropertiesContainersEnvInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesContainersEnvArgs and JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesContainersEnvInput` via:

JobDefinitionEksPropertiesPodPropertiesContainersEnvArgs{...}

type JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput) Name added in v6.18.2

Specifies the name of the job definition.

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersEnvOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput

func (JobDefinitionEksPropertiesPodPropertiesContainersEnvOutput) Value added in v6.18.2

The value of the environment variable.

type JobDefinitionEksPropertiesPodPropertiesContainersInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesContainersOutput() JobDefinitionEksPropertiesPodPropertiesContainersOutput
	ToJobDefinitionEksPropertiesPodPropertiesContainersOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesContainersOutput
}

JobDefinitionEksPropertiesPodPropertiesContainersInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesContainersArgs and JobDefinitionEksPropertiesPodPropertiesContainersOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesContainersInput` via:

JobDefinitionEksPropertiesPodPropertiesContainersArgs{...}

type JobDefinitionEksPropertiesPodPropertiesContainersOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) Args added in v6.18.2

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.

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) Commands added in v6.18.2

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.

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) Envs added in v6.18.2

The environment variables to pass to a container. See EKS Environment below.

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) Image added in v6.18.2

The Docker image used to start the container.

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) ImagePullPolicy added in v6.18.2

The image pull policy for the container. Supported values are `Always`, `IfNotPresent`, and `Never`.

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) Name added in v6.18.2

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.

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) Resources added in v6.18.2

The type and amount of resources to assign to a container. The supported resources include `memory`, `cpu`, and `nvidia.com/gpu`.

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) SecurityContext added in v6.18.2

The security context for a job.

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesContainersOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersOutput

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesContainersOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput

func (JobDefinitionEksPropertiesPodPropertiesContainersOutput) VolumeMounts added in v6.18.2

The volume mounts for the container.

type JobDefinitionEksPropertiesPodPropertiesContainersPtrInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersPtrInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesContainersPtrOutput() JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput
	ToJobDefinitionEksPropertiesPodPropertiesContainersPtrOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput
}

JobDefinitionEksPropertiesPodPropertiesContainersPtrInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesContainersArgs, JobDefinitionEksPropertiesPodPropertiesContainersPtr and JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesContainersPtrInput` via:

        JobDefinitionEksPropertiesPodPropertiesContainersArgs{...}

or:

        nil

type JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) Args added in v6.18.2

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.

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) Commands added in v6.18.2

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.

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) Elem added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) Envs added in v6.18.2

The environment variables to pass to a container. See EKS Environment below.

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) Image added in v6.18.2

The Docker image used to start the container.

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) ImagePullPolicy added in v6.18.2

The image pull policy for the container. Supported values are `Always`, `IfNotPresent`, and `Never`.

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) Name added in v6.18.2

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.

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) Resources added in v6.18.2

The type and amount of resources to assign to a container. The supported resources include `memory`, `cpu`, and `nvidia.com/gpu`.

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) SecurityContext added in v6.18.2

The security context for a job.

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput

func (JobDefinitionEksPropertiesPodPropertiesContainersPtrOutput) VolumeMounts added in v6.18.2

The volume mounts for the container.

type JobDefinitionEksPropertiesPodPropertiesContainersResources added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersResources struct {
	Limits   map[string]string `pulumi:"limits"`
	Requests map[string]string `pulumi:"requests"`
}

type JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs struct {
	Limits   pulumi.StringMapInput `pulumi:"limits"`
	Requests pulumi.StringMapInput `pulumi:"requests"`
}

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput

type JobDefinitionEksPropertiesPodPropertiesContainersResourcesInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersResourcesInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput() JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput
	ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput
}

JobDefinitionEksPropertiesPodPropertiesContainersResourcesInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs and JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesContainersResourcesInput` via:

JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs{...}

type JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput) Limits added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput) Requests added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesContainersResourcesOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput

type JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput() JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput
	ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput
}

JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs, JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtr and JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrInput` via:

        JobDefinitionEksPropertiesPodPropertiesContainersResourcesArgs{...}

or:

        nil

type JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput) Elem added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput) Limits added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput) Requests added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersResourcesPtrOutput

type JobDefinitionEksPropertiesPodPropertiesContainersSecurityContext added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersSecurityContext struct {
	Privileged             *bool `pulumi:"privileged"`
	ReadOnlyRootFileSystem *bool `pulumi:"readOnlyRootFileSystem"`
	RunAsGroup             *int  `pulumi:"runAsGroup"`
	RunAsNonRoot           *bool `pulumi:"runAsNonRoot"`
	RunAsUser              *int  `pulumi:"runAsUser"`
}

type JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs struct {
	Privileged             pulumi.BoolPtrInput `pulumi:"privileged"`
	ReadOnlyRootFileSystem pulumi.BoolPtrInput `pulumi:"readOnlyRootFileSystem"`
	RunAsGroup             pulumi.IntPtrInput  `pulumi:"runAsGroup"`
	RunAsNonRoot           pulumi.BoolPtrInput `pulumi:"runAsNonRoot"`
	RunAsUser              pulumi.IntPtrInput  `pulumi:"runAsUser"`
}

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput

type JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput() JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput
	ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput
}

JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs and JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextInput` via:

JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs{...}

type JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput) Privileged added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput) ReadOnlyRootFileSystem added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput) RunAsGroup added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput) RunAsNonRoot added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput) RunAsUser added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput

type JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput() JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput
	ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput
}

JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs, JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtr and JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrInput` via:

        JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextArgs{...}

or:

        nil

type JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput) Elem added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput) Privileged added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput) ReadOnlyRootFileSystem added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput) RunAsGroup added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput) RunAsNonRoot added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput) RunAsUser added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersSecurityContextPtrOutputWithContext added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMount added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMount struct {
	MountPath string `pulumi:"mountPath"`
	// Specifies the name of the job definition.
	Name     string `pulumi:"name"`
	ReadOnly *bool  `pulumi:"readOnly"`
}

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArgs added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArgs struct {
	MountPath pulumi.StringInput `pulumi:"mountPath"`
	// Specifies the name of the job definition.
	Name     pulumi.StringInput  `pulumi:"name"`
	ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"`
}

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArgs) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArgs) ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArray added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArray []JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountInput

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArray) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArray) ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArray) ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArray) ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput() JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput
	ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput
}

JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArray and JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayInput` via:

JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArray{ JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArgs{...} }

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput) Index added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArrayOutput

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput() JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput
	ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput
}

JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArgs and JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountInput` via:

JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountArgs{...}

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput) MountPath added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput) Name added in v6.18.2

Specifies the name of the job definition.

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput) ReadOnly added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput) ToJobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesContainersVolumeMountOutput

type JobDefinitionEksPropertiesPodPropertiesInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesOutput() JobDefinitionEksPropertiesPodPropertiesOutput
	ToJobDefinitionEksPropertiesPodPropertiesOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesOutput
}

JobDefinitionEksPropertiesPodPropertiesInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesArgs and JobDefinitionEksPropertiesPodPropertiesOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesInput` via:

JobDefinitionEksPropertiesPodPropertiesArgs{...}

type JobDefinitionEksPropertiesPodPropertiesMetadata added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesMetadata struct {
	Labels map[string]string `pulumi:"labels"`
}

type JobDefinitionEksPropertiesPodPropertiesMetadataArgs added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesMetadataArgs struct {
	Labels pulumi.StringMapInput `pulumi:"labels"`
}

func (JobDefinitionEksPropertiesPodPropertiesMetadataArgs) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesMetadataArgs) ToJobDefinitionEksPropertiesPodPropertiesMetadataOutput added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesMetadataArgs) ToJobDefinitionEksPropertiesPodPropertiesMetadataOutput() JobDefinitionEksPropertiesPodPropertiesMetadataOutput

func (JobDefinitionEksPropertiesPodPropertiesMetadataArgs) ToJobDefinitionEksPropertiesPodPropertiesMetadataOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesMetadataArgs) ToJobDefinitionEksPropertiesPodPropertiesMetadataOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesMetadataOutput

func (JobDefinitionEksPropertiesPodPropertiesMetadataArgs) ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesMetadataArgs) ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput() JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput

func (JobDefinitionEksPropertiesPodPropertiesMetadataArgs) ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesMetadataArgs) ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput

type JobDefinitionEksPropertiesPodPropertiesMetadataInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesMetadataInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesMetadataOutput() JobDefinitionEksPropertiesPodPropertiesMetadataOutput
	ToJobDefinitionEksPropertiesPodPropertiesMetadataOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesMetadataOutput
}

JobDefinitionEksPropertiesPodPropertiesMetadataInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesMetadataArgs and JobDefinitionEksPropertiesPodPropertiesMetadataOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesMetadataInput` via:

JobDefinitionEksPropertiesPodPropertiesMetadataArgs{...}

type JobDefinitionEksPropertiesPodPropertiesMetadataOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesMetadataOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesMetadataOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesMetadataOutput) Labels added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesMetadataOutput) ToJobDefinitionEksPropertiesPodPropertiesMetadataOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesMetadataOutput) ToJobDefinitionEksPropertiesPodPropertiesMetadataOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesMetadataOutput) ToJobDefinitionEksPropertiesPodPropertiesMetadataOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesMetadataOutput

func (JobDefinitionEksPropertiesPodPropertiesMetadataOutput) ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesMetadataOutput) ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput() JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput

func (JobDefinitionEksPropertiesPodPropertiesMetadataOutput) ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesMetadataOutput) ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput

type JobDefinitionEksPropertiesPodPropertiesMetadataPtrInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesMetadataPtrInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput() JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput
	ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput
}

JobDefinitionEksPropertiesPodPropertiesMetadataPtrInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesMetadataArgs, JobDefinitionEksPropertiesPodPropertiesMetadataPtr and JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesMetadataPtrInput` via:

        JobDefinitionEksPropertiesPodPropertiesMetadataArgs{...}

or:

        nil

type JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput) Elem added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput) Labels added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesMetadataPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesMetadataPtrOutput

type JobDefinitionEksPropertiesPodPropertiesOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesOutput) Containers added in v6.18.2

The properties of the container that's used on the Amazon EKS pod. See containers below.

func (JobDefinitionEksPropertiesPodPropertiesOutput) DnsPolicy added in v6.18.2

The DNS policy for the pod. The default value is `ClusterFirst`. If the `hostNetwork` 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.

func (JobDefinitionEksPropertiesPodPropertiesOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesOutput) HostNetwork added in v6.18.2

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.

func (JobDefinitionEksPropertiesPodPropertiesOutput) Metadata added in v6.18.2

Metadata about the Kubernetes pod.

func (JobDefinitionEksPropertiesPodPropertiesOutput) ServiceAccountName added in v6.18.2

The name of the service account that's used to run the pod.

func (JobDefinitionEksPropertiesPodPropertiesOutput) ToJobDefinitionEksPropertiesPodPropertiesOutput added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesOutput) ToJobDefinitionEksPropertiesPodPropertiesOutput() JobDefinitionEksPropertiesPodPropertiesOutput

func (JobDefinitionEksPropertiesPodPropertiesOutput) ToJobDefinitionEksPropertiesPodPropertiesOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesOutput) ToJobDefinitionEksPropertiesPodPropertiesOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesOutput

func (JobDefinitionEksPropertiesPodPropertiesOutput) ToJobDefinitionEksPropertiesPodPropertiesPtrOutput added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesOutput) ToJobDefinitionEksPropertiesPodPropertiesPtrOutput() JobDefinitionEksPropertiesPodPropertiesPtrOutput

func (JobDefinitionEksPropertiesPodPropertiesOutput) ToJobDefinitionEksPropertiesPodPropertiesPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesOutput) ToJobDefinitionEksPropertiesPodPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesPtrOutput

func (JobDefinitionEksPropertiesPodPropertiesOutput) Volumes added in v6.18.2

Specifies the volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types.

type JobDefinitionEksPropertiesPodPropertiesPtrInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesPtrInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesPtrOutput() JobDefinitionEksPropertiesPodPropertiesPtrOutput
	ToJobDefinitionEksPropertiesPodPropertiesPtrOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesPtrOutput
}

JobDefinitionEksPropertiesPodPropertiesPtrInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesArgs, JobDefinitionEksPropertiesPodPropertiesPtr and JobDefinitionEksPropertiesPodPropertiesPtrOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesPtrInput` via:

        JobDefinitionEksPropertiesPodPropertiesArgs{...}

or:

        nil

type JobDefinitionEksPropertiesPodPropertiesPtrOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesPtrOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesPtrOutput) Containers added in v6.18.2

The properties of the container that's used on the Amazon EKS pod. See containers below.

func (JobDefinitionEksPropertiesPodPropertiesPtrOutput) DnsPolicy added in v6.18.2

The DNS policy for the pod. The default value is `ClusterFirst`. If the `hostNetwork` 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.

func (JobDefinitionEksPropertiesPodPropertiesPtrOutput) Elem added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesPtrOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesPtrOutput) HostNetwork added in v6.18.2

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.

func (JobDefinitionEksPropertiesPodPropertiesPtrOutput) Metadata added in v6.18.2

Metadata about the Kubernetes pod.

func (JobDefinitionEksPropertiesPodPropertiesPtrOutput) ServiceAccountName added in v6.18.2

The name of the service account that's used to run the pod.

func (JobDefinitionEksPropertiesPodPropertiesPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesPtrOutput added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesPtrOutput() JobDefinitionEksPropertiesPodPropertiesPtrOutput

func (JobDefinitionEksPropertiesPodPropertiesPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesPtrOutput

func (JobDefinitionEksPropertiesPodPropertiesPtrOutput) Volumes added in v6.18.2

Specifies the volumes for a job definition that uses Amazon EKS resources. AWS Batch supports emptyDir, hostPath, and secret volume types.

type JobDefinitionEksPropertiesPodPropertiesVolume added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolume struct {
	EmptyDir *JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDir `pulumi:"emptyDir"`
	HostPath *JobDefinitionEksPropertiesPodPropertiesVolumeHostPath `pulumi:"hostPath"`
	// Specifies the name of the job definition.
	Name   *string                                              `pulumi:"name"`
	Secret *JobDefinitionEksPropertiesPodPropertiesVolumeSecret `pulumi:"secret"`
}

type JobDefinitionEksPropertiesPodPropertiesVolumeArgs added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeArgs struct {
	EmptyDir JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrInput `pulumi:"emptyDir"`
	HostPath JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrInput `pulumi:"hostPath"`
	// Specifies the name of the job definition.
	Name   pulumi.StringPtrInput                                       `pulumi:"name"`
	Secret JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrInput `pulumi:"secret"`
}

func (JobDefinitionEksPropertiesPodPropertiesVolumeArgs) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeOutput added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesVolumeArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeOutput() JobDefinitionEksPropertiesPodPropertiesVolumeOutput

func (JobDefinitionEksPropertiesPodPropertiesVolumeArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesVolumeArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeOutput

type JobDefinitionEksPropertiesPodPropertiesVolumeArray added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeArray []JobDefinitionEksPropertiesPodPropertiesVolumeInput

func (JobDefinitionEksPropertiesPodPropertiesVolumeArray) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeArray) ToJobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesVolumeArray) ToJobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput() JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput

func (JobDefinitionEksPropertiesPodPropertiesVolumeArray) ToJobDefinitionEksPropertiesPodPropertiesVolumeArrayOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesVolumeArray) ToJobDefinitionEksPropertiesPodPropertiesVolumeArrayOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput

type JobDefinitionEksPropertiesPodPropertiesVolumeArrayInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeArrayInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput() JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput
	ToJobDefinitionEksPropertiesPodPropertiesVolumeArrayOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput
}

JobDefinitionEksPropertiesPodPropertiesVolumeArrayInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesVolumeArray and JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesVolumeArrayInput` via:

JobDefinitionEksPropertiesPodPropertiesVolumeArray{ JobDefinitionEksPropertiesPodPropertiesVolumeArgs{...} }

type JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput) Index added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeArrayOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeArrayOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeArrayOutput

type JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDir added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDir struct {
	// The medium to store the volume. The default value is an empty string, which uses the storage of the node.
	Medium *string `pulumi:"medium"`
	// The maximum size of the volume. By default, there's no maximum size defined.
	SizeLimit string `pulumi:"sizeLimit"`
}

type JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs struct {
	// The medium to store the volume. The default value is an empty string, which uses the storage of the node.
	Medium pulumi.StringPtrInput `pulumi:"medium"`
	// The maximum size of the volume. By default, there's no maximum size defined.
	SizeLimit pulumi.StringInput `pulumi:"sizeLimit"`
}

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput

type JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput() JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput
	ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput
}

JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs and JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirInput` via:

JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs{...}

type JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput) Medium added in v6.18.2

The medium to store the volume. The default value is an empty string, which uses the storage of the node.

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput) SizeLimit added in v6.18.2

The maximum size of the volume. By default, there's no maximum size defined.

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput

type JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput() JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput
	ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput
}

JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs, JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtr and JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrInput` via:

        JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirArgs{...}

or:

        nil

type JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput) Elem added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput) Medium added in v6.18.2

The medium to store the volume. The default value is an empty string, which uses the storage of the node.

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput) SizeLimit added in v6.18.2

The maximum size of the volume. By default, there's no maximum size defined.

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeEmptyDirPtrOutput

type JobDefinitionEksPropertiesPodPropertiesVolumeHostPath added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeHostPath struct {
	// The path of the file or directory on the host to mount into containers on the pod.
	Path string `pulumi:"path"`
}

type JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs struct {
	// The path of the file or directory on the host to mount into containers on the pod.
	Path pulumi.StringInput `pulumi:"path"`
}

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput

type JobDefinitionEksPropertiesPodPropertiesVolumeHostPathInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeHostPathInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput() JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput
	ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput
}

JobDefinitionEksPropertiesPodPropertiesVolumeHostPathInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs and JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesVolumeHostPathInput` via:

JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs{...}

type JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput) Path added in v6.18.2

The path of the file or directory on the host to mount into containers on the pod.

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesVolumeHostPathOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput

type JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput() JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput
	ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput
}

JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs, JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtr and JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrInput` via:

        JobDefinitionEksPropertiesPodPropertiesVolumeHostPathArgs{...}

or:

        nil

type JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput) Elem added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput) Path added in v6.18.2

The path of the file or directory on the host to mount into containers on the pod.

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeHostPathPtrOutput

type JobDefinitionEksPropertiesPodPropertiesVolumeInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesVolumeOutput() JobDefinitionEksPropertiesPodPropertiesVolumeOutput
	ToJobDefinitionEksPropertiesPodPropertiesVolumeOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeOutput
}

JobDefinitionEksPropertiesPodPropertiesVolumeInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesVolumeArgs and JobDefinitionEksPropertiesPodPropertiesVolumeOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesVolumeInput` via:

JobDefinitionEksPropertiesPodPropertiesVolumeArgs{...}

type JobDefinitionEksPropertiesPodPropertiesVolumeOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesVolumeOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeOutput) EmptyDir added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeOutput) HostPath added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeOutput) Name added in v6.18.2

Specifies the name of the job definition.

func (JobDefinitionEksPropertiesPodPropertiesVolumeOutput) Secret added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeOutput added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesVolumeOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeOutput() JobDefinitionEksPropertiesPodPropertiesVolumeOutput

func (JobDefinitionEksPropertiesPodPropertiesVolumeOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesVolumeOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeOutput

type JobDefinitionEksPropertiesPodPropertiesVolumeSecret added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeSecret struct {
	// Specifies whether the secret or the secret's keys must be defined.
	Optional *bool `pulumi:"optional"`
	// The name of the secret. The name must be allowed as a DNS subdomain name.
	SecretName string `pulumi:"secretName"`
}

type JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs struct {
	// Specifies whether the secret or the secret's keys must be defined.
	Optional pulumi.BoolPtrInput `pulumi:"optional"`
	// The name of the secret. The name must be allowed as a DNS subdomain name.
	SecretName pulumi.StringInput `pulumi:"secretName"`
}

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput() JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutputWithContext added in v6.18.2

func (i JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput

type JobDefinitionEksPropertiesPodPropertiesVolumeSecretInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeSecretInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput() JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput
	ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput
}

JobDefinitionEksPropertiesPodPropertiesVolumeSecretInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs and JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesVolumeSecretInput` via:

JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs{...}

type JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput) Optional added in v6.18.2

Specifies whether the secret or the secret's keys must be defined.

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput) SecretName added in v6.18.2

The name of the secret. The name must be allowed as a DNS subdomain name.

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesVolumeSecretOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput

type JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrInput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput() JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput
	ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutputWithContext(context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput
}

JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrInput is an input type that accepts JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs, JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtr and JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrInput` via:

        JobDefinitionEksPropertiesPodPropertiesVolumeSecretArgs{...}

or:

        nil

type JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput added in v6.18.2

type JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput) Elem added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput) Optional added in v6.18.2

Specifies whether the secret or the secret's keys must be defined.

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput) SecretName added in v6.18.2

The name of the secret. The name must be allowed as a DNS subdomain name.

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput added in v6.18.2

func (JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput) ToJobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPodPropertiesVolumeSecretPtrOutput

type JobDefinitionEksPropertiesPtrInput added in v6.18.2

type JobDefinitionEksPropertiesPtrInput interface {
	pulumi.Input

	ToJobDefinitionEksPropertiesPtrOutput() JobDefinitionEksPropertiesPtrOutput
	ToJobDefinitionEksPropertiesPtrOutputWithContext(context.Context) JobDefinitionEksPropertiesPtrOutput
}

JobDefinitionEksPropertiesPtrInput is an input type that accepts JobDefinitionEksPropertiesArgs, JobDefinitionEksPropertiesPtr and JobDefinitionEksPropertiesPtrOutput values. You can construct a concrete instance of `JobDefinitionEksPropertiesPtrInput` via:

        JobDefinitionEksPropertiesArgs{...}

or:

        nil

func JobDefinitionEksPropertiesPtr added in v6.18.2

type JobDefinitionEksPropertiesPtrOutput added in v6.18.2

type JobDefinitionEksPropertiesPtrOutput struct{ *pulumi.OutputState }

func (JobDefinitionEksPropertiesPtrOutput) Elem added in v6.18.2

func (JobDefinitionEksPropertiesPtrOutput) ElementType added in v6.18.2

func (JobDefinitionEksPropertiesPtrOutput) PodProperties added in v6.18.2

The properties for the Kubernetes pod resources of a job. See `podProperties` below.

func (JobDefinitionEksPropertiesPtrOutput) ToJobDefinitionEksPropertiesPtrOutput added in v6.18.2

func (o JobDefinitionEksPropertiesPtrOutput) ToJobDefinitionEksPropertiesPtrOutput() JobDefinitionEksPropertiesPtrOutput

func (JobDefinitionEksPropertiesPtrOutput) ToJobDefinitionEksPropertiesPtrOutputWithContext added in v6.18.2

func (o JobDefinitionEksPropertiesPtrOutput) ToJobDefinitionEksPropertiesPtrOutputWithContext(ctx context.Context) JobDefinitionEksPropertiesPtrOutput

type JobDefinitionInput

type JobDefinitionInput interface {
	pulumi.Input

	ToJobDefinitionOutput() JobDefinitionOutput
	ToJobDefinitionOutputWithContext(ctx context.Context) JobDefinitionOutput
}

type JobDefinitionMap

type JobDefinitionMap map[string]JobDefinitionInput

func (JobDefinitionMap) ElementType

func (JobDefinitionMap) ElementType() reflect.Type

func (JobDefinitionMap) ToJobDefinitionMapOutput

func (i JobDefinitionMap) ToJobDefinitionMapOutput() JobDefinitionMapOutput

func (JobDefinitionMap) ToJobDefinitionMapOutputWithContext

func (i JobDefinitionMap) ToJobDefinitionMapOutputWithContext(ctx context.Context) JobDefinitionMapOutput

type JobDefinitionMapInput

type JobDefinitionMapInput interface {
	pulumi.Input

	ToJobDefinitionMapOutput() JobDefinitionMapOutput
	ToJobDefinitionMapOutputWithContext(context.Context) JobDefinitionMapOutput
}

JobDefinitionMapInput is an input type that accepts JobDefinitionMap and JobDefinitionMapOutput values. You can construct a concrete instance of `JobDefinitionMapInput` via:

JobDefinitionMap{ "key": JobDefinitionArgs{...} }

type JobDefinitionMapOutput

type JobDefinitionMapOutput struct{ *pulumi.OutputState }

func (JobDefinitionMapOutput) ElementType

func (JobDefinitionMapOutput) ElementType() reflect.Type

func (JobDefinitionMapOutput) MapIndex

func (JobDefinitionMapOutput) ToJobDefinitionMapOutput

func (o JobDefinitionMapOutput) ToJobDefinitionMapOutput() JobDefinitionMapOutput

func (JobDefinitionMapOutput) ToJobDefinitionMapOutputWithContext

func (o JobDefinitionMapOutput) ToJobDefinitionMapOutputWithContext(ctx context.Context) JobDefinitionMapOutput

type JobDefinitionOutput

type JobDefinitionOutput struct{ *pulumi.OutputState }

func (JobDefinitionOutput) Arn

The Amazon Resource Name of the job definition, includes revision (`:#`).

func (JobDefinitionOutput) ArnPrefix added in v6.18.2

func (o JobDefinitionOutput) ArnPrefix() pulumi.StringOutput

The ARN without the revision number.

func (JobDefinitionOutput) ContainerProperties

func (o JobDefinitionOutput) ContainerProperties() pulumi.StringPtrOutput

A valid [container properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html) provided as a single valid JSON document. This parameter is only valid if the `type` parameter is `container`.

func (JobDefinitionOutput) DeregisterOnNewRevision added in v6.30.0

func (o JobDefinitionOutput) DeregisterOnNewRevision() pulumi.BoolPtrOutput

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

func (JobDefinitionOutput) EksProperties added in v6.18.2

A valid eks properties. This parameter is only valid if the `type` parameter is `container`.

func (JobDefinitionOutput) ElementType

func (JobDefinitionOutput) ElementType() reflect.Type

func (JobDefinitionOutput) Name

Specifies the name of the job definition.

func (JobDefinitionOutput) NodeProperties added in v6.8.0

func (o JobDefinitionOutput) NodeProperties() pulumi.StringPtrOutput

A valid [node properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html) provided as a single valid JSON document. This parameter is required if the `type` parameter is `multinode`.

func (JobDefinitionOutput) Parameters

Specifies the parameter substitution placeholders to set in the job definition.

func (JobDefinitionOutput) PlatformCapabilities

func (o JobDefinitionOutput) PlatformCapabilities() pulumi.StringArrayOutput

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

func (JobDefinitionOutput) PropagateTags

func (o JobDefinitionOutput) PropagateTags() pulumi.BoolPtrOutput

Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is `false`.

func (JobDefinitionOutput) RetryStrategy

Specifies the retry strategy to use for failed jobs that are submitted with this job definition. Maximum number of `retryStrategy` is `1`. Defined below.

func (JobDefinitionOutput) Revision

func (o JobDefinitionOutput) Revision() pulumi.IntOutput

The revision of the job definition.

func (JobDefinitionOutput) SchedulingPriority added in v6.18.2

func (o JobDefinitionOutput) SchedulingPriority() pulumi.IntPtrOutput

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

func (JobDefinitionOutput) Tags

Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (JobDefinitionOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (JobDefinitionOutput) Timeout

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.

func (JobDefinitionOutput) ToJobDefinitionOutput

func (o JobDefinitionOutput) ToJobDefinitionOutput() JobDefinitionOutput

func (JobDefinitionOutput) ToJobDefinitionOutputWithContext

func (o JobDefinitionOutput) ToJobDefinitionOutputWithContext(ctx context.Context) JobDefinitionOutput

func (JobDefinitionOutput) Type

The type of job definition. Must be `container` or `multinode`.

The following arguments are optional:

type JobDefinitionRetryStrategy

type JobDefinitionRetryStrategy struct {
	// The number of times to move a job to the `RUNNABLE` status. You may specify between `1` and `10` attempts.
	Attempts *int `pulumi:"attempts"`
	// 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.
	EvaluateOnExits []JobDefinitionRetryStrategyEvaluateOnExit `pulumi:"evaluateOnExits"`
}

type JobDefinitionRetryStrategyArgs

type JobDefinitionRetryStrategyArgs struct {
	// The number of times to move a job to the `RUNNABLE` status. You may specify between `1` and `10` attempts.
	Attempts pulumi.IntPtrInput `pulumi:"attempts"`
	// 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.
	EvaluateOnExits JobDefinitionRetryStrategyEvaluateOnExitArrayInput `pulumi:"evaluateOnExits"`
}

func (JobDefinitionRetryStrategyArgs) ElementType

func (JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyOutput

func (i JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyOutput() JobDefinitionRetryStrategyOutput

func (JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyOutputWithContext

func (i JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyOutput

func (JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyPtrOutput

func (i JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput

func (JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyPtrOutputWithContext

func (i JobDefinitionRetryStrategyArgs) ToJobDefinitionRetryStrategyPtrOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyPtrOutput

type JobDefinitionRetryStrategyEvaluateOnExit

type JobDefinitionRetryStrategyEvaluateOnExit 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 `pulumi:"action"`
	// A glob pattern to match against the decimal representation of the exit code returned for a job.
	OnExitCode *string `pulumi:"onExitCode"`
	// A glob pattern to match against the reason returned for a job.
	OnReason *string `pulumi:"onReason"`
	// A glob pattern to match against the status reason returned for a job.
	OnStatusReason *string `pulumi:"onStatusReason"`
}

type JobDefinitionRetryStrategyEvaluateOnExitArgs

type JobDefinitionRetryStrategyEvaluateOnExitArgs 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 pulumi.StringInput `pulumi:"action"`
	// A glob pattern to match against the decimal representation of the exit code returned for a job.
	OnExitCode pulumi.StringPtrInput `pulumi:"onExitCode"`
	// A glob pattern to match against the reason returned for a job.
	OnReason pulumi.StringPtrInput `pulumi:"onReason"`
	// A glob pattern to match against the status reason returned for a job.
	OnStatusReason pulumi.StringPtrInput `pulumi:"onStatusReason"`
}

func (JobDefinitionRetryStrategyEvaluateOnExitArgs) ElementType

func (JobDefinitionRetryStrategyEvaluateOnExitArgs) ToJobDefinitionRetryStrategyEvaluateOnExitOutput

func (i JobDefinitionRetryStrategyEvaluateOnExitArgs) ToJobDefinitionRetryStrategyEvaluateOnExitOutput() JobDefinitionRetryStrategyEvaluateOnExitOutput

func (JobDefinitionRetryStrategyEvaluateOnExitArgs) ToJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext

func (i JobDefinitionRetryStrategyEvaluateOnExitArgs) ToJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyEvaluateOnExitOutput

type JobDefinitionRetryStrategyEvaluateOnExitArray

type JobDefinitionRetryStrategyEvaluateOnExitArray []JobDefinitionRetryStrategyEvaluateOnExitInput

func (JobDefinitionRetryStrategyEvaluateOnExitArray) ElementType

func (JobDefinitionRetryStrategyEvaluateOnExitArray) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutput

func (i JobDefinitionRetryStrategyEvaluateOnExitArray) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutput() JobDefinitionRetryStrategyEvaluateOnExitArrayOutput

func (JobDefinitionRetryStrategyEvaluateOnExitArray) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext

func (i JobDefinitionRetryStrategyEvaluateOnExitArray) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyEvaluateOnExitArrayOutput

type JobDefinitionRetryStrategyEvaluateOnExitArrayInput

type JobDefinitionRetryStrategyEvaluateOnExitArrayInput interface {
	pulumi.Input

	ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutput() JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
	ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext(context.Context) JobDefinitionRetryStrategyEvaluateOnExitArrayOutput
}

JobDefinitionRetryStrategyEvaluateOnExitArrayInput is an input type that accepts JobDefinitionRetryStrategyEvaluateOnExitArray and JobDefinitionRetryStrategyEvaluateOnExitArrayOutput values. You can construct a concrete instance of `JobDefinitionRetryStrategyEvaluateOnExitArrayInput` via:

JobDefinitionRetryStrategyEvaluateOnExitArray{ JobDefinitionRetryStrategyEvaluateOnExitArgs{...} }

type JobDefinitionRetryStrategyEvaluateOnExitArrayOutput

type JobDefinitionRetryStrategyEvaluateOnExitArrayOutput struct{ *pulumi.OutputState }

func (JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ElementType

func (JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) Index

func (JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutput

func (o JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutput() JobDefinitionRetryStrategyEvaluateOnExitArrayOutput

func (JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext

func (o JobDefinitionRetryStrategyEvaluateOnExitArrayOutput) ToJobDefinitionRetryStrategyEvaluateOnExitArrayOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyEvaluateOnExitArrayOutput

type JobDefinitionRetryStrategyEvaluateOnExitInput

type JobDefinitionRetryStrategyEvaluateOnExitInput interface {
	pulumi.Input

	ToJobDefinitionRetryStrategyEvaluateOnExitOutput() JobDefinitionRetryStrategyEvaluateOnExitOutput
	ToJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext(context.Context) JobDefinitionRetryStrategyEvaluateOnExitOutput
}

JobDefinitionRetryStrategyEvaluateOnExitInput is an input type that accepts JobDefinitionRetryStrategyEvaluateOnExitArgs and JobDefinitionRetryStrategyEvaluateOnExitOutput values. You can construct a concrete instance of `JobDefinitionRetryStrategyEvaluateOnExitInput` via:

JobDefinitionRetryStrategyEvaluateOnExitArgs{...}

type JobDefinitionRetryStrategyEvaluateOnExitOutput

type JobDefinitionRetryStrategyEvaluateOnExitOutput struct{ *pulumi.OutputState }

func (JobDefinitionRetryStrategyEvaluateOnExitOutput) Action

Specifies the action to take if all of the specified conditions are met. The values are not case sensitive. Valid values: `RETRY`, `EXIT`.

func (JobDefinitionRetryStrategyEvaluateOnExitOutput) ElementType

func (JobDefinitionRetryStrategyEvaluateOnExitOutput) OnExitCode

A glob pattern to match against the decimal representation of the exit code returned for a job.

func (JobDefinitionRetryStrategyEvaluateOnExitOutput) OnReason

A glob pattern to match against the reason returned for a job.

func (JobDefinitionRetryStrategyEvaluateOnExitOutput) OnStatusReason

A glob pattern to match against the status reason returned for a job.

func (JobDefinitionRetryStrategyEvaluateOnExitOutput) ToJobDefinitionRetryStrategyEvaluateOnExitOutput

func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) ToJobDefinitionRetryStrategyEvaluateOnExitOutput() JobDefinitionRetryStrategyEvaluateOnExitOutput

func (JobDefinitionRetryStrategyEvaluateOnExitOutput) ToJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext

func (o JobDefinitionRetryStrategyEvaluateOnExitOutput) ToJobDefinitionRetryStrategyEvaluateOnExitOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyEvaluateOnExitOutput

type JobDefinitionRetryStrategyInput

type JobDefinitionRetryStrategyInput interface {
	pulumi.Input

	ToJobDefinitionRetryStrategyOutput() JobDefinitionRetryStrategyOutput
	ToJobDefinitionRetryStrategyOutputWithContext(context.Context) JobDefinitionRetryStrategyOutput
}

JobDefinitionRetryStrategyInput is an input type that accepts JobDefinitionRetryStrategyArgs and JobDefinitionRetryStrategyOutput values. You can construct a concrete instance of `JobDefinitionRetryStrategyInput` via:

JobDefinitionRetryStrategyArgs{...}

type JobDefinitionRetryStrategyOutput

type JobDefinitionRetryStrategyOutput struct{ *pulumi.OutputState }

func (JobDefinitionRetryStrategyOutput) Attempts

The number of times to move a job to the `RUNNABLE` status. You may specify between `1` and `10` attempts.

func (JobDefinitionRetryStrategyOutput) ElementType

func (JobDefinitionRetryStrategyOutput) EvaluateOnExits

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.

func (JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyOutput

func (o JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyOutput() JobDefinitionRetryStrategyOutput

func (JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyOutputWithContext

func (o JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyOutput

func (JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyPtrOutput

func (o JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput

func (JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext

func (o JobDefinitionRetryStrategyOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyPtrOutput

type JobDefinitionRetryStrategyPtrInput

type JobDefinitionRetryStrategyPtrInput interface {
	pulumi.Input

	ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput
	ToJobDefinitionRetryStrategyPtrOutputWithContext(context.Context) JobDefinitionRetryStrategyPtrOutput
}

JobDefinitionRetryStrategyPtrInput is an input type that accepts JobDefinitionRetryStrategyArgs, JobDefinitionRetryStrategyPtr and JobDefinitionRetryStrategyPtrOutput values. You can construct a concrete instance of `JobDefinitionRetryStrategyPtrInput` via:

        JobDefinitionRetryStrategyArgs{...}

or:

        nil

type JobDefinitionRetryStrategyPtrOutput

type JobDefinitionRetryStrategyPtrOutput struct{ *pulumi.OutputState }

func (JobDefinitionRetryStrategyPtrOutput) Attempts

The number of times to move a job to the `RUNNABLE` status. You may specify between `1` and `10` attempts.

func (JobDefinitionRetryStrategyPtrOutput) Elem

func (JobDefinitionRetryStrategyPtrOutput) ElementType

func (JobDefinitionRetryStrategyPtrOutput) EvaluateOnExits

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.

func (JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutput

func (o JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutput() JobDefinitionRetryStrategyPtrOutput

func (JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext

func (o JobDefinitionRetryStrategyPtrOutput) ToJobDefinitionRetryStrategyPtrOutputWithContext(ctx context.Context) JobDefinitionRetryStrategyPtrOutput

type JobDefinitionState

type JobDefinitionState struct {
	// The Amazon Resource Name of the job definition, includes revision (`:#`).
	Arn pulumi.StringPtrInput
	// The ARN without the revision number.
	ArnPrefix pulumi.StringPtrInput
	// A valid [container properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html)
	// provided as a single valid JSON document. This parameter is only valid if the `type` parameter is `container`.
	ContainerProperties pulumi.StringPtrInput
	// 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 pulumi.BoolPtrInput
	// A valid eks properties. This parameter is only valid if the `type` parameter is `container`.
	EksProperties JobDefinitionEksPropertiesPtrInput
	// Specifies the name of the job definition.
	Name pulumi.StringPtrInput
	// A valid [node properties](http://docs.aws.amazon.com/batch/latest/APIReference/API_RegisterJobDefinition.html)
	// provided as a single valid JSON document. This parameter is required if the `type` parameter is `multinode`.
	NodeProperties pulumi.StringPtrInput
	// Specifies the parameter substitution placeholders to set in the job definition.
	Parameters pulumi.StringMapInput
	// 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`.
	PlatformCapabilities pulumi.StringArrayInput
	// Specifies whether to propagate the tags from the job definition to the corresponding Amazon ECS task. Default is `false`.
	PropagateTags pulumi.BoolPtrInput
	// Specifies the retry strategy to use for failed jobs that are submitted with this job definition.
	// Maximum number of `retryStrategy` is `1`.  Defined below.
	RetryStrategy JobDefinitionRetryStrategyPtrInput
	// The revision of the job definition.
	Revision pulumi.IntPtrInput
	// 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 pulumi.IntPtrInput
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// 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 JobDefinitionTimeoutPtrInput
	// The type of job definition. Must be `container` or `multinode`.
	//
	// The following arguments are optional:
	Type pulumi.StringPtrInput
}

func (JobDefinitionState) ElementType

func (JobDefinitionState) ElementType() reflect.Type

type JobDefinitionTimeout

type JobDefinitionTimeout 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 *int `pulumi:"attemptDurationSeconds"`
}

type JobDefinitionTimeoutArgs

type JobDefinitionTimeoutArgs 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 pulumi.IntPtrInput `pulumi:"attemptDurationSeconds"`
}

func (JobDefinitionTimeoutArgs) ElementType

func (JobDefinitionTimeoutArgs) ElementType() reflect.Type

func (JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutOutput

func (i JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutOutput() JobDefinitionTimeoutOutput

func (JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutOutputWithContext

func (i JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutOutputWithContext(ctx context.Context) JobDefinitionTimeoutOutput

func (JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutPtrOutput

func (i JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutPtrOutput() JobDefinitionTimeoutPtrOutput

func (JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutPtrOutputWithContext

func (i JobDefinitionTimeoutArgs) ToJobDefinitionTimeoutPtrOutputWithContext(ctx context.Context) JobDefinitionTimeoutPtrOutput

type JobDefinitionTimeoutInput

type JobDefinitionTimeoutInput interface {
	pulumi.Input

	ToJobDefinitionTimeoutOutput() JobDefinitionTimeoutOutput
	ToJobDefinitionTimeoutOutputWithContext(context.Context) JobDefinitionTimeoutOutput
}

JobDefinitionTimeoutInput is an input type that accepts JobDefinitionTimeoutArgs and JobDefinitionTimeoutOutput values. You can construct a concrete instance of `JobDefinitionTimeoutInput` via:

JobDefinitionTimeoutArgs{...}

type JobDefinitionTimeoutOutput

type JobDefinitionTimeoutOutput struct{ *pulumi.OutputState }

func (JobDefinitionTimeoutOutput) AttemptDurationSeconds

func (o JobDefinitionTimeoutOutput) AttemptDurationSeconds() pulumi.IntPtrOutput

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.

func (JobDefinitionTimeoutOutput) ElementType

func (JobDefinitionTimeoutOutput) ElementType() reflect.Type

func (JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutOutput

func (o JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutOutput() JobDefinitionTimeoutOutput

func (JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutOutputWithContext

func (o JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutOutputWithContext(ctx context.Context) JobDefinitionTimeoutOutput

func (JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutPtrOutput

func (o JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutPtrOutput() JobDefinitionTimeoutPtrOutput

func (JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutPtrOutputWithContext

func (o JobDefinitionTimeoutOutput) ToJobDefinitionTimeoutPtrOutputWithContext(ctx context.Context) JobDefinitionTimeoutPtrOutput

type JobDefinitionTimeoutPtrInput

type JobDefinitionTimeoutPtrInput interface {
	pulumi.Input

	ToJobDefinitionTimeoutPtrOutput() JobDefinitionTimeoutPtrOutput
	ToJobDefinitionTimeoutPtrOutputWithContext(context.Context) JobDefinitionTimeoutPtrOutput
}

JobDefinitionTimeoutPtrInput is an input type that accepts JobDefinitionTimeoutArgs, JobDefinitionTimeoutPtr and JobDefinitionTimeoutPtrOutput values. You can construct a concrete instance of `JobDefinitionTimeoutPtrInput` via:

        JobDefinitionTimeoutArgs{...}

or:

        nil

type JobDefinitionTimeoutPtrOutput

type JobDefinitionTimeoutPtrOutput struct{ *pulumi.OutputState }

func (JobDefinitionTimeoutPtrOutput) AttemptDurationSeconds

func (o JobDefinitionTimeoutPtrOutput) AttemptDurationSeconds() pulumi.IntPtrOutput

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.

func (JobDefinitionTimeoutPtrOutput) Elem

func (JobDefinitionTimeoutPtrOutput) ElementType

func (JobDefinitionTimeoutPtrOutput) ToJobDefinitionTimeoutPtrOutput

func (o JobDefinitionTimeoutPtrOutput) ToJobDefinitionTimeoutPtrOutput() JobDefinitionTimeoutPtrOutput

func (JobDefinitionTimeoutPtrOutput) ToJobDefinitionTimeoutPtrOutputWithContext

func (o JobDefinitionTimeoutPtrOutput) ToJobDefinitionTimeoutPtrOutputWithContext(ctx context.Context) JobDefinitionTimeoutPtrOutput

type JobQueue

type JobQueue struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name of the job queue.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// 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.
	ComputeEnvironmentOrders JobQueueComputeEnvironmentOrderArrayOutput `pulumi:"computeEnvironmentOrders"`
	// (Optional) This parameter is deprecated, please use `computeEnvironmentOrder` 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 `computeEnvironments` will always be used over `computeEnvironmentOrder`. Please adjust your HCL accordingly.
	//
	// Deprecated: This parameter will be replaced by `computeEnvironmentsOrder`.
	ComputeEnvironments pulumi.StringArrayOutput `pulumi:"computeEnvironments"`
	// Specifies the name of the job queue.
	Name pulumi.StringOutput `pulumi:"name"`
	// The priority of the job queue. Job queues with a higher priority
	// are evaluated first when associated with the same compute environment.
	Priority pulumi.IntOutput `pulumi:"priority"`
	// 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 pulumi.StringPtrOutput `pulumi:"schedulingPolicyArn"`
	// The state of the job queue. Must be one of: `ENABLED` or `DISABLED`
	State pulumi.StringOutput `pulumi:"state"`
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll  pulumi.StringMapOutput    `pulumi:"tagsAll"`
	Timeouts JobQueueTimeoutsPtrOutput `pulumi:"timeouts"`
}

Provides a Batch Job Queue resource.

## Example Usage

### Basic Job Queue

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewJobQueue(ctx, "test_queue", &batch.JobQueueArgs{
			Name:     pulumi.String("tf-test-batch-job-queue"),
			State:    pulumi.String("ENABLED"),
			Priority: pulumi.Int(1),
			ComputeEnvironmentOrders: batch.JobQueueComputeEnvironmentOrderArray{
				&batch.JobQueueComputeEnvironmentOrderArgs{
					Order:              pulumi.Int(1),
					ComputeEnvironment: pulumi.Any(testEnvironment1.Arn),
				},
				&batch.JobQueueComputeEnvironmentOrderArgs{
					Order:              pulumi.Int(2),
					ComputeEnvironment: pulumi.Any(testEnvironment2.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Job Queue with a fair share scheduling policy

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := batch.NewSchedulingPolicy(ctx, "example", &batch.SchedulingPolicyArgs{
			Name: pulumi.String("example"),
			FairSharePolicy: &batch.SchedulingPolicyFairSharePolicyArgs{
				ComputeReservation: pulumi.Int(1),
				ShareDecaySeconds:  pulumi.Int(3600),
				ShareDistributions: batch.SchedulingPolicyFairSharePolicyShareDistributionArray{
					&batch.SchedulingPolicyFairSharePolicyShareDistributionArgs{
						ShareIdentifier: pulumi.String("A1*"),
						WeightFactor:    pulumi.Float64(0.1),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = batch.NewJobQueue(ctx, "example", &batch.JobQueueArgs{
			Name:                pulumi.String("tf-test-batch-job-queue"),
			SchedulingPolicyArn: example.Arn,
			State:               pulumi.String("ENABLED"),
			Priority:            pulumi.Int(1),
			ComputeEnvironmentOrders: batch.JobQueueComputeEnvironmentOrderArray{
				&batch.JobQueueComputeEnvironmentOrderArgs{
					Order:              pulumi.Int(1),
					ComputeEnvironment: pulumi.Any(testEnvironment1.Arn),
				},
				&batch.JobQueueComputeEnvironmentOrderArgs{
					Order:              pulumi.Int(2),
					ComputeEnvironment: pulumi.Any(testEnvironment2.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import Batch Job Queue using the `arn`. For example:

```sh $ pulumi import aws:batch/jobQueue:JobQueue test_queue arn:aws:batch:us-east-1:123456789012:job-queue/sample ```

func GetJobQueue

func GetJobQueue(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *JobQueueState, opts ...pulumi.ResourceOption) (*JobQueue, error)

GetJobQueue gets an existing JobQueue resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewJobQueue

func NewJobQueue(ctx *pulumi.Context,
	name string, args *JobQueueArgs, opts ...pulumi.ResourceOption) (*JobQueue, error)

NewJobQueue registers a new resource with the given unique name, arguments, and options.

func (*JobQueue) ElementType

func (*JobQueue) ElementType() reflect.Type

func (*JobQueue) ToJobQueueOutput

func (i *JobQueue) ToJobQueueOutput() JobQueueOutput

func (*JobQueue) ToJobQueueOutputWithContext

func (i *JobQueue) ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput

type JobQueueArgs

type JobQueueArgs 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.
	ComputeEnvironmentOrders JobQueueComputeEnvironmentOrderArrayInput
	// (Optional) This parameter is deprecated, please use `computeEnvironmentOrder` 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 `computeEnvironments` will always be used over `computeEnvironmentOrder`. Please adjust your HCL accordingly.
	//
	// Deprecated: This parameter will be replaced by `computeEnvironmentsOrder`.
	ComputeEnvironments pulumi.StringArrayInput
	// Specifies the name of the job queue.
	Name pulumi.StringPtrInput
	// The priority of the job queue. Job queues with a higher priority
	// are evaluated first when associated with the same compute environment.
	Priority pulumi.IntInput
	// 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 pulumi.StringPtrInput
	// The state of the job queue. Must be one of: `ENABLED` or `DISABLED`
	State pulumi.StringInput
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags     pulumi.StringMapInput
	Timeouts JobQueueTimeoutsPtrInput
}

The set of arguments for constructing a JobQueue resource.

func (JobQueueArgs) ElementType

func (JobQueueArgs) ElementType() reflect.Type

type JobQueueArray

type JobQueueArray []JobQueueInput

func (JobQueueArray) ElementType

func (JobQueueArray) ElementType() reflect.Type

func (JobQueueArray) ToJobQueueArrayOutput

func (i JobQueueArray) ToJobQueueArrayOutput() JobQueueArrayOutput

func (JobQueueArray) ToJobQueueArrayOutputWithContext

func (i JobQueueArray) ToJobQueueArrayOutputWithContext(ctx context.Context) JobQueueArrayOutput

type JobQueueArrayInput

type JobQueueArrayInput interface {
	pulumi.Input

	ToJobQueueArrayOutput() JobQueueArrayOutput
	ToJobQueueArrayOutputWithContext(context.Context) JobQueueArrayOutput
}

JobQueueArrayInput is an input type that accepts JobQueueArray and JobQueueArrayOutput values. You can construct a concrete instance of `JobQueueArrayInput` via:

JobQueueArray{ JobQueueArgs{...} }

type JobQueueArrayOutput

type JobQueueArrayOutput struct{ *pulumi.OutputState }

func (JobQueueArrayOutput) ElementType

func (JobQueueArrayOutput) ElementType() reflect.Type

func (JobQueueArrayOutput) Index

func (JobQueueArrayOutput) ToJobQueueArrayOutput

func (o JobQueueArrayOutput) ToJobQueueArrayOutput() JobQueueArrayOutput

func (JobQueueArrayOutput) ToJobQueueArrayOutputWithContext

func (o JobQueueArrayOutput) ToJobQueueArrayOutputWithContext(ctx context.Context) JobQueueArrayOutput

type JobQueueComputeEnvironmentOrder added in v6.27.0

type JobQueueComputeEnvironmentOrder struct {
	// The Amazon Resource Name (ARN) of the compute environment.
	ComputeEnvironment string `pulumi:"computeEnvironment"`
	// 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 int `pulumi:"order"`
}

type JobQueueComputeEnvironmentOrderArgs added in v6.27.0

type JobQueueComputeEnvironmentOrderArgs struct {
	// The Amazon Resource Name (ARN) of the compute environment.
	ComputeEnvironment pulumi.StringInput `pulumi:"computeEnvironment"`
	// 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 pulumi.IntInput `pulumi:"order"`
}

func (JobQueueComputeEnvironmentOrderArgs) ElementType added in v6.27.0

func (JobQueueComputeEnvironmentOrderArgs) ToJobQueueComputeEnvironmentOrderOutput added in v6.27.0

func (i JobQueueComputeEnvironmentOrderArgs) ToJobQueueComputeEnvironmentOrderOutput() JobQueueComputeEnvironmentOrderOutput

func (JobQueueComputeEnvironmentOrderArgs) ToJobQueueComputeEnvironmentOrderOutputWithContext added in v6.27.0

func (i JobQueueComputeEnvironmentOrderArgs) ToJobQueueComputeEnvironmentOrderOutputWithContext(ctx context.Context) JobQueueComputeEnvironmentOrderOutput

type JobQueueComputeEnvironmentOrderArray added in v6.27.0

type JobQueueComputeEnvironmentOrderArray []JobQueueComputeEnvironmentOrderInput

func (JobQueueComputeEnvironmentOrderArray) ElementType added in v6.27.0

func (JobQueueComputeEnvironmentOrderArray) ToJobQueueComputeEnvironmentOrderArrayOutput added in v6.27.0

func (i JobQueueComputeEnvironmentOrderArray) ToJobQueueComputeEnvironmentOrderArrayOutput() JobQueueComputeEnvironmentOrderArrayOutput

func (JobQueueComputeEnvironmentOrderArray) ToJobQueueComputeEnvironmentOrderArrayOutputWithContext added in v6.27.0

func (i JobQueueComputeEnvironmentOrderArray) ToJobQueueComputeEnvironmentOrderArrayOutputWithContext(ctx context.Context) JobQueueComputeEnvironmentOrderArrayOutput

type JobQueueComputeEnvironmentOrderArrayInput added in v6.27.0

type JobQueueComputeEnvironmentOrderArrayInput interface {
	pulumi.Input

	ToJobQueueComputeEnvironmentOrderArrayOutput() JobQueueComputeEnvironmentOrderArrayOutput
	ToJobQueueComputeEnvironmentOrderArrayOutputWithContext(context.Context) JobQueueComputeEnvironmentOrderArrayOutput
}

JobQueueComputeEnvironmentOrderArrayInput is an input type that accepts JobQueueComputeEnvironmentOrderArray and JobQueueComputeEnvironmentOrderArrayOutput values. You can construct a concrete instance of `JobQueueComputeEnvironmentOrderArrayInput` via:

JobQueueComputeEnvironmentOrderArray{ JobQueueComputeEnvironmentOrderArgs{...} }

type JobQueueComputeEnvironmentOrderArrayOutput added in v6.27.0

type JobQueueComputeEnvironmentOrderArrayOutput struct{ *pulumi.OutputState }

func (JobQueueComputeEnvironmentOrderArrayOutput) ElementType added in v6.27.0

func (JobQueueComputeEnvironmentOrderArrayOutput) Index added in v6.27.0

func (JobQueueComputeEnvironmentOrderArrayOutput) ToJobQueueComputeEnvironmentOrderArrayOutput added in v6.27.0

func (o JobQueueComputeEnvironmentOrderArrayOutput) ToJobQueueComputeEnvironmentOrderArrayOutput() JobQueueComputeEnvironmentOrderArrayOutput

func (JobQueueComputeEnvironmentOrderArrayOutput) ToJobQueueComputeEnvironmentOrderArrayOutputWithContext added in v6.27.0

func (o JobQueueComputeEnvironmentOrderArrayOutput) ToJobQueueComputeEnvironmentOrderArrayOutputWithContext(ctx context.Context) JobQueueComputeEnvironmentOrderArrayOutput

type JobQueueComputeEnvironmentOrderInput added in v6.27.0

type JobQueueComputeEnvironmentOrderInput interface {
	pulumi.Input

	ToJobQueueComputeEnvironmentOrderOutput() JobQueueComputeEnvironmentOrderOutput
	ToJobQueueComputeEnvironmentOrderOutputWithContext(context.Context) JobQueueComputeEnvironmentOrderOutput
}

JobQueueComputeEnvironmentOrderInput is an input type that accepts JobQueueComputeEnvironmentOrderArgs and JobQueueComputeEnvironmentOrderOutput values. You can construct a concrete instance of `JobQueueComputeEnvironmentOrderInput` via:

JobQueueComputeEnvironmentOrderArgs{...}

type JobQueueComputeEnvironmentOrderOutput added in v6.27.0

type JobQueueComputeEnvironmentOrderOutput struct{ *pulumi.OutputState }

func (JobQueueComputeEnvironmentOrderOutput) ComputeEnvironment added in v6.27.0

The Amazon Resource Name (ARN) of the compute environment.

func (JobQueueComputeEnvironmentOrderOutput) ElementType added in v6.27.0

func (JobQueueComputeEnvironmentOrderOutput) Order added in v6.27.0

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.

func (JobQueueComputeEnvironmentOrderOutput) ToJobQueueComputeEnvironmentOrderOutput added in v6.27.0

func (o JobQueueComputeEnvironmentOrderOutput) ToJobQueueComputeEnvironmentOrderOutput() JobQueueComputeEnvironmentOrderOutput

func (JobQueueComputeEnvironmentOrderOutput) ToJobQueueComputeEnvironmentOrderOutputWithContext added in v6.27.0

func (o JobQueueComputeEnvironmentOrderOutput) ToJobQueueComputeEnvironmentOrderOutputWithContext(ctx context.Context) JobQueueComputeEnvironmentOrderOutput

type JobQueueInput

type JobQueueInput interface {
	pulumi.Input

	ToJobQueueOutput() JobQueueOutput
	ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput
}

type JobQueueMap

type JobQueueMap map[string]JobQueueInput

func (JobQueueMap) ElementType

func (JobQueueMap) ElementType() reflect.Type

func (JobQueueMap) ToJobQueueMapOutput

func (i JobQueueMap) ToJobQueueMapOutput() JobQueueMapOutput

func (JobQueueMap) ToJobQueueMapOutputWithContext

func (i JobQueueMap) ToJobQueueMapOutputWithContext(ctx context.Context) JobQueueMapOutput

type JobQueueMapInput

type JobQueueMapInput interface {
	pulumi.Input

	ToJobQueueMapOutput() JobQueueMapOutput
	ToJobQueueMapOutputWithContext(context.Context) JobQueueMapOutput
}

JobQueueMapInput is an input type that accepts JobQueueMap and JobQueueMapOutput values. You can construct a concrete instance of `JobQueueMapInput` via:

JobQueueMap{ "key": JobQueueArgs{...} }

type JobQueueMapOutput

type JobQueueMapOutput struct{ *pulumi.OutputState }

func (JobQueueMapOutput) ElementType

func (JobQueueMapOutput) ElementType() reflect.Type

func (JobQueueMapOutput) MapIndex

func (JobQueueMapOutput) ToJobQueueMapOutput

func (o JobQueueMapOutput) ToJobQueueMapOutput() JobQueueMapOutput

func (JobQueueMapOutput) ToJobQueueMapOutputWithContext

func (o JobQueueMapOutput) ToJobQueueMapOutputWithContext(ctx context.Context) JobQueueMapOutput

type JobQueueOutput

type JobQueueOutput struct{ *pulumi.OutputState }

func (JobQueueOutput) Arn

The Amazon Resource Name of the job queue.

func (JobQueueOutput) ComputeEnvironmentOrders added in v6.27.0

func (o JobQueueOutput) ComputeEnvironmentOrders() JobQueueComputeEnvironmentOrderArrayOutput

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.

func (JobQueueOutput) ComputeEnvironments deprecated

func (o JobQueueOutput) ComputeEnvironments() pulumi.StringArrayOutput

(Optional) This parameter is deprecated, please use `computeEnvironmentOrder` 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 `computeEnvironments` will always be used over `computeEnvironmentOrder`. Please adjust your HCL accordingly.

Deprecated: This parameter will be replaced by `computeEnvironmentsOrder`.

func (JobQueueOutput) ElementType

func (JobQueueOutput) ElementType() reflect.Type

func (JobQueueOutput) Name

Specifies the name of the job queue.

func (JobQueueOutput) Priority

func (o JobQueueOutput) Priority() pulumi.IntOutput

The priority of the job queue. Job queues with a higher priority are evaluated first when associated with the same compute environment.

func (JobQueueOutput) SchedulingPolicyArn

func (o JobQueueOutput) SchedulingPolicyArn() pulumi.StringPtrOutput

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.

func (JobQueueOutput) State

The state of the job queue. Must be one of: `ENABLED` or `DISABLED`

func (JobQueueOutput) Tags

Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (JobQueueOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (JobQueueOutput) Timeouts added in v6.1.0

func (JobQueueOutput) ToJobQueueOutput

func (o JobQueueOutput) ToJobQueueOutput() JobQueueOutput

func (JobQueueOutput) ToJobQueueOutputWithContext

func (o JobQueueOutput) ToJobQueueOutputWithContext(ctx context.Context) JobQueueOutput

type JobQueueState

type JobQueueState struct {
	// The Amazon Resource Name of the job queue.
	Arn pulumi.StringPtrInput
	// 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.
	ComputeEnvironmentOrders JobQueueComputeEnvironmentOrderArrayInput
	// (Optional) This parameter is deprecated, please use `computeEnvironmentOrder` 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 `computeEnvironments` will always be used over `computeEnvironmentOrder`. Please adjust your HCL accordingly.
	//
	// Deprecated: This parameter will be replaced by `computeEnvironmentsOrder`.
	ComputeEnvironments pulumi.StringArrayInput
	// Specifies the name of the job queue.
	Name pulumi.StringPtrInput
	// The priority of the job queue. Job queues with a higher priority
	// are evaluated first when associated with the same compute environment.
	Priority pulumi.IntPtrInput
	// 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 pulumi.StringPtrInput
	// The state of the job queue. Must be one of: `ENABLED` or `DISABLED`
	State pulumi.StringPtrInput
	// Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll  pulumi.StringMapInput
	Timeouts JobQueueTimeoutsPtrInput
}

func (JobQueueState) ElementType

func (JobQueueState) ElementType() reflect.Type

type JobQueueTimeouts added in v6.1.0

type JobQueueTimeouts struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create *string `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete *string `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update *string `pulumi:"update"`
}

type JobQueueTimeoutsArgs added in v6.1.0

type JobQueueTimeoutsArgs struct {
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Create pulumi.StringPtrInput `pulumi:"create"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
	Delete pulumi.StringPtrInput `pulumi:"delete"`
	// A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
	Update pulumi.StringPtrInput `pulumi:"update"`
}

func (JobQueueTimeoutsArgs) ElementType added in v6.1.0

func (JobQueueTimeoutsArgs) ElementType() reflect.Type

func (JobQueueTimeoutsArgs) ToJobQueueTimeoutsOutput added in v6.1.0

func (i JobQueueTimeoutsArgs) ToJobQueueTimeoutsOutput() JobQueueTimeoutsOutput

func (JobQueueTimeoutsArgs) ToJobQueueTimeoutsOutputWithContext added in v6.1.0

func (i JobQueueTimeoutsArgs) ToJobQueueTimeoutsOutputWithContext(ctx context.Context) JobQueueTimeoutsOutput

func (JobQueueTimeoutsArgs) ToJobQueueTimeoutsPtrOutput added in v6.1.0

func (i JobQueueTimeoutsArgs) ToJobQueueTimeoutsPtrOutput() JobQueueTimeoutsPtrOutput

func (JobQueueTimeoutsArgs) ToJobQueueTimeoutsPtrOutputWithContext added in v6.1.0

func (i JobQueueTimeoutsArgs) ToJobQueueTimeoutsPtrOutputWithContext(ctx context.Context) JobQueueTimeoutsPtrOutput

type JobQueueTimeoutsInput added in v6.1.0

type JobQueueTimeoutsInput interface {
	pulumi.Input

	ToJobQueueTimeoutsOutput() JobQueueTimeoutsOutput
	ToJobQueueTimeoutsOutputWithContext(context.Context) JobQueueTimeoutsOutput
}

JobQueueTimeoutsInput is an input type that accepts JobQueueTimeoutsArgs and JobQueueTimeoutsOutput values. You can construct a concrete instance of `JobQueueTimeoutsInput` via:

JobQueueTimeoutsArgs{...}

type JobQueueTimeoutsOutput added in v6.1.0

type JobQueueTimeoutsOutput struct{ *pulumi.OutputState }

func (JobQueueTimeoutsOutput) Create added in v6.1.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (JobQueueTimeoutsOutput) Delete added in v6.1.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (JobQueueTimeoutsOutput) ElementType added in v6.1.0

func (JobQueueTimeoutsOutput) ElementType() reflect.Type

func (JobQueueTimeoutsOutput) ToJobQueueTimeoutsOutput added in v6.1.0

func (o JobQueueTimeoutsOutput) ToJobQueueTimeoutsOutput() JobQueueTimeoutsOutput

func (JobQueueTimeoutsOutput) ToJobQueueTimeoutsOutputWithContext added in v6.1.0

func (o JobQueueTimeoutsOutput) ToJobQueueTimeoutsOutputWithContext(ctx context.Context) JobQueueTimeoutsOutput

func (JobQueueTimeoutsOutput) ToJobQueueTimeoutsPtrOutput added in v6.1.0

func (o JobQueueTimeoutsOutput) ToJobQueueTimeoutsPtrOutput() JobQueueTimeoutsPtrOutput

func (JobQueueTimeoutsOutput) ToJobQueueTimeoutsPtrOutputWithContext added in v6.1.0

func (o JobQueueTimeoutsOutput) ToJobQueueTimeoutsPtrOutputWithContext(ctx context.Context) JobQueueTimeoutsPtrOutput

func (JobQueueTimeoutsOutput) Update added in v6.1.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type JobQueueTimeoutsPtrInput added in v6.1.0

type JobQueueTimeoutsPtrInput interface {
	pulumi.Input

	ToJobQueueTimeoutsPtrOutput() JobQueueTimeoutsPtrOutput
	ToJobQueueTimeoutsPtrOutputWithContext(context.Context) JobQueueTimeoutsPtrOutput
}

JobQueueTimeoutsPtrInput is an input type that accepts JobQueueTimeoutsArgs, JobQueueTimeoutsPtr and JobQueueTimeoutsPtrOutput values. You can construct a concrete instance of `JobQueueTimeoutsPtrInput` via:

        JobQueueTimeoutsArgs{...}

or:

        nil

func JobQueueTimeoutsPtr added in v6.1.0

func JobQueueTimeoutsPtr(v *JobQueueTimeoutsArgs) JobQueueTimeoutsPtrInput

type JobQueueTimeoutsPtrOutput added in v6.1.0

type JobQueueTimeoutsPtrOutput struct{ *pulumi.OutputState }

func (JobQueueTimeoutsPtrOutput) Create added in v6.1.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

func (JobQueueTimeoutsPtrOutput) Delete added in v6.1.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

func (JobQueueTimeoutsPtrOutput) Elem added in v6.1.0

func (JobQueueTimeoutsPtrOutput) ElementType added in v6.1.0

func (JobQueueTimeoutsPtrOutput) ElementType() reflect.Type

func (JobQueueTimeoutsPtrOutput) ToJobQueueTimeoutsPtrOutput added in v6.1.0

func (o JobQueueTimeoutsPtrOutput) ToJobQueueTimeoutsPtrOutput() JobQueueTimeoutsPtrOutput

func (JobQueueTimeoutsPtrOutput) ToJobQueueTimeoutsPtrOutputWithContext added in v6.1.0

func (o JobQueueTimeoutsPtrOutput) ToJobQueueTimeoutsPtrOutputWithContext(ctx context.Context) JobQueueTimeoutsPtrOutput

func (JobQueueTimeoutsPtrOutput) Update added in v6.1.0

A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

type LookupComputeEnvironmentArgs

type LookupComputeEnvironmentArgs struct {
	// Name of the Batch Compute Environment
	ComputeEnvironmentName string `pulumi:"computeEnvironmentName"`
	// Key-value map of resource tags
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getComputeEnvironment.

type LookupComputeEnvironmentOutputArgs

type LookupComputeEnvironmentOutputArgs struct {
	// Name of the Batch Compute Environment
	ComputeEnvironmentName pulumi.StringInput `pulumi:"computeEnvironmentName"`
	// Key-value map of resource tags
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getComputeEnvironment.

func (LookupComputeEnvironmentOutputArgs) ElementType

type LookupComputeEnvironmentResult

type LookupComputeEnvironmentResult struct {
	// ARN of the compute environment.
	Arn                    string `pulumi:"arn"`
	ComputeEnvironmentName string `pulumi:"computeEnvironmentName"`
	// ARN of the underlying Amazon ECS cluster used by the compute environment.
	EcsClusterArn string `pulumi:"ecsClusterArn"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// ARN of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.
	ServiceRole string `pulumi:"serviceRole"`
	// State of the compute environment (for example, `ENABLED` or `DISABLED`). If the state is `ENABLED`, then the compute environment accepts jobs from a queue and can scale out automatically based on queues.
	State string `pulumi:"state"`
	// Current status of the compute environment (for example, `CREATING` or `VALID`).
	Status string `pulumi:"status"`
	// Short, human-readable string to provide additional details about the current status of the compute environment.
	StatusReason string `pulumi:"statusReason"`
	// Key-value map of resource tags
	Tags map[string]string `pulumi:"tags"`
	// Type of the compute environment (for example, `MANAGED` or `UNMANAGED`).
	Type string `pulumi:"type"`
	// Specifies the infrastructure update policy for the compute environment.
	UpdatePolicies []GetComputeEnvironmentUpdatePolicy `pulumi:"updatePolicies"`
}

A collection of values returned by getComputeEnvironment.

func LookupComputeEnvironment

func LookupComputeEnvironment(ctx *pulumi.Context, args *LookupComputeEnvironmentArgs, opts ...pulumi.InvokeOption) (*LookupComputeEnvironmentResult, error)

The Batch Compute Environment data source allows access to details of a specific compute environment within AWS Batch.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.LookupComputeEnvironment(ctx, &batch.LookupComputeEnvironmentArgs{
			ComputeEnvironmentName: "batch-mongo-production",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupComputeEnvironmentResultOutput

type LookupComputeEnvironmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getComputeEnvironment.

func (LookupComputeEnvironmentResultOutput) Arn

ARN of the compute environment.

func (LookupComputeEnvironmentResultOutput) ComputeEnvironmentName

func (o LookupComputeEnvironmentResultOutput) ComputeEnvironmentName() pulumi.StringOutput

func (LookupComputeEnvironmentResultOutput) EcsClusterArn

ARN of the underlying Amazon ECS cluster used by the compute environment.

func (LookupComputeEnvironmentResultOutput) ElementType

func (LookupComputeEnvironmentResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupComputeEnvironmentResultOutput) ServiceRole

ARN of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf.

func (LookupComputeEnvironmentResultOutput) State

State of the compute environment (for example, `ENABLED` or `DISABLED`). If the state is `ENABLED`, then the compute environment accepts jobs from a queue and can scale out automatically based on queues.

func (LookupComputeEnvironmentResultOutput) Status

Current status of the compute environment (for example, `CREATING` or `VALID`).

func (LookupComputeEnvironmentResultOutput) StatusReason

Short, human-readable string to provide additional details about the current status of the compute environment.

func (LookupComputeEnvironmentResultOutput) Tags

Key-value map of resource tags

func (LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutput

func (o LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutput() LookupComputeEnvironmentResultOutput

func (LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutputWithContext

func (o LookupComputeEnvironmentResultOutput) ToLookupComputeEnvironmentResultOutputWithContext(ctx context.Context) LookupComputeEnvironmentResultOutput

func (LookupComputeEnvironmentResultOutput) Type

Type of the compute environment (for example, `MANAGED` or `UNMANAGED`).

func (LookupComputeEnvironmentResultOutput) UpdatePolicies added in v6.18.2

Specifies the infrastructure update policy for the compute environment.

type LookupJobDefinitionArgs added in v6.24.2

type LookupJobDefinitionArgs struct {
	// ARN of the Job Definition. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
	Arn *string `pulumi:"arn"`
	// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
	Name *string `pulumi:"name"`
	// The revision of the job definition.
	Revision *int `pulumi:"revision"`
	// The status of the job definition.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getJobDefinition.

type LookupJobDefinitionOutputArgs added in v6.24.2

type LookupJobDefinitionOutputArgs struct {
	// ARN of the Job Definition. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
	Arn pulumi.StringPtrInput `pulumi:"arn"`
	// The name of the job definition to register. It can be up to 128 letters long. It can contain uppercase and lowercase letters, numbers, hyphens (-), and underscores (_).
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The revision of the job definition.
	Revision pulumi.IntPtrInput `pulumi:"revision"`
	// The status of the job definition.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getJobDefinition.

func (LookupJobDefinitionOutputArgs) ElementType added in v6.24.2

type LookupJobDefinitionResult added in v6.24.2

type LookupJobDefinitionResult struct {
	Arn       *string `pulumi:"arn"`
	ArnPrefix string  `pulumi:"arnPrefix"`
	// The orchestration type of the compute environment.
	ContainerOrchestrationType string `pulumi:"containerOrchestrationType"`
	// An object with various properties that are specific to Amazon EKS based jobs. This must not be specified for Amazon ECS based job definitions.
	EksProperties []GetJobDefinitionEksProperty `pulumi:"eksProperties"`
	// The ARN
	Id string `pulumi:"id"`
	// The name of the volume.
	Name *string `pulumi:"name"`
	// An object with various properties specific to multi-node parallel jobs. If you specify node properties for a job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the AWS Batch User Guide. If the job definition's type parameter is container, then you must specify either containerProperties or nodeProperties.
	NodeProperties []GetJobDefinitionNodeProperty `pulumi:"nodeProperties"`
	// The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that's specified during a SubmitJob operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it isn't retried.
	RetryStrategies []GetJobDefinitionRetryStrategy `pulumi:"retryStrategies"`
	Revision        *int                            `pulumi:"revision"`
	// The scheduling priority for jobs that are submitted with this 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.
	SchedulingPriority int               `pulumi:"schedulingPriority"`
	Status             *string           `pulumi:"status"`
	Tags               map[string]string `pulumi:"tags"`
	// The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it isn't retried. The minimum value for the timeout is 60 seconds.
	Timeouts []GetJobDefinitionTimeout `pulumi:"timeouts"`
	// The type of resource to assign to a container. The supported resources include `GPU`, `MEMORY`, and `VCPU`.
	Type string `pulumi:"type"`
}

A collection of values returned by getJobDefinition.

func LookupJobDefinition added in v6.24.2

func LookupJobDefinition(ctx *pulumi.Context, args *LookupJobDefinitionArgs, opts ...pulumi.InvokeOption) (*LookupJobDefinitionResult, error)

Data source for managing an AWS Batch Job Definition.

## Example Usage

### Lookup via Arn

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.LookupJobDefinition(ctx, &batch.LookupJobDefinitionArgs{
			Arn: pulumi.StringRef("arn:aws:batch:us-east-1:012345678910:job-definition/example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Lookup via Name

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.LookupJobDefinition(ctx, &batch.LookupJobDefinitionArgs{
			Name:     pulumi.StringRef("example"),
			Revision: pulumi.IntRef(2),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupJobDefinitionResultOutput added in v6.24.2

type LookupJobDefinitionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getJobDefinition.

func LookupJobDefinitionOutput added in v6.24.2

func (LookupJobDefinitionResultOutput) Arn added in v6.24.2

func (LookupJobDefinitionResultOutput) ArnPrefix added in v6.24.2

func (LookupJobDefinitionResultOutput) ContainerOrchestrationType added in v6.24.2

func (o LookupJobDefinitionResultOutput) ContainerOrchestrationType() pulumi.StringOutput

The orchestration type of the compute environment.

func (LookupJobDefinitionResultOutput) EksProperties added in v6.24.2

An object with various properties that are specific to Amazon EKS based jobs. This must not be specified for Amazon ECS based job definitions.

func (LookupJobDefinitionResultOutput) ElementType added in v6.24.2

func (LookupJobDefinitionResultOutput) Id added in v6.24.2

The ARN

func (LookupJobDefinitionResultOutput) Name added in v6.24.2

The name of the volume.

func (LookupJobDefinitionResultOutput) NodeProperties added in v6.24.2

An object with various properties specific to multi-node parallel jobs. If you specify node properties for a job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the AWS Batch User Guide. If the job definition's type parameter is container, then you must specify either containerProperties or nodeProperties.

func (LookupJobDefinitionResultOutput) RetryStrategies added in v6.24.2

The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that's specified during a SubmitJob operation overrides the retry strategy defined here. If a job is terminated due to a timeout, it isn't retried.

func (LookupJobDefinitionResultOutput) Revision added in v6.24.2

func (LookupJobDefinitionResultOutput) SchedulingPriority added in v6.24.2

func (o LookupJobDefinitionResultOutput) SchedulingPriority() pulumi.IntOutput

The scheduling priority for jobs that are submitted with this 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.

func (LookupJobDefinitionResultOutput) Status added in v6.24.2

func (LookupJobDefinitionResultOutput) Tags added in v6.24.2

func (LookupJobDefinitionResultOutput) Timeouts added in v6.24.2

The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates your jobs if they have not finished. If a job is terminated due to a timeout, it isn't retried. The minimum value for the timeout is 60 seconds.

func (LookupJobDefinitionResultOutput) ToLookupJobDefinitionResultOutput added in v6.24.2

func (o LookupJobDefinitionResultOutput) ToLookupJobDefinitionResultOutput() LookupJobDefinitionResultOutput

func (LookupJobDefinitionResultOutput) ToLookupJobDefinitionResultOutputWithContext added in v6.24.2

func (o LookupJobDefinitionResultOutput) ToLookupJobDefinitionResultOutputWithContext(ctx context.Context) LookupJobDefinitionResultOutput

func (LookupJobDefinitionResultOutput) Type added in v6.24.2

The type of resource to assign to a container. The supported resources include `GPU`, `MEMORY`, and `VCPU`.

type LookupJobQueueArgs

type LookupJobQueueArgs struct {
	// Name of the job queue.
	Name string `pulumi:"name"`
	// Key-value map of resource tags
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getJobQueue.

type LookupJobQueueOutputArgs

type LookupJobQueueOutputArgs struct {
	// Name of the job queue.
	Name pulumi.StringInput `pulumi:"name"`
	// Key-value map of resource tags
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getJobQueue.

func (LookupJobQueueOutputArgs) ElementType

func (LookupJobQueueOutputArgs) ElementType() reflect.Type

type LookupJobQueueResult

type LookupJobQueueResult struct {
	// ARN of the job queue.
	Arn string `pulumi:"arn"`
	// The compute environments that are attached to the job queue and the order in
	// which job placement is preferred. Compute environments are selected for job placement in ascending order.
	// * `compute_environment_order.#.order` - The order of the compute environment.
	// * `compute_environment_order.#.compute_environment` - The ARN of the compute environment.
	ComputeEnvironmentOrders []GetJobQueueComputeEnvironmentOrder `pulumi:"computeEnvironmentOrders"`
	// The provider-assigned unique ID for this managed resource.
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
	// Priority of the job queue. Job queues with a higher priority are evaluated first when
	// associated with the same compute environment.
	Priority int `pulumi:"priority"`
	// The ARN of the fair share scheduling policy. If this attribute has a value, the job queue uses a fair share scheduling policy. If this attribute does not have a value, the job queue uses a first in, first out (FIFO) scheduling policy.
	SchedulingPolicyArn string `pulumi:"schedulingPolicyArn"`
	// Describes the ability of the queue to accept new jobs (for example, `ENABLED` or `DISABLED`).
	State string `pulumi:"state"`
	// Current status of the job queue (for example, `CREATING` or `VALID`).
	Status string `pulumi:"status"`
	// Short, human-readable string to provide additional details about the current status
	// of the job queue.
	StatusReason string `pulumi:"statusReason"`
	// Key-value map of resource tags
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getJobQueue.

func LookupJobQueue

func LookupJobQueue(ctx *pulumi.Context, args *LookupJobQueueArgs, opts ...pulumi.InvokeOption) (*LookupJobQueueResult, error)

The Batch Job Queue data source allows access to details of a specific job queue within AWS Batch.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.LookupJobQueue(ctx, &batch.LookupJobQueueArgs{
			Name: "tf-test-batch-job-queue",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupJobQueueResultOutput

type LookupJobQueueResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getJobQueue.

func (LookupJobQueueResultOutput) Arn

ARN of the job queue.

func (LookupJobQueueResultOutput) ComputeEnvironmentOrders

The compute environments that are attached to the job queue and the order in which job placement is preferred. Compute environments are selected for job placement in ascending order. * `compute_environment_order.#.order` - The order of the compute environment. * `compute_environment_order.#.compute_environment` - The ARN of the compute environment.

func (LookupJobQueueResultOutput) ElementType

func (LookupJobQueueResultOutput) ElementType() reflect.Type

func (LookupJobQueueResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupJobQueueResultOutput) Name

func (LookupJobQueueResultOutput) Priority

Priority of the job queue. Job queues with a higher priority are evaluated first when associated with the same compute environment.

func (LookupJobQueueResultOutput) SchedulingPolicyArn

func (o LookupJobQueueResultOutput) SchedulingPolicyArn() pulumi.StringOutput

The ARN of the fair share scheduling policy. If this attribute has a value, the job queue uses a fair share scheduling policy. If this attribute does not have a value, the job queue uses a first in, first out (FIFO) scheduling policy.

func (LookupJobQueueResultOutput) State

Describes the ability of the queue to accept new jobs (for example, `ENABLED` or `DISABLED`).

func (LookupJobQueueResultOutput) Status

Current status of the job queue (for example, `CREATING` or `VALID`).

func (LookupJobQueueResultOutput) StatusReason

Short, human-readable string to provide additional details about the current status of the job queue.

func (LookupJobQueueResultOutput) Tags

Key-value map of resource tags

func (LookupJobQueueResultOutput) ToLookupJobQueueResultOutput

func (o LookupJobQueueResultOutput) ToLookupJobQueueResultOutput() LookupJobQueueResultOutput

func (LookupJobQueueResultOutput) ToLookupJobQueueResultOutputWithContext

func (o LookupJobQueueResultOutput) ToLookupJobQueueResultOutputWithContext(ctx context.Context) LookupJobQueueResultOutput

type LookupSchedulingPolicyArgs

type LookupSchedulingPolicyArgs struct {
	// ARN of the scheduling policy.
	Arn string `pulumi:"arn"`
	// Key-value map of resource tags
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getSchedulingPolicy.

type LookupSchedulingPolicyOutputArgs

type LookupSchedulingPolicyOutputArgs struct {
	// ARN of the scheduling policy.
	Arn pulumi.StringInput `pulumi:"arn"`
	// Key-value map of resource tags
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getSchedulingPolicy.

func (LookupSchedulingPolicyOutputArgs) ElementType

type LookupSchedulingPolicyResult

type LookupSchedulingPolicyResult struct {
	Arn               string                               `pulumi:"arn"`
	FairSharePolicies []GetSchedulingPolicyFairSharePolicy `pulumi:"fairSharePolicies"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Name of the scheduling policy.
	Name string `pulumi:"name"`
	// Key-value map of resource tags
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getSchedulingPolicy.

func LookupSchedulingPolicy

func LookupSchedulingPolicy(ctx *pulumi.Context, args *LookupSchedulingPolicyArgs, opts ...pulumi.InvokeOption) (*LookupSchedulingPolicyResult, error)

The Batch Scheduling Policy data source allows access to details of a specific Scheduling Policy within AWS Batch.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.LookupSchedulingPolicy(ctx, &batch.LookupSchedulingPolicyArgs{
			Arn: "arn:aws:batch:us-east-1:012345678910:scheduling-policy/example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupSchedulingPolicyResultOutput

type LookupSchedulingPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSchedulingPolicy.

func (LookupSchedulingPolicyResultOutput) Arn

func (LookupSchedulingPolicyResultOutput) ElementType

func (LookupSchedulingPolicyResultOutput) FairSharePolicies

func (LookupSchedulingPolicyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupSchedulingPolicyResultOutput) Name

Name of the scheduling policy.

func (LookupSchedulingPolicyResultOutput) Tags

Key-value map of resource tags

func (LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutput

func (o LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutput() LookupSchedulingPolicyResultOutput

func (LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutputWithContext

func (o LookupSchedulingPolicyResultOutput) ToLookupSchedulingPolicyResultOutputWithContext(ctx context.Context) LookupSchedulingPolicyResultOutput

type SchedulingPolicy

type SchedulingPolicy struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name of the scheduling policy.
	Arn             pulumi.StringOutput                      `pulumi:"arn"`
	FairSharePolicy SchedulingPolicyFairSharePolicyPtrOutput `pulumi:"fairSharePolicy"`
	// Specifies the name of the scheduling policy.
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides a Batch Scheduling Policy resource.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/batch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := batch.NewSchedulingPolicy(ctx, "example", &batch.SchedulingPolicyArgs{
			Name: pulumi.String("example"),
			FairSharePolicy: &batch.SchedulingPolicyFairSharePolicyArgs{
				ComputeReservation: pulumi.Int(1),
				ShareDecaySeconds:  pulumi.Int(3600),
				ShareDistributions: batch.SchedulingPolicyFairSharePolicyShareDistributionArray{
					&batch.SchedulingPolicyFairSharePolicyShareDistributionArgs{
						ShareIdentifier: pulumi.String("A1*"),
						WeightFactor:    pulumi.Float64(0.1),
					},
					&batch.SchedulingPolicyFairSharePolicyShareDistributionArgs{
						ShareIdentifier: pulumi.String("A2"),
						WeightFactor:    pulumi.Float64(0.2),
					},
				},
			},
			Tags: pulumi.StringMap{
				"Name": pulumi.String("Example Batch Scheduling Policy"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import Batch Scheduling Policy using the `arn`. For example:

```sh $ pulumi import aws:batch/schedulingPolicy:SchedulingPolicy test_policy arn:aws:batch:us-east-1:123456789012:scheduling-policy/sample ```

func GetSchedulingPolicy

func GetSchedulingPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SchedulingPolicyState, opts ...pulumi.ResourceOption) (*SchedulingPolicy, error)

GetSchedulingPolicy gets an existing SchedulingPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSchedulingPolicy

func NewSchedulingPolicy(ctx *pulumi.Context,
	name string, args *SchedulingPolicyArgs, opts ...pulumi.ResourceOption) (*SchedulingPolicy, error)

NewSchedulingPolicy registers a new resource with the given unique name, arguments, and options.

func (*SchedulingPolicy) ElementType

func (*SchedulingPolicy) ElementType() reflect.Type

func (*SchedulingPolicy) ToSchedulingPolicyOutput

func (i *SchedulingPolicy) ToSchedulingPolicyOutput() SchedulingPolicyOutput

func (*SchedulingPolicy) ToSchedulingPolicyOutputWithContext

func (i *SchedulingPolicy) ToSchedulingPolicyOutputWithContext(ctx context.Context) SchedulingPolicyOutput

type SchedulingPolicyArgs

type SchedulingPolicyArgs struct {
	FairSharePolicy SchedulingPolicyFairSharePolicyPtrInput
	// Specifies the name of the scheduling policy.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a SchedulingPolicy resource.

func (SchedulingPolicyArgs) ElementType

func (SchedulingPolicyArgs) ElementType() reflect.Type

type SchedulingPolicyArray

type SchedulingPolicyArray []SchedulingPolicyInput

func (SchedulingPolicyArray) ElementType

func (SchedulingPolicyArray) ElementType() reflect.Type

func (SchedulingPolicyArray) ToSchedulingPolicyArrayOutput

func (i SchedulingPolicyArray) ToSchedulingPolicyArrayOutput() SchedulingPolicyArrayOutput

func (SchedulingPolicyArray) ToSchedulingPolicyArrayOutputWithContext

func (i SchedulingPolicyArray) ToSchedulingPolicyArrayOutputWithContext(ctx context.Context) SchedulingPolicyArrayOutput

type SchedulingPolicyArrayInput

type SchedulingPolicyArrayInput interface {
	pulumi.Input

	ToSchedulingPolicyArrayOutput() SchedulingPolicyArrayOutput
	ToSchedulingPolicyArrayOutputWithContext(context.Context) SchedulingPolicyArrayOutput
}

SchedulingPolicyArrayInput is an input type that accepts SchedulingPolicyArray and SchedulingPolicyArrayOutput values. You can construct a concrete instance of `SchedulingPolicyArrayInput` via:

SchedulingPolicyArray{ SchedulingPolicyArgs{...} }

type SchedulingPolicyArrayOutput

type SchedulingPolicyArrayOutput struct{ *pulumi.OutputState }

func (SchedulingPolicyArrayOutput) ElementType

func (SchedulingPolicyArrayOutput) Index

func (SchedulingPolicyArrayOutput) ToSchedulingPolicyArrayOutput

func (o SchedulingPolicyArrayOutput) ToSchedulingPolicyArrayOutput() SchedulingPolicyArrayOutput

func (SchedulingPolicyArrayOutput) ToSchedulingPolicyArrayOutputWithContext

func (o SchedulingPolicyArrayOutput) ToSchedulingPolicyArrayOutputWithContext(ctx context.Context) SchedulingPolicyArrayOutput

type SchedulingPolicyFairSharePolicy

type SchedulingPolicyFairSharePolicy 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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).
	ComputeReservation *int `pulumi:"computeReservation"`
	ShareDecaySeconds  *int `pulumi:"shareDecaySeconds"`
	// 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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.
	ShareDistributions []SchedulingPolicyFairSharePolicyShareDistribution `pulumi:"shareDistributions"`
}

type SchedulingPolicyFairSharePolicyArgs

type SchedulingPolicyFairSharePolicyArgs 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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).
	ComputeReservation pulumi.IntPtrInput `pulumi:"computeReservation"`
	ShareDecaySeconds  pulumi.IntPtrInput `pulumi:"shareDecaySeconds"`
	// 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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.
	ShareDistributions SchedulingPolicyFairSharePolicyShareDistributionArrayInput `pulumi:"shareDistributions"`
}

func (SchedulingPolicyFairSharePolicyArgs) ElementType

func (SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyOutput

func (i SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyOutput() SchedulingPolicyFairSharePolicyOutput

func (SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyOutputWithContext

func (i SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyOutput

func (SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyPtrOutput

func (i SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyPtrOutput() SchedulingPolicyFairSharePolicyPtrOutput

func (SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext

func (i SchedulingPolicyFairSharePolicyArgs) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyPtrOutput

type SchedulingPolicyFairSharePolicyInput

type SchedulingPolicyFairSharePolicyInput interface {
	pulumi.Input

	ToSchedulingPolicyFairSharePolicyOutput() SchedulingPolicyFairSharePolicyOutput
	ToSchedulingPolicyFairSharePolicyOutputWithContext(context.Context) SchedulingPolicyFairSharePolicyOutput
}

SchedulingPolicyFairSharePolicyInput is an input type that accepts SchedulingPolicyFairSharePolicyArgs and SchedulingPolicyFairSharePolicyOutput values. You can construct a concrete instance of `SchedulingPolicyFairSharePolicyInput` via:

SchedulingPolicyFairSharePolicyArgs{...}

type SchedulingPolicyFairSharePolicyOutput

type SchedulingPolicyFairSharePolicyOutput struct{ *pulumi.OutputState }

func (SchedulingPolicyFairSharePolicyOutput) ComputeReservation

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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).

func (SchedulingPolicyFairSharePolicyOutput) ElementType

func (SchedulingPolicyFairSharePolicyOutput) ShareDecaySeconds

func (SchedulingPolicyFairSharePolicyOutput) ShareDistributions

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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.

func (SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyOutput

func (o SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyOutput() SchedulingPolicyFairSharePolicyOutput

func (SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyOutputWithContext

func (o SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyOutput

func (SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyPtrOutput

func (o SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyPtrOutput() SchedulingPolicyFairSharePolicyPtrOutput

func (SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext

func (o SchedulingPolicyFairSharePolicyOutput) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyPtrOutput

type SchedulingPolicyFairSharePolicyPtrInput

type SchedulingPolicyFairSharePolicyPtrInput interface {
	pulumi.Input

	ToSchedulingPolicyFairSharePolicyPtrOutput() SchedulingPolicyFairSharePolicyPtrOutput
	ToSchedulingPolicyFairSharePolicyPtrOutputWithContext(context.Context) SchedulingPolicyFairSharePolicyPtrOutput
}

SchedulingPolicyFairSharePolicyPtrInput is an input type that accepts SchedulingPolicyFairSharePolicyArgs, SchedulingPolicyFairSharePolicyPtr and SchedulingPolicyFairSharePolicyPtrOutput values. You can construct a concrete instance of `SchedulingPolicyFairSharePolicyPtrInput` via:

        SchedulingPolicyFairSharePolicyArgs{...}

or:

        nil

type SchedulingPolicyFairSharePolicyPtrOutput

type SchedulingPolicyFairSharePolicyPtrOutput struct{ *pulumi.OutputState }

func (SchedulingPolicyFairSharePolicyPtrOutput) ComputeReservation

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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html).

func (SchedulingPolicyFairSharePolicyPtrOutput) Elem

func (SchedulingPolicyFairSharePolicyPtrOutput) ElementType

func (SchedulingPolicyFairSharePolicyPtrOutput) ShareDecaySeconds

func (SchedulingPolicyFairSharePolicyPtrOutput) ShareDistributions

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](https://docs.aws.amazon.com/batch/latest/APIReference/API_FairsharePolicy.html). The `shareDistribution` block is documented below.

func (SchedulingPolicyFairSharePolicyPtrOutput) ToSchedulingPolicyFairSharePolicyPtrOutput

func (o SchedulingPolicyFairSharePolicyPtrOutput) ToSchedulingPolicyFairSharePolicyPtrOutput() SchedulingPolicyFairSharePolicyPtrOutput

func (SchedulingPolicyFairSharePolicyPtrOutput) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext

func (o SchedulingPolicyFairSharePolicyPtrOutput) ToSchedulingPolicyFairSharePolicyPtrOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyPtrOutput

type SchedulingPolicyFairSharePolicyShareDistribution

type SchedulingPolicyFairSharePolicyShareDistribution struct {
	// A fair share identifier or fair share identifier prefix. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).
	ShareIdentifier string `pulumi:"shareIdentifier"`
	// The weight factor for the fair share identifier. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).
	WeightFactor *float64 `pulumi:"weightFactor"`
}

type SchedulingPolicyFairSharePolicyShareDistributionArgs

type SchedulingPolicyFairSharePolicyShareDistributionArgs struct {
	// A fair share identifier or fair share identifier prefix. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).
	ShareIdentifier pulumi.StringInput `pulumi:"shareIdentifier"`
	// The weight factor for the fair share identifier. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).
	WeightFactor pulumi.Float64PtrInput `pulumi:"weightFactor"`
}

func (SchedulingPolicyFairSharePolicyShareDistributionArgs) ElementType

func (SchedulingPolicyFairSharePolicyShareDistributionArgs) ToSchedulingPolicyFairSharePolicyShareDistributionOutput

func (i SchedulingPolicyFairSharePolicyShareDistributionArgs) ToSchedulingPolicyFairSharePolicyShareDistributionOutput() SchedulingPolicyFairSharePolicyShareDistributionOutput

func (SchedulingPolicyFairSharePolicyShareDistributionArgs) ToSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext

func (i SchedulingPolicyFairSharePolicyShareDistributionArgs) ToSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyShareDistributionOutput

type SchedulingPolicyFairSharePolicyShareDistributionArray

type SchedulingPolicyFairSharePolicyShareDistributionArray []SchedulingPolicyFairSharePolicyShareDistributionInput

func (SchedulingPolicyFairSharePolicyShareDistributionArray) ElementType

func (SchedulingPolicyFairSharePolicyShareDistributionArray) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutput

func (i SchedulingPolicyFairSharePolicyShareDistributionArray) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutput() SchedulingPolicyFairSharePolicyShareDistributionArrayOutput

func (SchedulingPolicyFairSharePolicyShareDistributionArray) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext

func (i SchedulingPolicyFairSharePolicyShareDistributionArray) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyShareDistributionArrayOutput

type SchedulingPolicyFairSharePolicyShareDistributionArrayInput

type SchedulingPolicyFairSharePolicyShareDistributionArrayInput interface {
	pulumi.Input

	ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutput() SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
	ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(context.Context) SchedulingPolicyFairSharePolicyShareDistributionArrayOutput
}

SchedulingPolicyFairSharePolicyShareDistributionArrayInput is an input type that accepts SchedulingPolicyFairSharePolicyShareDistributionArray and SchedulingPolicyFairSharePolicyShareDistributionArrayOutput values. You can construct a concrete instance of `SchedulingPolicyFairSharePolicyShareDistributionArrayInput` via:

SchedulingPolicyFairSharePolicyShareDistributionArray{ SchedulingPolicyFairSharePolicyShareDistributionArgs{...} }

type SchedulingPolicyFairSharePolicyShareDistributionArrayOutput

type SchedulingPolicyFairSharePolicyShareDistributionArrayOutput struct{ *pulumi.OutputState }

func (SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ElementType

func (SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) Index

func (SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutput

func (SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext

func (o SchedulingPolicyFairSharePolicyShareDistributionArrayOutput) ToSchedulingPolicyFairSharePolicyShareDistributionArrayOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyShareDistributionArrayOutput

type SchedulingPolicyFairSharePolicyShareDistributionInput

type SchedulingPolicyFairSharePolicyShareDistributionInput interface {
	pulumi.Input

	ToSchedulingPolicyFairSharePolicyShareDistributionOutput() SchedulingPolicyFairSharePolicyShareDistributionOutput
	ToSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(context.Context) SchedulingPolicyFairSharePolicyShareDistributionOutput
}

SchedulingPolicyFairSharePolicyShareDistributionInput is an input type that accepts SchedulingPolicyFairSharePolicyShareDistributionArgs and SchedulingPolicyFairSharePolicyShareDistributionOutput values. You can construct a concrete instance of `SchedulingPolicyFairSharePolicyShareDistributionInput` via:

SchedulingPolicyFairSharePolicyShareDistributionArgs{...}

type SchedulingPolicyFairSharePolicyShareDistributionOutput

type SchedulingPolicyFairSharePolicyShareDistributionOutput struct{ *pulumi.OutputState }

func (SchedulingPolicyFairSharePolicyShareDistributionOutput) ElementType

func (SchedulingPolicyFairSharePolicyShareDistributionOutput) ShareIdentifier

A fair share identifier or fair share identifier prefix. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).

func (SchedulingPolicyFairSharePolicyShareDistributionOutput) ToSchedulingPolicyFairSharePolicyShareDistributionOutput

func (SchedulingPolicyFairSharePolicyShareDistributionOutput) ToSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext

func (o SchedulingPolicyFairSharePolicyShareDistributionOutput) ToSchedulingPolicyFairSharePolicyShareDistributionOutputWithContext(ctx context.Context) SchedulingPolicyFairSharePolicyShareDistributionOutput

func (SchedulingPolicyFairSharePolicyShareDistributionOutput) WeightFactor

The weight factor for the fair share identifier. For more information, see [ShareAttributes](https://docs.aws.amazon.com/batch/latest/APIReference/API_ShareAttributes.html).

type SchedulingPolicyInput

type SchedulingPolicyInput interface {
	pulumi.Input

	ToSchedulingPolicyOutput() SchedulingPolicyOutput
	ToSchedulingPolicyOutputWithContext(ctx context.Context) SchedulingPolicyOutput
}

type SchedulingPolicyMap

type SchedulingPolicyMap map[string]SchedulingPolicyInput

func (SchedulingPolicyMap) ElementType

func (SchedulingPolicyMap) ElementType() reflect.Type

func (SchedulingPolicyMap) ToSchedulingPolicyMapOutput

func (i SchedulingPolicyMap) ToSchedulingPolicyMapOutput() SchedulingPolicyMapOutput

func (SchedulingPolicyMap) ToSchedulingPolicyMapOutputWithContext

func (i SchedulingPolicyMap) ToSchedulingPolicyMapOutputWithContext(ctx context.Context) SchedulingPolicyMapOutput

type SchedulingPolicyMapInput

type SchedulingPolicyMapInput interface {
	pulumi.Input

	ToSchedulingPolicyMapOutput() SchedulingPolicyMapOutput
	ToSchedulingPolicyMapOutputWithContext(context.Context) SchedulingPolicyMapOutput
}

SchedulingPolicyMapInput is an input type that accepts SchedulingPolicyMap and SchedulingPolicyMapOutput values. You can construct a concrete instance of `SchedulingPolicyMapInput` via:

SchedulingPolicyMap{ "key": SchedulingPolicyArgs{...} }

type SchedulingPolicyMapOutput

type SchedulingPolicyMapOutput struct{ *pulumi.OutputState }

func (SchedulingPolicyMapOutput) ElementType

func (SchedulingPolicyMapOutput) ElementType() reflect.Type

func (SchedulingPolicyMapOutput) MapIndex

func (SchedulingPolicyMapOutput) ToSchedulingPolicyMapOutput

func (o SchedulingPolicyMapOutput) ToSchedulingPolicyMapOutput() SchedulingPolicyMapOutput

func (SchedulingPolicyMapOutput) ToSchedulingPolicyMapOutputWithContext

func (o SchedulingPolicyMapOutput) ToSchedulingPolicyMapOutputWithContext(ctx context.Context) SchedulingPolicyMapOutput

type SchedulingPolicyOutput

type SchedulingPolicyOutput struct{ *pulumi.OutputState }

func (SchedulingPolicyOutput) Arn

The Amazon Resource Name of the scheduling policy.

func (SchedulingPolicyOutput) ElementType

func (SchedulingPolicyOutput) ElementType() reflect.Type

func (SchedulingPolicyOutput) FairSharePolicy

func (SchedulingPolicyOutput) Name

Specifies the name of the scheduling policy.

func (SchedulingPolicyOutput) Tags

Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (SchedulingPolicyOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (SchedulingPolicyOutput) ToSchedulingPolicyOutput

func (o SchedulingPolicyOutput) ToSchedulingPolicyOutput() SchedulingPolicyOutput

func (SchedulingPolicyOutput) ToSchedulingPolicyOutputWithContext

func (o SchedulingPolicyOutput) ToSchedulingPolicyOutputWithContext(ctx context.Context) SchedulingPolicyOutput

type SchedulingPolicyState

type SchedulingPolicyState struct {
	// The Amazon Resource Name of the scheduling policy.
	Arn             pulumi.StringPtrInput
	FairSharePolicy SchedulingPolicyFairSharePolicyPtrInput
	// Specifies the name of the scheduling policy.
	Name pulumi.StringPtrInput
	// Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (SchedulingPolicyState) ElementType

func (SchedulingPolicyState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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