Skip to main content

AwsServerlessEnvironmentAnchorSchema

This anchor is associated with an Environment model in an AWS serverless region. The environment creates nothing; it carries the environment variables every execution in it gets.

@group

Anchors/AwsServerlessEnvironment

@see

AModel's getAnchorsMatchingSchema() to consume this anchor from your own module.

Hierarchy

  • BaseAnchorSchema
    • AwsServerlessEnvironmentAnchorSchema

Index

Properties

inheritedanchorId

anchorId: string

The ID of the anchor, unique within its parent.

inheritedparent

parent: IModelReference & { type: NodeType }

The model that declared the anchor.

properties

properties: { environmentName: string; environmentVariables: Record<string, string>; serverless: boolean }

Input properties.

  • properties.environmentName - The name of the environment.
  • properties.environmentVariables - The environment variables passed to every execution in this environment.
  • properties.serverless - Always true. It sets this anchor apart from any other environment anchor, so an environment with a cluster never matches this schema.

Type declaration

  • environmentName: string
  • environmentVariables: Record<string, string>
  • serverless: boolean
Page Options