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
demandé il y a 4 ans173 vues
1 réponse
0
doop
répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions