CfnViewMixinProps
- class aws_cdk.mixins_preview.aws_resourceexplorer2.mixins.CfnViewMixinProps(*, filters=None, included_properties=None, scope=None, tags=None, view_name=None)
Bases:
objectProperties for CfnViewPropsMixin.
- Parameters:
filters (
Union[IResolvable,FiltersProperty,Dict[str,Any],None]) – 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’sQueryStringparameter using a logicalANDoperator. For information about the supported syntax, see Search query reference for Resource Explorer in the AWS Resource Explorer User Guide . .. epigraph:: 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 stringregion: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.included_properties (
Union[IResolvable,Sequence[Union[IResolvable,IncludedPropertyProperty,Dict[str,Any]]],None]) – A list of fields that provide additional information about the view.scope (
Optional[str]) – The root ARN of the account, an organizational unit (OU), or an organization ARN. If left empty, the default is account.tags (
Optional[Mapping[str,str]]) – Tag key and value pairs that are attached to the view.view_name (
Optional[str]) – The name of the new view.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_resourceexplorer2 import mixins as resourceexplorer2_mixins cfn_view_mixin_props = resourceexplorer2_mixins.CfnViewMixinProps( filters=resourceexplorer2_mixins.CfnViewPropsMixin.FiltersProperty( filter_string="filterString" ), included_properties=[resourceexplorer2_mixins.CfnViewPropsMixin.IncludedPropertyProperty( name="name" )], scope="scope", tags={ "tags_key": "tags" }, view_name="viewName" )
Attributes
- filters
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 . .. epigraph:
This query string in the context of this operation supports only `filter prefixes <https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters>`_ with optional `operators <https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-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 letters ``us`` and are *not* tagged with a key ``Stage`` that has the value ``prod`` .
- included_properties
A list of fields that provide additional information about the view.
- scope
The root ARN of the account, an organizational unit (OU), or an organization ARN.
If left empty, the default is account.
- tags
Tag key and value pairs that are attached to the view.
- view_name
The name of the new view.