Skip to content

Commit

Permalink
Fix docs typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zakwalters committed Apr 6, 2020
1 parent 9fad94c commit 6b20828
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/@aws-cdk/aws-iam/lib/principals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class PrincipalWithConditions implements IPrincipal {

/**
* The conditions under which the policy is in effect.
* See [the IAMdocumentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html).
* See [the IAM documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html).
*/
public get conditions() {
return this.mergeConditions(this.principal.policyFragment.conditions, this.additionalConditions);
Expand Down Expand Up @@ -193,7 +193,7 @@ export class PrincipalPolicyFragment {
public readonly principalJson: { [key: string]: string[] },
/**
* The conditions under which the policy is in effect.
* See [the IAMdocumentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html).
* See [the IAM documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html).
*/
public readonly conditions: Conditions = {}) {
}
Expand Down Expand Up @@ -317,7 +317,7 @@ export class FederatedPrincipal extends PrincipalBase {
public readonly federated: string,
/**
* The conditions under which the policy is in effect.
* See [the IAMdocumentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html).
* See [the IAM documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html).
*/
public readonly conditions: Conditions,
assumeRoleAction: string = 'sts:AssumeRole') {
Expand Down

0 comments on commit 6b20828

Please sign in to comment.