Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs Maven / Gradle / Ivy
Go to download
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.pipes.inputs;
import com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentArgs;
import com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentFileArgs;
import com.pulumi.aws.pipes.inputs.PipeTargetParametersEcsTaskParametersOverridesContainerOverrideResourceRequirementArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs extends com.pulumi.resources.ResourceArgs {
public static final PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs Empty = new PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs();
/**
* List of commands to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.
*
*/
@Import(name="commands")
private @Nullable Output> commands;
/**
* @return List of commands to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.
*
*/
public Optional>> commands() {
return Optional.ofNullable(this.commands);
}
/**
* The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.
*
*/
@Import(name="cpu")
private @Nullable Output cpu;
/**
* @return The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.
*
*/
public Optional> cpu() {
return Optional.ofNullable(this.cpu);
}
/**
* A list of files containing the environment variables to pass to a container, instead of the value from the container definition. Detailed below.
*
*/
@Import(name="environmentFiles")
private @Nullable Output> environmentFiles;
/**
* @return A list of files containing the environment variables to pass to a container, instead of the value from the container definition. Detailed below.
*
*/
public Optional>> environmentFiles() {
return Optional.ofNullable(this.environmentFiles);
}
/**
* The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name. Detailed below.
*
*/
@Import(name="environments")
private @Nullable Output> environments;
/**
* @return The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name. Detailed below.
*
*/
public Optional>> environments() {
return Optional.ofNullable(this.environments);
}
/**
* The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.
*
*/
@Import(name="memory")
private @Nullable Output memory;
/**
* @return The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.
*
*/
public Optional> memory() {
return Optional.ofNullable(this.memory);
}
/**
* The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.
*
*/
@Import(name="memoryReservation")
private @Nullable Output memoryReservation;
/**
* @return The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.
*
*/
public Optional> memoryReservation() {
return Optional.ofNullable(this.memoryReservation);
}
/**
* Name of the pipe. If omitted, the provider will assign a random, unique name. Conflicts with `name_prefix`.
*
*/
@Import(name="name")
private @Nullable Output name;
/**
* @return Name of the pipe. If omitted, the provider will assign a random, unique name. Conflicts with `name_prefix`.
*
*/
public Optional> name() {
return Optional.ofNullable(this.name);
}
/**
* The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU. Detailed below.
*
*/
@Import(name="resourceRequirements")
private @Nullable Output> resourceRequirements;
/**
* @return The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU. Detailed below.
*
*/
public Optional>> resourceRequirements() {
return Optional.ofNullable(this.resourceRequirements);
}
private PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs() {}
private PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs(PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs $) {
this.commands = $.commands;
this.cpu = $.cpu;
this.environmentFiles = $.environmentFiles;
this.environments = $.environments;
this.memory = $.memory;
this.memoryReservation = $.memoryReservation;
this.name = $.name;
this.resourceRequirements = $.resourceRequirements;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs $;
public Builder() {
$ = new PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs();
}
public Builder(PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs defaults) {
$ = new PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs(Objects.requireNonNull(defaults));
}
/**
* @param commands List of commands to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.
*
* @return builder
*
*/
public Builder commands(@Nullable Output> commands) {
$.commands = commands;
return this;
}
/**
* @param commands List of commands to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.
*
* @return builder
*
*/
public Builder commands(List commands) {
return commands(Output.of(commands));
}
/**
* @param commands List of commands to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.
*
* @return builder
*
*/
public Builder commands(String... commands) {
return commands(List.of(commands));
}
/**
* @param cpu The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.
*
* @return builder
*
*/
public Builder cpu(@Nullable Output cpu) {
$.cpu = cpu;
return this;
}
/**
* @param cpu The number of cpu units reserved for the container, instead of the default value from the task definition. You must also specify a container name.
*
* @return builder
*
*/
public Builder cpu(Integer cpu) {
return cpu(Output.of(cpu));
}
/**
* @param environmentFiles A list of files containing the environment variables to pass to a container, instead of the value from the container definition. Detailed below.
*
* @return builder
*
*/
public Builder environmentFiles(@Nullable Output> environmentFiles) {
$.environmentFiles = environmentFiles;
return this;
}
/**
* @param environmentFiles A list of files containing the environment variables to pass to a container, instead of the value from the container definition. Detailed below.
*
* @return builder
*
*/
public Builder environmentFiles(List environmentFiles) {
return environmentFiles(Output.of(environmentFiles));
}
/**
* @param environmentFiles A list of files containing the environment variables to pass to a container, instead of the value from the container definition. Detailed below.
*
* @return builder
*
*/
public Builder environmentFiles(PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentFileArgs... environmentFiles) {
return environmentFiles(List.of(environmentFiles));
}
/**
* @param environments The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name. Detailed below.
*
* @return builder
*
*/
public Builder environments(@Nullable Output> environments) {
$.environments = environments;
return this;
}
/**
* @param environments The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name. Detailed below.
*
* @return builder
*
*/
public Builder environments(List environments) {
return environments(Output.of(environments));
}
/**
* @param environments The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name. Detailed below.
*
* @return builder
*
*/
public Builder environments(PipeTargetParametersEcsTaskParametersOverridesContainerOverrideEnvironmentArgs... environments) {
return environments(List.of(environments));
}
/**
* @param memory The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.
*
* @return builder
*
*/
public Builder memory(@Nullable Output memory) {
$.memory = memory;
return this;
}
/**
* @param memory The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.
*
* @return builder
*
*/
public Builder memory(Integer memory) {
return memory(Output.of(memory));
}
/**
* @param memoryReservation The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.
*
* @return builder
*
*/
public Builder memoryReservation(@Nullable Output memoryReservation) {
$.memoryReservation = memoryReservation;
return this;
}
/**
* @param memoryReservation The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.
*
* @return builder
*
*/
public Builder memoryReservation(Integer memoryReservation) {
return memoryReservation(Output.of(memoryReservation));
}
/**
* @param name Name of the pipe. If omitted, the provider will assign a random, unique name. Conflicts with `name_prefix`.
*
* @return builder
*
*/
public Builder name(@Nullable Output name) {
$.name = name;
return this;
}
/**
* @param name Name of the pipe. If omitted, the provider will assign a random, unique name. Conflicts with `name_prefix`.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param resourceRequirements The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU. Detailed below.
*
* @return builder
*
*/
public Builder resourceRequirements(@Nullable Output> resourceRequirements) {
$.resourceRequirements = resourceRequirements;
return this;
}
/**
* @param resourceRequirements The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU. Detailed below.
*
* @return builder
*
*/
public Builder resourceRequirements(List resourceRequirements) {
return resourceRequirements(Output.of(resourceRequirements));
}
/**
* @param resourceRequirements The type and amount of a resource to assign to a container, instead of the default value from the task definition. The only supported resource is a GPU. Detailed below.
*
* @return builder
*
*/
public Builder resourceRequirements(PipeTargetParametersEcsTaskParametersOverridesContainerOverrideResourceRequirementArgs... resourceRequirements) {
return resourceRequirements(List.of(resourceRequirements));
}
public PipeTargetParametersEcsTaskParametersOverridesContainerOverrideArgs build() {
return $;
}
}
}