Definition

sealed class Definition

The application definition for a particular application.

Inheritors

Types

Link copied to clipboard
data class Content(val value: String) : Definition

The content of the application definition. This is a JSON object that contains the resource configuration/definitions that identify an application.

Link copied to clipboard
data class S3Location(val value: String) : Definition

The S3 bucket that contains the application definition.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this Definition as a Content and retrieves its kotlin.String value. Throws an exception if the Definition is not a Content.

Link copied to clipboard

Casts this Definition as a Content and retrieves its kotlin.String value. Returns null if the Definition is not a Content.

Link copied to clipboard

Casts this Definition as a S3Location and retrieves its kotlin.String value. Throws an exception if the Definition is not a S3Location.

Link copied to clipboard

Casts this Definition as a S3Location and retrieves its kotlin.String value. Returns null if the Definition is not a S3Location.