Interface CfnExperimentTemplate.ExperimentTemplateActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnExperimentTemplate.ExperimentTemplateActionProperty.Jsii$Proxy
- Enclosing class:
CfnExperimentTemplate
@Stability(Stable)
public static interface CfnExperimentTemplate.ExperimentTemplateActionProperty
extends software.amazon.jsii.JsiiSerializable
Specifies an action for an experiment template.
For more information, see Actions in the AWS Fault Injection Service User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fis.*;
ExperimentTemplateActionProperty experimentTemplateActionProperty = ExperimentTemplateActionProperty.builder()
.actionId("actionId")
// the properties below are optional
.description("description")
.parameters(Map.of(
"parametersKey", "parameters"))
.startAfter(List.of("startAfter"))
.targets(Map.of(
"targetsKey", "targets"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnExperimentTemplate.ExperimentTemplateActionPropertystatic final classAn implementation forCfnExperimentTemplate.ExperimentTemplateActionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The ID of the action.default StringA description for the action.default ObjectThe parameters for the action, if applicable.The name of the action that must be completed before the current action starts.default ObjectOne or more targets for the action.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionId
The ID of the action.- See Also:
-
getDescription
A description for the action.- See Also:
-
getParameters
The parameters for the action, if applicable.- See Also:
-
getStartAfter
The name of the action that must be completed before the current action starts.- See Also:
-
getTargets
One or more targets for the action.- See Also:
-
builder
-