Interface CfnStoredQueryProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStoredQueryProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:40.981Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnStoredQueryProps
static final class
An implementation forCfnStoredQueryProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnStoredQueryProps.Builder
builder()
default String
A 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.Builder
ofCfnStoredQueryProps
-