Boto3 resource association on creation

0

Hopefully a easy one and I'm just missing something.

I can create the resource using the following
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/greengrass.html#Greengrass.Client.create_resource_definition_version

So this creates my resource, but how do I have it also associate a lambda function with the resource with out manually going into the console and associate said resource with a lambda.

abrv but works fine

        res_def = rinse(self._gg.create_resource_definition(
            Name=self.name,
            InitialVersion={'Resources': res}
        ))
doop
質問済み 4年前173ビュー
1回答
0
doop
回答済み 4年前

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

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

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

関連するコンテンツ