Skip to main content

S3 Bucket With Componsite Components

This example demonstrates how to create an S3 bucket using the composite components. It builds upon the basic bucket example, integrating functionality into a higher-level abstraction.

import { AwsStack } from '@dinghy/tf-aws'
import { S3Bucket } from '@dinghy/tf-aws/s3'

export default () => (
<AwsStack>
<S3Bucket
bucket='my-demo-bucket-with-versioning'
versioningEnabled
/>
</AwsStack>
)