Question in the title, trying to figure out how to add a CreationPolicy to an ec2 instance in the cdk so that I can then send a cfn-signal command once the script finishes, to then mark the resource as create complete.
This is what I have so far, after creating the ec2 instance in the stack:
create_policy = CfnCreationPolicy(resource_signal=CfnResourceSignal(count=1, timeout="PT10M"))
I don't see a way in the docs to add that to the ec2 resource as a property. Just wondering what I should do next.