Interface CfnStoredQueryProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.594Z") @Stability(Stable) public interface CfnStoredQueryProps extends
Properties for defining a CfnStoredQuery.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnStoredQueryProps cfnStoredQueryProps = CfnStoredQueryProps.builder()
         // the properties below are optional
  • Method Details

    • getQueryExpression

      @Stability(Stable) @NotNull String getQueryExpression()
      The expression of the query.

      For example, SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.

    • getQueryName

      @Stability(Stable) @NotNull String getQueryName()
      The name of the query.
    • getQueryDescription

      @Stability(Stable) @Nullable default String getQueryDescription()
      A unique description for the query.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.
    • builder

      @Stability(Stable) static CfnStoredQueryProps.Builder builder()
      a CfnStoredQueryProps.Builder of CfnStoredQueryProps