Expressions in connection blocks cannot refer to their parent resource by name. References create dependencies, and referring to a resource by name within its own block would create a dependency cycle. Instead, expressions can use the self object, which represents the connection’s parent resource and has all of that resource’s attributes. For example, use self.public_ip to reference an aws_instance’s public_ip attribute.Documentation Index
Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Initializers
| Name | Type | Description |
|---|
Static Functions
GetAny
getAny("hostPort")
KeyRequired
- Type: string
GetNumber
getNumber("hostPort")
KeyRequired
- Type: string
GetString
getString("publicIp")
KeyRequired
- Type: string