interface CfnViewProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ResourceExplorer2.CfnViewProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsresourceexplorer2#CfnViewProps |
![]() | software.amazon.awscdk.services.resourceexplorer2.CfnViewProps |
![]() | aws_cdk.aws_resourceexplorer2.CfnViewProps |
![]() | aws-cdk-lib » aws_resourceexplorer2 » CfnViewProps |
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 { aws_resourceexplorer2 as resourceexplorer2 } from 'aws-cdk-lib';
const cfnViewProps: resourceexplorer2.CfnViewProps = {
viewName: 'viewName',
// the properties below are optional
filters: {
filterString: 'filterString',
},
includedProperties: [{
name: 'name',
}],
scope: 'scope',
tags: {
tagsKey: 'tags',
},
};
Properties
Name | Type | Description |
---|---|---|
view | string | The name of the new view. |
filters? | IResolvable | 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. |
included | IResolvable | IResolvable | Included [] | A list of fields that provide additional information about the view. |
scope? | string | The root ARN of the account, an organizational unit (OU), or an organization ARN. |
tags? | { [string]: string } | Tag key and value pairs that are attached to the view. |
viewName
Type:
string
The name of the new view.
filters?
Type:
IResolvable
|
Filters
(optional)
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 logical AND
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
.
includedProperties?
Type:
IResolvable
|
IResolvable
|
Included
[]
(optional)
A list of fields that provide additional information about the view.
scope?
Type:
string
(optional)
The root ARN of the account, an organizational unit (OU), or an organization ARN.
If left empty, the default is account.
tags?
Type:
{ [string]: string }
(optional)
Tag key and value pairs that are attached to the view.