package Ġio . kot less . terraform . provider . aws . resource . apigateway Ċ Ċ import Ġio . kot less . terraform . TF File Ċ import Ġio . kot less . terraform . TF Resource Ċ Ċ /** Ċ Ġ* ĠTerraform Ġaws _ api _ gateway _ base _ path _ mapping Ġresource . Ċ Ġ* Ċ Ġ* Ġ@ see Ġ< a Ġhref =" https :// www . terraform . io / docs / providers / aws / r / api _ gateway _ base _ path _ mapping . html "> aws _ api _ gateway _ base _ path _ mapping </ a > Ċ Ġ*/ Ċ class ĠApi Gateway BasePath Mapping ( id : ĠString ) Ġ: ĠTF Resource ( id , Ġ" aws _ api _ gateway _ base _ path _ mapping ") Ġ{ ĊĠĠĠ Ġvar Ġapi _ id Ġby Ġtext () ĊĠĠĠ Ġvar Ġstage _ name Ġby Ġtext () ĊĠĠĠ Ġvar Ġdomain _ name Ġby Ġtext () Ċ } Ċ Ċ fun Ġapi _ gateway _ base _ path _ mapping ( id : ĠString , Ġconfigure : ĠApi Gateway BasePath Mapping . () Ġ-> ĠUnit ) Ġ= ĠApi Gateway BasePath Mapping ( id ). apply ( configure ) Ċ Ċ fun ĠTF File . api _ gateway _ base _ path _ mapping ( id : ĠString , Ġconfigure : ĠApi Gateway BasePath Mapping . () Ġ-> ĠUnit ) Ġ{ ĊĠĠĠ Ġadd ( Api Gateway BasePath Mapping ( id ). apply ( configure )) Ċ } Ċ