At this time I believe you’ll need to use escape hatches.
Something along the lines of:
attachments = AwsAutoscalingAttachment(self, 'title', ...)
attachments.add_override('count', 'length(...)')
attachments.add_override('autoscaling_group_name', 'element(...)')