AwsDeploymentAnchorSchema
Hierarchy
- BaseAnchorSchema
- AwsDeploymentAnchorSchema
Index
Properties
Properties
inheritedanchorId
The ID of the anchor, unique within its parent.
inheritedparent
The model that declared the anchor.
properties
Input properties. See AwsDeploymentAnchorPropertiesSchema for options.
Type declaration
command: string[] | null
The command to run, one argument per element, replacing the image's own, or
nullto keep the image's own command.cpu: number | null
The CPU units the code needs, where 1024 units are one vCPU, or
nullto leave it to the runtime.image: { imageId: string; imageTag: string; kind: ecr } | { kind: uri; uri: string }
The container image the code is in. It is either an image octo publishes into ECR, named by its image and tag, or any other image, named by its URI.
memory: number | null
The memory the code needs in MiB, or
nullto leave it to the runtime.ports: AwsDeploymentAnchorPortSchema[]
The ports the code listens on. See AwsDeploymentAnchorPortSchema for options.
timeoutInSeconds: number | null
How long one request may run in seconds, or
nullto leave it to the runtime.
This anchor is associated with a Deployment model built by an AWS deployment module. It holds the code the deployment runs and what that code needs, for any AWS execution module to read.
Anchors/AwsDeployment
AModel's
getAnchorsMatchingSchema()to consume this anchor from your own module.