How to create a Delete flow for AWS MediaConnect, MediaLive, MediaPackage and CloudFront?

0

Hi, I want to create a delete resources function which can delete AWS MediaConnect Flow, MediaLive Channel then MediaLive Inputs, MediaPackage Endpoints then MediaPackage Channel, Disable CloudFront distribution and then delete it using JS v3 SDK.

If i make separate calls for each deletion, the MediaLive inputs wont delete as they can only be deleted once the channel they are attached to has been deleted. MediaPackage channel also has the same issue as the endpoint has to be deleted first.

Is there a way I can delete them one by one or event based for dependent calls, as some of the calls are dependent on others.

1回答
0

In this CloudFormation Template you have a Step Function that will delete the Medialive and MediaPackage resources. https://github.com/aws-samples/aws-elemental-media-services-factory/blob/master/cfn-template.yaml

The diagram for the step function is shown here: https://github.com/aws-samples/aws-elemental-media-services-factory/blob/master/docs/diagram.png

You just need to change the step function to cater for your use case.

AWS
Nuno_Q
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ