public static final class ApplicationLoadBalancedTaskImageProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApplicationLoadBalancedTaskImageProps
ApplicationLoadBalancedTaskImageProps
ApplicationLoadBalancedTaskImageProps.Builder, ApplicationLoadBalancedTaskImageProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getContainerName()
The container name value to be specified in the task definition.
|
java.util.List<java.lang.Number> |
getContainerPorts()
A list of port numbers on the container that is bound to the user-specified or automatically assigned host port.
|
java.util.Map<java.lang.String,java.lang.String> |
getDockerLabels()
A key/value map of labels to add to the container.
|
java.lang.Boolean |
getEnableLogging()
Flag to indicate whether to enable logging.
|
java.util.Map<java.lang.String,java.lang.String> |
getEnvironment()
The environment variables to pass to the container.
|
IRole |
getExecutionRole()
The name of the task execution IAM role that grants the Amazon ECS container agent permission to call AWS APIs on your behalf.
|
java.lang.String |
getFamily()
The name of a family that this task definition is registered to.
|
ContainerImage |
getImage()
The image used to start a container.
|
LogDriver |
getLogDriver()
The log driver to use.
|
java.util.Map<java.lang.String,Secret> |
getSecrets()
The secrets to expose to the container as an environment variable.
|
IRole |
getTaskRole()
The name of the task IAM role that grants containers in the task permission to call AWS APIs on your behalf.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final ContainerImage getImage()
ApplicationLoadBalancedTaskImageProps
Image or taskDefinition must be specified, not both.
Default: - none
getImage
in interface ApplicationLoadBalancedTaskImageProps
public final java.lang.String getContainerName()
ApplicationLoadBalancedTaskImageProps
Default: - web
getContainerName
in interface ApplicationLoadBalancedTaskImageProps
public final java.util.List<java.lang.Number> getContainerPorts()
ApplicationLoadBalancedTaskImageProps
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]
getContainerPorts
in interface ApplicationLoadBalancedTaskImageProps
public final java.util.Map<java.lang.String,java.lang.String> getDockerLabels()
ApplicationLoadBalancedTaskImageProps
Default: - No labels.
getDockerLabels
in interface ApplicationLoadBalancedTaskImageProps
public final java.lang.Boolean getEnableLogging()
ApplicationLoadBalancedTaskImageProps
Default: true
getEnableLogging
in interface ApplicationLoadBalancedTaskImageProps
public final java.util.Map<java.lang.String,java.lang.String> getEnvironment()
ApplicationLoadBalancedTaskImageProps
Default: - No environment variables.
getEnvironment
in interface ApplicationLoadBalancedTaskImageProps
public final IRole getExecutionRole()
ApplicationLoadBalancedTaskImageProps
Default: - No value
getExecutionRole
in interface ApplicationLoadBalancedTaskImageProps
public final java.lang.String getFamily()
ApplicationLoadBalancedTaskImageProps
A family groups multiple versions of a task definition.
Default: - Automatically generated name.
getFamily
in interface ApplicationLoadBalancedTaskImageProps
public final LogDriver getLogDriver()
ApplicationLoadBalancedTaskImageProps
Default: - AwsLogDriver if enableLogging is true
getLogDriver
in interface ApplicationLoadBalancedTaskImageProps
public final java.util.Map<java.lang.String,Secret> getSecrets()
ApplicationLoadBalancedTaskImageProps
Default: - No secret environment variables.
getSecrets
in interface ApplicationLoadBalancedTaskImageProps
public final IRole getTaskRole()
ApplicationLoadBalancedTaskImageProps
Default: - A task role is automatically created for you.
getTaskRole
in interface ApplicationLoadBalancedTaskImageProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()