Interface ICfnExperimentTemplateProps
Properties for defining a CfnExperimentTemplate
.
Namespace: Amazon.CDK.AWS.FIS
Assembly: Amazon.CDK.AWS.FIS.dll
Syntax (csharp)
public interface ICfnExperimentTemplateProps
Syntax (vb)
Public Interface ICfnExperimentTemplateProps
Remarks
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 cloudWatchLogsConfiguration;
var s3Configuration;
var cfnExperimentTemplateProps = new CfnExperimentTemplateProps {
Description = "description",
RoleArn = "roleArn",
StopConditions = new [] { new ExperimentTemplateStopConditionProperty {
Source = "source",
// the properties below are optional
Value = "value"
} },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
},
Targets = new Dictionary<string, object> {
{ "targetsKey", new ExperimentTemplateTargetProperty {
ResourceType = "resourceType",
SelectionMode = "selectionMode",
// the properties below are optional
Filters = new [] { new ExperimentTemplateTargetFilterProperty {
Path = "path",
Values = new [] { "values" }
} },
Parameters = new Dictionary<string, string> {
{ "parametersKey", "parameters" }
},
ResourceArns = new [] { "resourceArns" },
ResourceTags = new Dictionary<string, string> {
{ "resourceTagsKey", "resourceTags" }
}
} }
},
// the properties below are optional
Actions = new Dictionary<string, object> {
{ "actionsKey", 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" }
}
} }
},
LogConfiguration = new ExperimentTemplateLogConfigurationProperty {
LogSchemaVersion = 123,
// the properties below are optional
CloudWatchLogsConfiguration = cloudWatchLogsConfiguration,
S3Configuration = s3Configuration
}
};
Synopsis
Properties
Actions | The actions for the experiment. |
Description | A description for the experiment template. |
LogConfiguration | The configuration for experiment logging. |
RoleArn | The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf. |
StopConditions | The stop conditions. |
Tags | The tags to apply to the experiment template. |
Targets | The targets for the experiment. |
Properties
Actions
The actions for the experiment.
virtual object Actions { get; }
Property Value
System.Object
Remarks
Description
A description for the experiment template.
string Description { get; }
Property Value
System.String
Remarks
LogConfiguration
The configuration for experiment logging.
virtual object LogConfiguration { get; }
Property Value
System.Object
Remarks
RoleArn
The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.
string RoleArn { get; }
Property Value
System.String
Remarks
StopConditions
The stop conditions.
object StopConditions { get; }
Property Value
System.Object
Remarks
Tags
The tags to apply to the experiment template.
IDictionary<string, string> Tags { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
Targets
The targets for the experiment.
object Targets { get; }
Property Value
System.Object