/*
* 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 appsync-2017-07-25.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.AppSync.Model
{
///
/// The authorization configuration in case the HTTP endpoint requires authorization.
///
public partial class AuthorizationConfig
{
private AuthorizationType _authorizationType;
private AwsIamConfig _awsIamConfig;
///
/// Gets and sets the property AuthorizationType.
///
/// The authorization type that the HTTP endpoint requires.
///
/// -
///
/// AWS_IAM: The authorization type is Signature Version 4 (SigV4).
///
///
///
[AWSProperty(Required=true)]
public AuthorizationType AuthorizationType
{
get { return this._authorizationType; }
set { this._authorizationType = value; }
}
// Check to see if AuthorizationType property is set
internal bool IsSetAuthorizationType()
{
return this._authorizationType != null;
}
///
/// Gets and sets the property AwsIamConfig.
///
/// The Identity and Access Management (IAM) settings.
///
///
public AwsIamConfig AwsIamConfig
{
get { return this._awsIamConfig; }
set { this._awsIamConfig = value; }
}
// Check to see if AwsIamConfig property is set
internal bool IsSetAwsIamConfig()
{
return this._awsIamConfig != null;
}
}
}