Entradas

Mostrando las entradas con la etiqueta Stack to create a S3 bucket

Stack to create a S3 bucket

Stack to create a S3 bucket Cloudformation: Description: Stack to create a S3 bucket for only read files. Parameters: Stage: Description: Environment Name Type: String BucketName: Type: String Description: The bucket name OriginURL: Description: Origin url name Type: String Resources: S3FilesBucket: Type: AWS::S3::Bucket Properties: BucketName: !Ref BucketName VersioningConfiguration: Status: Enabled BucketEncryption: ServerSideEncryptionConfiguration: - ServerSideEncryptionByDefault: SSEAlgorithm: AES256 PublicAccessBlockConfiguration: BlockPublicAcls : true BlockPublicPolicy : true IgnorePublicAcls : true RestrictPublicBuckets : true CorsConfiguration: CorsRules: - AllowedHeaders: - x-amz-* AllowedMethods: - PUT AllowedOrigins: - !Ref OriginURL ExposedHeaders: - Connection - Server -