Class NetworkLoadBalancedTaskImageProps.Jsii$Proxy
- All Implemented Interfaces:
NetworkLoadBalancedTaskImageProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
NetworkLoadBalancedTaskImageProps
NetworkLoadBalancedTaskImageProps-
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.ecs.patterns.NetworkLoadBalancedTaskImageProps
NetworkLoadBalancedTaskImageProps.Builder, NetworkLoadBalancedTaskImageProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theNetworkLoadBalancedTaskImageProps.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 booleanfinal StringThe container name value to be specified in the task definition.A list of port numbers 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 BooleanFlag to indicate whether to enable logging.The environment variables to pass to the container.final IRoleThe name of the task execution IAM role that grants the Amazon ECS container agent permission to call AWS APIs on your behalf.final StringThe name of a family that this task definition is registered to.final ContainerImagegetImage()The image used to start a container.final LogDriverThe log driver to use.The secrets to expose to the container as an environment variable.final IRoleThe name of the task IAM role that grants containers in the task permission to call AWS APIs on your behalf.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 theNetworkLoadBalancedTaskImageProps.Builder.
-
-
Method Details
-
getImage
Description copied from interface:NetworkLoadBalancedTaskImagePropsThe image used to start a container.Image or taskDefinition must be specified, but not both.
Default: - none
- Specified by:
getImagein interfaceNetworkLoadBalancedTaskImageProps
-
getContainerName
Description copied from interface:NetworkLoadBalancedTaskImagePropsThe container name value to be specified in the task definition.Default: - none
- Specified by:
getContainerNamein interfaceNetworkLoadBalancedTaskImageProps
-
getContainerPorts
Description copied from interface:NetworkLoadBalancedTaskImagePropsA list of port numbers 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:
getContainerPortsin interfaceNetworkLoadBalancedTaskImageProps
-
getDockerLabels
Description copied from interface:NetworkLoadBalancedTaskImagePropsA key/value map of labels to add to the container.Default: - No labels.
- Specified by:
getDockerLabelsin interfaceNetworkLoadBalancedTaskImageProps
-
getEnableLogging
Description copied from interface:NetworkLoadBalancedTaskImagePropsFlag to indicate whether to enable logging.Default: true
- Specified by:
getEnableLoggingin interfaceNetworkLoadBalancedTaskImageProps
-
getEnvironment
Description copied from interface:NetworkLoadBalancedTaskImagePropsThe environment variables to pass to the container.Default: - No environment variables.
- Specified by:
getEnvironmentin interfaceNetworkLoadBalancedTaskImageProps
-
getExecutionRole
Description copied from interface:NetworkLoadBalancedTaskImagePropsThe 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:
getExecutionRolein interfaceNetworkLoadBalancedTaskImageProps
-
getFamily
Description copied from interface:NetworkLoadBalancedTaskImagePropsThe 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:
getFamilyin interfaceNetworkLoadBalancedTaskImageProps
-
getLogDriver
Description copied from interface:NetworkLoadBalancedTaskImagePropsThe log driver to use.Default: - AwsLogDriver if enableLogging is true
- Specified by:
getLogDriverin interfaceNetworkLoadBalancedTaskImageProps
-
getSecrets
Description copied from interface:NetworkLoadBalancedTaskImagePropsThe secrets to expose to the container as an environment variable.Default: - No secret environment variables.
- Specified by:
getSecretsin interfaceNetworkLoadBalancedTaskImageProps
-
getTaskRole
Description copied from interface:NetworkLoadBalancedTaskImagePropsThe 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:
getTaskRolein interfaceNetworkLoadBalancedTaskImageProps
-
$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()
-