Fargate Serverless Container
Add a Fargate Serverless Container resource to your Altostra project
To add a Fargate Serverless Container resource in the designer, go to the "Compute" section and select the "Fargate Serverless Container" resource, or search "fargate" in the search box:

Fargate Serverless Container properties

Name:
type: string
| required
- Altostra will use Name property for generating a logical ID:
- Only strict alpha-numeric characters will be used (by the restrictions of CFN)
- If non alpha-numeric characters were used in the name, the logical ID will be generated by the resource type
- Up to 64 characters
Image Name:
type: string
| required
- The image used to start a container:
- This string is passed directly to the Docker daemon.
- By default, images in the Docker Hub registry are available.
- Other repositories are specified with either
repository-url/image:tag
orrepository-url/image@digest
. - Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed.
vCPU:
type: string
| required
- The number of cpu units reserved for the container.
- Allowed values
- 0.25
- 0.5
- 1
- 2
- 4
Memory:
type: string
| required
- The amount (in GiB) of memory to present to the container.
- Allowed values is dependant on selected vCPU.
- If your container attempts to exceed the memory specified here, the container is killed.
Environment Variables:
type: Name – Value pairs
| optional
- The environment variables to pass to a container.
- You can set the value as a parameter.
Inline Policies:
type: JSON
| optional
You can add inline policies to your container.
Must be a valid policy JSON:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:ListBucketVersions",
],
"Resource": [
"arn:aws:s3:::*/*"
]
}
]
}- You can set the policy as a parameter.
Fargate Serverless Container Connections:

Fargate Serverless Container can connect to the following resources:
- Application Integration:
- SNS Topic
- SQS FIFO Queue
- SQS Queue
- Database:
- Aurora Cluster
- Aurora Serverless Cluster
- DynamoDB Table
- RDS Instance
- Storage:
- S3 Bucket
- S3 Service
- Management & Governance:
- Parameter Store (SSM)
- Analytics:
- Kinesis Stream
- Machine Learning:
- Recognition Service
- Business Application:
- Simple Email Service