Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddAWSAPIGatewayEmulator

Method
📦 Aspire.Hosting.AWS v13.7.3
func (DistributedApplicationBuilder) AddAWSAPIGatewayEmulator(
name string,
apiGatewayType APIGatewayType,
options ...*APIGatewayEmulatorOptions,
) APIGatewayEmulatorResource

Signature

methodAddAWSAPIGatewayEmulatorbuilder
AddAWSAPIGatewayEmulator(
name string,
apiGatewayType APIGatewayType,
options ...*APIGatewayEmulatorOptions,
) APIGatewayEmulatorResource
namestring
apiGatewayTypeAPIGatewayType
options...*APIGatewayEmulatorOptionsOptional settings, described under Options.

Optional parameters are passed as the existing *APIGatewayEmulatorOptions struct.

APIGatewayEmulatorResource

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder