Interface CfnViewProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnViewProps.Jsii$Proxy
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()))
.scope("scope")
.tags(Map.of(
"tagsKey", "tags"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnViewPropsstatic final classAn implementation forCfnViewProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnViewProps.Builderbuilder()default ObjectAn array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view.default ObjectA list of fields that provide additional information about the view.default StringgetScope()The root ARN of the account, an organizational unit (OU), or an organization ARN.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.- See Also:
-
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
QueryStringparameter using a logicalANDoperator.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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the lettersusand are not tagged with a keyStagethat has the valueprod.Returns union: either
IResolvableorCfnView.FiltersProperty- See Also:
-
getIncludedProperties
A list of fields that provide additional information about the view.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnView.IncludedPropertyProperty>- See Also:
-
getScope
The root ARN of the account, an organizational unit (OU), or an organization ARN.If left empty, the default is account.
- See Also:
-
getTags
Tag key and value pairs that are attached to the view.- See Also:
-
builder
- Returns:
- a
CfnViewProps.BuilderofCfnViewProps
-