Class ApplicationLoadBalancedTaskImageOptions.Jsii$Proxy
- All Implemented Interfaces:
ApplicationLoadBalancedTaskImageOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ApplicationLoadBalancedTaskImageOptions
ApplicationLoadBalancedTaskImageOptions
-
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.ecs.patterns.ApplicationLoadBalancedTaskImageOptions
ApplicationLoadBalancedTaskImageOptions.Builder, ApplicationLoadBalancedTaskImageOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theApplicationLoadBalancedTaskImageOptions.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
The command that's passed to the container.final String
The container name value to be specified in the task definition.final Number
The port number on the container that is bound to the user-specified or automatically assigned host port.A key/value map of labels to add to the container.final Boolean
Flag to indicate whether to enable logging.The entry point that's passed to the container.The environment variables to pass to the container.final IRole
The name of the task execution IAM role that grants the Amazon ECS container agent permission to call AWS APIs on your behalf.final String
The name of a family that this task definition is registered to.final ContainerImage
getImage()
The image used to start a container.final LogDriver
The log driver to use.The secret to expose to the container as an environment variable.final IRole
The name of the task IAM role that grants containers in the task permission to call AWS APIs on your behalf.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 theApplicationLoadBalancedTaskImageOptions.Builder
.
-
-
Method Details
-
getImage
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
The image used to start a container.Image or taskDefinition must be specified, not both.
Default: - none
- Specified by:
getImage
in interfaceApplicationLoadBalancedTaskImageOptions
-
getCommand
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
The command that's passed to the container.If there are multiple arguments, make sure that each argument is a separated string in the array.
This parameter maps to
Cmd
in the Create a container section of the Docker Remote API and theCOMMAND
parameter to docker run.For more information about the Docker
CMD
parameter, see https://docs.docker.com/engine/reference/builder/#cmd.Default: none
- Specified by:
getCommand
in interfaceApplicationLoadBalancedTaskImageOptions
-
getContainerName
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
The container name value to be specified in the task definition.Default: - none
- Specified by:
getContainerName
in interfaceApplicationLoadBalancedTaskImageOptions
-
getContainerPort
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
The port number on the container that is bound to the user-specified or automatically assigned host port.If you are using containers in a task with the awsvpc or host network mode, exposed ports should be specified using containerPort. If you are using containers in a task with the bridge network mode and you specify a container port and not a host port, your container automatically receives a host port in the ephemeral port range.
Port mappings that are automatically assigned in this way do not count toward the 100 reserved ports limit of a container instance.
For more information, see hostPort.
Default: 80
- Specified by:
getContainerPort
in interfaceApplicationLoadBalancedTaskImageOptions
-
getDockerLabels
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
A key/value map of labels to add to the container.Default: - No labels.
- Specified by:
getDockerLabels
in interfaceApplicationLoadBalancedTaskImageOptions
-
getEnableLogging
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
Flag to indicate whether to enable logging.Default: true
- Specified by:
getEnableLogging
in interfaceApplicationLoadBalancedTaskImageOptions
-
getEntryPoint
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
The entry point that's passed to the container.This parameter maps to
Entrypoint
in the Create a container section of the Docker Remote API and the--entrypoint
option to docker run.For more information about the Docker
ENTRYPOINT
parameter, see https://docs.docker.com/engine/reference/builder/#entrypoint.Default: none
- Specified by:
getEntryPoint
in interfaceApplicationLoadBalancedTaskImageOptions
-
getEnvironment
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
The environment variables to pass to the container.Default: - No environment variables.
- Specified by:
getEnvironment
in interfaceApplicationLoadBalancedTaskImageOptions
-
getExecutionRole
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
The name of the task execution IAM role that grants the Amazon ECS container agent permission to call AWS APIs on your behalf.Default: - No value
- Specified by:
getExecutionRole
in interfaceApplicationLoadBalancedTaskImageOptions
-
getFamily
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
The name of a family that this task definition is registered to.A family groups multiple versions of a task definition.
Default: - Automatically generated name.
- Specified by:
getFamily
in interfaceApplicationLoadBalancedTaskImageOptions
-
getLogDriver
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
The log driver to use.Default: - AwsLogDriver if enableLogging is true
- Specified by:
getLogDriver
in interfaceApplicationLoadBalancedTaskImageOptions
-
getSecrets
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
The secret to expose to the container as an environment variable.Default: - No secret environment variables.
- Specified by:
getSecrets
in interfaceApplicationLoadBalancedTaskImageOptions
-
getTaskRole
Description copied from interface:ApplicationLoadBalancedTaskImageOptions
The name of the task IAM role that grants containers in the task permission to call AWS APIs on your behalf.Default: - A task role is automatically created for you.
- Specified by:
getTaskRole
in interfaceApplicationLoadBalancedTaskImageOptions
-
$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()
-