Class CfnPreparedStatement
Specifies a prepared statement for use with SQL queries in Athena.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Athena
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPreparedStatement : CfnResource, IInspectable
Syntax (vb)
Public Class CfnPreparedStatement
Inherits CfnResource
Implements IInspectable
Remarks
CloudformationResource: AWS::Athena::PreparedStatement
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.Athena;
var cfnPreparedStatement = new CfnPreparedStatement(this, "MyCfnPreparedStatement", new CfnPreparedStatementProps {
QueryStatement = "queryStatement",
StatementName = "statementName",
WorkGroup = "workGroup",
// the properties below are optional
Description = "description"
});
Synopsis
Constructors
CfnPreparedStatement(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnPreparedStatement(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnPreparedStatement(Construct, String, ICfnPreparedStatementProps) |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description of the prepared statement. |
QueryStatement | The query string for the prepared statement. |
StatementName | The name of the prepared statement. |
WorkGroup | The workgroup to which the prepared statement belongs. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnPreparedStatement(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnPreparedStatement(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnPreparedStatement(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnPreparedStatement(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnPreparedStatement(Construct, String, ICfnPreparedStatementProps)
public CfnPreparedStatement(Construct scope, string id, ICfnPreparedStatementProps 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 ICfnPreparedStatementProps
Resource properties.
Properties
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
Description
The description of the prepared statement.
public virtual string Description { get; set; }
Property Value
System.String
QueryStatement
The query string for the prepared statement.
public virtual string QueryStatement { get; set; }
Property Value
System.String
StatementName
The name of the prepared statement.
public virtual string StatementName { get; set; }
Property Value
System.String
WorkGroup
The workgroup to which the prepared statement belongs.
public virtual string WorkGroup { get; set; }
Property Value
System.String
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>