Skip to content

Latest commit

 

History

History
290 lines (175 loc) · 9.04 KB

API.md

File metadata and controls

290 lines (175 loc) · 9.04 KB

API Reference

Constructs

RemixApp

Initializers

import { RemixApp } from '@rogerchi/cdk-remix-app'

new RemixApp(scope: Construct, id: string, __2: RemixAppProps)
Name Type Description
scope constructs.Construct No description.
id string No description.
__2 RemixAppProps No description.

scopeRequired
  • Type: constructs.Construct

idRequired
  • Type: string

__2Required

Methods

Name Description
toString Returns a string representation of this construct.

toString
public toString(): string

Returns a string representation of this construct.

Static Functions

Name Description
isConstruct Checks if x is a construct.

isConstruct
import { RemixApp } from '@rogerchi/cdk-remix-app'

RemixApp.isConstruct(x: any)

Checks if x is a construct.

xRequired
  • Type: any

Any object.


Properties

Name Type Description
node constructs.Node The tree node.
cdnDistributionId string No description.
cdnDomainName string No description.
handler aws-cdk-lib.aws_lambda.Function No description.

nodeRequired
public readonly node: Node;
  • Type: constructs.Node

The tree node.


cdnDistributionIdRequired
public readonly cdnDistributionId: string;
  • Type: string

cdnDomainNameRequired
public readonly cdnDomainName: string;
  • Type: string

handlerRequired
public readonly handler: Function;
  • Type: aws-cdk-lib.aws_lambda.Function

Structs

RemixAppProps

Initializer

import { RemixAppProps } from '@rogerchi/cdk-remix-app'

const remixAppProps: RemixAppProps = { ... }

Properties

Name Type Description
remixPath string No description.
cognitoAuth RemixCognitoAuthProps No description.
customDomain RemixCustomDomainProps No description.
ddbSessions boolean No description.
isDev boolean No description.

remixPathRequired
public readonly remixPath: string;
  • Type: string

cognitoAuthOptional
public readonly cognitoAuth: RemixCognitoAuthProps;

customDomainOptional
public readonly customDomain: RemixCustomDomainProps;

ddbSessionsOptional
public readonly ddbSessions: boolean;
  • Type: boolean

isDevOptional
public readonly isDev: boolean;
  • Type: boolean

RemixCognitoAuthProps

Initializer

import { RemixCognitoAuthProps } from '@rogerchi/cdk-remix-app'

const remixCognitoAuthProps: RemixCognitoAuthProps = { ... }

Properties

Name Type Description
authDomain string No description.
userPool aws-cdk-lib.aws_cognito.IUserPool No description.

authDomainRequired
public readonly authDomain: string;
  • Type: string

userPoolRequired
public readonly userPool: IUserPool;
  • Type: aws-cdk-lib.aws_cognito.IUserPool

RemixCustomDomainProps

Initializer

import { RemixCustomDomainProps } from '@rogerchi/cdk-remix-app'

const remixCustomDomainProps: RemixCustomDomainProps = { ... }

Properties

Name Type Description
certificate aws-cdk-lib.aws_certificatemanager.ICertificate No description.
domainName string No description.

certificateRequired
public readonly certificate: ICertificate;
  • Type: aws-cdk-lib.aws_certificatemanager.ICertificate

domainNameRequired
public readonly domainName: string;
  • Type: string