Slide 12
Slide 12 text
変更加えてみる
from aws_cdk import (
core,
aws_s3 as s3
)
class AppStack(core.Stack):
def __init__(self, scope: core.Construct,
id: str, **kwargs) -> None:
super().__init__(scope, id, **kwargs)
s3.Bucket(self, 'my-bucket',
encryption=s3.BucketEncryption.S3_MANAGED,
versioned=True
)
app = core.App()
AppStack(app, "my-stack")
app.synth()