Interface CfnViewProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnViewProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:34.977Z")
@Stability(Stable)
public interface CfnViewProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnView
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.resourceexplorer2.*; CfnViewProps cfnViewProps = CfnViewProps.builder() .viewName("viewName") // the properties below are optional .filters(FiltersProperty.builder() .filterString("filterString") .build()) .includedProperties(List.of(IncludedPropertyProperty.builder() .name("name") .build())) .tags(Map.of( "tagsKey", "tags")) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnViewProps
static final class
An implementation forCfnViewProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnViewProps.Builder
builder()
default Object
An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view.default Object
A list of fields that provide additional information about the view.getTags()
Tag key and value pairs that are attached to the view.The name of the new view.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getViewName
The name of the new view. -
getFilters
An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view.When you use this view in a Search operation, the filter string is combined with the search's
QueryString
parameter using a logicalAND
operator.For information about the supported syntax, see Search query reference for Resource Explorer in the AWS Resource Explorer User Guide .
This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string
region:us* service:ec2 -tag:stage=prod
includes all Amazon EC2 resources in any AWS Region that begin with the lettersus
and are not tagged with a keyStage
that has the valueprod
. -
getIncludedProperties
A list of fields that provide additional information about the view. -
getTags
Tag key and value pairs that are attached to the view. -
builder
- Returns:
- a
CfnViewProps.Builder
ofCfnViewProps
-