Class FirelensLogRouterProps.Jsii$Proxy
- All Implemented Interfaces:
ContainerDefinitionOptions,ContainerDefinitionProps,FirelensLogRouterProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
FirelensLogRouterProps
FirelensLogRouterProps-
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.FirelensLogRouterProps
FirelensLogRouterProps.Builder, FirelensLogRouterProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(FirelensLogRouterProps.Builder builder) Constructor that initializes the object based on literal property values passed by theFirelensLogRouterProps.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 is passed to the container.final StringThe name of the container.final NumbergetCpu()The minimum number of CPU units to reserve for the container.final List<CredentialSpec> A list of ARNs in SSM or Amazon S3 to a credential spec (CredSpec) file that configures the container for Active Directory authentication.final BooleanSpecifies whether networking is disabled within the container.A list of DNS search domains that are presented to the container.A list of DNS servers that are presented to the container.A key/value map of labels to add to the container.A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.final BooleanEnable a restart policy for a container.The ENTRYPOINT value to pass to the container.The environment variables to pass to the container.final List<EnvironmentFile> The environment files to pass to the container.final BooleanSpecifies whether the container is marked essential.A list of hostnames and IP address mappings to append to the /etc/hosts file on the container.final FirelensConfigFirelens configuration.final NumberThe number of GPUs assigned to the container.final HealthCheckThe health check command and associated configuration parameters for the container.final StringThe hostname to use for your container.final ContainerImagegetImage()The image used to start a container.The inference accelerators referenced by the container.final BooleanWhen this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.final LinuxParametersLinux-specific modifications that are applied to the container, such as Linux kernel capabilities.final LogDriverThe log configuration specification for the container.final NumberThe amount (in MiB) of memory to present to the container.final NumberThe soft limit (in MiB) of memory to reserve for the container.final List<PortMapping> The port mappings to add to the container definition.final BooleanSpecifies whether the container is marked as privileged.final BooleanWhen this parameter is true, a TTY is allocated.final BooleanWhen this parameter is true, the container is given read-only access to its root file system.final DurationA period of time that the container must run for before a restart can be attempted.A list of exit codes that Amazon ECS will ignore and not attempt a restart on.The secret environment variables to pass to the container.final DurationTime duration (in seconds) to wait before giving up on resolving dependencies for a container.final DurationTime duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.final List<SystemControl> A list of namespaced kernel parameters to set in the container.final TaskDefinitionThe name of the task definition that includes this container definition.An array of ulimits to set in the container.final StringgetUser()The user to use inside the container.final VersionConsistencySpecifies whether Amazon ECS will resolve the container image tag provided in the container definition to an image digest.final StringThe working directory in which to run commands inside the 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 theFirelensLogRouterProps.Builder.
-
-
Method Details
-
getFirelensConfig
Description copied from interface:FirelensLogRouterPropsFirelens configuration.- Specified by:
getFirelensConfigin interfaceFirelensLogRouterProps
-
getTaskDefinition
Description copied from interface:ContainerDefinitionPropsThe name of the task definition that includes this container definition.[disable-awslint:ref-via-interface]
- Specified by:
getTaskDefinitionin interfaceContainerDefinitionProps
-
getImage
Description copied from interface:ContainerDefinitionOptionsThe image used to start a container.This string is passed directly to the Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are specified with either repository-url/image:tag or repository-url/image@digest. TODO: Update these to specify using classes of IContainerImage
- Specified by:
getImagein interfaceContainerDefinitionOptions
-
getCommand
Description copied from interface:ContainerDefinitionOptionsThe command that is passed to the container.If you provide a shell command as a single string, you have to quote command-line arguments.
Default: - CMD value built into container image.
- Specified by:
getCommandin interfaceContainerDefinitionOptions
-
getContainerName
Description copied from interface:ContainerDefinitionOptionsThe name of the container.Default: - id of node associated with ContainerDefinition.
- Specified by:
getContainerNamein interfaceContainerDefinitionOptions
-
getCpu
Description copied from interface:ContainerDefinitionOptionsThe minimum number of CPU units to reserve for the container.Default: - No minimum CPU units reserved.
- Specified by:
getCpuin interfaceContainerDefinitionOptions
-
getCredentialSpecs
Description copied from interface:ContainerDefinitionOptionsA list of ARNs in SSM or Amazon S3 to a credential spec (CredSpec) file that configures the container for Active Directory authentication.We recommend that you use this parameter instead of the
dockerSecurityOptions.Currently, only one credential spec is allowed per container definition.
Default: - No credential specs.
- Specified by:
getCredentialSpecsin interfaceContainerDefinitionOptions
-
getDisableNetworking
Description copied from interface:ContainerDefinitionOptionsSpecifies whether networking is disabled within the container.When this parameter is true, networking is disabled within the container.
Default: false
- Specified by:
getDisableNetworkingin interfaceContainerDefinitionOptions
-
getDnsSearchDomains
Description copied from interface:ContainerDefinitionOptionsA list of DNS search domains that are presented to the container.Default: - No search domains.
- Specified by:
getDnsSearchDomainsin interfaceContainerDefinitionOptions
-
getDnsServers
Description copied from interface:ContainerDefinitionOptionsA list of DNS servers that are presented to the container.Default: - Default DNS servers.
- Specified by:
getDnsServersin interfaceContainerDefinitionOptions
-
getDockerLabels
Description copied from interface:ContainerDefinitionOptionsA key/value map of labels to add to the container.Default: - No labels.
- Specified by:
getDockerLabelsin interfaceContainerDefinitionOptions
-
getDockerSecurityOptions
Description copied from interface:ContainerDefinitionOptionsA list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.Default: - No security labels.
- Specified by:
getDockerSecurityOptionsin interfaceContainerDefinitionOptions
-
getEnableRestartPolicy
Description copied from interface:ContainerDefinitionOptionsEnable a restart policy for a container.When you set up a restart policy, Amazon ECS can restart the container without needing to replace the task.
Default: - false unless `restartIgnoredExitCodes` or `restartAttemptPeriod` is set.
- Specified by:
getEnableRestartPolicyin interfaceContainerDefinitionOptions- See Also:
-
getEntryPoint
Description copied from interface:ContainerDefinitionOptionsThe ENTRYPOINT value to pass to the container.Default: - Entry point configured in container.
- Specified by:
getEntryPointin interfaceContainerDefinitionOptions- See Also:
-
getEnvironment
Description copied from interface:ContainerDefinitionOptionsThe environment variables to pass to the container.Default: - No environment variables.
- Specified by:
getEnvironmentin interfaceContainerDefinitionOptions
-
getEnvironmentFiles
Description copied from interface:ContainerDefinitionOptionsThe environment files to pass to the container.Default: - No environment files.
- Specified by:
getEnvironmentFilesin interfaceContainerDefinitionOptions- See Also:
-
getEssential
Description copied from interface:ContainerDefinitionOptionsSpecifies whether the container is marked essential.If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, then its failure does not affect the rest of the containers in a task. All tasks must have at least one essential container.
If this parameter is omitted, a container is assumed to be essential.
Default: true
- Specified by:
getEssentialin interfaceContainerDefinitionOptions
-
getExtraHosts
Description copied from interface:ContainerDefinitionOptionsA list of hostnames and IP address mappings to append to the /etc/hosts file on the container.Default: - No extra hosts.
- Specified by:
getExtraHostsin interfaceContainerDefinitionOptions
-
getGpuCount
Description copied from interface:ContainerDefinitionOptionsThe number of GPUs assigned to the container.Default: - No GPUs assigned.
- Specified by:
getGpuCountin interfaceContainerDefinitionOptions
-
getHealthCheck
Description copied from interface:ContainerDefinitionOptionsThe health check command and associated configuration parameters for the container.Default: - Health check configuration from container.
- Specified by:
getHealthCheckin interfaceContainerDefinitionOptions
-
getHostname
Description copied from interface:ContainerDefinitionOptionsThe hostname to use for your container.Default: - Automatic hostname.
- Specified by:
getHostnamein interfaceContainerDefinitionOptions
-
getInferenceAcceleratorResources
Description copied from interface:ContainerDefinitionOptionsThe inference accelerators referenced by the container.Default: - No inference accelerators assigned.
- Specified by:
getInferenceAcceleratorResourcesin interfaceContainerDefinitionOptions
-
getInteractive
Description copied from interface:ContainerDefinitionOptionsWhen this parameter is true, you can deploy containerized applications that require stdin or a tty to be allocated.Default: - false
- Specified by:
getInteractivein interfaceContainerDefinitionOptions- See Also:
-
getLinuxParameters
Description copied from interface:ContainerDefinitionOptionsLinux-specific modifications that are applied to the container, such as Linux kernel capabilities.For more information see KernelCapabilities.
Default: - No Linux parameters.
- Specified by:
getLinuxParametersin interfaceContainerDefinitionOptions
-
getLogging
Description copied from interface:ContainerDefinitionOptionsThe log configuration specification for the container.Default: - Containers use the same logging driver that the Docker daemon uses.
- Specified by:
getLoggingin interfaceContainerDefinitionOptions
-
getMemoryLimitMiB
Description copied from interface:ContainerDefinitionOptionsThe amount (in MiB) of memory to present to the container.If your container attempts to exceed the allocated memory, the container is terminated.
At least one of memoryLimitMiB and memoryReservationMiB is required for non-Fargate services.
Default: - No memory limit.
- Specified by:
getMemoryLimitMiBin interfaceContainerDefinitionOptions
-
getMemoryReservationMiB
Description copied from interface:ContainerDefinitionOptionsThe soft limit (in MiB) of memory to reserve for the container.When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the memory parameter (if applicable), or all of the available memory on the container instance, whichever comes first.
At least one of memoryLimitMiB and memoryReservationMiB is required for non-Fargate services.
Default: - No memory reserved.
- Specified by:
getMemoryReservationMiBin interfaceContainerDefinitionOptions
-
getPortMappings
Description copied from interface:ContainerDefinitionOptionsThe port mappings to add to the container definition.Default: - No ports are mapped.
- Specified by:
getPortMappingsin interfaceContainerDefinitionOptions
-
getPrivileged
Description copied from interface:ContainerDefinitionOptionsSpecifies whether the container is marked as privileged.When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root user).
Default: false
- Specified by:
getPrivilegedin interfaceContainerDefinitionOptions
-
getPseudoTerminal
Description copied from interface:ContainerDefinitionOptionsWhen this parameter is true, a TTY is allocated.This parameter maps to Tty in the "Create a container section" of the Docker Remote API and the --tty option to
docker run.Default: - false
- Specified by:
getPseudoTerminalin interfaceContainerDefinitionOptions- See Also:
-
getReadonlyRootFilesystem
Description copied from interface:ContainerDefinitionOptionsWhen this parameter is true, the container is given read-only access to its root file system.Default: false
- Specified by:
getReadonlyRootFilesystemin interfaceContainerDefinitionOptions
-
getRestartAttemptPeriod
Description copied from interface:ContainerDefinitionOptionsA period of time that the container must run for before a restart can be attempted.A container can be restarted only once every
restartAttemptPeriodseconds. If a container isn't able to run for this time period and exits early, it will not be restarted.This property can't be used if
enableRestartPolicyis set to false.You can set a minimum
restartAttemptPeriodof 60 seconds and a maximumrestartAttemptPeriodof 1800 seconds.Default: - Duration.seconds(300) if `enableRestartPolicy` is true, otherwise no period.
- Specified by:
getRestartAttemptPeriodin interfaceContainerDefinitionOptions
-
getRestartIgnoredExitCodes
Description copied from interface:ContainerDefinitionOptionsA list of exit codes that Amazon ECS will ignore and not attempt a restart on.This property can't be used if
enableRestartPolicyis set to false.You can specify a maximum of 50 container exit codes.
Default: - No exit codes are ignored.
- Specified by:
getRestartIgnoredExitCodesin interfaceContainerDefinitionOptions
-
getSecrets
Description copied from interface:ContainerDefinitionOptionsThe secret environment variables to pass to the container.Default: - No secret environment variables.
- Specified by:
getSecretsin interfaceContainerDefinitionOptions
-
getStartTimeout
Description copied from interface:ContainerDefinitionOptionsTime duration (in seconds) to wait before giving up on resolving dependencies for a container.Default: - none
- Specified by:
getStartTimeoutin interfaceContainerDefinitionOptions
-
getStopTimeout
Description copied from interface:ContainerDefinitionOptionsTime duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.Default: - none
- Specified by:
getStopTimeoutin interfaceContainerDefinitionOptions
-
getSystemControls
Description copied from interface:ContainerDefinitionOptionsA list of namespaced kernel parameters to set in the container.Default: - No system controls are set.
- Specified by:
getSystemControlsin interfaceContainerDefinitionOptions- See Also:
-
getUlimits
Description copied from interface:ContainerDefinitionOptionsAn array of ulimits to set in the container.- Specified by:
getUlimitsin interfaceContainerDefinitionOptions
-
getUser
Description copied from interface:ContainerDefinitionOptionsThe user to use inside the container.This parameter maps to User in the Create a container section of the Docker Remote API and the --user option to docker run.
Default: root
- Specified by:
getUserin interfaceContainerDefinitionOptions- See Also:
-
getVersionConsistency
Description copied from interface:ContainerDefinitionOptionsSpecifies whether Amazon ECS will resolve the container image tag provided in the container definition to an image digest.If you set the value for a container as disabled, Amazon ECS will not resolve the provided container image tag to a digest and will use the original image URI specified in the container definition for deployment.
Default: VersionConsistency.DISABLED if `image` is a CDK asset, VersionConsistency.ENABLED otherwise
- Specified by:
getVersionConsistencyin interfaceContainerDefinitionOptions- See Also:
-
getWorkingDirectory
Description copied from interface:ContainerDefinitionOptionsThe working directory in which to run commands inside the container.Default: /
- Specified by:
getWorkingDirectoryin interfaceContainerDefinitionOptions
-
$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()
-