Class CfnStoredQuery
Provides the details of a stored query.
Inherited Members
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStoredQuery : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnStoredQuery Inherits CfnResource Implements IInspectable, ITaggable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
CloudformationResource: AWS::Config::StoredQuery
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 cfnStoredQuery = new CfnStoredQuery(this, "MyCfnStoredQuery", new CfnStoredQueryProps {
QueryExpression = "queryExpression",
QueryName = "queryName",
// the properties below are optional
QueryDescription = "queryDescription",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnStoredQuery(Construct, string, ICfnStoredQueryProps) | Provides the details of a stored query. |
Properties
AttrQueryArn | Amazon Resource Name (ARN) of the query. |
AttrQueryId | The ID of the query. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | Provides the details of a stored query. |
QueryDescription | A unique description for the query. |
QueryExpression | The expression of the query. |
QueryName | The name of the query. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | Provides the details of a stored query. |
Constructors
CfnStoredQuery(Construct, string, ICfnStoredQueryProps)
Provides the details of a stored query.
public CfnStoredQuery(Construct scope, string id, ICfnStoredQueryProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnStoredQueryProps
Resource properties.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
CloudformationResource: AWS::Config::StoredQuery
ExampleMetadata: fixture=_generated
Properties
AttrQueryArn
Amazon Resource Name (ARN) of the query.
public virtual string AttrQueryArn { get; }
Property Value
Remarks
For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
CloudformationAttribute: QueryArn
AttrQueryId
The ID of the query.
public virtual string AttrQueryId { get; }
Property Value
Remarks
CloudformationAttribute: QueryId
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
CloudformationResource: AWS::Config::StoredQuery
ExampleMetadata: fixture=_generated
CfnProperties
Provides the details of a stored query.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
CloudformationResource: AWS::Config::StoredQuery
ExampleMetadata: fixture=_generated
QueryDescription
A unique description for the query.
public virtual string? QueryDescription { get; set; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
CloudformationResource: AWS::Config::StoredQuery
ExampleMetadata: fixture=_generated
QueryExpression
The expression of the query.
public virtual string QueryExpression { get; set; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
CloudformationResource: AWS::Config::StoredQuery
ExampleMetadata: fixture=_generated
QueryName
The name of the query.
public virtual string QueryName { get; set; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
CloudformationResource: AWS::Config::StoredQuery
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
CloudformationResource: AWS::Config::StoredQuery
ExampleMetadata: fixture=_generated
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value
ICfnTag[]
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
CloudformationResource: AWS::Config::StoredQuery
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
CloudformationResource: AWS::Config::StoredQuery
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Provides the details of a stored query.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-storedquery.html
CloudformationResource: AWS::Config::StoredQuery
ExampleMetadata: fixture=_generated