Class CfnStoredQueryProps
Properties for defining a CfnStoredQuery
.
Inheritance
System.Object
CfnStoredQueryProps
Implements
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStoredQueryProps : Object, ICfnStoredQueryProps
Syntax (vb)
Public Class CfnStoredQueryProps
Inherits Object
Implements ICfnStoredQueryProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Config;
var cfnStoredQueryProps = new CfnStoredQueryProps {
QueryExpression = "queryExpression",
QueryName = "queryName",
// the properties below are optional
QueryDescription = "queryDescription",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnStoredQueryProps() |
Properties
QueryDescription | A unique description for the query. |
QueryExpression | The expression of the query. |
QueryName | The name of the query. |
Tags | An array of key-value pairs to apply to this resource. |
Constructors
CfnStoredQueryProps()
public CfnStoredQueryProps()
Properties
QueryDescription
A unique description for the query.
public string QueryDescription { get; set; }
Property Value
System.String
Remarks
QueryExpression
The expression of the query.
public string QueryExpression { get; set; }
Property Value
System.String
Remarks
For example, SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
QueryName
The name of the query.
public string QueryName { get; set; }
Property Value
System.String
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]