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
gefragt vor 4 Jahren173 Aufrufe
1 Antwort
0
doop
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen