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-resource): add serviceTimeout property for custom resources #30911

Merged
merged 19 commits into from
Jan 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
45f6229
feat: add serviceTimeout property for custom resources
mazyu36 Jul 20, 2024
4794871
Merge branch 'main' into custom-resource-service-timeout-30517
mazyu36 Jul 20, 2024
d29130b
update docs
mazyu36 Jul 30, 2024
5f095b2
Merge branch 'main' into custom-resource-service-timeout-30517
mazyu36 Nov 1, 2024
430a718
update integ test
mazyu36 Nov 1, 2024
11c0e79
Merge branch 'main' into custom-resource-service-timeout-30517
mazyu36 Nov 1, 2024
41692dc
Merge branch 'main' into custom-resource-service-timeout-30517
mazyu36 Nov 10, 2024
4eb9931
Merge branch 'main' into custom-resource-service-timeout-30517
mazyu36 Nov 23, 2024
66e1a6e
Merge branch 'main' into custom-resource-service-timeout-30517
mazyu36 Nov 26, 2024
8456617
Merge branch 'main' into custom-resource-service-timeout-30517
paulhcsun Nov 27, 2024
a7333d4
Merge branch 'main' into custom-resource-service-timeout-30517
mazyu36 Nov 30, 2024
c02404e
Merge branch 'main' into custom-resource-service-timeout-30517
mazyu36 Dec 10, 2024
b7fc216
Update aws-custom-resource.ts
rix0rrr Dec 18, 2024
9ab4736
Merge branch 'main' into custom-resource-service-timeout-30517
mergify[bot] Dec 18, 2024
aefffb1
Merge branch 'main' into custom-resource-service-timeout-30517
rix0rrr Dec 19, 2024
865ff06
Merge branch 'main' into custom-resource-service-timeout-30517
mazyu36 Jan 2, 2025
403ae5b
Merge branch 'main' into custom-resource-service-timeout-30517
xazhao Jan 3, 2025
848e854
Merge branch 'main' into custom-resource-service-timeout-30517
mergify[bot] Jan 3, 2025
72a269f
Merge branch 'main' into custom-resource-service-timeout-30517
mergify[bot] Jan 4, 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.

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.

Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"Resources": {
"CustomReflectCustomResourceProviderRoleB4B29AEC": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Version": "2012-10-17",
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": "lambda.amazonaws.com"
}
}
]
},
"ManagedPolicyArns": [
{
"Fn::Sub": "arn:${AWS::Partition}:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
}
]
}
},
"CustomReflectCustomResourceProviderHandler2E189D0B": {
"Type": "AWS::Lambda::Function",
"Properties": {
"Code": {
"S3Bucket": {
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
},
"S3Key": "58b00a04670a58e0a99d0ca363cd2c6449822eb21c94bc5d3ca25a4816b69098.zip"
},
"Timeout": 900,
"MemorySize": 128,
"Handler": "__entrypoint__.handler",
"Role": {
"Fn::GetAtt": [
"CustomReflectCustomResourceProviderRoleB4B29AEC",
"Arn"
]
},
"Runtime": "nodejs18.x",
"Description": "veni vidi vici"
},
"DependsOn": [
"CustomReflectCustomResourceProviderRoleB4B29AEC"
]
},
"MyResource": {
"Type": "Custom::Reflect",
"Properties": {
"ServiceToken": {
"Fn::GetAtt": [
"CustomReflectCustomResourceProviderHandler2E189D0B",
"Arn"
]
},
"ServiceTimeout": "60"
},
"UpdateReplacePolicy": "Delete",
"DeletionPolicy": "Delete"
}
},
"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.

Loading
Loading