Class UserPoolResourceServerProps
Properties for the UserPoolResourceServer construct.
public class UserPoolResourceServerProps : IUserPoolResourceServerProps, IUserPoolResourceServerOptions
- Inheritance
-
UserPoolResourceServerProps
- Implements
- Inherited Members
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"
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
UserPoolResourceServerProps()
public UserPoolResourceServerProps()
Properties
Identifier
A unique resource server identifier for the resource server.
public string Identifier { get; set; }
Property Value
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
Remarks
Default: - same as identifier