/*
* 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 kinesisanalyticsv2-2018-05-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.KinesisAnalyticsV2.Model
{
///
/// For a SQL-based Kinesis Data Analytics application, an object that contains the Amazon
/// Resource Name (ARN) of the Amazon Lambda function that is used to preprocess records
/// in the stream.
///
public partial class InputLambdaProcessorDescription
{
private string _resourceARN;
private string _roleARN;
///
/// Gets and sets the property ResourceARN.
///
/// The ARN of the Amazon Lambda function that is used to preprocess the records in the
/// stream.
///
///
///
/// To specify an earlier version of the Lambda function than the latest, include the
/// Lambda function version in the Lambda function ARN. For more information about Lambda
/// ARNs, see Example
/// ARNs: Amazon Lambda
///
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string ResourceARN
{
get { return this._resourceARN; }
set { this._resourceARN = value; }
}
// Check to see if ResourceARN property is set
internal bool IsSetResourceARN()
{
return this._resourceARN != null;
}
///
/// Gets and sets the property RoleARN.
///
/// The ARN of the IAM role that is used to access the Amazon Lambda function.
///
///
///
/// Provided for backward compatibility. Applications that are created with the current
/// API version have an application-level service execution role rather than a resource-level
/// role.
///
///
///
[AWSProperty(Min=1, Max=2048)]
public string RoleARN
{
get { return this._roleARN; }
set { this._roleARN = value; }
}
// Check to see if RoleARN property is set
internal bool IsSetRoleARN()
{
return this._roleARN != null;
}
}
}