/*
* 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 mediatailor-2018-04-23.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.MediaTailor.Model
{
///
/// AWS Secrets Manager access token configuration parameters. For information about Secrets
/// Manager access token authentication, see Working
/// with AWS Secrets Manager access token authentication.
///
public partial class SecretsManagerAccessTokenConfiguration
{
private string _headerName;
private string _secretArn;
private string _secretStringKey;
///
/// Gets and sets the property HeaderName.
///
/// The name of the HTTP header used to supply the access token in requests to the source
/// location.
///
///
public string HeaderName
{
get { return this._headerName; }
set { this._headerName = value; }
}
// Check to see if HeaderName property is set
internal bool IsSetHeaderName()
{
return this._headerName != null;
}
///
/// Gets and sets the property SecretArn.
///
/// The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the
/// access token.
///
///
public string SecretArn
{
get { return this._secretArn; }
set { this._secretArn = value; }
}
// Check to see if SecretArn property is set
internal bool IsSetSecretArn()
{
return this._secretArn != null;
}
///
/// Gets and sets the property SecretStringKey.
///
/// The AWS Secrets Manager SecretString
/// key associated with the access token. MediaTailor uses the key to look up SecretString
/// key and value pair containing the access token.
///
///
public string SecretStringKey
{
get { return this._secretStringKey; }
set { this._secretStringKey = value; }
}
// Check to see if SecretStringKey property is set
internal bool IsSetSecretStringKey()
{
return this._secretStringKey != null;
}
}
}