Class CfnTable
The AWS::Glue::Table resource specifies tabular data in the AWS Glue data catalog.
Inherited Members
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTable : CfnResource, IInspectable, ITableRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnTable Inherits CfnResource Implements IInspectable, ITableRef, IConstruct, IDependable, IEnvironmentAware
Remarks
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
CloudformationResource: AWS::Glue::Table
ExampleMetadata: infused
Examples
Bucket bucket;
CfnTable schemaGlueTable;
var s3Destination = new S3Bucket(bucket, new S3BucketProps {
DataFormatConversion = new DataFormatConversionProps {
SchemaConfiguration = SchemaConfiguration.FromCfnTable(schemaGlueTable),
InputFormat = InputFormat.OPENX_JSON,
OutputFormat = OutputFormat.PARQUET
}
});
Synopsis
Constructors
| CfnTable(Construct, string, ICfnTableProps) | Create a new |
Properties
| AttrId | The |
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CatalogId | The ID of the Data Catalog in which to create the |
| CfnProperties | The |
| CfnPropertyNames | The |
| DatabaseName | The name of the database where the table metadata resides. |
| Name | The |
| OpenTableFormatInput | Specifies an |
| TableInput | A structure used to define a table. |
| TableRef | A reference to a Table resource. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnTable(object) | Checks whether the given object is a CfnTable. |
| RenderProperties(IDictionary<string, object>) | The |
Constructors
CfnTable(Construct, string, ICfnTableProps)
Create a new AWS::Glue::Table.
public CfnTable(Construct scope, string id, ICfnTableProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnTableProps
Resource properties.
Remarks
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
CloudformationResource: AWS::Glue::Table
ExampleMetadata: infused
Properties
AttrId
The AWS::Glue::Table resource specifies tabular data in the AWS Glue data catalog.
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
CloudformationResource: AWS::Glue::Table
ExampleMetadata: infused
CatalogId
The ID of the Data Catalog in which to create the Table .
public virtual string CatalogId { get; set; }
Property Value
Remarks
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
CloudformationResource: AWS::Glue::Table
ExampleMetadata: infused
CfnProperties
The AWS::Glue::Table resource specifies tabular data in the AWS Glue data catalog.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
CloudformationResource: AWS::Glue::Table
ExampleMetadata: infused
CfnPropertyNames
The AWS::Glue::Table resource specifies tabular data in the AWS Glue data catalog.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
CloudformationResource: AWS::Glue::Table
ExampleMetadata: infused
DatabaseName
The name of the database where the table metadata resides.
public virtual string DatabaseName { get; set; }
Property Value
Remarks
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
CloudformationResource: AWS::Glue::Table
ExampleMetadata: infused
Name
The AWS::Glue::Table resource specifies tabular data in the AWS Glue data catalog.
public virtual string? Name { get; set; }
Property Value
Remarks
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
CloudformationResource: AWS::Glue::Table
ExampleMetadata: infused
Examples
Bucket bucket;
CfnTable schemaGlueTable;
var s3Destination = new S3Bucket(bucket, new S3BucketProps {
DataFormatConversion = new DataFormatConversionProps {
SchemaConfiguration = SchemaConfiguration.FromCfnTable(schemaGlueTable),
InputFormat = InputFormat.OPENX_JSON,
OutputFormat = OutputFormat.PARQUET
}
});
OpenTableFormatInput
Specifies an OpenTableFormatInput structure when creating an open format table.
public virtual object? OpenTableFormatInput { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnTable.IOpenTableFormatInputProperty
TableInput
A structure used to define a table.
public virtual object? TableInput { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnTable.ITableInputProperty
TableRef
A reference to a Table resource.
public virtual ITableReference TableRef { get; }
Property Value
Remarks
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
CloudformationResource: AWS::Glue::Table
ExampleMetadata: infused
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
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
CloudformationResource: AWS::Glue::Table
ExampleMetadata: infused
IsCfnTable(object)
Checks whether the given object is a CfnTable.
public static bool IsCfnTable(object x)
Parameters
- x object
Returns
Remarks
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
CloudformationResource: AWS::Glue::Table
ExampleMetadata: infused
RenderProperties(IDictionary<string, object>)
The AWS::Glue::Table resource specifies tabular data in the AWS Glue data catalog.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
For more information, see Defining Tables in the AWS Glue Data Catalog and Table Structure in the AWS Glue Developer Guide .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.html
CloudformationResource: AWS::Glue::Table
ExampleMetadata: infused