ServiceResource / Sub-Resource / InternetGateway

InternetGateway#

EC2.ServiceResource.InternetGateway(id)#

Creates a InternetGateway resource.:

internet_gateway = ec2.InternetGateway('id')
Parameters:

id (string) – The InternetGateway’s id identifier. This must be set.

Return type:

EC2.InternetGateway

Returns:

A InternetGateway resource