Class IEcsFargateContainerDefinition.Jsii$Proxy
- All Implemented Interfaces:
IEcsContainerDefinition
,IEcsContainerDefinition.Jsii$Default
,IEcsFargateContainerDefinition
,IEcsFargateContainerDefinition.Jsii$Default
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
,software.constructs.IDependable
,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
IEcsFargateContainerDefinition
-
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.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.IEcsContainerDefinition
IEcsContainerDefinition.Jsii$Default, IEcsContainerDefinition.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.IEcsFargateContainerDefinition
IEcsFargateContainerDefinition.Jsii$Default, IEcsFargateContainerDefinition.Jsii$Proxy
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
Add a Volume to this container.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 LogDriverConfig
The configuration of the log driver.final Size
The memory hard limit present to the container.final software.constructs.Node
getNode()
The tree node.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.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
@Stability(Stable) @NotNull public final software.constructs.Node getNode()The tree node.- Specified by:
getNode
in interfacesoftware.constructs.IConstruct
- Specified by:
getNode
in interfacesoftware.constructs.IConstruct.Jsii$Default
- Specified by:
getNode
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getNode
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getCpu
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 interfaceIEcsContainerDefinition
- Specified by:
getCpu
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getCpu
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getExecutionRole
The role used by Amazon ECS container and AWS Fargate agents to make AWS API calls on your behalf.- Specified by:
getExecutionRole
in interfaceIEcsContainerDefinition
- Specified by:
getExecutionRole
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getExecutionRole
in interfaceIEcsFargateContainerDefinition.Jsii$Default
- See Also:
-
getImage
The image that this container will run.- Specified by:
getImage
in interfaceIEcsContainerDefinition
- Specified by:
getImage
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getImage
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getMemory
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 interfaceIEcsContainerDefinition
- Specified by:
getMemory
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getMemory
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getVolumes
The volumes to mount to this container.Automatically added to the job definition.
Default: - no volumes
- Specified by:
getVolumes
in interfaceIEcsContainerDefinition
- Specified by:
getVolumes
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getVolumes
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getCommand
The command that's passed to the container.- Specified by:
getCommand
in interfaceIEcsContainerDefinition
- Specified by:
getCommand
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getCommand
in interfaceIEcsFargateContainerDefinition.Jsii$Default
- See Also:
-
getEnvironment
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 interfaceIEcsContainerDefinition
- Specified by:
getEnvironment
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getEnvironment
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getJobRole
The role that the container can assume.Default: - no jobRole
- Specified by:
getJobRole
in interfaceIEcsContainerDefinition
- Specified by:
getJobRole
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getJobRole
in interfaceIEcsFargateContainerDefinition.Jsii$Default
- See Also:
-
getLinuxParameters
Linux-specific modifications that are applied to the container, such as details for device mappings.Default: none
- Specified by:
getLinuxParameters
in interfaceIEcsContainerDefinition
- Specified by:
getLinuxParameters
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getLinuxParameters
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getLogDriverConfig
The configuration of the log driver.- Specified by:
getLogDriverConfig
in interfaceIEcsContainerDefinition
- Specified by:
getLogDriverConfig
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getLogDriverConfig
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getReadonlyRootFilesystem
Gives the container readonly access to its root filesystem.Default: false
- Specified by:
getReadonlyRootFilesystem
in interfaceIEcsContainerDefinition
- Specified by:
getReadonlyRootFilesystem
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getReadonlyRootFilesystem
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getSecrets
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 interfaceIEcsContainerDefinition
- Specified by:
getSecrets
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getSecrets
in interfaceIEcsFargateContainerDefinition.Jsii$Default
- See Also:
-
getUser
The user name to use inside the container.Default: - no user
- Specified by:
getUser
in interfaceIEcsContainerDefinition
- Specified by:
getUser
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
getUser
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getAssignPublicIp
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 interfaceIEcsFargateContainerDefinition
- Specified by:
getAssignPublicIp
in interfaceIEcsFargateContainerDefinition.Jsii$Default
- See Also:
-
getEphemeralStorageSize
The size for ephemeral storage.Default: - 20 GiB
- Specified by:
getEphemeralStorageSize
in interfaceIEcsFargateContainerDefinition
- Specified by:
getEphemeralStorageSize
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getFargateCpuArchitecture
The vCPU architecture of Fargate Runtime.Default: - X86_64
- Specified by:
getFargateCpuArchitecture
in interfaceIEcsFargateContainerDefinition
- Specified by:
getFargateCpuArchitecture
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getFargateOperatingSystemFamily
The operating system for the compute environment.Default: - LINUX
- Specified by:
getFargateOperatingSystemFamily
in interfaceIEcsFargateContainerDefinition
- Specified by:
getFargateOperatingSystemFamily
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
getFargatePlatformVersion
Which version of Fargate to use when running this container.Default: LATEST
- Specified by:
getFargatePlatformVersion
in interfaceIEcsFargateContainerDefinition
- Specified by:
getFargatePlatformVersion
in interfaceIEcsFargateContainerDefinition.Jsii$Default
-
addVolume
Add a Volume to this container.- Specified by:
addVolume
in interfaceIEcsContainerDefinition
- Specified by:
addVolume
in interfaceIEcsContainerDefinition.Jsii$Default
- Specified by:
addVolume
in interfaceIEcsFargateContainerDefinition.Jsii$Default
- Parameters:
volume
- This parameter is required.
-