Class CfnExperimentTemplate.ExperimentTemplateActionProperty
Specifies an action for an experiment template.
Inheritance
Namespace: Amazon.CDK.AWS.FIS
Assembly: Amazon.CDK.AWS.FIS.dll
Syntax (csharp)
public class ExperimentTemplateActionProperty : Object, CfnExperimentTemplate.IExperimentTemplateActionProperty
Syntax (vb)
Public Class ExperimentTemplateActionProperty
Inherits Object
Implements CfnExperimentTemplate.IExperimentTemplateActionProperty
Remarks
For more information, see Actions in the AWS Fault Injection Simulator User Guide .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.FIS;
var experimentTemplateActionProperty = new ExperimentTemplateActionProperty {
ActionId = "actionId",
// the properties below are optional
Description = "description",
Parameters = new Dictionary<string, string> {
{ "parametersKey", "parameters" }
},
StartAfter = new [] { "startAfter" },
Targets = new Dictionary<string, string> {
{ "targetsKey", "targets" }
}
};
Synopsis
Constructors
ExperimentTemplateActionProperty() |
Properties
ActionId | The ID of the action. |
Description | A description for the action. |
Parameters | The parameters for the action, if applicable. |
StartAfter | The name of the action that must be completed before the current action starts. |
Targets | The targets for the action. |
Constructors
ExperimentTemplateActionProperty()
public ExperimentTemplateActionProperty()
Properties
ActionId
The ID of the action.
public string ActionId { get; set; }
Property Value
System.String
Remarks
The format of the action ID is: aws: service-name : action-type .
Description
A description for the action.
public string Description { get; set; }
Property Value
System.String
Remarks
Parameters
The parameters for the action, if applicable.
public object Parameters { get; set; }
Property Value
System.Object
Remarks
StartAfter
The name of the action that must be completed before the current action starts.
public string[] StartAfter { get; set; }
Property Value
System.String[]
Remarks
Omit this parameter to run the action at the start of the experiment.
Targets
The targets for the action.
public object Targets { get; set; }
Property Value
System.Object