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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnStoredQuery(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnStoredQuery(Construct, String, ICfnStoredQueryProps) |
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 | |
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>) |
Constructors
CfnStoredQuery(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnStoredQuery(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnStoredQuery(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnStoredQuery(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnStoredQuery(Construct, String, ICfnStoredQueryProps)
public CfnStoredQuery(Construct scope, string id, ICfnStoredQueryProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnStoredQueryProps
Resource properties.
Properties
AttrQueryArn
Amazon Resource Name (ARN) of the query.
public virtual string AttrQueryArn { get; }
Property Value
System.String
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
System.String
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
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
QueryDescription
A unique description for the query.
public virtual string QueryDescription { get; set; }
Property Value
System.String
QueryExpression
The expression of the query.
public virtual string QueryExpression { get; set; }
Property Value
System.String
QueryName
The name of the query.
public virtual string QueryName { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>