Module: Jets::Stack::Main::Dsl::S3

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

Instance Method Summary collapse

Instance Method Details

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



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

def s3_bucket(id, props={})
  resource(id, "AWS::S3::Bucket", props)
  output(id) # Bucket name
end

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



8
9
10
# File 'lib/jets/stack/main/dsl/s3.rb', line 8

def s3_bucket_configuration(id, props={})
  resource(id, "Custom::S3BucketConfiguration", props)
end