@ file : Suppress (" INTERFACE _ WITH _ SUPER CLASS ", Ġ" OVER RID ING _ FINAL _ MEMBER ", Ġ" RETURN _ TYPE _ MIS MATCH _ ON _ OVERRIDE ", Ġ" CONF LI CT ING _ OVERLOAD S ", Ġ" EXTERNAL _ DE LEG ATION ") Ċ @ file : Js Module ("@ aws - cdk / core ") Ċ Ċ package Ġcore Ċ Ċ import Ġkotlin . js .* Ċ Ċ external Ġinterface ĠI Resource Ġ: ĠI Construct Ġ{ ĊĠĠĠ Ġvar Ġstack : ĠStack Ċ } Ċ Ċ external Ġinterface ĠResource Props Ġ{ ĊĠĠĠ Ġvar Ġphysical Name : ĠString ? ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġdefined Ex tern ally ĊĠĠĠĠĠĠĠ Ġset ( value ) Ġ= Ġdefined Ex tern ally Ċ } Ċ Ċ external Ġopen Ġclass ĠResource ( scope : ĠConstruct , Ġid : ĠString , Ġprops : ĠResource Props Ġ= Ġdefined Ex tern ally ) Ġ: ĠConstruct , ĊĠĠĠ ĠI Resource Ġ{ ĊĠĠĠ Ġoverride Ġvar Ġstack : ĠStack ĊĠĠĠ Ġopen Ġvar Ġphysical Name : ĠString ĊĠĠĠ Ġopen Ġvar Ġ_ physical Name : ĠAny ĊĠĠĠ Ġopen Ġvar Ġ_ allow Cross Environment : ĠAny ĊĠĠĠ Ġopen Ġfun Ġgenerate Physical Name (): ĠString ĊĠĠĠ Ġopen Ġfun Ġget ResourceName Attribute ( name Attr : ĠString ): ĠString ĊĠĠĠ Ġopen Ġfun ĠgetResource Arn Attribute ( arn Attr : ĠString , Ġar n Components : ĠAr n Components ): ĠString Ċ }