aws_iam.Policy: Confusing parameter description in the Policy construct #29398
Labels
@aws-cdk/aws-iam
Related to AWS Identity and Access Management
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
documentation
This is a problem with documentation.
feature-request
A feature should be added or improved.
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the issue
The
force
parameter from thePolicy
construct still requires the policy to be attached to a role, user, or group. However, documentation can be interpreted as aforce
parameter that will force CDK to create the policy without attaching the policy.I believe docs should also indicate that the
Policy
construct is in-line policy and should refer to to ManagedPolicy for customer-managed policies.Links
Policy
The text was updated successfully, but these errors were encountered: