Skip to content

Latest commit

 

History

History
460 lines (279 loc) · 13.4 KB

API.md

File metadata and controls

460 lines (279 loc) · 13.4 KB

API Reference

Constructs

AdHocApp

Initializers

import { AdHocApp } from 'cdk-django'

new AdHocApp(scope: Construct, id: string, props: AdHocAppProps)
Name Type Description
scope constructs.Construct No description.
id string No description.
props AdHocAppProps No description.

scopeRequired
  • Type: constructs.Construct

idRequired
  • Type: string

propsRequired

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 { AdHocApp } from 'cdk-django'

AdHocApp.isConstruct(x: any)

Checks if x is a construct.

xRequired
  • Type: any

Any object.


Properties

Name Type Description
node constructs.Node The tree node.

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

The tree node.


AdHocBase

Initializers

import { AdHocBase } from 'cdk-django'

new AdHocBase(scope: Construct, id: string, props: AdHocBaseProps)
Name Type Description
scope constructs.Construct No description.
id string No description.
props AdHocBaseProps No description.

scopeRequired
  • Type: constructs.Construct

idRequired
  • Type: string

propsRequired

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 { AdHocBase } from 'cdk-django'

AdHocBase.isConstruct(x: any)

Checks if x is a construct.

xRequired
  • Type: any

Any object.


Properties

Name Type Description
node constructs.Node The tree node.
alb aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationLoadBalancer No description.
albSecurityGroup aws-cdk-lib.aws_ec2.SecurityGroup No description.
appSecurityGroup aws-cdk-lib.aws_ec2.SecurityGroup No description.
assetsBucket aws-cdk-lib.aws_s3.Bucket No description.
databaseInstance aws-cdk-lib.aws_rds.DatabaseInstance No description.
domainName string No description.
elastiCacheHostname string No description.
listener aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationListener No description.
vpc aws-cdk-lib.aws_ec2.IVpc No description.

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

The tree node.


albRequired
public readonly alb: ApplicationLoadBalancer;
  • Type: aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationLoadBalancer

albSecurityGroupRequired
public readonly albSecurityGroup: SecurityGroup;
  • Type: aws-cdk-lib.aws_ec2.SecurityGroup

appSecurityGroupRequired
public readonly appSecurityGroup: SecurityGroup;
  • Type: aws-cdk-lib.aws_ec2.SecurityGroup

assetsBucketRequired
public readonly assetsBucket: Bucket;
  • Type: aws-cdk-lib.aws_s3.Bucket

databaseInstanceRequired
public readonly databaseInstance: DatabaseInstance;
  • Type: aws-cdk-lib.aws_rds.DatabaseInstance

domainNameRequired
public readonly domainName: string;
  • Type: string

elastiCacheHostnameRequired
public readonly elastiCacheHostname: string;
  • Type: string

listenerRequired
public readonly listener: ApplicationListener;
  • Type: aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationListener

vpcRequired
public readonly vpc: IVpc;
  • Type: aws-cdk-lib.aws_ec2.IVpc

Structs

AdHocAppProps

Initializer

import { AdHocAppProps } from 'cdk-django'

const adHocAppProps: AdHocAppProps = { ... }

Properties

Name Type Description
alb aws-cdk-lib.aws_elasticloadbalancingv2.IApplicationLoadBalancer No description.
appSecurityGroup aws-cdk-lib.aws_ec2.ISecurityGroup No description.
assetsBucket aws-cdk-lib.aws_s3.Bucket No description.
baseStackName string No description.
domainName string No description.
elastiCacheHost string No description.
listener aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationListener No description.
rdsInstance aws-cdk-lib.aws_rds.DatabaseInstance No description.
vpc aws-cdk-lib.aws_ec2.IVpc No description.

albRequired
public readonly alb: IApplicationLoadBalancer;
  • Type: aws-cdk-lib.aws_elasticloadbalancingv2.IApplicationLoadBalancer

appSecurityGroupRequired
public readonly appSecurityGroup: ISecurityGroup;
  • Type: aws-cdk-lib.aws_ec2.ISecurityGroup

assetsBucketRequired
public readonly assetsBucket: Bucket;
  • Type: aws-cdk-lib.aws_s3.Bucket

baseStackNameRequired
public readonly baseStackName: string;
  • Type: string

domainNameRequired
public readonly domainName: string;
  • Type: string

elastiCacheHostRequired
public readonly elastiCacheHost: string;
  • Type: string

listenerRequired
public readonly listener: ApplicationListener;
  • Type: aws-cdk-lib.aws_elasticloadbalancingv2.ApplicationListener

rdsInstanceRequired
public readonly rdsInstance: DatabaseInstance;
  • Type: aws-cdk-lib.aws_rds.DatabaseInstance

vpcRequired
public readonly vpc: IVpc;
  • Type: aws-cdk-lib.aws_ec2.IVpc

AdHocBaseProps

Initializer

import { AdHocBaseProps } from 'cdk-django'

const adHocBaseProps: AdHocBaseProps = { ... }

Properties

Name Type Description
certificateArn string No description.
domainName string No description.

certificateArnRequired
public readonly certificateArn: string;
  • Type: string

domainNameRequired
public readonly domainName: string;
  • Type: string