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(custom-resources): add logging property to AwsSdkCall and create Logging class #29648

Merged
merged 94 commits into from
Apr 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
33c7ac8
logging
colifran Apr 4, 2024
3e0e2e1
v2 handler
colifran Apr 4, 2024
e87c3e6
docstring
colifran Apr 4, 2024
415b0c6
make logging abstract and implement render
colifran Apr 4, 2024
dcc0dc8
unit tests
colifran Apr 4, 2024
4e61b2d
unit test for off
colifran Apr 4, 2024
c8c0b64
log sdk version
colifran Apr 4, 2024
bcc1ab8
README
colifran Apr 4, 2024
97660cd
readme
colifran Apr 4, 2024
d20b6b4
logging integ tests
colifran Apr 4, 2024
ea8d4de
integ test
colifran Apr 4, 2024
840746a
selective logging should select things to log
colifran Apr 4, 2024
63914b9
align readme
colifran Apr 4, 2024
da86462
logging options
colifran Apr 4, 2024
43bdef9
snaps
colifran Apr 4, 2024
af67a3b
class doc string
colifran Apr 4, 2024
7404c00
docstring on logging property
colifran Apr 4, 2024
a534473
readme
colifran Apr 4, 2024
116d74c
readme
colifran Apr 4, 2024
d751faf
moved logging to AwsSdkCall, updated unit tests, updated integ test, …
colifran Apr 4, 2024
9c998c4
remove rogue snaps
colifran Apr 4, 2024
c8a13db
clarifying comment
colifran Apr 4, 2024
b48dc2e
fix unit tests
colifran Apr 4, 2024
02a68af
fix unit tests
colifran Apr 4, 2024
0214481
small unit test fix
colifran Apr 4, 2024
089c62b
all instead of on
colifran Apr 4, 2024
52e92d3
readme
colifran Apr 4, 2024
319fcc9
logging docstrin
colifran Apr 4, 2024
11caff0
comment
colifran Apr 4, 2024
c4d3790
scoped down flags and added with hidden data logging option
colifran Apr 4, 2024
6ed1e8b
updated integ test
colifran Apr 4, 2024
4bf84f1
readme
colifran Apr 4, 2024
27bf3c3
readme
colifran Apr 4, 2024
ea1bb11
fix unit tests
colifran Apr 4, 2024
34318e7
update snaps
colifran Apr 4, 2024
1f97930
dont need to export the logging props interface right now
colifran Apr 4, 2024
0bdc76e
docstring
colifran Apr 4, 2024
f77733a
stringify filtered response object
colifran Apr 4, 2024
6bd9564
Merge branch 'main' into colifran/response-data
colifran Apr 11, 2024
1ef4097
update physical resource id for aws custom resource ssm integ test
colifran Apr 12, 2024
80c2eae
export logging props interface
colifran Apr 12, 2024
2194742
cognito snaps
colifran Apr 12, 2024
a31701c
codedeploy snaps
colifran Apr 12, 2024
50240cc
open search snaps
colifran Apr 12, 2024
1505b2f
s3 snaps
colifran Apr 12, 2024
532bc14
elastic search snaps
colifran Apr 12, 2024
f9ba75f
aws custom resource snaos
colifran Apr 12, 2024
7c5ba5f
aws logs destinations snaps
colifran Apr 12, 2024
f7bbed7
route53 snaps
colifran Apr 12, 2024
30dca30
events targets logs snaps
colifran Apr 12, 2024
9dae21e
global accelerator snaps
colifran Apr 12, 2024
a4cafb5
global accelerator endpoints snaps
colifran Apr 12, 2024
92475fe
synthetics snaps
colifran Apr 12, 2024
221e55d
stepfunctions tasks emrcontainers snaps
colifran Apr 12, 2024
931bfee
elastic load balancing v2 actions snaps
colifran Apr 12, 2024
9464ca2
elastic load balancing v2 snaps
colifran Apr 12, 2024
cac77ed
elastic search domain unit tests
colifran Apr 12, 2024
6b0b1e7
opensearchservice domain unit tests
colifran Apr 12, 2024
b9c5c8b
cognito user pool client unit tests
colifran Apr 12, 2024
1df13ed
stepfunctions tasks emrcontainers start job run unit tests
colifran Apr 12, 2024
ac3cf58
route53 vpc endpoint service domain name unit tests
colifran Apr 12, 2024
f2f871e
codedeploy lambda custom deployment config unit tests
colifran Apr 12, 2024
3440250
open search service opensearch access policy unit tests
colifran Apr 12, 2024
f1b4578
elastic search access policy unit tests
colifran Apr 12, 2024
38c82f8
global accelerator security group unit tests
colifran Apr 12, 2024
5fbd77f
elastic search log group resource policy unit test
colifran Apr 12, 2024
bb439a7
open search service log group resource policy unit test
colifran Apr 12, 2024
e875058
events targets log group resource policy unit tests
colifran Apr 12, 2024
c366666
redshift alpha integ tests
colifran Apr 12, 2024
b729d15
msk alpha integ tests
colifran Apr 12, 2024
35cdf40
aws glue alpha integ tests
colifran Apr 12, 2024
5bad2c9
Merge branch 'main' into colifran/response-data
colifran Apr 12, 2024
358337d
iot actions alpha integ tests
colifran Apr 12, 2024
59cf170
Merge branch 'main' into colifran/response-data
colifran Apr 12, 2024
037bd61
global accelerator snaps
colifran Apr 12, 2024
4b14876
global accelerator endpoints integ tests
colifran Apr 12, 2024
d4fe078
rosetta
colifran Apr 12, 2024
f4f5bcf
response->responding
colifran Apr 12, 2024
cd5016d
comment
colifran Apr 12, 2024
6b3f7e9
update v3 handler
colifran Apr 12, 2024
770ef5d
fix v2 handler
colifran Apr 12, 2024
3ebb3cf
comment
colifran Apr 12, 2024
4630b9b
update aws custom resource snaps
colifran Apr 12, 2024
0a08663
update open searh snaps
colifran Apr 13, 2024
da38d95
events targets integ tests
colifran Apr 13, 2024
d8902ed
elastic search integ tests
colifran Apr 13, 2024
15ef34c
synthetics integ tests
colifran Apr 13, 2024
53640b3
s3 integ tests
colifran Apr 13, 2024
33d6a5b
route53 integ tests
colifran Apr 13, 2024
4d934d7
logs detinations integ tests
colifran Apr 13, 2024
a6384e7
global accel snaps
colifran Apr 13, 2024
90da2b2
elastic load balancing v2 snaps
colifran Apr 13, 2024
e3b2344
elastic load balancing v2 snaps
colifran Apr 13, 2024
1f08e31
Merge branch 'main' into colifran/response-data
colifran Apr 13, 2024
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.

Large diffs are not rendered by default.

This file was deleted.

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
Expand Up @@ -22,9 +22,9 @@
"Arn"
]
},
"Create": "{\"service\":\"CodeDeploy\",\"action\":\"createDeploymentConfig\",\"parameters\":{\"deploymentConfigName\":\"hello\",\"computePlatform\":\"Lambda\",\"trafficRoutingConfig\":{\"type\":\"TimeBasedLinear\",\"timeBasedLinear\":{\"linearInterval\":1,\"linearPercentage\":5}}},\"physicalResourceId\":{\"id\":\"hello\"}}",
"Update": "{\"service\":\"CodeDeploy\",\"action\":\"createDeploymentConfig\",\"parameters\":{\"deploymentConfigName\":\"hello\",\"computePlatform\":\"Lambda\",\"trafficRoutingConfig\":{\"type\":\"TimeBasedLinear\",\"timeBasedLinear\":{\"linearInterval\":1,\"linearPercentage\":5}}},\"physicalResourceId\":{\"id\":\"hello\"}}",
"Delete": "{\"service\":\"CodeDeploy\",\"action\":\"deleteDeploymentConfig\",\"parameters\":{\"deploymentConfigName\":\"hello\"}}",
"Create": "{\"service\":\"CodeDeploy\",\"action\":\"createDeploymentConfig\",\"parameters\":{\"deploymentConfigName\":\"hello\",\"computePlatform\":\"Lambda\",\"trafficRoutingConfig\":{\"type\":\"TimeBasedLinear\",\"timeBasedLinear\":{\"linearInterval\":1,\"linearPercentage\":5}}},\"physicalResourceId\":{\"id\":\"hello\"},\"logApiResponseData\":true}",
"Update": "{\"service\":\"CodeDeploy\",\"action\":\"createDeploymentConfig\",\"parameters\":{\"deploymentConfigName\":\"hello\",\"computePlatform\":\"Lambda\",\"trafficRoutingConfig\":{\"type\":\"TimeBasedLinear\",\"timeBasedLinear\":{\"linearInterval\":1,\"linearPercentage\":5}}},\"physicalResourceId\":{\"id\":\"hello\"},\"logApiResponseData\":true}",
"Delete": "{\"service\":\"CodeDeploy\",\"action\":\"deleteDeploymentConfig\",\"parameters\":{\"deploymentConfigName\":\"hello\"},\"logApiResponseData\":true}",
"InstallLatestAwsSdk": false
},
"DependsOn": [
Expand Down Expand Up @@ -95,7 +95,7 @@
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "e5178afc49b7c6a85127a67856ce958e4f0879ce6aad5e974cac2a088bf939db.zip"
"S3Key": "6c34b6e864223e202d50bb862e2bf066393d4cdf36229f8e1646425a5224a10b.zip"
},
"Handler": "index.handler",
"Role": {
Expand Down

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.

Large diffs are not rendered by default.

This file was deleted.

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.

Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
{
"Ref": "myuserpoolmyuserpoolclientAFB2274E"
},
"\"}}"
"\"},\"logApiResponseData\":true}"
]
]
},
Expand All @@ -152,7 +152,7 @@
{
"Ref": "myuserpoolmyuserpoolclientAFB2274E"
},
"\"}}"
"\"},\"logApiResponseData\":true}"
]
]
},
Expand Down Expand Up @@ -228,7 +228,7 @@
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "e5178afc49b7c6a85127a67856ce958e4f0879ce6aad5e974cac2a088bf939db.zip"
"S3Key": "6c34b6e864223e202d50bb862e2bf066393d4cdf36229f8e1646425a5224a10b.zip"
},
"Handler": "index.handler",
"Role": {
Expand Down

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.

Large diffs are not rendered by default.

This file was deleted.

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.

Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
{
"Ref": "poolclient2623294C"
},
"\"}}"
"\"},\"logApiResponseData\":true}"
]
]
},
Expand All @@ -111,7 +111,7 @@
{
"Ref": "poolclient2623294C"
},
"\"}}"
"\"},\"logApiResponseData\":true}"
]
]
},
Expand Down Expand Up @@ -187,7 +187,7 @@
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "e5178afc49b7c6a85127a67856ce958e4f0879ce6aad5e974cac2a088bf939db.zip"
"S3Key": "6c34b6e864223e202d50bb862e2bf066393d4cdf36229f8e1646425a5224a10b.zip"
},
"Handler": "index.handler",
"Role": {
Expand Down

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.

Large diffs are not rendered by default.

This file was deleted.

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

Loading
Loading