@Stability(value=Stable)
public static interface CfnExperimentTemplate.ExperimentTemplateActionProperty
extends software.amazon.jsii.JsiiSerializable
For more information, see Actions in the AWS Fault Injection Simulator 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder
A builder for
CfnExperimentTemplate.ExperimentTemplateActionProperty |
static class |
CfnExperimentTemplate.ExperimentTemplateActionProperty.Jsii$Proxy
An implementation for
CfnExperimentTemplate.ExperimentTemplateActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder |
builder() |
String |
getActionId()
The ID of the action.
|
default String |
getDescription()
A description for the action.
|
default Object |
getParameters()
The parameters for the action, if applicable.
|
default List<String> |
getStartAfter()
The name of the action that must be completed before the current action starts.
|
default Object |
getTargets()
The targets for the action.
|
@Stability(value=Stable) @NotNull String getActionId()
The format of the action ID is: aws: service-name : action-type .
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getParameters()
@Stability(value=Stable) @Nullable default List<String> getStartAfter()
Omit this parameter to run the action at the start of the experiment.
@Stability(value=Stable) @Nullable default Object getTargets()
@Stability(value=Stable) static CfnExperimentTemplate.ExperimentTemplateActionProperty.Builder builder()
Copyright © 2022. All rights reserved.