/*
* 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 kinesisanalytics-2015-08-14.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.KinesisAnalytics.Model
{
///
/// Identifies the S3 bucket and object that contains the reference data. Also identifies
/// the IAM role Amazon Kinesis Analytics can assume to read this object on your behalf.
///
///
///
/// An Amazon Kinesis Analytics application loads reference data only once. If the data
/// changes, you call the UpdateApplication
/// operation to trigger reloading of data into your application.
///
///
public partial class S3ReferenceDataSource
{
private string _bucketARN;
private string _fileKey;
private string _referenceRoleARN;
///
/// Gets and sets the property BucketARN.
///
/// Amazon Resource Name (ARN) of the S3 bucket.
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string BucketARN
{
get { return this._bucketARN; }
set { this._bucketARN = value; }
}
// Check to see if BucketARN property is set
internal bool IsSetBucketARN()
{
return this._bucketARN != null;
}
///
/// Gets and sets the property FileKey.
///
/// Object key name containing reference data.
///
///
[AWSProperty(Required=true, Min=1, Max=1024)]
public string FileKey
{
get { return this._fileKey; }
set { this._fileKey = value; }
}
// Check to see if FileKey property is set
internal bool IsSetFileKey()
{
return this._fileKey != null;
}
///
/// Gets and sets the property ReferenceRoleARN.
///
/// ARN of the IAM role that the service can assume to read data on your behalf. This
/// role must have permission for the s3:GetObject
action on the object and
/// trust policy that allows Amazon Kinesis Analytics service principal to assume this
/// role.
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string ReferenceRoleARN
{
get { return this._referenceRoleARN; }
set { this._referenceRoleARN = value; }
}
// Check to see if ReferenceRoleARN property is set
internal bool IsSetReferenceRoleARN()
{
return this._referenceRoleARN != null;
}
}
}