Class IEcsContainerDefinition.Jsii$Proxy
- All Implemented Interfaces:
IEcsContainerDefinition,IEcsContainerDefinition.Jsii$Default,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
IEcsContainerDefinition
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.IEcsContainerDefinition
IEcsContainerDefinition.Jsii$Default, IEcsContainerDefinition.Jsii$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidAdd a Volume to this container.The command that's passed to the container.final NumbergetCpu()The number of vCPUs reserved for the container.final BooleanWhether to enable ecs exec for this container.The environment variables to pass to a container.final IRoleThe role used by Amazon ECS container and AWS Fargate agents to make AWS API calls on your behalf.final ContainerImagegetImage()The image that this container will run.final IRoleThe role that the container can assume.final LinuxParametersLinux-specific modifications that are applied to the container, such as details for device mappings.final LogDriverConfigThe configuration of the log driver.final SizeThe memory hard limit present to the container.final software.constructs.NodegetNode()The tree node.final BooleanGives the container readonly access to its root filesystem.A map from environment variable names to the secrets for the container.final StringgetUser()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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein interfacesoftware.constructs.IConstruct.Jsii$Default- Specified by:
getNodein interfaceIEcsContainerDefinition.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:
getCpuin interfaceIEcsContainerDefinition- Specified by:
getCpuin interfaceIEcsContainerDefinition.Jsii$Default
-
getExecutionRole
The role used by Amazon ECS container and AWS Fargate agents to make AWS API calls on your behalf.- Specified by:
getExecutionRolein interfaceIEcsContainerDefinition- Specified by:
getExecutionRolein interfaceIEcsContainerDefinition.Jsii$Default- See Also:
-
getImage
The image that this container will run.- Specified by:
getImagein interfaceIEcsContainerDefinition- Specified by:
getImagein interfaceIEcsContainerDefinition.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:
getMemoryin interfaceIEcsContainerDefinition- Specified by:
getMemoryin interfaceIEcsContainerDefinition.Jsii$Default
-
getVolumes
The volumes to mount to this container.Automatically added to the job definition.
Default: - no volumes
- Specified by:
getVolumesin interfaceIEcsContainerDefinition- Specified by:
getVolumesin interfaceIEcsContainerDefinition.Jsii$Default
-
getCommand
The command that's passed to the container.- Specified by:
getCommandin interfaceIEcsContainerDefinition- Specified by:
getCommandin interfaceIEcsContainerDefinition.Jsii$Default- See Also:
-
getEnableExecuteCommand
Whether to enable ecs exec for this container.Default: undefined - AWS Batch default is false
- Specified by:
getEnableExecuteCommandin interfaceIEcsContainerDefinition- Specified by:
getEnableExecuteCommandin interfaceIEcsContainerDefinition.Jsii$Default
-
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:
getEnvironmentin interfaceIEcsContainerDefinition- Specified by:
getEnvironmentin interfaceIEcsContainerDefinition.Jsii$Default
-
getJobRole
The role that the container can assume.Default: - no jobRole
- Specified by:
getJobRolein interfaceIEcsContainerDefinition- Specified by:
getJobRolein interfaceIEcsContainerDefinition.Jsii$Default- See Also:
-
getLinuxParameters
Linux-specific modifications that are applied to the container, such as details for device mappings.Default: none
- Specified by:
getLinuxParametersin interfaceIEcsContainerDefinition- Specified by:
getLinuxParametersin interfaceIEcsContainerDefinition.Jsii$Default
-
getLogDriverConfig
The configuration of the log driver.- Specified by:
getLogDriverConfigin interfaceIEcsContainerDefinition- Specified by:
getLogDriverConfigin interfaceIEcsContainerDefinition.Jsii$Default
-
getReadonlyRootFilesystem
Gives the container readonly access to its root filesystem.Default: false
- Specified by:
getReadonlyRootFilesystemin interfaceIEcsContainerDefinition- Specified by:
getReadonlyRootFilesystemin interfaceIEcsContainerDefinition.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:
getSecretsin interfaceIEcsContainerDefinition- Specified by:
getSecretsin interfaceIEcsContainerDefinition.Jsii$Default- See Also:
-
getUser
The user name to use inside the container.Default: - no user
- Specified by:
getUserin interfaceIEcsContainerDefinition- Specified by:
getUserin interfaceIEcsContainerDefinition.Jsii$Default
-
addVolume
Add a Volume to this container.- Specified by:
addVolumein interfaceIEcsContainerDefinition- Specified by:
addVolumein interfaceIEcsContainerDefinition.Jsii$Default- Parameters:
volume- This parameter is required.
-