/*
* 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 servicecatalog-2015-12-10.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.ServiceCatalog.Model
{
///
/// Information about a provisioning artifact (also known as a version) for a product.
///
public partial class ProvisioningArtifactProperties
{
private string _description;
private bool? _disableTemplateValidation;
private Dictionary _info = new Dictionary();
private string _name;
private ProvisioningArtifactType _type;
///
/// Gets and sets the property Description.
///
/// The description of the provisioning artifact, including how it differs from the previous
/// provisioning artifact.
///
///
[AWSProperty(Max=8192)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property DisableTemplateValidation.
///
/// If set to true, Service Catalog stops validating the specified provisioning artifact
/// even if it is invalid.
///
///
public bool DisableTemplateValidation
{
get { return this._disableTemplateValidation.GetValueOrDefault(); }
set { this._disableTemplateValidation = value; }
}
// Check to see if DisableTemplateValidation property is set
internal bool IsSetDisableTemplateValidation()
{
return this._disableTemplateValidation.HasValue;
}
///
/// Gets and sets the property Info.
///
/// Specify the template source with one of the following options, but not both. Keys
/// accepted: [ LoadTemplateFromURL
, ImportFromPhysicalId
]
///
///
///
/// The URL of the CloudFormation template in Amazon S3 or GitHub in JSON format. Specify
/// the URL in JSON format as follows:
///
///
///
/// "LoadTemplateFromURL": "https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/..."
///
///
///
///
/// ImportFromPhysicalId
: The physical id of the resource that contains
/// the template. Currently only supports CloudFormation stack arn. Specify the physical
/// id in JSON format as follows: ImportFromPhysicalId: “arn:aws:cloudformation:[us-east-1]:[accountId]:stack/[StackName]/[resourceId]
///
///
///
[AWSProperty(Min=1, Max=100)]
public Dictionary Info
{
get { return this._info; }
set { this._info = value; }
}
// Check to see if Info property is set
internal bool IsSetInfo()
{
return this._info != null && this._info.Count > 0;
}
///
/// Gets and sets the property Name.
///
/// The name of the provisioning artifact (for example, v1 v2beta). No spaces are allowed.
///
///
[AWSProperty(Max=8192)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Type.
///
/// The type of provisioning artifact.
///
/// -
///
///
CLOUD_FORMATION_TEMPLATE
- CloudFormation template
///
/// -
///
///
MARKETPLACE_AMI
- Amazon Web Services Marketplace AMI
///
/// -
///
///
MARKETPLACE_CAR
- Amazon Web Services Marketplace Clusters and Amazon
/// Web Services Resources
///
/// -
///
///
TERRAFORM_OPEN_SOURCE
- Terraform open source configuration file
///
///
///
public ProvisioningArtifactType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}