get Export
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.apigateway.ApigatewayFunctions;
import com.pulumi.aws.apigateway.inputs.GetExportArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = ApigatewayFunctions.getExport(GetExportArgs.builder()
.restApiId(aws_api_gateway_stage.example().rest_api_id())
.stageName(aws_api_gateway_stage.example().stage_name())
.exportType("oas30")
.build());
}
}Return
A collection of values returned by getExport.
Parameters
A collection of arguments for invoking getExport.
Return
A collection of values returned by getExport.
Parameters
Content-type of the export. Valid values are application/json and application/yaml are supported for export_type ofoas30 and swagger.
Type of export. Acceptable values are oas30 for OpenAPI 3.0.x and swagger for Swagger/OpenAPI 2.0.
Key-value map of query string parameters that specify properties of the export. the following parameters are supported: extensions='integrations' or extensions='apigateway' will export the API with x-amazon-apigateway-integration extensions. extensions='authorizers' will export the API with x-amazon-apigateway-authorizer extensions.
Identifier of the associated REST API.
Name of the Stage that will be exported.
See also
Return
A collection of values returned by getExport.
Parameters
Builder for com.pulumi.aws.apigateway.kotlin.inputs.GetExportPlainArgs.