Interface CfnDaemonTaskDefinitionPropsMixin.RestartPolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDaemonTaskDefinitionPropsMixin.RestartPolicyProperty.Jsii$Proxy
- Enclosing class:
CfnDaemonTaskDefinitionPropsMixin
@Stability(Stable)
public static interface CfnDaemonTaskDefinitionPropsMixin.RestartPolicyProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.ecs.*;
RestartPolicyProperty restartPolicyProperty = RestartPolicyProperty.builder()
.enabled(false)
.ignoredExitCodes(List.of(123))
.restartAttemptPeriod(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDaemonTaskDefinitionPropsMixin.RestartPolicyPropertystatic final classAn implementation forCfnDaemonTaskDefinitionPropsMixin.RestartPolicyProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnabled
Returns union: eitherBooleanorIResolvable- See Also:
-
getIgnoredExitCodes
- See Also:
-
getRestartAttemptPeriod
- See Also:
-
builder
-