/*
* 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 apprunner-2020-05-15.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.AppRunner.Model
{
///
/// Container for the parameters to the CreateVpcIngressConnection operation.
/// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
/// when you want to associate your App Runner service with an Amazon VPC endpoint.
///
public partial class CreateVpcIngressConnectionRequest : AmazonAppRunnerRequest
{
private IngressVpcConfiguration _ingressVpcConfiguration;
private string _serviceArn;
private List _tags = new List();
private string _vpcIngressConnectionName;
///
/// Gets and sets the property IngressVpcConfiguration.
///
/// Specifications for the customer’s Amazon VPC and the related Amazon Web Services PrivateLink
/// VPC endpoint that are used to create the VPC Ingress Connection resource.
///
///
[AWSProperty(Required=true)]
public IngressVpcConfiguration IngressVpcConfiguration
{
get { return this._ingressVpcConfiguration; }
set { this._ingressVpcConfiguration = value; }
}
// Check to see if IngressVpcConfiguration property is set
internal bool IsSetIngressVpcConfiguration()
{
return this._ingressVpcConfiguration != null;
}
///
/// Gets and sets the property ServiceArn.
///
/// The Amazon Resource Name (ARN) for this App Runner service that is used to create
/// the VPC Ingress Connection resource.
///
///
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ServiceArn
{
get { return this._serviceArn; }
set { this._serviceArn = value; }
}
// Check to see if ServiceArn property is set
internal bool IsSetServiceArn()
{
return this._serviceArn != null;
}
///
/// Gets and sets the property Tags.
///
/// An optional list of metadata items that you can associate with the VPC Ingress Connection
/// resource. A tag is a key-value pair.
///
///
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
///
/// Gets and sets the property VpcIngressConnectionName.
///
/// A name for the VPC Ingress Connection resource. It must be unique across all the active
/// VPC Ingress Connections in your Amazon Web Services account in the Amazon Web Services
/// Region.
///
///
[AWSProperty(Required=true, Min=4, Max=40)]
public string VpcIngressConnectionName
{
get { return this._vpcIngressConnectionName; }
set { this._vpcIngressConnectionName = value; }
}
// Check to see if VpcIngressConnectionName property is set
internal bool IsSetVpcIngressConnectionName()
{
return this._vpcIngressConnectionName != null;
}
}
}