Class CfnExperimentTemplateProps
Properties for defining a CfnExperimentTemplate
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.FIS
Assembly: Amazon.CDK.AWS.FIS.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"
} },
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
Constructors
CfnExperimentTemplateProps() |
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. |
Constructors
CfnExperimentTemplateProps()
public CfnExperimentTemplateProps()
Properties
Actions
The actions for the experiment.
public object Actions { get; set; }
Property Value
System.Object
Remarks
Description
A description for the experiment template.
public string Description { get; set; }
Property Value
System.String
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 that grants the AWS FIS service permission to perform service actions on your behalf.
public string RoleArn { get; set; }
Property Value
System.String
Remarks
StopConditions
The stop conditions.
public object StopConditions { get; set; }
Property Value
System.Object
Remarks
Tags
The tags to apply to 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