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