AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateResourceServer operation. Creates a new OAuth2.0 resource server and defines custom scopes within it.

Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.

Learn more

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderRequest
      Amazon.CognitoIdentityProvider.Model.CreateResourceServerRequest

Namespace: Amazon.CognitoIdentityProvider.Model
Assembly: AWSSDK.CognitoIdentityProvider.dll
Version: 3.x.y.z

Syntax

C#
public class CreateResourceServerRequest : AmazonCognitoIdentityProviderRequest
         IAmazonWebServiceRequest

The CreateResourceServerRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Identifier System.String

Gets and sets the property Identifier.

A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located, such as https://my-weather-api.example.com.

Public Property Name System.String

Gets and sets the property Name.

A friendly name for the resource server.

Public Property Scopes System.Collections.Generic.List<Amazon.CognitoIdentityProvider.Model.ResourceServerScopeType>

Gets and sets the property Scopes.

A list of scopes. Each scope is a key-value map with the keys name and description.

Public Property UserPoolId System.String

Gets and sets the property UserPoolId.

The user pool ID for the user pool.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5