Skip to content

Commit

Permalink
Remove CloudWatch Evidently (#666)
Browse files Browse the repository at this point in the history
Removed CloudWatch Evidently, cfn, workshops, doc
  • Loading branch information
gfaires authored Nov 14, 2024
1 parent 9c17583 commit 8356291
Show file tree
Hide file tree
Showing 19 changed files with 4 additions and 1,492 deletions.
1 change: 0 additions & 1 deletion aws/cloudformation-templates/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ This readme explains the use and utility of each of the listed CloudFormation st
- codecommit.yaml
- ecs-cluster.yaml
- [event-driven.yaml](#event-driven)
- evidently.yaml
- notebook.yaml
- opensearch.yaml
- personalize.yaml
Expand Down
13 changes: 0 additions & 13 deletions aws/cloudformation-templates/base/_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ Resources:
PinpointAppId: !GetAtt Pinpoint.Outputs.PinpointAppId
GitHubUser: !Ref GitHubUser
GitHubBranch: !Ref GitHubBranch
EvidentlyProjectName: !GetAtt Evidently.Outputs.EvidentlyProjectName

# Tables
Tables:
Expand Down Expand Up @@ -280,14 +279,6 @@ Resources:
Uid: !Sub ${ParentStackName}-${AWS::Region}
StackBucketName: !GetAtt Buckets.Outputs.StackBucketName

# Evidently
Evidently:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: !Sub https://s3.amazonaws.com/${ResourceBucket}/${ResourceBucketRelativePath}cloudformation-templates/base/evidently.yaml
Parameters:
Uid: !Sub ${ParentStackName}-${AWS::Region}

# Event-Driven Architecture
EventDrivenArchitecture:
Type: AWS::CloudFormation::Stack
Expand Down Expand Up @@ -457,10 +448,6 @@ Outputs:
Description: The URL for the web application
Value: !GetAtt CloudFront.Outputs.SwaggerUICDNURL

EvidentlyProjectName:
Description: Evidently project name
Value: !GetAtt Evidently.Outputs.EvidentlyProjectName

EventBusName:
Description: EventBridge event bus name
Value: !GetAtt EventDrivenArchitecture.Outputs.EventBusName
217 changes: 0 additions & 217 deletions aws/cloudformation-templates/base/evidently.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions aws/cloudformation-templates/base/notebook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ Parameters:
PinpointAppId:
Type: String

EvidentlyProjectName:
Type: String

Conditions:
UseDefaultGitHubUser: !Equals
- !Ref GitHubUser
Expand Down Expand Up @@ -265,17 +262,6 @@ Resources:
Resource:
- !Sub 'arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${ExperimentStrategyTable}'
- !Sub 'arn:aws:dynamodb:${AWS::Region}:${AWS::AccountId}:table/${ExperimentStrategyTable}/index/*'
- Effect: Allow
Action:
- evidently:GetFeature
- evidently:EvaluateFeature
- evidently:CreateExperiment
- evidently:StartExperiment
- evidently:StopExperiment
Resource:
- !Sub 'arn:aws:evidently:${AWS::Region}:${AWS::AccountId}:project/${EvidentlyProjectName}'
- !Sub 'arn:aws:evidently:${AWS::Region}:${AWS::AccountId}:project/${EvidentlyProjectName}/experiment/*'
- !Sub 'arn:aws:evidently:${AWS::Region}:${AWS::AccountId}:project/${EvidentlyProjectName}/feature/*'
-
PolicyName: "4-Messaging"
PolicyDocument:
Expand Down
13 changes: 0 additions & 13 deletions aws/cloudformation-templates/services/_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ Parameters:
Type: String
Description: Whether to use created IVS streams or those hosted by AWS.

EvidentlyProjectName:
Type: String
Description: Evidently project name

LoggingBucketName:
Type: String
Description: S3 Bucket For logging
Expand Down Expand Up @@ -179,7 +175,6 @@ Resources:
DeleteRepositoryLambdaArn: !GetAtt DeleteRepositoryLambdaFunction.Arn
WebRootUrl: !Ref WebRootUrl
ImageRootUrl: !Ref ImageRootUrl
EvidentlyProjectName: !Ref EvidentlyProjectName
LoggingBucketName: !Ref LoggingBucketName

UsersService:
Expand Down Expand Up @@ -212,7 +207,6 @@ Resources:
DeleteRepositoryLambdaArn: !GetAtt DeleteRepositoryLambdaFunction.Arn
WebRootUrl: !Ref WebRootUrl
ImageRootUrl: !Ref ImageRootUrl
EvidentlyProjectName: !Ref EvidentlyProjectName
LoggingBucketName: !Ref LoggingBucketName

CartsService:
Expand Down Expand Up @@ -247,7 +241,6 @@ Resources:
CartsTable: !Ref CartsTable
WebRootUrl: !Ref WebRootUrl
ImageRootUrl: !Ref ImageRootUrl
EvidentlyProjectName: !Ref EvidentlyProjectName
LoggingBucketName: !Ref LoggingBucketName

OrdersService:
Expand Down Expand Up @@ -280,7 +273,6 @@ Resources:
OrdersTable: !Ref OrdersTable
WebRootUrl: !Ref WebRootUrl
ImageRootUrl: !Ref ImageRootUrl
EvidentlyProjectName: !Ref EvidentlyProjectName
LoggingBucketName: !Ref LoggingBucketName

SearchService:
Expand Down Expand Up @@ -313,7 +305,6 @@ Resources:
DeleteRepositoryLambdaArn: !GetAtt DeleteRepositoryLambdaFunction.Arn
WebRootUrl: !Ref WebRootUrl
ImageRootUrl: !Ref ImageRootUrl
EvidentlyProjectName: !Ref EvidentlyProjectName
LoggingBucketName: !Ref LoggingBucketName

LocationService:
Expand Down Expand Up @@ -346,7 +337,6 @@ Resources:
DeleteRepositoryLambdaArn: !GetAtt DeleteRepositoryLambdaFunction.Arn
WebRootUrl: !Ref WebRootUrl
ImageRootUrl: !Ref ImageRootUrl
EvidentlyProjectName: !Ref EvidentlyProjectName
LoggingBucketName: !Ref LoggingBucketName

OffersService:
Expand Down Expand Up @@ -379,7 +369,6 @@ Resources:
DeleteRepositoryLambdaArn: !GetAtt DeleteRepositoryLambdaFunction.Arn
WebRootUrl: !Ref WebRootUrl
ImageRootUrl: !Ref ImageRootUrl
EvidentlyProjectName: !Ref EvidentlyProjectName
LoggingBucketName: !Ref LoggingBucketName

RecommendationsService:
Expand Down Expand Up @@ -414,7 +403,6 @@ Resources:
DeleteRepositoryLambdaArn: !GetAtt DeleteRepositoryLambdaFunction.Arn
WebRootUrl: !Ref WebRootUrl
ImageRootUrl: !Ref ImageRootUrl
EvidentlyProjectName: !Ref EvidentlyProjectName
LoggingBucketName: !Ref LoggingBucketName

VideosService:
Expand Down Expand Up @@ -448,7 +436,6 @@ Resources:
UseDefaultIVSStreams: !If [UseDefaultIVSStreams, true, false]
WebRootUrl: !Ref WebRootUrl
ImageRootUrl: !Ref ImageRootUrl
EvidentlyProjectName: !Ref EvidentlyProjectName
LoggingBucketName: !Ref LoggingBucketName

# Pinpoint personalized messaging customization
Expand Down
5 changes: 0 additions & 5 deletions aws/cloudformation-templates/services/service/_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,6 @@ Parameters:
Type: String
Default: false

EvidentlyProjectName:
Type: String
Description: Evidently project name

LoggingBucketName:
Type: String
Description: S3 Bucket For logging
Expand Down Expand Up @@ -297,7 +293,6 @@ Resources:
PinpointAppId: !Ref PinpointAppId
WebRootUrl: !Ref WebRootUrl
ImageRootUrl: !Ref ImageRootUrl
EvidentlyProjectName: !Ref EvidentlyProjectName
UserPoolId: !Ref UserPoolId
UserPoolClientId: !Ref UserPoolClientId

Expand Down
Loading

0 comments on commit 8356291

Please sign in to comment.