The CloudDuck construct.
This construct creates a serverless analysis environment using DuckDB for S3 data
import { CloudDuck } from 'cloud-duck'
new CloudDuck(scope: Construct, id: string, props?: CloudDuckProps)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
No description. |
id |
string |
No description. |
props |
CloudDuckProps |
No description. |
- Type: constructs.Construct
- Type: string
- Type: CloudDuckProps
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
public toString(): string
Returns a string representation of this construct.
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
import { CloudDuck } from 'cloud-duck'
CloudDuck.isConstruct(x: any)
Checks if x
is a construct.
- Type: any
Any object.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
Props for the CloudDuck construct.
import { CloudDuckProps } from 'cloud-duck'
const cloudDuckProps: CloudDuckProps = { ... }
Name | Type | Description |
---|---|---|
memory |
aws-cdk-lib.Size |
The amount of memory to allocate to the Lambda function. |
targetBuckets |
aws-cdk-lib.aws_s3.Bucket[] |
The S3 buckets which the cloud duck will analyze. |
userPoolProps |
aws-cdk-lib.aws_cognito.UserPoolProps |
The Cognito UserPool props. |
public readonly memory: Size;
- Type: aws-cdk-lib.Size
- Default: 1024 MiB
The amount of memory to allocate to the Lambda function.
public readonly targetBuckets: Bucket[];
- Type: aws-cdk-lib.aws_s3.Bucket[]
- Default: All buckets in the account
The S3 buckets which the cloud duck will analyze.
public readonly userPoolProps: UserPoolProps;
- Type: aws-cdk-lib.aws_cognito.UserPoolProps
- Default: selfSignUpEnabled: false, signInAliases: { email: true }, autoVerify: { email: true }, removalPolicy: RemovalPolicy.DESTROY
The Cognito UserPool props.