Class UserPoolResourceServerProps
Properties for the UserPoolResourceServer construct.
Inheritance
System.Object
UserPoolResourceServerProps
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.AWS.Cognito.dll
Syntax (csharp)
public class UserPoolResourceServerProps : Object, IUserPoolResourceServerProps, IUserPoolResourceServerOptions
Syntax (vb)
Public Class UserPoolResourceServerProps
Inherits Object
Implements IUserPoolResourceServerProps, IUserPoolResourceServerOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
ResourceServerScope resourceServerScope;
UserPool userPool;
var userPoolResourceServerProps = new UserPoolResourceServerProps {
Identifier = "identifier",
UserPool = userPool,
// the properties below are optional
Scopes = new [] { resourceServerScope },
UserPoolResourceServerName = "userPoolResourceServerName"
};
Synopsis
Constructors
UserPoolResourceServerProps() |
Properties
Identifier | A unique resource server identifier for the resource server. |
Scopes | Oauth scopes. |
UserPool | The user pool to add this resource server to. |
UserPoolResourceServerName | A friendly name for the resource server. |
Constructors
UserPoolResourceServerProps()
public UserPoolResourceServerProps()
Properties
Identifier
A unique resource server identifier for the resource server.
public string Identifier { get; set; }
Property Value
System.String
Scopes
Oauth scopes.
public ResourceServerScope[] Scopes { get; set; }
Property Value
Remarks
Default: - No scopes will be added
UserPool
The user pool to add this resource server to.
public IUserPool UserPool { get; set; }
Property Value
UserPoolResourceServerName
A friendly name for the resource server.
public string UserPoolResourceServerName { get; set; }
Property Value
System.String
Remarks
Default: - same as identifier