Class CfnExperimentTemplatePropsMixin.ExperimentTemplateActionProperty
Specifies an action for an experiment template.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.FIS.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnExperimentTemplatePropsMixin.ExperimentTemplateActionProperty : CfnExperimentTemplatePropsMixin.IExperimentTemplateActionProperty
Syntax (vb)
Public Class CfnExperimentTemplatePropsMixin.ExperimentTemplateActionProperty Implements CfnExperimentTemplatePropsMixin.IExperimentTemplateActionProperty
Remarks
For more information, see Actions in the AWS Fault Injection Service 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.Mixins.Preview.AWS.FIS.Mixins;
var experimentTemplateActionProperty = new ExperimentTemplateActionProperty {
ActionId = "actionId",
Description = "description",
Parameters = new Dictionary<string, string> {
{ "parametersKey", "parameters" }
},
StartAfter = new [] { "startAfter" },
Targets = new Dictionary<string, string> {
{ "targetsKey", "targets" }
}
};
Synopsis
Constructors
| ExperimentTemplateActionProperty() | Specifies an action for an experiment template. |
Properties
| ActionId | The ID of the action. |
| Description | A description for the action. |
| Parameters | The parameters for the action. |
| StartAfter | The name of the action that must be completed before the current action starts. |
| Targets | The targets for the action. |
Constructors
ExperimentTemplateActionProperty()
Specifies an action for an experiment template.
public ExperimentTemplateActionProperty()
Remarks
For more information, see Actions in the AWS Fault Injection Service 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.Mixins.Preview.AWS.FIS.Mixins;
var experimentTemplateActionProperty = new ExperimentTemplateActionProperty {
ActionId = "actionId",
Description = "description",
Parameters = new Dictionary<string, string> {
{ "parametersKey", "parameters" }
},
StartAfter = new [] { "startAfter" },
Targets = new Dictionary<string, string> {
{ "targetsKey", "targets" }
}
};
Properties
ActionId
The ID of the action.
public string? ActionId { get; set; }
Property Value
Remarks
Description
A description for the action.
public string? Description { get; set; }
Property Value
Remarks
Parameters
The parameters for the action.
public object? Parameters { get; set; }
Property Value
Remarks
Type union: either Dictionary<string, string> or IResolvable
StartAfter
The name of the action that must be completed before the current action starts.
public string[]? StartAfter { get; set; }
Property Value
string[]
Remarks
Targets
The targets for the action.
public object? Targets { get; set; }
Property Value
Remarks
Type union: either Dictionary<string, string> or IResolvable