Interface CfnStoredQueryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStoredQueryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:35.564Z")
@Stability(Stable)
public interface CfnStoredQueryProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnStoredQuery.
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.config.*;
CfnStoredQueryProps cfnStoredQueryProps = CfnStoredQueryProps.builder()
.queryExpression("queryExpression")
.queryName("queryName")
// the properties below are optional
.queryDescription("queryDescription")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnStoredQueryPropsstatic final classAn implementation forCfnStoredQueryProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnStoredQueryProps.Builderbuilder()default StringA unique description for the query.The expression of the query.The name of the query.getTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getQueryExpression
The expression of the query.For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.- See Also:
-
getQueryName
The name of the query.- See Also:
-
getQueryDescription
A unique description for the query.- See Also:
-
getTags
An array of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnStoredQueryProps.BuilderofCfnStoredQueryProps
-