What does a AWS::Serverless::Function DeploymentPreference Type of AllAtOnce actually do?

0

When using an AWS SAM template to define an AWS::Serverless::Function, what practical difference is there between not specifying a DeploymentPreference property and specifying one with a Type of AllAtOnce?

With this minimal configuration (no Alarms or Hooks specified), is the end result somewhat identical in that the new version is immediately published? Presumably the CodeDeploy version creates an alias as well, but are there any other differences to be aware of?

1개 답변
0
profile pictureAWS
전문가
답변함 일 년 전
  • Thank you, I have already read that and all other documentation I can find on the subject. Unless I'm missing something really obvious, I can't see that it answers my question.

    Specifcally, I note that adding AutoPublishAlias alone will create an alias on the Lambda function. What difference does adding a DeploymentPreference with Type AllAtOnce make compared to not adding it at all (other than the obvious that it creates CodeDeploy resources - but what effect does that actually have)?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠