Class: AWSCDK::ECS::FirelensLogRouter
- Inherits:
-
ContainerDefinition
- Object
- ContainerDefinition
- AWSCDK::ECS::FirelensLogRouter
- Defined in:
- ecs/firelens_log_router.rb
Overview
Firelens log router.
Class Method Summary collapse
- .jsii_overridable_methods ⇒ Object
-
.PROPERTY_INJECTION_ID ⇒ String
Uniquely identifies this class.
Instance Method Summary collapse
-
#add_container_dependencies(*container_dependencies) ⇒ void
This method adds one or more container dependencies to the container.
-
#add_docker_label(name, value) ⇒ void
This method adds a Docker label to the container.
-
#add_environment(name, value) ⇒ void
This method adds an environment variable to the container.
-
#add_inference_accelerator_resource(*inference_accelerator_resources) ⇒ void
This method adds one or more resources to the container.
-
#add_link(container, _alias = nil) ⇒ void
This method adds a link which allows containers to communicate with each other without the need for port mappings.
-
#add_mount_points(*mount_points) ⇒ void
This method adds one or more mount points for data volumes to the container.
-
#add_port_mappings(*port_mappings) ⇒ void
This method adds one or more port mappings to the container.
-
#add_scratch(scratch) ⇒ void
This method mounts temporary disk space to the container.
-
#add_secret(name, secret) ⇒ void
This method adds a secret as environment variable to the container.
-
#add_to_execution_policy(statement) ⇒ void
This method adds the specified statement to the IAM task execution policy in the task definition.
-
#add_ulimits(*ulimits) ⇒ void
This method adds one or more ulimits to the container.
-
#add_volumes_from(*volumes_from) ⇒ void
This method adds one or more volumes to the container.
-
#container_dependencies ⇒ Array<AWSCDK::ECS::ContainerDependency>
An array dependencies defined for container startup and shutdown.
-
#container_name ⇒ String
The name of this container.
-
#container_port ⇒ Numeric
The port the container will listen on.
-
#cpu ⇒ Numeric?
The number of cpu units reserved for the container.
-
#credential_specs ⇒ Array<AWSCDK::ECS::CredentialSpecConfig>?
The crdential specifications for this container.
-
#environment_files ⇒ Array<AWSCDK::ECS::EnvironmentFileConfig>?
The environment files for this container.
-
#essential ⇒ Boolean
Specifies whether the container will be marked essential.
-
#find_port_mapping(container_port, protocol) ⇒ AWSCDK::ECS::PortMapping?
Returns the host port for the requested container port if it exists.
-
#find_port_mapping_by_name(name) ⇒ AWSCDK::ECS::PortMapping?
Returns the port mapping with the given name, if it exists.
-
#firelens_config ⇒ AWSCDK::ECS::FirelensConfig
Firelens configuration.
-
#image_name ⇒ String
The name of the image referenced by this container.
-
#ingress_port ⇒ Numeric
The inbound rules associated with the security group the task or service will use.
-
#initialize(scope, id, props) ⇒ FirelensLogRouter
constructor
Constructs a new instance of the FirelensLogRouter class.
-
#linux_parameters ⇒ AWSCDK::ECS::LinuxParameters?
The Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
-
#log_driver_config ⇒ AWSCDK::ECS::LogDriverConfig?
The log configuration specification for the container.
-
#memory_limit_specified ⇒ Boolean
Whether there was at least one memory limit specified in this definition.
-
#mount_points ⇒ Array<AWSCDK::ECS::MountPoint>
The mount points for data volumes in your container.
-
#node ⇒ Constructs::Node
The tree node.
-
#port_mappings ⇒ Array<AWSCDK::ECS::PortMapping>
The list of port mappings for the container.
-
#pseudo_terminal ⇒ Boolean?
Specifies whether a TTY must be allocated for this container.
-
#references_secret_json_field ⇒ Boolean?
Whether this container definition references a specific JSON field of a secret stored in Secrets Manager.
-
#render_container_definition(_task_definition = nil) ⇒ AWSCDK::ECS::CfnTaskDefinition::ContainerDefinitionProperty
Render this container definition to a CloudFormation object.
-
#task_definition ⇒ AWSCDK::ECS::TaskDefinition
The name of the task definition that includes this container definition.
-
#to_string ⇒ String
Returns a string representation of this construct.
-
#ulimits ⇒ Array<AWSCDK::ECS::Ulimit>
An array of ulimits to set in the container.
-
#volumes_from ⇒ Array<AWSCDK::ECS::VolumeFrom>
The data volumes to mount from another container in the same task definition.
-
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Constructor Details
#initialize(scope, id, props) ⇒ FirelensLogRouter
Constructs a new instance of the FirelensLogRouter class.
13 14 15 16 17 18 19 |
# File 'ecs/firelens_log_router.rb', line 13 def initialize(scope, id, props) props = props.is_a?(Hash) ? ::AWSCDK::ECS::FirelensLogRouterProps.new(**props.transform_keys(&:to_sym)) : props Jsii::Type.check_type(scope, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLkNvbnN0cnVjdCJ9")), "scope") Jsii::Type.check_type(id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id") Jsii::Type.check_type(props, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLkZpcmVsZW5zTG9nUm91dGVyUHJvcHMifQ==")), "props") Jsii::Object.instance_method(:initialize).bind(self).call(scope, id, props) end |
Class Method Details
.jsii_overridable_methods ⇒ Object
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
# File 'ecs/firelens_log_router.rb', line 21 def self.jsii_overridable_methods { :node => { kind: :property, name: "node", is_optional: false }, :container_dependencies => { kind: :property, name: "containerDependencies", is_optional: false }, :container_name => { kind: :property, name: "containerName", is_optional: false }, :container_port => { kind: :property, name: "containerPort", is_optional: false }, :essential => { kind: :property, name: "essential", is_optional: false }, :image_name => { kind: :property, name: "imageName", is_optional: false }, :ingress_port => { kind: :property, name: "ingressPort", is_optional: false }, :memory_limit_specified => { kind: :property, name: "memoryLimitSpecified", is_optional: false }, :mount_points => { kind: :property, name: "mountPoints", is_optional: false }, :port_mappings => { kind: :property, name: "portMappings", is_optional: false }, :task_definition => { kind: :property, name: "taskDefinition", is_optional: false }, :ulimits => { kind: :property, name: "ulimits", is_optional: false }, :volumes_from => { kind: :property, name: "volumesFrom", is_optional: false }, :cpu => { kind: :property, name: "cpu", is_optional: true }, :credential_specs => { kind: :property, name: "credentialSpecs", is_optional: true }, :environment_files => { kind: :property, name: "environmentFiles", is_optional: true }, :linux_parameters => { kind: :property, name: "linuxParameters", is_optional: true }, :log_driver_config => { kind: :property, name: "logDriverConfig", is_optional: true }, :pseudo_terminal => { kind: :property, name: "pseudoTerminal", is_optional: true }, :references_secret_json_field => { kind: :property, name: "referencesSecretJsonField", is_optional: true }, :firelens_config => { kind: :property, name: "firelensConfig", is_optional: false }, :to_string => { kind: :method, name: "toString", is_optional: false }, :with => { kind: :method, name: "with", is_optional: false }, :add_container_dependencies => { kind: :method, name: "addContainerDependencies", is_optional: false }, :add_docker_label => { kind: :method, name: "addDockerLabel", is_optional: false }, :add_environment => { kind: :method, name: "addEnvironment", is_optional: false }, :add_inference_accelerator_resource => { kind: :method, name: "addInferenceAcceleratorResource", is_optional: false }, :add_link => { kind: :method, name: "addLink", is_optional: false }, :add_mount_points => { kind: :method, name: "addMountPoints", is_optional: false }, :add_port_mappings => { kind: :method, name: "addPortMappings", is_optional: false }, :add_scratch => { kind: :method, name: "addScratch", is_optional: false }, :add_secret => { kind: :method, name: "addSecret", is_optional: false }, :add_to_execution_policy => { kind: :method, name: "addToExecutionPolicy", is_optional: false }, :add_ulimits => { kind: :method, name: "addUlimits", is_optional: false }, :add_volumes_from => { kind: :method, name: "addVolumesFrom", is_optional: false }, :find_port_mapping => { kind: :method, name: "findPortMapping", is_optional: false }, :find_port_mapping_by_name => { kind: :method, name: "findPortMappingByName", is_optional: false }, :render_container_definition => { kind: :method, name: "renderContainerDefinition", is_optional: false }, } end |
.PROPERTY_INJECTION_ID ⇒ String
Uniquely identifies this class.
74 75 76 |
# File 'ecs/firelens_log_router.rb', line 74 def self.PROPERTY_INJECTION_ID() Jsii::Kernel.instance.get_static("aws-cdk-lib.aws_ecs.FirelensLogRouter", "PROPERTY_INJECTION_ID") end |
Instance Method Details
#add_container_dependencies(*container_dependencies) ⇒ void
This method returns an undefined value.
This method adds one or more container dependencies to the container.
257 258 259 260 261 262 263 |
# File 'ecs/firelens_log_router.rb', line 257 def add_container_dependencies(*container_dependencies) container_dependencies.map! { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::ECS::ContainerDependency.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } container_dependencies.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLkNvbnRhaW5lckRlcGVuZGVuY3kifQ==")), "containerDependencies[#{index}]") end jsii_call_method("addContainerDependencies", [*container_dependencies]) end |
#add_docker_label(name, value) ⇒ void
This method returns an undefined value.
This method adds a Docker label to the container.
270 271 272 273 274 |
# File 'ecs/firelens_log_router.rb', line 270 def add_docker_label(name, value) Jsii::Type.check_type(name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") jsii_call_method("addDockerLabel", [name, value]) end |
#add_environment(name, value) ⇒ void
This method returns an undefined value.
This method adds an environment variable to the container.
281 282 283 284 285 |
# File 'ecs/firelens_log_router.rb', line 281 def add_environment(name, value) Jsii::Type.check_type(name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") Jsii::Type.check_type(value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") jsii_call_method("addEnvironment", [name, value]) end |
#add_inference_accelerator_resource(*inference_accelerator_resources) ⇒ void
This method returns an undefined value.
This method adds one or more resources to the container.
291 292 293 294 295 296 |
# File 'ecs/firelens_log_router.rb', line 291 def add_inference_accelerator_resource(*inference_accelerator_resources) inference_accelerator_resources.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "inferenceAcceleratorResources[#{index}]") end jsii_call_method("addInferenceAcceleratorResource", [*inference_accelerator_resources]) end |
#add_link(container, _alias = nil) ⇒ void
This method returns an undefined value.
This method adds a link which allows containers to communicate with each other without the need for port mappings.
This parameter is only supported if the task definition is using the bridge network mode. Warning: The --link flag is a legacy feature of Docker. It may eventually be removed.
306 307 308 309 310 |
# File 'ecs/firelens_log_router.rb', line 306 def add_link(container, _alias = nil) Jsii::Type.check_type(container, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLkNvbnRhaW5lckRlZmluaXRpb24ifQ==")), "container") Jsii::Type.check_type(_alias, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "alias") unless _alias.nil? jsii_call_method("addLink", [container, _alias]) end |
#add_mount_points(*mount_points) ⇒ void
This method returns an undefined value.
This method adds one or more mount points for data volumes to the container.
316 317 318 319 320 321 322 |
# File 'ecs/firelens_log_router.rb', line 316 def add_mount_points(*mount_points) mount_points.map! { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::ECS::MountPoint.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } mount_points.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLk1vdW50UG9pbnQifQ==")), "mountPoints[#{index}]") end jsii_call_method("addMountPoints", [*mount_points]) end |
#add_port_mappings(*port_mappings) ⇒ void
This method returns an undefined value.
This method adds one or more port mappings to the container.
328 329 330 331 332 333 334 |
# File 'ecs/firelens_log_router.rb', line 328 def add_port_mappings(*port_mappings) port_mappings.map! { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::ECS::PortMapping.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } port_mappings.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLlBvcnRNYXBwaW5nIn0=")), "portMappings[#{index}]") end jsii_call_method("addPortMappings", [*port_mappings]) end |
#add_scratch(scratch) ⇒ void
This method returns an undefined value.
This method mounts temporary disk space to the container.
This adds the correct container mountPoint and task definition volume.
342 343 344 345 346 |
# File 'ecs/firelens_log_router.rb', line 342 def add_scratch(scratch) scratch = scratch.is_a?(Hash) ? ::AWSCDK::ECS::ScratchSpace.new(**scratch.transform_keys(&:to_sym)) : scratch Jsii::Type.check_type(scratch, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLlNjcmF0Y2hTcGFjZSJ9")), "scratch") jsii_call_method("addScratch", [scratch]) end |
#add_secret(name, secret) ⇒ void
This method returns an undefined value.
This method adds a secret as environment variable to the container.
353 354 355 356 357 |
# File 'ecs/firelens_log_router.rb', line 353 def add_secret(name, secret) Jsii::Type.check_type(name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") Jsii::Type.check_type(secret, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLlNlY3JldCJ9")), "secret") jsii_call_method("addSecret", [name, secret]) end |
#add_to_execution_policy(statement) ⇒ void
This method returns an undefined value.
This method adds the specified statement to the IAM task execution policy in the task definition.
363 364 365 366 |
# File 'ecs/firelens_log_router.rb', line 363 def add_to_execution_policy(statement) Jsii::Type.check_type(statement, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaWFtLlBvbGljeVN0YXRlbWVudCJ9")), "statement") jsii_call_method("addToExecutionPolicy", [statement]) end |
#add_ulimits(*ulimits) ⇒ void
This method returns an undefined value.
This method adds one or more ulimits to the container.
372 373 374 375 376 377 378 |
# File 'ecs/firelens_log_router.rb', line 372 def add_ulimits(*ulimits) ulimits.map! { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::ECS::Ulimit.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } ulimits.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLlVsaW1pdCJ9")), "ulimits[#{index}]") end jsii_call_method("addUlimits", [*ulimits]) end |
#add_volumes_from(*volumes_from) ⇒ void
This method returns an undefined value.
This method adds one or more volumes to the container.
384 385 386 387 388 389 390 |
# File 'ecs/firelens_log_router.rb', line 384 def add_volumes_from(*volumes_from) volumes_from.map! { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::ECS::VolumeFrom.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } volumes_from.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLlZvbHVtZUZyb20ifQ==")), "volumesFrom[#{index}]") end jsii_call_method("addVolumesFrom", [*volumes_from]) end |
#container_dependencies ⇒ Array<AWSCDK::ECS::ContainerDependency>
An array dependencies defined for container startup and shutdown.
81 82 83 |
# File 'ecs/firelens_log_router.rb', line 81 def container_dependencies() jsii_get_property("containerDependencies") end |
#container_name ⇒ String
The name of this container.
88 89 90 |
# File 'ecs/firelens_log_router.rb', line 88 def container_name() jsii_get_property("containerName") end |
#container_port ⇒ Numeric
The port the container will listen on.
95 96 97 |
# File 'ecs/firelens_log_router.rb', line 95 def container_port() jsii_get_property("containerPort") end |
#cpu ⇒ Numeric?
The number of cpu units reserved for the container.
177 178 179 |
# File 'ecs/firelens_log_router.rb', line 177 def cpu() jsii_get_property("cpu") end |
#credential_specs ⇒ Array<AWSCDK::ECS::CredentialSpecConfig>?
The crdential specifications for this container.
184 185 186 |
# File 'ecs/firelens_log_router.rb', line 184 def credential_specs() jsii_get_property("credentialSpecs") end |
#environment_files ⇒ Array<AWSCDK::ECS::EnvironmentFileConfig>?
The environment files for this container.
191 192 193 |
# File 'ecs/firelens_log_router.rb', line 191 def environment_files() jsii_get_property("environmentFiles") end |
#essential ⇒ Boolean
Specifies whether the container will be 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.
If this parameter is omitted, a container is assumed to be essential.
109 110 111 |
# File 'ecs/firelens_log_router.rb', line 109 def essential() jsii_get_property("essential") end |
#find_port_mapping(container_port, protocol) ⇒ AWSCDK::ECS::PortMapping?
Returns the host port for the requested container port if it exists.
397 398 399 400 401 |
# File 'ecs/firelens_log_router.rb', line 397 def find_port_mapping(container_port, protocol) Jsii::Type.check_type(container_port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "containerPort") Jsii::Type.check_type(protocol, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLlByb3RvY29sIn0=")), "protocol") jsii_call_method("findPortMapping", [container_port, protocol]) end |
#find_port_mapping_by_name(name) ⇒ AWSCDK::ECS::PortMapping?
Returns the port mapping with the given name, if it exists.
407 408 409 410 |
# File 'ecs/firelens_log_router.rb', line 407 def find_port_mapping_by_name(name) Jsii::Type.check_type(name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") jsii_call_method("findPortMappingByName", [name]) end |
#firelens_config ⇒ AWSCDK::ECS::FirelensConfig
Firelens configuration.
226 227 228 |
# File 'ecs/firelens_log_router.rb', line 226 def firelens_config() jsii_get_property("firelensConfig") end |
#image_name ⇒ String
The name of the image referenced by this container.
116 117 118 |
# File 'ecs/firelens_log_router.rb', line 116 def image_name() jsii_get_property("imageName") end |
#ingress_port ⇒ Numeric
The inbound rules associated with the security group the task or service will use.
This property is only used for tasks that use the awsvpc network mode.
125 126 127 |
# File 'ecs/firelens_log_router.rb', line 125 def ingress_port() jsii_get_property("ingressPort") end |
#linux_parameters ⇒ AWSCDK::ECS::LinuxParameters?
The Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.
198 199 200 |
# File 'ecs/firelens_log_router.rb', line 198 def linux_parameters() jsii_get_property("linuxParameters") end |
#log_driver_config ⇒ AWSCDK::ECS::LogDriverConfig?
The log configuration specification for the container.
205 206 207 |
# File 'ecs/firelens_log_router.rb', line 205 def log_driver_config() jsii_get_property("logDriverConfig") end |
#memory_limit_specified ⇒ Boolean
Whether there was at least one memory limit specified in this definition.
132 133 134 |
# File 'ecs/firelens_log_router.rb', line 132 def memory_limit_specified() jsii_get_property("memoryLimitSpecified") end |
#mount_points ⇒ Array<AWSCDK::ECS::MountPoint>
The mount points for data volumes in your container.
139 140 141 |
# File 'ecs/firelens_log_router.rb', line 139 def mount_points() jsii_get_property("mountPoints") end |
#node ⇒ Constructs::Node
The tree node.
67 68 69 |
# File 'ecs/firelens_log_router.rb', line 67 def node() jsii_get_property("node") end |
#port_mappings ⇒ Array<AWSCDK::ECS::PortMapping>
The list of port mappings for the container.
Port mappings allow containers to access ports on the host container instance to send or receive traffic.
149 150 151 |
# File 'ecs/firelens_log_router.rb', line 149 def port_mappings() jsii_get_property("portMappings") end |
#pseudo_terminal ⇒ Boolean?
Specifies whether a TTY must be allocated for this container.
212 213 214 |
# File 'ecs/firelens_log_router.rb', line 212 def pseudo_terminal() jsii_get_property("pseudoTerminal") end |
#references_secret_json_field ⇒ Boolean?
Whether this container definition references a specific JSON field of a secret stored in Secrets Manager.
219 220 221 |
# File 'ecs/firelens_log_router.rb', line 219 def references_secret_json_field() jsii_get_property("referencesSecretJsonField") end |
#render_container_definition(_task_definition = nil) ⇒ AWSCDK::ECS::CfnTaskDefinition::ContainerDefinitionProperty
Render this container definition to a CloudFormation object.
416 417 418 419 |
# File 'ecs/firelens_log_router.rb', line 416 def render_container_definition(_task_definition = nil) Jsii::Type.check_type(_task_definition, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWNzLlRhc2tEZWZpbml0aW9uIn0=")), "_taskDefinition") unless _task_definition.nil? jsii_call_method("renderContainerDefinition", [_task_definition]) end |
#task_definition ⇒ AWSCDK::ECS::TaskDefinition
The name of the task definition that includes this container definition.
156 157 158 |
# File 'ecs/firelens_log_router.rb', line 156 def task_definition() jsii_get_property("taskDefinition") end |
#to_string ⇒ String
Returns a string representation of this construct.
233 234 235 |
# File 'ecs/firelens_log_router.rb', line 233 def to_string() jsii_call_method("toString", []) end |
#ulimits ⇒ Array<AWSCDK::ECS::Ulimit>
An array of ulimits to set in the container.
163 164 165 |
# File 'ecs/firelens_log_router.rb', line 163 def ulimits() jsii_get_property("ulimits") end |
#volumes_from ⇒ Array<AWSCDK::ECS::VolumeFrom>
The data volumes to mount from another container in the same task definition.
170 171 172 |
# File 'ecs/firelens_log_router.rb', line 170 def volumes_from() jsii_get_property("volumesFrom") end |
#with(*mixins) ⇒ Constructs::IConstruct
Applies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple with() calls if subsequent mixins should apply to added
constructs.
246 247 248 249 250 251 |
# File 'ecs/firelens_log_router.rb', line 246 def with(*mixins) mixins.each_with_index do |item, index| Jsii::Type.check_type(item, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJjb25zdHJ1Y3RzLklNaXhpbiJ9")), "mixins[#{index}]") end jsii_call_method("with", [*mixins]) end |