Altostra Docs

›Commands

Getting Started

  • Welcome to Altostra
  • Connect your accounts
  • Install the developer tools
  • Log in from the CLI

Tutorials

  • Create a Static Website
  • Create a Scalable Webhook
  • Create a Simple API Project
  • CI/CD with Altostra CLI and Github Actions
  • Deploying a Project to Multiple Environments

How To

    Working with projects

    • Create a new project
    • Deploy a project
    • Manage a project

    Working with environments

    • Manage an environment
    • Configure stacks expiration for an environment

    Working with the Editor

    • Quick Start
    • Grant access to vendor services
    • Use the Parameter Store
    • Use a custom CloudFormation resource
    • Attach a custom policy to a Function
    • Connect a Function to VPC
    • Add filter policy to SNS subscription

    Organization account settings

    • Set General Settings
    • Connect a Git account
    • Connect Cloud Accounts
    • Manage log aggregation accounts

CLI

  • Altostra CLI
  • Commands

    • account
    • activity-log
    • api-key
    • build
    • config
    • console
    • deploy
    • docs
    • endpoints
    • environments
    • import
    • init
    • invalidate
    • login
    • logout
    • new
    • projects
    • push
    • deploy-cfn
    • deploy-sam
    • deploy-sls
    • stacks
    • sync
    • tasks
    • templates
    • versions
    • whoami

    Options

    • --debug
    • --verbose
    • Scripting options
  • Configuration files

Errors And Solutions

  • Autnentication Required
  • Import Project Troubleshooting

Technical Reference

  • Environments
  • Stacks
  • Projects
  • Project Versions Repository
  • Log Shipping
  • Deployment Modes
  • Altostra Cloud Integration

Integrations

    CI/CD

    • CircleCI

    Git

    • Git integration
    • Connect a GitHub account
    • Connect a Bitbucket account

    Messaging

    • Connect a Slack workspace

    Security

    • Connect an Auth0 tenant

invalidate

The alto invalidate command is used to invalidate the cache of CDN resources for a given stack of the application.

The command takes as an argument the stack where the CDNs to be invalidated are deployed.

You can invalidate specific CDNs or all CDNs in an application by using the --all and --cdns options. These options are mutually exclusive.

By default, if not specified, all paths on the CDNs are invalidated using the path value /*. To invalidate only specific paths, use the --paths option.

As a best practice, you should limit the scope of the invalidated paths whenever possible for better performance of you CDNs.

Usage

$ alto invalidate <stack-name>

Arguments

stack-name

The stack that contains the CDNs to be invalidated.

Options

--all

Invalidate all CDNs.

Aliases: -a

Required: no

--cdns <list of CDNs>

Invalidate only a given subset of CDNs.

Aliases: -c

Required: no

--paths

The paths to invalidate. Default is "/*".

Required: no

--project-path

Specify the project working directory.

If not specified, project directory is assumed to be the current directory.

Aliases: --pp

Required: no

← initNext →
  • Usage
  • Arguments
    • stack-name
  • Options
    • --all
    • --cdns <list of CDNs>
    • --paths
    • --project-path

Ready to Get Started?

Get Started for Free
© 2022 Altostra, Inc.