Class CfnView.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnView>
- Enclosing class:
CfnView
CfnView
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnView.Builder
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.filters
(CfnView.FiltersProperty 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.includedProperties
(List<? extends Object> includedProperties) A list of fields that provide additional information about the view.includedProperties
(IResolvable includedProperties) A list of fields that provide additional information about the view.The root ARN of the account, an organizational unit (OU), or an organization ARN.Tag key and value pairs that are attached to the view.The name of the new view.
-
Method Details
-
create
@Stability(Stable) public static CfnView.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnView.Builder
.
-
viewName
The name of the new view.- Parameters:
viewName
- The name of the new view. This parameter is required.- Returns:
this
- See Also:
-
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
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
.- Parameters:
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. This parameter is required.- Returns:
this
- See Also:
-
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
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
.- Parameters:
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. This parameter is required.- Returns:
this
- See Also:
-
includedProperties
A list of fields that provide additional information about the view.- Parameters:
includedProperties
- A list of fields that provide additional information about the view. This parameter is required.- Returns:
this
- See Also:
-
includedProperties
@Stability(Stable) public CfnView.Builder includedProperties(List<? extends Object> includedProperties) A list of fields that provide additional information about the view.- Parameters:
includedProperties
- A list of fields that provide additional information about the view. This parameter is required.- Returns:
this
- See Also:
-
scope
The root ARN of the account, an organizational unit (OU), or an organization ARN.If left empty, the default is account.
- Parameters:
scope
- The root ARN of the account, an organizational unit (OU), or an organization ARN. This parameter is required.- Returns:
this
- See Also:
-
tags
Tag key and value pairs that are attached to the view.- Parameters:
tags
- Tag key and value pairs that are attached to the view. This parameter is required.- Returns:
this
- See Also:
-
build
-