Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cognito): add analyticsConfiguration to UserPoolClient #32862

Open
wants to merge 62 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
d4ba257
feat: add `analyticsConfiguration` to UserPoolClient
ren-yamanashi Jan 12, 2025
2444316
feat: change property name
ren-yamanashi Jan 12, 2025
06842c4
feat: add unit test
ren-yamanashi Jan 12, 2025
012183d
docs: add documents
ren-yamanashi Jan 12, 2025
67b914f
feat: change method name
ren-yamanashi Jan 12, 2025
6531be3
feat: add integ test
ren-yamanashi Jan 12, 2025
73ca9d9
feat: update unit test
ren-yamanashi Jan 12, 2025
3c7a594
chore: add jsdoc comment
ren-yamanashi Jan 12, 2025
0dcb1e2
docs: update README.md
ren-yamanashi Jan 12, 2025
c31198e
feat: update integ test
ren-yamanashi Jan 12, 2025
114fa85
Merge branch 'main' of https://github.com/aws/aws-cdk into 32837-feat…
ren-yamanashi Jan 12, 2025
228177a
feat: update jsDoc
ren-yamanashi Jan 12, 2025
8319091
Merge branch 'main' of https://github.com/aws/aws-cdk into 32837-feat…
ren-yamanashi Jan 12, 2025
9d26e09
feat: update integ test
ren-yamanashi Jan 12, 2025
080d156
feat: update integ test
ren-yamanashi Jan 12, 2025
0bc7aac
Merge branch 'main' of https://github.com/aws/aws-cdk into 32837-feat…
ren-yamanashi Jan 12, 2025
415929d
feat: update integ test
ren-yamanashi Jan 12, 2025
407ee7e
feat: implementation modification at user-pool-client.ts
ren-yamanashi Jan 12, 2025
c12092d
test: fix test
ren-yamanashi Jan 12, 2025
47e8800
test: update unit test
ren-yamanashi Jan 12, 2025
73ddec4
docs: update README.md
ren-yamanashi Jan 12, 2025
bed1061
docs: update README.md
ren-yamanashi Jan 12, 2025
91569e3
test: update integ test
ren-yamanashi Jan 12, 2025
73b368c
Merge branch 'main' of https://github.com/aws/aws-cdk into 32837-feat…
ren-yamanashi Jan 12, 2025
b1098de
docs: update README.md
ren-yamanashi Jan 12, 2025
436a666
docs: update README.md
ren-yamanashi Jan 12, 2025
af90b5c
feat: change property name
ren-yamanashi Jan 12, 2025
4c548c2
feat: change import order
ren-yamanashi Jan 12, 2025
0cf0934
feat: update property type
ren-yamanashi Jan 12, 2025
2804b8c
test: update integ test
ren-yamanashi Jan 13, 2025
5959b3e
docs: update README.md
ren-yamanashi Jan 13, 2025
2c82f2e
Merge branch 'main' of https://github.com/aws/aws-cdk into 32837-feat…
ren-yamanashi Jan 13, 2025
03948d8
test: update integ test
ren-yamanashi Jan 13, 2025
f16fa90
test: update integ test
ren-yamanashi Jan 13, 2025
0c03d77
test: update integ test
ren-yamanashi Jan 13, 2025
683ddf0
Merge branch 'main' of https://github.com/aws/aws-cdk into 32837-feat…
ren-yamanashi Jan 13, 2025
a3904fd
test: update integ test
ren-yamanashi Jan 13, 2025
5ca76ad
Merge branch 'main' of https://github.com/aws/aws-cdk into 32837-feat…
ren-yamanashi Jan 13, 2025
42c11ce
Merge branch 'main' of https://github.com/aws/aws-cdk into 32837-feat…
ren-yamanashi Jan 30, 2025
4492cfb
docs: update jsdoc
ren-yamanashi Jan 30, 2025
e90fd7a
docs: update jsdoc
ren-yamanashi Jan 30, 2025
a3d61bb
docs: update jsdoc
ren-yamanashi Jan 30, 2025
75191e7
docs: update comment
ren-yamanashi Jan 30, 2025
0e86588
docs: update comment
ren-yamanashi Jan 30, 2025
cbf6f30
docs: update comment
ren-yamanashi Jan 30, 2025
eaef478
fix: no throw default error
ren-yamanashi Jan 30, 2025
4e6e314
Merge branch 'main' of https://github.com/aws/aws-cdk into 32837-feat…
ren-yamanashi Feb 1, 2025
f229b7f
docs: update README.md
ren-yamanashi Feb 1, 2025
af88137
Merge branch 'main' of https://github.com/aws/aws-cdk into 32837-feat…
ren-yamanashi Feb 3, 2025
9fdba21
feat: update property type
ren-yamanashi Feb 3, 2025
69eaf87
fix: import order
ren-yamanashi Feb 3, 2025
6229aff
fix: configureAnalytics method
ren-yamanashi Feb 3, 2025
713b85a
fix: README.md
ren-yamanashi Feb 3, 2025
7c87bce
docs: update table comment
ren-yamanashi Feb 3, 2025
bd7a9a7
fix: README
ren-yamanashi Feb 3, 2025
1bc90c8
fix: README.md
ren-yamanashi Feb 3, 2025
c48fc76
test: update integ test
ren-yamanashi Feb 3, 2025
e5fd2b2
Merge branch 'main' into 32837-feat-add-analytics-configuration
mergify[bot] Feb 4, 2025
2d8fa34
Merge branch 'main' of https://github.com/aws/aws-cdk into 32837-feat…
ren-yamanashi Feb 6, 2025
daa8895
docs: update jsdoc
ren-yamanashi Feb 6, 2025
70c2e7e
docs: update jsdoc
ren-yamanashi Feb 6, 2025
77148f5
feat: update analyticsConfiguration
ren-yamanashi Feb 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"Resources": {
"PinpointApp": {
"Type": "AWS::Pinpoint::App",
"Properties": {
"Name": "MyPinpointApp"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
},
"PoolD3F588B8": {
"Type": "AWS::Cognito::UserPool",
"Properties": {
"AccountRecoverySetting": {
"RecoveryMechanisms": [
{
"Name": "verified_phone_number",
"Priority": 1
},
{
"Name": "verified_email",
"Priority": 2
}
]
},
"AdminCreateUserConfig": {
"AllowAdminCreateUserOnly": true
},
"EmailVerificationMessage": "The verification code to your new account is {####}",
"EmailVerificationSubject": "Verify your new account",
"SmsVerificationMessage": "The verification code to your new account is {####}",
"VerificationMessageTemplate": {
"DefaultEmailOption": "CONFIRM_WITH_CODE",
"EmailMessage": "The verification code to your new account is {####}",
"EmailSubject": "Verify your new account",
"SmsMessage": "The verification code to your new account is {####}"
}
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
},
"PoolClient8A3E5EB7": {
"Type": "AWS::Cognito::UserPoolClient",
"Properties": {
"AllowedOAuthFlows": [
"implicit",
"code"
],
"AllowedOAuthFlowsUserPoolClient": true,
"AllowedOAuthScopes": [
"profile",
"phone",
"email",
"openid",
"aws.cognito.signin.user.admin"
],
"CallbackURLs": [
"https://example.com"
],
"GenerateSecret": true,
"SupportedIdentityProviders": [
"COGNITO"
],
"UserPoolId": {
"Ref": "PoolD3F588B8"
}
}
}
},
"Parameters": {
"BootstrapVersion": {
"Type": "AWS::SSM::Parameter::Value<String>",
"Default": "/cdk-bootstrap/hnb659fds/version",
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
}
},
"Rules": {
"CheckBootstrapVersion": {
"Assertions": [
{
"Assert": {
"Fn::Not": [
{
"Fn::Contains": [
[
"1",
"2",
"3",
"4",
"5"
],
{
"Ref": "BootstrapVersion"
}
]
}
]
},
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
}
]
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
{
"Resources": {
"PinpointApp": {
"Type": "AWS::Pinpoint::App",
"Properties": {
"Name": "MyPinpointApp"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
},
"Role1ABCC5F0": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": "cognito-idp.amazonaws.com"
}
}
],
"Version": "2012-10-17"
}
}
},
"RoleDefaultPolicy5FFB7DAB": {
"Type": "AWS::IAM::Policy",
"Properties": {
"PolicyDocument": {
"Statement": [
{
"Action": [
"mobiletargeting:UpdateEndpoint",
"mobiletargeting:PutEvents"
],
"Effect": "Allow",
"Resource": {
"Fn::Join": [
"/",
[
{
"Fn::GetAtt": [
"PinpointApp",
"Arn"
]
},
"*"
]
]
}
}
],
"Version": "2012-10-17"
},
"PolicyName": "RoleDefaultPolicy5FFB7DAB",
"Roles": [
{
"Ref": "Role1ABCC5F0"
}
]
}
},
"PoolD3F588B8": {
"Type": "AWS::Cognito::UserPool",
"Properties": {
"AccountRecoverySetting": {
"RecoveryMechanisms": [
{
"Name": "verified_phone_number",
"Priority": 1
},
{
"Name": "verified_email",
"Priority": 2
}
]
},
"AdminCreateUserConfig": {
"AllowAdminCreateUserOnly": true
},
"EmailVerificationMessage": "The verification code to your new account is {####}",
"EmailVerificationSubject": "Verify your new account",
"SmsVerificationMessage": "The verification code to your new account is {####}",
"VerificationMessageTemplate": {
"DefaultEmailOption": "CONFIRM_WITH_CODE",
"EmailMessage": "The verification code to your new account is {####}",
"EmailSubject": "Verify your new account",
"SmsMessage": "The verification code to your new account is {####}"
}
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
},
"Poolclient49CF16E5": {
"Type": "AWS::Cognito::UserPoolClient",
"Properties": {
"AllowedOAuthFlows": [
"implicit",
"code"
],
"AllowedOAuthFlowsUserPoolClient": true,
"AllowedOAuthScopes": [
"profile",
"phone",
"email",
"openid",
"aws.cognito.signin.user.admin"
],
"CallbackURLs": [
"https://example.com"
],
"GenerateSecret": true,
"SupportedIdentityProviders": [
"COGNITO"
],
"UserPoolId": {
"Ref": "PoolD3F588B8"
}
}
}
},
"Parameters": {
"BootstrapVersion": {
"Type": "AWS::SSM::Parameter::Value<String>",
"Default": "/cdk-bootstrap/hnb659fds/version",
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
}
},
"Rules": {
"CheckBootstrapVersion": {
"Assertions": [
{
"Assert": {
"Fn::Not": [
{
"Fn::Contains": [
[
"1",
"2",
"3",
"4",
"5"
],
{
"Ref": "BootstrapVersion"
}
]
}
]
},
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
}
]
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading