/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the verifiedpermissions-2021-12-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.VerifiedPermissions.Model
{
///
/// Contains configuration information used when creating a new identity source.
///
///
///
/// At this time, the only valid member of this structure is a Amazon Cognito user pool
/// configuration.
///
///
///
/// You must specify a userPoolArn
, and optionally, a ClientId
.
///
///
///
/// This data type is used as a request parameter for the CreateIdentitySource
/// operation.
///
///
public partial class Configuration
{
private CognitoUserPoolConfiguration _cognitoUserPoolConfiguration;
///
/// Gets and sets the property CognitoUserPoolConfiguration.
///
/// Contains configuration details of a Amazon Cognito user pool that Verified Permissions
/// can use as a source of authenticated identities as entities. It specifies the Amazon
/// Resource Name (ARN) of a Amazon Cognito user pool and one or more application
/// client IDs.
///
///
///
/// Example: "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds":
/// ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}
///
///
public CognitoUserPoolConfiguration CognitoUserPoolConfiguration
{
get { return this._cognitoUserPoolConfiguration; }
set { this._cognitoUserPoolConfiguration = value; }
}
// Check to see if CognitoUserPoolConfiguration property is set
internal bool IsSetCognitoUserPoolConfiguration()
{
return this._cognitoUserPoolConfiguration != null;
}
}
}