Class CfnStoredQuery.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnStoredQuery.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStoredQuery>
- Enclosing class:
CfnStoredQuery
@Stability(Stable)
public static final class CfnStoredQuery.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStoredQuery>
A fluent builder for
CfnStoredQuery
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnStoredQuery.Builder
queryDescription
(String queryDescription) A unique description for the query.queryExpression
(String queryExpression) The expression of the query.The name of the query.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnStoredQuery.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
CfnStoredQuery.Builder
.
-
queryExpression
The expression of the query.For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
- Parameters:
queryExpression
- The expression of the query. This parameter is required.- Returns:
this
- See Also:
-
queryName
The name of the query.- Parameters:
queryName
- The name of the query. This parameter is required.- Returns:
this
- See Also:
-
queryDescription
A unique description for the query.- Parameters:
queryDescription
- A unique description for the query. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStoredQuery>
- Returns:
- a newly built instance of
CfnStoredQuery
.
-