Skip to content

Commit e675b25

Browse files
committed
remove fraud detection lambda config
1 parent 6f3acc3 commit e675b25

File tree

1 file changed

+0
-81
lines changed

1 file changed

+0
-81
lines changed

template.yaml

Lines changed: 0 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ Resources:
6363
Variables:
6464
VALIDDATA_BUCKET_NAME: !Ref validData
6565
VALIDDATA_BUCKET_ARN: !GetAtt validData.Arn
66-
# FRAUDDETECTIONMODEL_FUNCTION_NAME: !Ref FraudDetectionModel
67-
# FRAUDDETECTIONMODEL_FUNCTION_ARN: !GetAtt FraudDetectionModel.Arn
6866
INVALIDDATA_BUCKET_NAME: !Ref InvalidData
6967
INVALIDDATA_BUCKET_ARN: !GetAtt InvalidData.Arn
7068
Policies:
@@ -94,8 +92,6 @@ Resources:
9492
Resource:
9593
- !Sub arn:${AWS::Partition}:s3:::${validData}
9694
- !Sub arn:${AWS::Partition}:s3:::${validData}/*
97-
# - LambdaInvokePolicy:
98-
# FunctionName: !Ref FraudDetectionModel
9995
- Statement:
10096
- Effect: Allow
10197
Action:
@@ -128,83 +124,6 @@ Resources:
128124
DeletionPolicy: Retain
129125
Properties:
130126
LogGroupName: !Sub /aws/lambda/${validateData}
131-
# FraudDetectionModel:
132-
# Type: AWS::Serverless::Function
133-
# Properties:
134-
# Description: !Sub
135-
# - Stack ${AWS::StackName} Function ${ResourceName}
136-
# - ResourceName: FraudDetectionModel
137-
# MemorySize: 3008
138-
# Timeout: 30
139-
# Tracing: Active
140-
# Environment:
141-
# Variables:
142-
# PREDICTIONS_BUCKET_NAME: !Ref Predictions
143-
# PREDICTIONS_BUCKET_ARN: !GetAtt Predictions.Arn
144-
# Policies:
145-
# - Statement:
146-
# - Effect: Allow
147-
# Action:
148-
# - s3:GetObject
149-
# - s3:GetObjectAcl
150-
# - s3:GetObjectLegalHold
151-
# - s3:GetObjectRetention
152-
# - s3:GetObjectTorrent
153-
# - s3:GetObjectVersion
154-
# - s3:GetObjectVersionAcl
155-
# - s3:GetObjectVersionForReplication
156-
# - s3:GetObjectVersionTorrent
157-
# - s3:ListBucket
158-
# - s3:ListBucketMultipartUploads
159-
# - s3:ListBucketVersions
160-
# - s3:ListMultipartUploadParts
161-
# - s3:AbortMultipartUpload
162-
# - s3:DeleteObject
163-
# - s3:DeleteObjectVersion
164-
# - s3:PutObject
165-
# - s3:PutObjectLegalHold
166-
# - s3:PutObjectRetention
167-
# - s3:RestoreObject
168-
# Resource:
169-
# - !Sub arn:${AWS::Partition}:s3:::${Predictions}
170-
# - !Sub arn:${AWS::Partition}:s3:::${Predictions}/*
171-
# CodeUri: src/FraudDetectionModel
172-
# Runtime: python3.11
173-
# Handler: handler.handler
174-
# FraudDetectionModelLogGroup:
175-
# Type: AWS::Logs::LogGroup
176-
# DeletionPolicy: Retain
177-
# Properties:
178-
# LogGroupName: !Sub /aws/lambda/${FraudDetectionModel}
179-
# Predictions:
180-
# Type: AWS::S3::Bucket
181-
# Properties:
182-
# BucketName: !Sub ${AWS::StackName}-predictio-${AWS::AccountId}
183-
# BucketEncryption:
184-
# ServerSideEncryptionConfiguration:
185-
# - ServerSideEncryptionByDefault:
186-
# SSEAlgorithm: aws:kms
187-
# KMSMasterKeyID: alias/aws/s3
188-
# PublicAccessBlockConfiguration:
189-
# IgnorePublicAcls: true
190-
# RestrictPublicBuckets: true
191-
# PredictionsBucketPolicy:
192-
# Type: AWS::S3::BucketPolicy
193-
# Properties:
194-
# Bucket: !Ref Predictions
195-
# PolicyDocument:
196-
# Id: RequireEncryptionInTransit
197-
# Version: '2012-10-17'
198-
# Statement:
199-
# - Principal: '*'
200-
# Action: '*'
201-
# Effect: Deny
202-
# Resource:
203-
# - !GetAtt Predictions.Arn
204-
# - !Sub ${Predictions.Arn}/*
205-
# Condition:
206-
# Bool:
207-
# aws:SecureTransport: 'false'
208127
InvalidData:
209128
Type: AWS::S3::Bucket
210129
Properties:

0 commit comments

Comments
 (0)