-
Notifications
You must be signed in to change notification settings - Fork 4.5k
aws_iam.Policy: Confusing parameter description in the Policy construct #29398
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-iamRelated to AWS Identity and Access ManagementRelated to AWS Identity and Access Managementclosed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.This issue was automatically closed because it hadn't received any attention in a while.documentationThis is a problem with documentation.This is a problem with documentation.feature-requestA feature should be added or improved.A feature should be added or improved.p2response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-iamRelated to AWS Identity and Access ManagementRelated to AWS Identity and Access Managementclosed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.This issue was automatically closed because it hadn't received any attention in a while.documentationThis is a problem with documentation.This is a problem with documentation.feature-requestA feature should be added or improved.A feature should be added or improved.p2response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the issue
The
forceparameter from thePolicyconstruct still requires the policy to be attached to a role, user, or group. However, documentation can be interpreted as aforceparameter that will force CDK to create the policy without attaching the policy.I believe docs should also indicate that the
Policyconstruct is in-line policy and should refer to to ManagedPolicy for customer-managed policies.Links
Policy