asVpc

Casts this WebAppEndpointDetails as a Vpc and retrieves its aws.sdk.kotlin.services.transfer.model.WebAppVpcConfig value. Throws an exception if the WebAppEndpointDetails is not a Vpc.