diff --git a/example-serverless-app-reuse/reuse-auth-only.yaml b/example-serverless-app-reuse/reuse-auth-only.yaml index 9c08d66..1ba5ad3 100644 --- a/example-serverless-app-reuse/reuse-auth-only.yaml +++ b/example-serverless-app-reuse/reuse-auth-only.yaml @@ -32,7 +32,7 @@ Parameters: SemanticVersion: Type: String Description: Semantic version of the back end - Default: 2.0.12 + Default: 2.0.13 HttpHeaders: Type: String diff --git a/example-serverless-app-reuse/reuse-complete-cdk.ts b/example-serverless-app-reuse/reuse-complete-cdk.ts index ef8377f..9edd692 100755 --- a/example-serverless-app-reuse/reuse-complete-cdk.ts +++ b/example-serverless-app-reuse/reuse-complete-cdk.ts @@ -19,7 +19,7 @@ const authAtEdge = new sam.CfnApplication(stack, "AuthorizationAtEdge", { location: { applicationId: "arn:aws:serverlessrepo:us-east-1:520945424137:applications/cloudfront-authorization-at-edge", - semanticVersion: "2.0.12", + semanticVersion: "2.0.13", }, parameters: { EmailAddress: "johndoe@example.com", diff --git a/example-serverless-app-reuse/reuse-complete.yaml b/example-serverless-app-reuse/reuse-complete.yaml index 94c290f..716f12c 100644 --- a/example-serverless-app-reuse/reuse-complete.yaml +++ b/example-serverless-app-reuse/reuse-complete.yaml @@ -12,7 +12,7 @@ Resources: Properties: Location: ApplicationId: arn:aws:serverlessrepo:us-east-1:520945424137:applications/cloudfront-authorization-at-edge - SemanticVersion: 2.0.12 + SemanticVersion: 2.0.13 AlanTuring: Type: AWS::Cognito::UserPoolUser Properties: diff --git a/example-serverless-app-reuse/reuse-with-existing-user-pool.yaml b/example-serverless-app-reuse/reuse-with-existing-user-pool.yaml index 6826a14..43c18df 100644 --- a/example-serverless-app-reuse/reuse-with-existing-user-pool.yaml +++ b/example-serverless-app-reuse/reuse-with-existing-user-pool.yaml @@ -75,7 +75,7 @@ Resources: Properties: Location: ApplicationId: arn:aws:serverlessrepo:us-east-1:520945424137:applications/cloudfront-authorization-at-edge - SemanticVersion: 2.0.12 + SemanticVersion: 2.0.13 Parameters: UserPoolArn: !GetAtt UserPool.Arn UserPoolClientId: !Ref UserPoolClient diff --git a/template.yaml b/template.yaml index 8222d60..ad5516d 100644 --- a/template.yaml +++ b/template.yaml @@ -27,7 +27,7 @@ Metadata: "amplify", ] HomePageUrl: https://github.com/aws-samples/cloudfront-authorization-at-edge - SemanticVersion: 2.0.12 + SemanticVersion: 2.0.13 SourceCodeUrl: https://github.com/aws-samples/cloudfront-authorization-at-edge Parameters: @@ -125,7 +125,7 @@ Parameters: Version: Type: String Description: "Changing this parameter after initial deployment forces redeployment of Lambda@Edge functions" - Default: "2.0.12" + Default: "2.0.13" LogLevel: Type: String Description: "Use for development: setting to a value other than none turns on logging at that level. Warning! This will log sensitive data, use for development only" @@ -194,6 +194,10 @@ Resources: Condition: CreateCloudFrontDistribution Properties: AccessControl: Private + BucketEncryption: + ServerSideEncryptionConfiguration: + - ServerSideEncryptionByDefault: + SSEAlgorithm: AES256 CheckAuthHandler: Type: AWS::Serverless::Function