Module: Jets::Stack::Main::Dsl::Iam

Defined in:
lib/jets/stack/main/dsl/iam.rb

Instance Method Summary collapse

Instance Method Details

#iam_role(id, props = {}) ⇒ Object



3
4
5
6
# File 'lib/jets/stack/main/dsl/iam.rb', line 3

def iam_role(id, props={})
  resource(id, "AWS::IAM::Role", props)
  output(id) # IAM Arn
end