Class CfnUserPoolResourceServerProps
Properties for defining a CfnUserPoolResourceServer
.
Inheritance
System.Object
CfnUserPoolResourceServerProps
Implements
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnUserPoolResourceServerProps : Object, ICfnUserPoolResourceServerProps
Syntax (vb)
Public Class CfnUserPoolResourceServerProps
Inherits Object
Implements ICfnUserPoolResourceServerProps
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;
var cfnUserPoolResourceServerProps = new CfnUserPoolResourceServerProps {
Identifier = "identifier",
Name = "name",
UserPoolId = "userPoolId",
// the properties below are optional
Scopes = new [] { new ResourceServerScopeTypeProperty {
ScopeDescription = "scopeDescription",
ScopeName = "scopeName"
} }
};
Synopsis
Constructors
CfnUserPoolResourceServerProps() |
Properties
Identifier | A unique resource server identifier for the resource server. |
Name | A friendly name for the resource server. |
Scopes | A list of scopes. |
UserPoolId | The user pool ID for the user pool. |
Constructors
CfnUserPoolResourceServerProps()
public CfnUserPoolResourceServerProps()
Properties
Identifier
A unique resource server identifier for the resource server.
public string Identifier { get; set; }
Property Value
System.String
Remarks
This could be an HTTPS endpoint where the resource server is located. For example: https://my-weather-api.example.com
.
Name
A friendly name for the resource server.
public string Name { get; set; }
Property Value
System.String
Remarks
Scopes
A list of scopes.
public object Scopes { get; set; }
Property Value
System.Object
Remarks
Each scope is a map with keys ScopeName
and ScopeDescription
.
UserPoolId
The user pool ID for the user pool.
public string UserPoolId { get; set; }
Property Value
System.String