Class CfnView
- All Implemented Interfaces:
- IConstruct,- IDependable,- IInspectable,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct
AWS::ResourceExplorer2::View.
 
 Creates a view that users can query by using the Search operation. Results from queries that you make using this view include only resources that match the view's Filters .
 
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.*;
 CfnView cfnView = CfnView.Builder.create(this, "MyCfnView")
         .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 SummaryNested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnView.static interfaceAn object with aFilterStringthat specifies which resources to include in the results of queries made using this view.static interfaceInformation about an additional property that describes a resource, that you can optionally include in a view.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectableIInspectable.Jsii$Default, IInspectable.Jsii$Proxy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionThe ARN of the new view.An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view.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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetFilters(IResolvable value) An array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view.voidAn array of strings that include search keywords, prefixes, and operators that filter the results that are returned for queries made using this view.voidsetIncludedProperties(List<Object> value) A list of fields that provide additional information about the view.voidsetIncludedProperties(IResolvable value) A list of fields that provide additional information about the view.voidsetViewName(String value) The name of the new view.Methods inherited from class software.amazon.awscdk.core.CfnResourceaddDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElementgetRefMethods inherited from class software.amazon.awscdk.core.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
CFN_RESOURCE_TYPE_NAMEThe CloudFormation resource type name for this resource class.
 
- 
- 
Constructor Details- 
CfnViewprotected CfnView(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnViewprotected CfnView(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
CfnView@Stability(Stable) public CfnView(@NotNull Construct scope, @NotNull String id, @NotNull CfnViewProps props) Create a newAWS::ResourceExplorer2::View.- Parameters:
- scope-- scope in which this resource is defined.
 
- id-- scoped id of the resource.
 
- props-- resource properties.
 
 
 
- 
- 
Method Details- 
inspectExamines the CloudFormation resource and discloses attributes.- Specified by:
- inspectin interface- IInspectable
- Parameters:
- inspector-- tree inspector to collect and process attributes.
 
 
- 
renderProperties@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
- renderPropertiesin class- CfnResource
- Parameters:
- props- This parameter is required.
 
- 
getAttrViewArnThe ARN of the new view. For example:.arn:aws:resource-explorer-2:us-east-1:123456789012:view/MyView/EXAMPLE8-90ab-cdef-fedc-EXAMPLE22222
- 
getCfnProperties- Overrides:
- getCfnPropertiesin class- CfnResource
 
- 
getTagsTag key and value pairs that are attached to the view.
- 
getViewNameThe name of the new view.
- 
setViewNameThe name of the new view.
- 
getFiltersAn 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.
- 
setFiltersAn 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.
- 
setFiltersAn 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.
- 
getIncludedPropertiesA list of fields that provide additional information about the view.
- 
setIncludedPropertiesA list of fields that provide additional information about the view.
- 
setIncludedPropertiesA list of fields that provide additional information about the view.
 
-