DaemonTaskDefinitionContainerDefinitionRestartPolicy class
Constructors
-
DaemonTaskDefinitionContainerDefinitionRestartPolicy({required Input<
bool> enabled, Input<List< ? ignoredExitCodes, Input<int> ?>int?> ? restartAttemptPeriod}) -
Creates a new DaemonTaskDefinitionContainerDefinitionRestartPolicy.
enabledWhether a restart policy is enabled for the container.ignoredExitCodesList of exit codes that Amazon ECS will ignore and not attempt a restart on. Maximum of 50.restartAttemptPeriodPeriod of time (in seconds) that the container must run for before a restart can be attempted. Valid range: 60–1800.const -
DaemonTaskDefinitionContainerDefinitionRestartPolicy.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
enabled
→ Input<
bool> -
Whether a restart policy is enabled for the container.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ignoredExitCodes
→ Input<
List< ?int> ?> -
List of exit codes that Amazon ECS will ignore and not attempt a restart on. Maximum of 50.
final
-
restartAttemptPeriod
→ Input<
int?> ? -
Period of time (in seconds) that the container must run for before a restart can be attempted. Valid range: 60–1800.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited