简体   繁体   English

现有 VPC 中 s3 的云形成模板

[英]cloud formation template for s3 in existing VPC

I tried deploying new s3 bucket in existing vpc using cloud formation template with the help of aws docs, but I am getting error " Encountered unsupported property VpcConfiguration. " below is my yaml我尝试在 aws 文档的帮助下使用云形成模板在现有 vpc 中部署新的 s3 存储桶,但我收到错误“遇到不支持的属性 VpcConfiguration。 ”下面是我的 yaml

Resources:资源:

S3Bucket: Type: AWS::S3::Bucket S3Bucket:类型:AWS::S3::Bucket

Properties:
  AccessControl: PublicRead
  Tags:
    - Key: Name
      Value: My Bucket
  BucketName: !Ref BucketName
  PublicAccessBlockConfiguration:
      BlockPublicAcls: false
      BlockPublicPolicy: false
      IgnorePublicAcls: false
      RestrictPublicBuckets: false
  VpcConfiguration:
     VpcId: vpc-aexxxx

Type: AWS::S3::Bucket does not have a property called VpcConfiguration . 类型:AWS::S3::Bucket没有名为VpcConfiguration的属性。

I think you meant AWS::S3::AccessPoint which indeed has VpcConfiguration .我认为您的意思是AWS::S3:: AccessPoint 确实具有VpcConfiguration

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我们可以从现有 VPC 中导出 Cloud Formation 模板吗? - Can we export Cloud Formation template from an existing VPC? Cloud Formation:S3 bucket和Lambda的单独cloudformation模板 - Cloud Formation: separate cloudformation template of S3 bucket and Lambda AWS 逆向工程来自现有 VPC 的云形成堆栈 - AWS reverse engineer Cloud formation stack from existing VPC Cloud Formation 没有引用现有的 AWS S3 存储桶,而是尝试创建存储桶 - Instead of referring an existing AWS S3 bucket, Cloud Formation is trying to create the bucket 如何在不使用云形成模板中的互联网访问的情况下将 ec2 连接到 s3 - how to connect ec2 to s3 without using internet access in cloud formation template 我们应该如何使用 Cloud Formation 模板更新 S3 存储桶上的默认加密? - How should we Update default encryption on S3 buckets using Cloud Formation Template? 云形成模板:403,而文件是从私有 S3 复制的 - Cloud Formation Template: 403 while files are copied from private S3 想要从不同的 VPC 云格式模板访问 VPC 值 - Want to access VPC value from different VPC cloud-formation template 如何使用云编队模板在S3存储桶上设置SSE-S3或SSE-KMS加密? - How do you set SSE-S3 or SSE-KMS encryption on S3 buckets using Cloud Formation Template? 如何从现有 AWS 环境创建云形成模板? - How to create a cloud formation template from an existing AWS environment?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM