<?xml version="1.0"?>
<informationTable xsi:schemaLocation="http://www.sec.gov/edgar/document/thirteenf/informationtable eis_13FDocument.xsd"
	xmlns="http://www.sec.gov/edgar/document/thirteenf/informationtable"
	xmlns:n1="http://www.sec.gov/edgar/document/thirteenf/informationtable"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<infoTable>
		<nameOfIssuer>ALPHABET INC</nameOfIssuer>
		<titleOfClass>CAP STK CL A</titleOfClass>
		<cusip>02079K305</cusip>
		<value>41461640</value>
		<shrsOrPrnAmt>
			<sshPrnamt>120500</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>120500</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>AMAZON COM INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>023135106</cusip>
		<value>2087378700</value>
		<shrsOrPrnAmt>
			<sshPrnamt>8378000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>8378000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>AMERICAN WTR WKS CO INC NEW</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>030420103</cusip>
		<value>4919860</value>
		<shrsOrPrnAmt>
			<sshPrnamt>38000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>38000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>CANADIAN PACIFIC KANSAS CITY</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>13646K108</cusip>
		<value>12084200</value>
		<shrsOrPrnAmt>
			<sshPrnamt>142000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>142000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>CHIPOTLE MEXICAN GRILL INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>169656105</cusip>
		<value>28627200</value>
		<shrsOrPrnAmt>
			<sshPrnamt>896000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>896000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>CME GROUP INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>12572Q105</cusip>
		<value>23578200</value>
		<shrsOrPrnAmt>
			<sshPrnamt>90000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>90000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>COLGATE PALMOLIVE CO</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>194162103</cusip>
		<value>25596000</value>
		<shrsOrPrnAmt>
			<sshPrnamt>300000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>300000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>COSTCO WHOLESALE CORPORATION</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>22160K105</cusip>
		<value>4005496</value>
		<shrsOrPrnAmt>
			<sshPrnamt>4400</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>4400</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>COUPANG INC</nameOfIssuer>
		<titleOfClass>CL A</titleOfClass>
		<cusip>22266T109</cusip>
		<value>12351235</value>
		<shrsOrPrnAmt>
			<sshPrnamt>890500</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>890500</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>DANAHER CORP DEL</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>235851102</cusip>
		<value>41983725</value>
		<shrsOrPrnAmt>
			<sshPrnamt>189500</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>189500</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>DOORDASH INC</nameOfIssuer>
		<titleOfClass>CL A</titleOfClass>
		<cusip>25809K105</cusip>
		<value>7066675</value>
		<shrsOrPrnAmt>
			<sshPrnamt>38500</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>38500</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>FERGUSON ENTERPRISES INC</nameOfIssuer>
		<titleOfClass>COMMON STOCK NEW</titleOfClass>
		<cusip>31488V107</cusip>
		<value>53874040</value>
		<shrsOrPrnAmt>
			<sshPrnamt>242000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>242000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>FERROVIAL NV</nameOfIssuer>
		<titleOfClass>ORD SHS</titleOfClass>
		<cusip>N3168P101</cusip>
		<value>64963280</value>
		<shrsOrPrnAmt>
			<sshPrnamt>1200800</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>1200800</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>GE AEROSPACE</nameOfIssuer>
		<titleOfClass>COM NEW</titleOfClass>
		<cusip>369604301</cusip>
		<value>340239955</value>
		<shrsOrPrnAmt>
			<sshPrnamt>1089500</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>1089500</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>HILTON WORLDWIDE HLDGS INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>43300A203</cusip>
		<value>110069520</value>
		<shrsOrPrnAmt>
			<sshPrnamt>346000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>346000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>KENVUE INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>49177J102</cusip>
		<value>6039720</value>
		<shrsOrPrnAmt>
			<sshPrnamt>342000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>342000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>LINDE PLC</nameOfIssuer>
		<titleOfClass>SHS</titleOfClass>
		<cusip>G54950103</cusip>
		<value>12578225</value>
		<shrsOrPrnAmt>
			<sshPrnamt>26500</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>26500</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>LOUISIANA PAC CORP</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>546347105</cusip>
		<value>5551300</value>
		<shrsOrPrnAmt>
			<sshPrnamt>86000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>86000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>MARTIN MARIETTA MATLS INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>573284106</cusip>
		<value>204399060</value>
		<shrsOrPrnAmt>
			<sshPrnamt>426000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>426000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>MASTERCARD INCORPORATED</nameOfIssuer>
		<titleOfClass>CL A</titleOfClass>
		<cusip>57636Q104</cusip>
		<value>20128655</value>
		<shrsOrPrnAmt>
			<sshPrnamt>36500</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>36500</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>MCDONALDS CORP</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>580135101</cusip>
		<value>63739440</value>
		<shrsOrPrnAmt>
			<sshPrnamt>276000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>276000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>MICROSOFT CORP</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>594918104</cusip>
		<value>196953600</value>
		<shrsOrPrnAmt>
			<sshPrnamt>384000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>384000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>MOBILITY GLOBAL INC</nameOfIssuer>
		<titleOfClass>COM SHS</titleOfClass>
		<cusip>60744M106</cusip>
		<value>8343475</value>
		<shrsOrPrnAmt>
			<sshPrnamt>486500</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>486500</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>MOODYS CORP</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>615369105</cusip>
		<value>87192960</value>
		<shrsOrPrnAmt>
			<sshPrnamt>192000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>192000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>NETFLIX INC.</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>64110L106</cusip>
		<value>33259240</value>
		<shrsOrPrnAmt>
			<sshPrnamt>478000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>478000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>REPUBLIC SVCS INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>760759100</cusip>
		<value>15950120</value>
		<shrsOrPrnAmt>
			<sshPrnamt>76000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>76000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>RESTAURANT BRANDS INTL INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>76131D103</cusip>
		<value>10093360</value>
		<shrsOrPrnAmt>
			<sshPrnamt>142000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>142000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>S&amp;P GLOBAL INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>78409V104</cusip>
		<value>176130855</value>
		<shrsOrPrnAmt>
			<sshPrnamt>446500</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>446500</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>SEA LTD</nameOfIssuer>
		<titleOfClass>SPONSORD ADS</titleOfClass>
		<cusip>81141R100</cusip>
		<value>2093240</value>
		<shrsOrPrnAmt>
			<sshPrnamt>21500</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>21500</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>SHERWIN WILLIAMS CO</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>824348106</cusip>
		<value>24568520</value>
		<shrsOrPrnAmt>
			<sshPrnamt>76000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>76000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>SPOTIFY TECHNOLOGY S A</nameOfIssuer>
		<titleOfClass>SHS</titleOfClass>
		<cusip>L8681T102</cusip>
		<value>30899892</value>
		<shrsOrPrnAmt>
			<sshPrnamt>63400</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>63400</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>THERMO FISHER SCIENTIFIC INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>883556102</cusip>
		<value>54544040</value>
		<shrsOrPrnAmt>
			<sshPrnamt>80800</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>80800</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>TRANSDIGM GROUP INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>893641100</cusip>
		<value>239254600</value>
		<shrsOrPrnAmt>
			<sshPrnamt>221000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>221000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>UBER TECHNOLOGIES INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>90353T100</cusip>
		<value>12331800</value>
		<shrsOrPrnAmt>
			<sshPrnamt>180000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>180000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>UNION PAC CORP</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>907818108</cusip>
		<value>38642460</value>
		<shrsOrPrnAmt>
			<sshPrnamt>142000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>142000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>VISA INC</nameOfIssuer>
		<titleOfClass>COM CL A</titleOfClass>
		<cusip>92826C839</cusip>
		<value>370828560</value>
		<shrsOrPrnAmt>
			<sshPrnamt>1032000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>1032000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>VSE CORP</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>918284100</cusip>
		<value>5599800</value>
		<shrsOrPrnAmt>
			<sshPrnamt>34000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>34000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>VULCAN MATLS CO</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>929160109</cusip>
		<value>100787560</value>
		<shrsOrPrnAmt>
			<sshPrnamt>412000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>412000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
	<infoTable>
		<nameOfIssuer>WASTE CONNECTIONS INC</nameOfIssuer>
		<titleOfClass>COM</titleOfClass>
		<cusip>94106B101</cusip>
		<value>165628680</value>
		<shrsOrPrnAmt>
			<sshPrnamt>1076000</sshPrnamt>
			<sshPrnamtType>SH</sshPrnamtType>
		</shrsOrPrnAmt>
		<investmentDiscretion>SOLE</investmentDiscretion>
		<votingAuthority>
			<Sole>1076000</Sole>
			<Shared>0</Shared>
			<None>0</None>
		</votingAuthority>
	</infoTable>
</informationTable>
