Class EcsFargateContainerDefinitionProps.Jsii$Proxy
- All Implemented Interfaces:
EcsContainerDefinitionProps
,EcsFargateContainerDefinitionProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
EcsFargateContainerDefinitionProps
EcsFargateContainerDefinitionProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.EcsFargateContainerDefinitionProps
EcsFargateContainerDefinitionProps.Builder, EcsFargateContainerDefinitionProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theEcsFargateContainerDefinitionProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Boolean
Indicates whether the job has a public IP address.The command that's passed to the container.final Number
getCpu()
The number of vCPUs reserved for the container.The environment variables to pass to a container.final Size
The size for ephemeral storage.final IRole
The role used by Amazon ECS container and AWS Fargate agents to make AWS API calls on your behalf.final CpuArchitecture
The vCPU architecture of Fargate Runtime.final OperatingSystemFamily
The operating system for the compute environment.final FargatePlatformVersion
Which version of Fargate to use when running this container.final ContainerImage
getImage()
The image that this container will run.final IRole
The role that the container can assume.final LinuxParameters
Linux-specific modifications that are applied to the container, such as details for device mappings.final LogDriver
The loging configuration for this Job.final Size
The memory hard limit present to the container.final Boolean
Gives the container readonly access to its root filesystem.A map from environment variable names to the secrets for the container.final String
getUser()
The user name to use inside the container.The volumes to mount to this container.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theEcsFargateContainerDefinitionProps.Builder
.
-
-
Method Details
-
getAssignPublicIp
Description copied from interface:EcsFargateContainerDefinitionProps
Indicates whether the job has a public IP address.For a job that's running on Fargate resources in a private subnet to send outbound traffic to the internet (for example, to pull container images), the private subnet requires a NAT gateway be attached to route requests to the internet.
Default: false
- Specified by:
getAssignPublicIp
in interfaceEcsFargateContainerDefinitionProps
- See Also:
-
getEphemeralStorageSize
Description copied from interface:EcsFargateContainerDefinitionProps
The size for ephemeral storage.Default: - 20 GiB
- Specified by:
getEphemeralStorageSize
in interfaceEcsFargateContainerDefinitionProps
-
getFargateCpuArchitecture
Description copied from interface:EcsFargateContainerDefinitionProps
The vCPU architecture of Fargate Runtime.Default: - X86_64
- Specified by:
getFargateCpuArchitecture
in interfaceEcsFargateContainerDefinitionProps
-
getFargateOperatingSystemFamily
Description copied from interface:EcsFargateContainerDefinitionProps
The operating system for the compute environment.Default: - LINUX
- Specified by:
getFargateOperatingSystemFamily
in interfaceEcsFargateContainerDefinitionProps
-
getFargatePlatformVersion
Description copied from interface:EcsFargateContainerDefinitionProps
Which version of Fargate to use when running this container.Default: LATEST
- Specified by:
getFargatePlatformVersion
in interfaceEcsFargateContainerDefinitionProps
-
getCpu
Description copied from interface:EcsContainerDefinitionProps
The number of vCPUs reserved for the container.Each vCPU is equivalent to 1,024 CPU shares. For containers running on EC2 resources, you must specify at least one vCPU.
- Specified by:
getCpu
in interfaceEcsContainerDefinitionProps
-
getImage
Description copied from interface:EcsContainerDefinitionProps
The image that this container will run.- Specified by:
getImage
in interfaceEcsContainerDefinitionProps
-
getMemory
Description copied from interface:EcsContainerDefinitionProps
The memory hard limit present to the container.If your container attempts to exceed the memory specified, the container is terminated. You must specify at least 4 MiB of memory for a job.
- Specified by:
getMemory
in interfaceEcsContainerDefinitionProps
-
getCommand
Description copied from interface:EcsContainerDefinitionProps
The command that's passed to the container.Default: - no command
- Specified by:
getCommand
in interfaceEcsContainerDefinitionProps
- See Also:
-
getEnvironment
Description copied from interface:EcsContainerDefinitionProps
The environment variables to pass to a container.Cannot start with
AWS_BATCH
. We don't recommend using plaintext environment variables for sensitive information, such as credential data.Default: - no environment variables
- Specified by:
getEnvironment
in interfaceEcsContainerDefinitionProps
-
getExecutionRole
Description copied from interface:EcsContainerDefinitionProps
The role used by Amazon ECS container and AWS Fargate agents to make AWS API calls on your behalf.Default: - a Role will be created
- Specified by:
getExecutionRole
in interfaceEcsContainerDefinitionProps
- See Also:
-
getJobRole
Description copied from interface:EcsContainerDefinitionProps
The role that the container can assume.Default: - no job role
- Specified by:
getJobRole
in interfaceEcsContainerDefinitionProps
- See Also:
-
getLinuxParameters
Description copied from interface:EcsContainerDefinitionProps
Linux-specific modifications that are applied to the container, such as details for device mappings.Default: none
- Specified by:
getLinuxParameters
in interfaceEcsContainerDefinitionProps
-
getLogging
Description copied from interface:EcsContainerDefinitionProps
The loging configuration for this Job.Default: - the log configuration of the Docker daemon
- Specified by:
getLogging
in interfaceEcsContainerDefinitionProps
-
getReadonlyRootFilesystem
Description copied from interface:EcsContainerDefinitionProps
Gives the container readonly access to its root filesystem.Default: false
- Specified by:
getReadonlyRootFilesystem
in interfaceEcsContainerDefinitionProps
-
getSecrets
Description copied from interface:EcsContainerDefinitionProps
A map from environment variable names to the secrets for the container.Allows your job definitions to reference the secret by the environment variable name defined in this property.
Default: - no secrets
- Specified by:
getSecrets
in interfaceEcsContainerDefinitionProps
- See Also:
-
getUser
Description copied from interface:EcsContainerDefinitionProps
The user name to use inside the container.Default: - no user
- Specified by:
getUser
in interfaceEcsContainerDefinitionProps
-
getVolumes
Description copied from interface:EcsContainerDefinitionProps
The volumes to mount to this container.Automatically added to the job definition.
Default: - no volumes
- Specified by:
getVolumes
in interfaceEcsContainerDefinitionProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-