Skip to content

Commit

Permalink
Regenerate SDK (take 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
iwahbe committed Apr 13, 2023
1 parent 345bebb commit 1c8e03e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sdk/dotnet/Cognito/IdentityPoolRoleAttachment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ namespace Pulumi.Aws.Cognito
/// AssumeRolePolicy = authenticatedPolicyDocument.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
/// });
///
/// var authenticatedRolePolicyPolicyDocument = Aws.Iam.GetPolicyDocument.Invoke(new()
/// var authenticatedRolePolicy = Aws.Iam.GetPolicyDocument.Invoke(new()
/// {
/// Statements = new[]
/// {
Expand All @@ -104,10 +104,10 @@ namespace Pulumi.Aws.Cognito
/// },
/// });
///
/// var authenticatedRolePolicy = new Aws.Iam.RolePolicy("authenticatedRolePolicy", new()
/// var authenticatedIam_rolePolicyRolePolicy = new Aws.Iam.RolePolicy("authenticatedIam/rolePolicyRolePolicy", new()
/// {
/// Role = authenticatedRole.Id,
/// Policy = authenticatedRolePolicyPolicyDocument.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
/// Policy = authenticatedRolePolicy.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
/// });
///
/// var mainIdentityPoolRoleAttachment = new Aws.Cognito.IdentityPoolRoleAttachment("mainIdentityPoolRoleAttachment", new()
Expand Down
6 changes: 3 additions & 3 deletions sdk/nodejs/cognito/identityPoolRoleAttachment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import * as utilities from "../utilities";
* }],
* });
* const authenticatedRole = new aws.iam.Role("authenticatedRole", {assumeRolePolicy: authenticatedPolicyDocument.apply(authenticatedPolicyDocument => authenticatedPolicyDocument.json)});
* const authenticatedRolePolicy = aws.iam.getPolicyDocument({
* const authenticatedRolePolicyPolicyDocument = aws.iam.getPolicyDocument({
* statements: [{
* effect: "Allow",
* actions: [
Expand All @@ -57,9 +57,9 @@ import * as utilities from "../utilities";
* resources: ["*"],
* }],
* });
* const authenticatedIam_rolePolicyRolePolicy = new aws.iam.RolePolicy("authenticatedIam/rolePolicyRolePolicy", {
* const authenticatedRolePolicy = new aws.iam.RolePolicy("authenticatedRolePolicy", {
* role: authenticatedRole.id,
* policy: authenticatedRolePolicy.then(authenticatedRolePolicy => authenticatedRolePolicy.json),
* policy: authenticatedRolePolicyPolicyDocument.then(authenticatedRolePolicyPolicyDocument => authenticatedRolePolicyPolicyDocument.json),
* });
* const mainIdentityPoolRoleAttachment = new aws.cognito.IdentityPoolRoleAttachment("mainIdentityPoolRoleAttachment", {
* identityPoolId: mainIdentityPool.id,
Expand Down

0 comments on commit 1c8e03e

Please sign in to comment.