Classes
Name | Description |
---|---|
ConstructWithProperties | A simple CDK construct illustrating the differences in declaring construct properties with interfaces. |
LambdaConstruct | A CDK construct to create Lambda functions. |
Structs
Name | Description |
---|---|
StructProperties | This interface is translated into a struct containing data. |
Interfaces
Name | Description |
---|---|
IBehaviorProperties | This is a behavioral interface identified by I in its name. |
A simple CDK construct illustrating the differences in declaring construct properties with interfaces.
Implements: IConstruct, IConstruct, IConstruct, IDependable Extends: Construct
new ConstructWithProperties(parent: Construct, name: string, props: StructProperties, props2: IBehaviorProperties)
- parent (
Construct
) No description - name (
string
) No description - props (
StructProperties
) No description - props2 (
IBehaviorProperties
) No description
A CDK construct to create Lambda functions.
Implements: IConstruct, IConstruct, IConstruct, IDependable Extends: Construct
new LambdaConstruct(parent: Construct, name: string)
- parent (
Construct
) No description - name (
string
) No description
This is a behavioral interface identified by I
in its name.
It will be translated to a "regular" interface which needs to be implemented.
You can also use methods here, e.g. doSth(): void;
.
Name | Type | Description |
---|---|---|
otherProp | string |
This interface is translated into a struct containing data.
E.g. if translated to Java, an interface StructProperties
is created containing a builder subclass to create an instance of the interface.
Name | Type | Description |
---|---|---|
myProp | string |