primaryContainer
The primary container configuration for the Express service.
- Returns:
- The primary container configuration for the Express service.
SdkPojo, ToCopyableBuilder<UpdateExpressGatewayServiceRequest.Builder,UpdateExpressGatewayServiceRequest> builder()final Stringcpu()final ExpressCpuArchitecturefinal Stringfinal booleanfinal booleanequalsBySdkFields(Object obj) final Stringfinal <T> Optional<T> getValueForField(String fieldName,
Class<T> clazz) SdkRequest.final inthashCode()final Stringfinal Stringmemory()final ExpressGatewayContainerstatic Class<? extends UpdateExpressGatewayServiceRequest.Builder> final Stringfinal Stringfinal Stringfinal StringtoString()overrideConfigurationcopyThe Amazon Resource Name (ARN) of the Express service to update.
The Amazon Resource Name (ARN) of the task execution role for the Express service.
The path on the container for Application Load Balancer health checks.
The primary container configuration for the Express service.
The Amazon Resource Name (ARN) of the IAM role for containers in this task.
The network configuration for the Express service tasks. By default, the network configuration for an Express service uses the default VPC.
The number of CPU units used by the task.
The amount of memory (in MiB) used by the task.
The CPU architecture that the tasks in the Express service run on. Amazon ECS applies this value to the task definition revision that it registers for the service. If you don't specify a value, the service keeps the architecture that it currently runs on.
Valid values:
X86_64 - The x86 64-bit architecture.
ARM64 - The 64-bit ARM architecture.
Changing the architecture starts a new deployment that replaces the running tasks. Make sure that the container
image that the service uses supports the architecture that you choose. The operating system family for an Express
service is always LINUX.
You can't specify cpuArchitecture when you also specify taskDefinitionArn, because this
value applies only to a task definition that Amazon ECS registers on your behalf.
If the service returns an enum value that is not available in the current SDK version, cpuArchitecture
will return ExpressCpuArchitecture.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from cpuArchitectureAsString().
Valid values:
X86_64 - The x86 64-bit architecture.
ARM64 - The 64-bit ARM architecture.
Changing the architecture starts a new deployment that replaces the running tasks. Make sure that the
container image that the service uses supports the architecture that you choose. The operating system
family for an Express service is always LINUX.
You can't specify cpuArchitecture when you also specify taskDefinitionArn,
because this value applies only to a task definition that Amazon ECS registers on your behalf.
The CPU architecture that the tasks in the Express service run on. Amazon ECS applies this value to the task definition revision that it registers for the service. If you don't specify a value, the service keeps the architecture that it currently runs on.
Valid values:
X86_64 - The x86 64-bit architecture.
ARM64 - The 64-bit ARM architecture.
Changing the architecture starts a new deployment that replaces the running tasks. Make sure that the container
image that the service uses supports the architecture that you choose. The operating system family for an Express
service is always LINUX.
You can't specify cpuArchitecture when you also specify taskDefinitionArn, because this
value applies only to a task definition that Amazon ECS registers on your behalf.
If the service returns an enum value that is not available in the current SDK version, cpuArchitecture
will return ExpressCpuArchitecture.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from cpuArchitectureAsString().
Valid values:
X86_64 - The x86 64-bit architecture.
ARM64 - The 64-bit ARM architecture.
Changing the architecture starts a new deployment that replaces the running tasks. Make sure that the
container image that the service uses supports the architecture that you choose. The operating system
family for an Express service is always LINUX.
You can't specify cpuArchitecture when you also specify taskDefinitionArn,
because this value applies only to a task definition that Amazon ECS registers on your behalf.
The auto-scaling configuration for the Express service.
The Amazon Resource Name (ARN) of a task definition to use to update the Express Gateway service. This allows you to manage your own task definition, giving you more control over the service configuration such as adding sidecar containers.
The task definition must have a container named Main with a single TCP port mapping that includes a
container port and port name. The task definition must also have FARGATE compatibility.
If you provide a task definition ARN, you cannot also specify primaryContainer,
executionRoleArn, taskRoleArn, cpu, memory, or
cpuArchitecture.
The task definition must have a container named Main with a single TCP port mapping that
includes a container port and port name. The task definition must also have FARGATE
compatibility.
If you provide a task definition ARN, you cannot also specify primaryContainer,
executionRoleArn, taskRoleArn, cpu, memory, or
cpuArchitecture.
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<UpdateExpressGatewayServiceRequest.Builder,UpdateExpressGatewayServiceRequest> toBuilder in class EcsRequesthashCode in class AwsRequestequals in class AwsRequestSdkPojoSdkPojo class,
and is generated based on a service model.
If an SdkPojo class does not have any inherited fields, equalsBySdkFields
and equals are essentially the same.
equalsBySdkFields in interface SdkPojoobj - the object to be compared withSdkRequestSdkRequest. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.sdkFieldNameToField in interface SdkPojo