Method: Aws::ECS::Types::ContainerDefinition#readonly_root_filesystem

Defined in:
lib/aws-sdk-ecs/types.rb

#readonly_root_filesystemBoolean

When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ‘ReadonlyRootfs` in the docker container create command and the `–read-only` option to docker run.

<note markdown=“1”> This parameter is not supported for Windows containers.

</note>

Returns:

  • (Boolean)


2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
# File 'lib/aws-sdk-ecs/types.rb', line 2064

class ContainerDefinition < Struct.new(
  :name,
  :image,
  :repository_credentials,
  :cpu,
  :memory,
  :memory_reservation,
  :links,
  :port_mappings,
  :essential,
  :restart_policy,
  :entry_point,
  :command,
  :environment,
  :environment_files,
  :mount_points,
  :volumes_from,
  :linux_parameters,
  :secrets,
  :depends_on,
  :start_timeout,
  :stop_timeout,
  :version_consistency,
  :hostname,
  :user,
  :working_directory,
  :disable_networking,
  :privileged,
  :readonly_root_filesystem,
  :dns_servers,
  :dns_search_domains,
  :extra_hosts,
  :docker_security_options,
  :interactive,
  :pseudo_terminal,
  :docker_labels,
  :ulimits,
  :log_configuration,
  :health_check,
  :system_controls,
  :resource_requirements,
  :firelens_configuration,
  :credential_specs)
  SENSITIVE = []
  include Aws::Structure
end