Documentation
¶
Overview ¶
An AWS CDK construct which exposes an endpoint with the contents of a DynamoDB table
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTableViewer_Override ¶
func NewTableViewer_Override(t TableViewer, parent constructs.Construct, id *string, props *TableViewerProps)
Experimental.
func TableViewer_IsConstruct ¶
func TableViewer_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead.
Types ¶
type TableViewer ¶
type TableViewer interface {
constructs.Construct
// Experimental.
Endpoint() *string
// The tree node.
// Experimental.
Node() constructs.Node
// Returns a string representation of this construct.
// Experimental.
ToString() *string
}
Installs an endpoint in your stack that allows users to view the contents of a DynamoDB table through their browser. Experimental.
func NewTableViewer ¶
func NewTableViewer(parent constructs.Construct, id *string, props *TableViewerProps) TableViewer
Experimental.
type TableViewerProps ¶
type TableViewerProps struct {
// The DynamoDB table to view.
//
// Note that all contents of this table will be
// visible to the public.
// Experimental.
Table awsdynamodb.ITable `field:"required" json:"table" yaml:"table"`
// The endpoint type of the [LambdaRestApi](https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-apigateway.LambdaRestApi.html) that will be created.
// Default: - EDGE.
//
// Experimental.
EndpointType awsapigateway.EndpointType `field:"optional" json:"endpointType" yaml:"endpointType"`
// Name of the column to sort by, prefix with "-" for descending order.
// Default: - No sort.
//
// Experimental.
SortBy *string `field:"optional" json:"sortBy" yaml:"sortBy"`
// The web page title.
// Default: - No title.
//
// Experimental.
Title *string `field:"optional" json:"title" yaml:"title"`
}
Experimental.
Click to show internal directories.
Click to hide internal directories.