/* * 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 { /// /// A structure that contains configuration of the identity source. /// /// /// /// This data type is used as a response parameter for the CreateIdentitySource /// operation. /// /// public partial class IdentitySourceItemDetails { private List _clientIds = new List(); private string _discoveryUrl; private OpenIdIssuer _openIdIssuer; private string _userPoolArn; /// /// Gets and sets the property ClientIds. /// /// The application client IDs associated with the specified Amazon Cognito user pool /// that are enabled for this identity source. /// /// [AWSProperty(Min=0, Max=1000)] public List ClientIds { get { return this._clientIds; } set { this._clientIds = value; } } // Check to see if ClientIds property is set internal bool IsSetClientIds() { return this._clientIds != null && this._clientIds.Count > 0; } /// /// Gets and sets the property DiscoveryUrl. /// /// The well-known URL that points to this user pool's OIDC discovery endpoint. This is /// a URL string in the following format. This URL replaces the placeholders for both /// the Amazon Web Services Region and the user pool identifier with those appropriate /// for this user pool. /// /// /// /// https://cognito-idp.<region>.amazonaws.com/<user-pool-id>/.well-known/openid-configuration /// /// /// [AWSProperty(Min=1, Max=2048)] public string DiscoveryUrl { get { return this._discoveryUrl; } set { this._discoveryUrl = value; } } // Check to see if DiscoveryUrl property is set internal bool IsSetDiscoveryUrl() { return this._discoveryUrl != null; } /// /// Gets and sets the property OpenIdIssuer. /// /// A string that identifies the type of OIDC service represented by this identity source. /// /// /// /// /// At this time, the only valid value is cognito. /// /// public OpenIdIssuer OpenIdIssuer { get { return this._openIdIssuer; } set { this._openIdIssuer = value; } } // Check to see if OpenIdIssuer property is set internal bool IsSetOpenIdIssuer() { return this._openIdIssuer != null; } /// /// Gets and sets the property UserPoolArn. /// /// The Amazon Cognito user pool whose identities are accessible to this Verified Permissions /// policy store. /// /// [AWSProperty(Min=1, Max=255)] public string UserPoolArn { get { return this._userPoolArn; } set { this._userPoolArn = value; } } // Check to see if UserPoolArn property is set internal bool IsSetUserPoolArn() { return this._userPoolArn != null; } } }