Ejemplo n.º 1
0
 public MyStack()
 {
     var pool = new Aws.Cognito.UserPool("pool", new Aws.Cognito.UserPoolArgs
     {
     });
     var resource = new Aws.Cognito.ResourceServer("resource", new Aws.Cognito.ResourceServerArgs
     {
         Identifier = "https://example.com",
         UserPoolId = pool.Id,
     });
 }
Ejemplo n.º 2
0
 public MyStack()
 {
     var pool = new Aws.Cognito.UserPool("pool", new Aws.Cognito.UserPoolArgs
     {
     });
     var resource = new Aws.Cognito.ResourceServer("resource", new Aws.Cognito.ResourceServerArgs
     {
         Identifier = "https://example.com",
         Scopes     =
         {
             new Aws.Cognito.Inputs.ResourceServerScopeArgs
             {
                 ScopeDescription = "a Sample Scope Description",
                 ScopeName        = "sample-scope",
             },
         },
         UserPoolId = pool.Id,
     });
 }