All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.appengine.v1beta.App.scala Maven / Gradle / Ivy

The newest version!
package besom.api.googlenative.appengine.v1beta

final case class App private(
  urn: besom.types.Output[besom.types.URN],
  id: besom.types.Output[besom.types.ResourceId],
  authDomain: besom.types.Output[String],
  codeBucket: besom.types.Output[String],
  databaseType: besom.types.Output[String],
  defaultBucket: besom.types.Output[String],
  defaultCookieExpiration: besom.types.Output[String],
  defaultHostname: besom.types.Output[String],
  dispatchRules: besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.appengine.v1beta.outputs.UrlDispatchRuleResponse]],
  featureSettings: besom.types.Output[besom.api.googlenative.appengine.v1beta.outputs.FeatureSettingsResponse],
  gcrDomain: besom.types.Output[String],
  generatedCustomerMetadata: besom.types.Output[scala.Predef.Map[String, String]],
  iap: besom.types.Output[besom.api.googlenative.appengine.v1beta.outputs.IdentityAwareProxyResponse],
  location: besom.types.Output[String],
  name: besom.types.Output[String],
  serviceAccount: besom.types.Output[String],
  servingStatus: besom.types.Output[String]
) extends besom.CustomResource

object App extends besom.ResourceCompanion[App]:
  /** Resource constructor for App. 
    * 
    * @param name [[besom.util.NonEmptyString]] The unique (stack-wise) name of the resource in Pulumi state (not on provider's side).
    *        NonEmptyString is inferred automatically from non-empty string literals, even when interpolated. If you encounter any
    *        issues with this, please try using `: NonEmptyString` type annotation. If you need to convert a dynamically generated
    *        string to NonEmptyString, use `NonEmptyString.apply` method - `NonEmptyString(str): Option[NonEmptyString]`.
    *
    * @param args [[AppArgs]] The configuration to use to create this resource. This resource has a default configuration.
    *
    * @param opts [[besom.CustomResourceOptions]] Resource options to use for this resource. 
    *        Defaults to empty options. If you need to set some options, use [[besom.opts]] function to create them, for example:
    *  
    *        {{{
    *        val res = App(
    *          "my-resource",
    *          AppArgs(...), // your args
    *          opts(provider = myProvider)
    *        )
    *        }}}
    */
  def apply(using ctx: besom.types.Context)(
    name: besom.util.NonEmptyString,
    args: AppArgs = AppArgs(),
    opts: besom.ResourceOptsVariant.Custom ?=> besom.CustomResourceOptions = besom.CustomResourceOptions()
  ): besom.types.Output[App] =
    ctx.readOrRegisterResource[App, AppArgs]("google-native:appengine/v1beta:App", name, args, opts(using besom.ResourceOptsVariant.Custom))

  private[besom] def typeToken: besom.types.ResourceType = "google-native:appengine/v1beta:App"

  given resourceDecoder(using besom.types.Context): besom.types.ResourceDecoder[App] =
    besom.internal.ResourceDecoder.derived[App]

  given decoder(using besom.types.Context): besom.types.Decoder[App] =
    besom.internal.Decoder.customResourceDecoder[App]


  given outputOps: {} with
    extension(output: besom.types.Output[App])
      def urn : besom.types.Output[besom.types.URN] = output.flatMap(_.urn)
      def id : besom.types.Output[besom.types.ResourceId] = output.flatMap(_.id)
      def authDomain : besom.types.Output[String] = output.flatMap(_.authDomain)
      def codeBucket : besom.types.Output[String] = output.flatMap(_.codeBucket)
      def databaseType : besom.types.Output[String] = output.flatMap(_.databaseType)
      def defaultBucket : besom.types.Output[String] = output.flatMap(_.defaultBucket)
      def defaultCookieExpiration : besom.types.Output[String] = output.flatMap(_.defaultCookieExpiration)
      def defaultHostname : besom.types.Output[String] = output.flatMap(_.defaultHostname)
      def dispatchRules : besom.types.Output[scala.collection.immutable.List[besom.api.googlenative.appengine.v1beta.outputs.UrlDispatchRuleResponse]] = output.flatMap(_.dispatchRules)
      def featureSettings : besom.types.Output[besom.api.googlenative.appengine.v1beta.outputs.FeatureSettingsResponse] = output.flatMap(_.featureSettings)
      def gcrDomain : besom.types.Output[String] = output.flatMap(_.gcrDomain)
      def generatedCustomerMetadata : besom.types.Output[scala.Predef.Map[String, String]] = output.flatMap(_.generatedCustomerMetadata)
      def iap : besom.types.Output[besom.api.googlenative.appengine.v1beta.outputs.IdentityAwareProxyResponse] = output.flatMap(_.iap)
      def location : besom.types.Output[String] = output.flatMap(_.location)
      def name : besom.types.Output[String] = output.flatMap(_.name)
      def serviceAccount : besom.types.Output[String] = output.flatMap(_.serviceAccount)
      def servingStatus : besom.types.Output[String] = output.flatMap(_.servingStatus)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy