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달 전

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

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

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

관련 콘텐츠