AWSTemplateFormatVersion: '2010-09-09'
Resources:
  MyModule:
    Type: AWS::S3::Bucket::MODULE
    Properties: {}
Outputs:
  ModuleGetAtt:
    Value: !GetAtt MyModule.SomeOutput
  SubResourceGetAtt:
    Value: !GetAtt MyModuleMyBucket.Arn
  SubResourceRef:
    Value: !Ref MyModuleMyBucket
