Class EcsContainerDefinitionProps.Jsii$Proxy
- All Implemented Interfaces:
EcsContainerDefinitionProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
EcsContainerDefinitionProps
EcsContainerDefinitionProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.batch.EcsContainerDefinitionProps
EcsContainerDefinitionProps.Builder, EcsContainerDefinitionProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theEcsContainerDefinitionProps.Builder.protectedJsii$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.JsonNodefinal booleanThe command that's passed to the container.final NumbergetCpu()The number of vCPUs reserved for the container.final BooleanDetermines whether execute command functionality is turned on for this task.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 LogDriverThe loging configuration for this Job.final SizeThe memory hard limit present to the container.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.final inthashCode()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 theEcsContainerDefinitionProps.Builder.
-
-
Method Details
-
getCpu
Description copied from interface:EcsContainerDefinitionPropsThe 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 interfaceEcsContainerDefinitionProps
-
getImage
Description copied from interface:EcsContainerDefinitionPropsThe image that this container will run.- Specified by:
getImagein interfaceEcsContainerDefinitionProps
-
getMemory
Description copied from interface:EcsContainerDefinitionPropsThe 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 interfaceEcsContainerDefinitionProps
-
getCommand
Description copied from interface:EcsContainerDefinitionPropsThe command that's passed to the container.Default: - no command
- Specified by:
getCommandin interfaceEcsContainerDefinitionProps- See Also:
-
getEnableExecuteCommand
Description copied from interface:EcsContainerDefinitionPropsDetermines whether execute command functionality is turned on for this task.If true, execute command functionality is turned on all the containers in the task.
This allows you to use ECS Exec to access containers interactively. When enabled, a job role with required SSM permissions will be created automatically if no job role is provided. If a job role is alreadyprovided, the required permissions will be added to it.
Default: undefined - AWS Batch default is false
- Specified by:
getEnableExecuteCommandin interfaceEcsContainerDefinitionProps- See Also:
-
getEnvironment
Description copied from interface:EcsContainerDefinitionPropsThe 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 interfaceEcsContainerDefinitionProps
-
getExecutionRole
Description copied from interface:EcsContainerDefinitionPropsThe 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:
getExecutionRolein interfaceEcsContainerDefinitionProps- See Also:
-
getJobRole
Description copied from interface:EcsContainerDefinitionPropsThe role that the container can assume.Default: - no job role
- Specified by:
getJobRolein interfaceEcsContainerDefinitionProps- See Also:
-
getLinuxParameters
Description copied from interface:EcsContainerDefinitionPropsLinux-specific modifications that are applied to the container, such as details for device mappings.Default: none
- Specified by:
getLinuxParametersin interfaceEcsContainerDefinitionProps
-
getLogging
Description copied from interface:EcsContainerDefinitionPropsThe loging configuration for this Job.Default: - the log configuration of the Docker daemon
- Specified by:
getLoggingin interfaceEcsContainerDefinitionProps
-
getReadonlyRootFilesystem
Description copied from interface:EcsContainerDefinitionPropsGives the container readonly access to its root filesystem.Default: false
- Specified by:
getReadonlyRootFilesystemin interfaceEcsContainerDefinitionProps
-
getSecrets
Description copied from interface:EcsContainerDefinitionPropsA 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 interfaceEcsContainerDefinitionProps- See Also:
-
getUser
Description copied from interface:EcsContainerDefinitionPropsThe user name to use inside the container.Default: - no user
- Specified by:
getUserin interfaceEcsContainerDefinitionProps
-
getVolumes
Description copied from interface:EcsContainerDefinitionPropsThe volumes to mount to this container.Automatically added to the job definition.
Default: - no volumes
- Specified by:
getVolumesin interfaceEcsContainerDefinitionProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-