iam: SamlConsolePrincipal does not work in China #22091
Labels
@aws-cdk/aws-iam
Related to AWS Identity and Access Management
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p1
Describe the bug
While creating the SAML federation principal as below, the SAML attribute is hardcoded with
https://signin.aws.amazon.com/saml
, which breaks inaws-cn
partition since the SAML attribute should be changed tohttps://signin.amazonaws.cn/saml
in AWS CN partition.Expected Behavior
The construct
SamlConsolePrincipal
should allow to customize the SAML attribute for this case. This could be an option to change it.Current Behavior
Currently it's hardcoded and can't be customized while using the construct.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.39.0
Framework Version
No response
Node.js Version
v16.16.0
OS
Mac
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: