@Stability(value=Experimental) @Internal public static final class ApplicationLoadBalancedTaskImageProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ApplicationLoadBalancedTaskImageProps
ApplicationLoadBalancedTaskImagePropssoftware.amazon.jsii.JsiiObject.InitializationModeApplicationLoadBalancedTaskImageProps.Builder, ApplicationLoadBalancedTaskImageProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(ContainerImage image,
String containerName,
List<? extends Number> containerPorts,
Map<String,String> dockerLabels,
Boolean enableLogging,
Map<String,String> environment,
IRole executionRole,
String family,
LogDriver logDriver,
Map<String,? extends Secret> secrets,
IRole taskRole)
Constructor that initializes the object based on literal property values passed by the
ApplicationLoadBalancedTaskImageProps.Builder. |
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(Object o) |
String |
getContainerName()
(experimental) The container name value to be specified in the task definition.
|
List<Number> |
getContainerPorts()
(experimental) A list of port numbers on the container that is bound to the user-specified or automatically assigned host port.
|
Map<String,String> |
getDockerLabels()
(experimental) A key/value map of labels to add to the container.
|
Boolean |
getEnableLogging()
(experimental) Flag to indicate whether to enable logging.
|
Map<String,String> |
getEnvironment()
(experimental) The environment variables to pass to the container.
|
IRole |
getExecutionRole()
(experimental) The name of the task execution IAM role that grants the Amazon ECS container agent permission to call AWS APIs on your behalf.
|
String |
getFamily()
(experimental) The name of a family that this task definition is registered to.
|
ContainerImage |
getImage()
(experimental) The image used to start a container.
|
LogDriver |
getLogDriver()
(experimental) The log driver to use.
|
Map<String,Secret> |
getSecrets()
(experimental) The secrets to expose to the container as an environment variable.
|
IRole |
getTaskRole()
(experimental) The name of the task IAM role that grants containers in the task permission to call AWS APIs on your behalf.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ContainerImage image, String containerName, List<? extends Number> containerPorts, Map<String,String> dockerLabels, Boolean enableLogging, Map<String,String> environment, IRole executionRole, String family, LogDriver logDriver, Map<String,? extends Secret> secrets, IRole taskRole)
ApplicationLoadBalancedTaskImageProps.Builder.public final ContainerImage getImage()
ApplicationLoadBalancedTaskImagePropsImage or taskDefinition must be specified, not both.
Default: - none
getImage in interface ApplicationLoadBalancedTaskImagePropspublic final String getContainerName()
ApplicationLoadBalancedTaskImagePropsDefault: - web
getContainerName in interface ApplicationLoadBalancedTaskImagePropspublic final List<Number> getContainerPorts()
ApplicationLoadBalancedTaskImagePropsIf 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 ApplicationLoadBalancedTaskImagePropspublic final Map<String,String> getDockerLabels()
ApplicationLoadBalancedTaskImagePropsDefault: - No labels.
getDockerLabels in interface ApplicationLoadBalancedTaskImagePropspublic final Boolean getEnableLogging()
ApplicationLoadBalancedTaskImagePropsDefault: true
getEnableLogging in interface ApplicationLoadBalancedTaskImagePropspublic final Map<String,String> getEnvironment()
ApplicationLoadBalancedTaskImagePropsDefault: - No environment variables.
getEnvironment in interface ApplicationLoadBalancedTaskImagePropspublic final IRole getExecutionRole()
ApplicationLoadBalancedTaskImagePropsDefault: - No value
getExecutionRole in interface ApplicationLoadBalancedTaskImagePropspublic final String getFamily()
ApplicationLoadBalancedTaskImagePropsA family groups multiple versions of a task definition.
Default: - Automatically generated name.
getFamily in interface ApplicationLoadBalancedTaskImagePropspublic final LogDriver getLogDriver()
ApplicationLoadBalancedTaskImagePropsDefault: - AwsLogDriver if enableLogging is true
getLogDriver in interface ApplicationLoadBalancedTaskImagePropspublic final Map<String,Secret> getSecrets()
ApplicationLoadBalancedTaskImagePropsDefault: - No secret environment variables.
getSecrets in interface ApplicationLoadBalancedTaskImagePropspublic final IRole getTaskRole()
ApplicationLoadBalancedTaskImagePropsDefault: - A task role is automatically created for you.
getTaskRole in interface ApplicationLoadBalancedTaskImageProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.