TaskDefinitionContainerDefinition constructor
- Input<
List< ? command,String> ?> - Input<
int?> ? cpu, - Input<
List< ? dependsOn,TaskDefinitionContainerDependency> ?> - Input<
bool?> ? disableNetworking, - Input<
List< ? dnsSearchDomains,String> ?> - Input<
List< ? dnsServers,String> ?> - Input? dockerLabels,
- Input<
List< ? dockerSecurityOptions,String> ?> - Input<
List< ? entryPoint,String> ?> - Input<
List< ? environment,TaskDefinitionKeyValuePair> ?> - Input<
List< ? environmentFiles,TaskDefinitionEnvironmentFile> ?> - Input<
bool?> ? essential, - Input<
List< ? extraHosts,TaskDefinitionHostEntry> ?> - Input<
TaskDefinitionFirelensConfiguration?> ? firelensConfiguration, - Input<
TaskDefinitionHealthCheck?> ? healthCheck, - Input<
String?> ? hostname, - required Input<
String> image, - Input<
bool?> ? interactive, - Input<
List< ? links,String> ?> - Input<
TaskDefinitionLinuxParameters?> ? linuxParameters, - Input<
TaskDefinitionLogConfiguration?> ? logConfiguration, - Input<
int?> ? memory, - Input<
int?> ? memoryReservation, - Input<
List< ? mountPoints,TaskDefinitionMountPoint> ?> - required Input<
String> name, - Input<
List< ? portMappings,TaskDefinitionPortMapping> ?> - Input<
bool?> ? privileged, - Input<
bool?> ? pseudoTerminal, - Input<
bool?> ? readonlyRootFilesystem, - Input<
TaskDefinitionRepositoryCredentials?> ? repositoryCredentials, - Input<
List< ? resourceRequirements,TaskDefinitionResourceRequirement> ?> - Input<
List< ? secrets,TaskDefinitionSecret> ?> - Input<
int?> ? startTimeout, - Input<
int?> ? stopTimeout, - Input<
List< ? systemControls,TaskDefinitionSystemControl> ?> - Input<
List< ? ulimits,TaskDefinitionUlimit> ?> - Input<
String?> ? user, - Input<
List< ? volumesFrom,TaskDefinitionVolumeFrom> ?> - Input<
String?> ? workingDirectory,
Creates a new TaskDefinitionContainerDefinition.
command Optional.
cpu Optional.
dependsOn Optional.
disableNetworking Optional.
dnsSearchDomains Optional.
dnsServers Optional.
dockerLabels Optional.
dockerSecurityOptions Optional.
entryPoint Optional.
environment The environment variables to pass to a container
environmentFiles The list of one or more files that contain the environment variables to pass to a container
essential Optional.
extraHosts Optional.
firelensConfiguration Optional.
healthCheck Optional.
hostname Optional.
image The image used to start a container. This string is passed directly to the Docker daemon.
interactive Optional.
links Optional.
linuxParameters Optional.
logConfiguration Optional.
memory The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed.
memoryReservation Optional.
mountPoints Optional.
name The name of a container. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed
portMappings Port mappings allow containers to access ports on the host container instance to send or receive traffic.
privileged Optional.
pseudoTerminal Optional.
readonlyRootFilesystem Optional.
repositoryCredentials Optional.
resourceRequirements Optional.
secrets Optional.
startTimeout Optional.
stopTimeout Optional.
systemControls Optional.
ulimits Optional.
user Optional.
volumesFrom Optional.
workingDirectory Optional.
Implementation
const TaskDefinitionContainerDefinition({
this.command,
this.cpu,
this.dependsOn,
this.disableNetworking,
this.dnsSearchDomains,
this.dnsServers,
this.dockerLabels,
this.dockerSecurityOptions,
this.entryPoint,
this.environment,
this.environmentFiles,
this.essential,
this.extraHosts,
this.firelensConfiguration,
this.healthCheck,
this.hostname,
required this.image,
this.interactive,
this.links,
this.linuxParameters,
this.logConfiguration,
this.memory,
this.memoryReservation,
this.mountPoints,
required this.name,
this.portMappings,
this.privileged,
this.pseudoTerminal,
this.readonlyRootFilesystem,
this.repositoryCredentials,
this.resourceRequirements,
this.secrets,
this.startTimeout,
this.stopTimeout,
this.systemControls,
this.ulimits,
this.user,
this.volumesFrom,
this.workingDirectory,
});