Interface CfnExperimentTemplatePropsMixin.ExperimentTemplateTargetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnExperimentTemplatePropsMixin.ExperimentTemplateTargetProperty.Jsii$Proxy
- Enclosing class:
CfnExperimentTemplatePropsMixin
@Stability(Stable)
public static interface CfnExperimentTemplatePropsMixin.ExperimentTemplateTargetProperty
extends software.amazon.jsii.JsiiSerializable
Specifies a target for an experiment.
You must specify at least one Amazon Resource Name (ARN) or at least one resource tag. You cannot specify both ARNs and tags.
For more information, see Targets in the AWS Fault Injection Service User Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.fis.*;
ExperimentTemplateTargetProperty experimentTemplateTargetProperty = ExperimentTemplateTargetProperty.builder()
.filters(List.of(ExperimentTemplateTargetFilterProperty.builder()
.path("path")
.values(List.of("values"))
.build()))
.parameters(Map.of(
"parametersKey", "parameters"))
.resourceArns(List.of("resourceArns"))
.resourceTags(Map.of(
"resourceTagsKey", "resourceTags"))
.resourceType("resourceType")
.selectionMode("selectionMode")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnExperimentTemplatePropsMixin.ExperimentTemplateTargetProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe filters to apply to identify target resources using specific attributes.default ObjectThe parameters for the resource type.The Amazon Resource Names (ARNs) of the targets.default ObjectThe tags for the target resources.default StringThe resource type.default StringScopes the identified resources to a specific count or percentage.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilters
The filters to apply to identify target resources using specific attributes.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnExperimentTemplatePropsMixin.ExperimentTemplateTargetFilterProperty>- See Also:
-
getParameters
The parameters for the resource type.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getResourceArns
The Amazon Resource Names (ARNs) of the targets.- See Also:
-
getResourceTags
The tags for the target resources.Returns union: either Mapinvalid input: '<'String,
String> orIResolvable- See Also:
-
getResourceType
The resource type.- See Also:
-
getSelectionMode
Scopes the identified resources to a specific count or percentage.- See Also:
-
builder
@Stability(Stable) static CfnExperimentTemplatePropsMixin.ExperimentTemplateTargetProperty.Builder builder()
-