Interface OSMLRestApiProps

Represents the properties required to configure the OSMLRestApi Construct.

interface OSMLRestApiProps {
    account: OSMLAccount;
    apiStageName: string;
    auth: OSMLAuth;
    integration: Integration;
    lambdaRole?: IRole;
    name: string;
    osmlVpc: OSMLVpc;
}

Properties

account: OSMLAccount

The configuration for the authentication.

apiStageName: string

The name of the stage deployment for RestApi

auth: OSMLAuth

The configuration for the authentication.

integration: Integration

The integration for the handler of the RestApi

lambdaRole?: IRole

The IAM role for the Lambda function.

name: string

The name of the service

osmlVpc: OSMLVpc

The OSML VPC (Virtual Private Cloud) configuration for the Dataplane.