Class CfnExperimentTemplateProps
Properties for defining a CfnExperimentTemplate
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.FIS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnExperimentTemplateProps : Object, ICfnExperimentTemplateProps
Syntax (vb)
Public Class CfnExperimentTemplateProps
Inherits Object
Implements 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"
} },
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" }
}
} }
},
ExperimentOptions = new ExperimentTemplateExperimentOptionsProperty {
AccountTargeting = "accountTargeting",
EmptyTargetResolutionMode = "emptyTargetResolutionMode"
},
LogConfiguration = new ExperimentTemplateLogConfigurationProperty {
LogSchemaVersion = 123,
// the properties below are optional
CloudWatchLogsConfiguration = cloudWatchLogsConfiguration,
S3Configuration = s3Configuration
},
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
Synopsis
Constructors
CfnExperimentTemplateProps() |
Properties
Actions | The actions for the experiment. |
Description | The description for the experiment template. |
ExperimentOptions | The experiment options for an experiment template. |
LogConfiguration | The configuration for experiment logging. |
RoleArn | The Amazon Resource Name (ARN) of an IAM role. |
StopConditions | The stop conditions for the experiment. |
Tags | The tags for the experiment template. |
Targets | The targets for the experiment. |
Constructors
CfnExperimentTemplateProps()
public CfnExperimentTemplateProps()
Properties
Actions
The actions for the experiment.
public object Actions { get; set; }
Property Value
System.Object
Remarks
Description
The description for the experiment template.
public string Description { get; set; }
Property Value
System.String
Remarks
ExperimentOptions
The experiment options for an experiment template.
public object ExperimentOptions { get; set; }
Property Value
System.Object
Remarks
LogConfiguration
The configuration for experiment logging.
public object LogConfiguration { get; set; }
Property Value
System.Object
Remarks
RoleArn
The Amazon Resource Name (ARN) of an IAM role.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
StopConditions
The stop conditions for the experiment.
public object StopConditions { get; set; }
Property Value
System.Object
Remarks
Tags
The tags for the experiment template.
public IDictionary<string, string> Tags { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
Targets
The targets for the experiment.
public object Targets { get; set; }
Property Value
System.Object