-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
…te` and `Certificate` (#28597) Add support for key algorithm when requesting a certificate `keyAlgorithm` support for `DnsValidatedCertificate` is not supported since the construct was _deprecated_. Added a warning if user tries to use `keyAlgorithm` for the construct instead. CloudFormation docs for [key algorithm](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-certificatemanager-certificate.html#cfn-certificatemanager-certificate-keyalgorithm). Closes #22887. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
There are no files selected for viewing
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,98 @@ | ||
{ | ||
"Resources": { | ||
"ECprime256v1A2C983CE": { | ||
"Type": "AWS::CertificateManager::Certificate", | ||
"Properties": { | ||
"DomainName": "*.example.com", | ||
"DomainValidationOptions": [ | ||
{ | ||
"DomainName": "*.example.com", | ||
"HostedZoneId": "Z23ABC4XYZL05B" | ||
} | ||
], | ||
"KeyAlgorithm": "EC_prime256v1", | ||
"Tags": [ | ||
{ | ||
"Key": "Name", | ||
"Value": "integ-key-algorithm/EC_prime256v1" | ||
} | ||
], | ||
"ValidationMethod": "DNS" | ||
} | ||
}, | ||
"ECsecp384r16CA95ECC": { | ||
"Type": "AWS::CertificateManager::Certificate", | ||
"Properties": { | ||
"DomainName": "*.example.com", | ||
"DomainValidationOptions": [ | ||
{ | ||
"DomainName": "*.example.com", | ||
"HostedZoneId": "Z23ABC4XYZL05B" | ||
} | ||
], | ||
"KeyAlgorithm": "EC_secp384r1", | ||
"Tags": [ | ||
{ | ||
"Key": "Name", | ||
"Value": "integ-key-algorithm/EC_secp384r1" | ||
} | ||
], | ||
"ValidationMethod": "DNS" | ||
} | ||
}, | ||
"RSA2048CD164E12": { | ||
"Type": "AWS::CertificateManager::Certificate", | ||
"Properties": { | ||
"DomainName": "*.example.com", | ||
"DomainValidationOptions": [ | ||
{ | ||
"DomainName": "*.example.com", | ||
"HostedZoneId": "Z23ABC4XYZL05B" | ||
} | ||
], | ||
"KeyAlgorithm": "RSA_2048", | ||
"Tags": [ | ||
{ | ||
"Key": "Name", | ||
"Value": "integ-key-algorithm/RSA_2048" | ||
} | ||
], | ||
"ValidationMethod": "DNS" | ||
} | ||
} | ||
}, | ||
"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.