/* * 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 sagemaker-2017-07-24.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.SageMaker.Model { /// /// Use this parameter to configure your OIDC Identity Provider (IdP). /// public partial class OidcConfig { private string _authorizationEndpoint; private string _clientId; private string _clientSecret; private string _issuer; private string _jwksUri; private string _logoutEndpoint; private string _tokenEndpoint; private string _userInfoEndpoint; /// /// Gets and sets the property AuthorizationEndpoint. /// /// The OIDC IdP authorization endpoint used to configure your private workforce. /// /// [AWSProperty(Required=true, Max=500)] public string AuthorizationEndpoint { get { return this._authorizationEndpoint; } set { this._authorizationEndpoint = value; } } // Check to see if AuthorizationEndpoint property is set internal bool IsSetAuthorizationEndpoint() { return this._authorizationEndpoint != null; } /// /// Gets and sets the property ClientId. /// /// The OIDC IdP client ID used to configure your private workforce. /// /// [AWSProperty(Required=true, Min=1, Max=1024)] public string ClientId { get { return this._clientId; } set { this._clientId = value; } } // Check to see if ClientId property is set internal bool IsSetClientId() { return this._clientId != null; } /// /// Gets and sets the property ClientSecret. /// /// The OIDC IdP client secret used to configure your private workforce. /// /// [AWSProperty(Required=true, Sensitive=true, Min=1, Max=1024)] public string ClientSecret { get { return this._clientSecret; } set { this._clientSecret = value; } } // Check to see if ClientSecret property is set internal bool IsSetClientSecret() { return this._clientSecret != null; } /// /// Gets and sets the property Issuer. /// /// The OIDC IdP issuer used to configure your private workforce. /// /// [AWSProperty(Required=true, Max=500)] public string Issuer { get { return this._issuer; } set { this._issuer = value; } } // Check to see if Issuer property is set internal bool IsSetIssuer() { return this._issuer != null; } /// /// Gets and sets the property JwksUri. /// /// The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce. /// /// [AWSProperty(Required=true, Max=500)] public string JwksUri { get { return this._jwksUri; } set { this._jwksUri = value; } } // Check to see if JwksUri property is set internal bool IsSetJwksUri() { return this._jwksUri != null; } /// /// Gets and sets the property LogoutEndpoint. /// /// The OIDC IdP logout endpoint used to configure your private workforce. /// /// [AWSProperty(Required=true, Max=500)] public string LogoutEndpoint { get { return this._logoutEndpoint; } set { this._logoutEndpoint = value; } } // Check to see if LogoutEndpoint property is set internal bool IsSetLogoutEndpoint() { return this._logoutEndpoint != null; } /// /// Gets and sets the property TokenEndpoint. /// /// The OIDC IdP token endpoint used to configure your private workforce. /// /// [AWSProperty(Required=true, Max=500)] public string TokenEndpoint { get { return this._tokenEndpoint; } set { this._tokenEndpoint = value; } } // Check to see if TokenEndpoint property is set internal bool IsSetTokenEndpoint() { return this._tokenEndpoint != null; } /// /// Gets and sets the property UserInfoEndpoint. /// /// The OIDC IdP user information endpoint used to configure your private workforce. /// /// [AWSProperty(Required=true, Max=500)] public string UserInfoEndpoint { get { return this._userInfoEndpoint; } set { this._userInfoEndpoint = value; } } // Check to see if UserInfoEndpoint property is set internal bool IsSetUserInfoEndpoint() { return this._userInfoEndpoint != null; } } }