Skip to content
v2.278.0

ExperimentTemplateTargetFilterProperty ​

Struct External

Specifies a filter used for the target resource input in an experiment template.

For more information, see Resource filters in the AWS Fault Injection Service User Guide .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_fis as fis } from 'aws-cdk-lib';
const experimentTemplateTargetFilterProperty: fis.CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty = {
  path: 'path',
  values: ['values'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_fis as fis

experiment_template_target_filter_property = fis.CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty(
    path="path",
    values=["values"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fis.*;

ExperimentTemplateTargetFilterProperty experimentTemplateTargetFilterProperty = ExperimentTemplateTargetFilterProperty.builder()
        .path("path")
        .values(List.of("values"))
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 experimentTemplateTargetFilterProperty = new ExperimentTemplateTargetFilterProperty {
    Path = "path",
    Values = new [] { "values" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

experimentTemplateTargetFilterProperty := &ExperimentTemplateTargetFilterProperty{
	Path: jsii.String("path"),
	Values: []*string{
		jsii.String("values"),
	},
}

Properties ​

pathstringpathstrpathStringPathstringPath*string required #
The attribute path for the filter.
valuesstring[]valuestyping.List[str]valuesList<String>Valuesstring[]Values*[]*string required #
The attribute values for the filter.