/*
* 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 ecr-2015-09-21.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.ECR
{
///
/// Constants used for properties of type EncryptionType.
///
public class EncryptionType : ConstantClass
{
///
/// Constant AES256 for EncryptionType
///
public static readonly EncryptionType AES256 = new EncryptionType("AES256");
///
/// Constant KMS for EncryptionType
///
public static readonly EncryptionType KMS = new EncryptionType("KMS");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public EncryptionType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static EncryptionType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator EncryptionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type FindingSeverity.
///
public class FindingSeverity : ConstantClass
{
///
/// Constant CRITICAL for FindingSeverity
///
public static readonly FindingSeverity CRITICAL = new FindingSeverity("CRITICAL");
///
/// Constant HIGH for FindingSeverity
///
public static readonly FindingSeverity HIGH = new FindingSeverity("HIGH");
///
/// Constant INFORMATIONAL for FindingSeverity
///
public static readonly FindingSeverity INFORMATIONAL = new FindingSeverity("INFORMATIONAL");
///
/// Constant LOW for FindingSeverity
///
public static readonly FindingSeverity LOW = new FindingSeverity("LOW");
///
/// Constant MEDIUM for FindingSeverity
///
public static readonly FindingSeverity MEDIUM = new FindingSeverity("MEDIUM");
///
/// Constant UNDEFINED for FindingSeverity
///
public static readonly FindingSeverity UNDEFINED = new FindingSeverity("UNDEFINED");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public FindingSeverity(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static FindingSeverity FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator FindingSeverity(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ImageActionType.
///
public class ImageActionType : ConstantClass
{
///
/// Constant EXPIRE for ImageActionType
///
public static readonly ImageActionType EXPIRE = new ImageActionType("EXPIRE");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ImageActionType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ImageActionType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ImageActionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ImageFailureCode.
///
public class ImageFailureCode : ConstantClass
{
///
/// Constant ImageNotFound for ImageFailureCode
///
public static readonly ImageFailureCode ImageNotFound = new ImageFailureCode("ImageNotFound");
///
/// Constant ImageReferencedByManifestList for ImageFailureCode
///
public static readonly ImageFailureCode ImageReferencedByManifestList = new ImageFailureCode("ImageReferencedByManifestList");
///
/// Constant ImageTagDoesNotMatchDigest for ImageFailureCode
///
public static readonly ImageFailureCode ImageTagDoesNotMatchDigest = new ImageFailureCode("ImageTagDoesNotMatchDigest");
///
/// Constant InvalidImageDigest for ImageFailureCode
///
public static readonly ImageFailureCode InvalidImageDigest = new ImageFailureCode("InvalidImageDigest");
///
/// Constant InvalidImageTag for ImageFailureCode
///
public static readonly ImageFailureCode InvalidImageTag = new ImageFailureCode("InvalidImageTag");
///
/// Constant KmsError for ImageFailureCode
///
public static readonly ImageFailureCode KmsError = new ImageFailureCode("KmsError");
///
/// Constant MissingDigestAndTag for ImageFailureCode
///
public static readonly ImageFailureCode MissingDigestAndTag = new ImageFailureCode("MissingDigestAndTag");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ImageFailureCode(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ImageFailureCode FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ImageFailureCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ImageTagMutability.
///
public class ImageTagMutability : ConstantClass
{
///
/// Constant IMMUTABLE for ImageTagMutability
///
public static readonly ImageTagMutability IMMUTABLE = new ImageTagMutability("IMMUTABLE");
///
/// Constant MUTABLE for ImageTagMutability
///
public static readonly ImageTagMutability MUTABLE = new ImageTagMutability("MUTABLE");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ImageTagMutability(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ImageTagMutability FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ImageTagMutability(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LayerAvailability.
///
public class LayerAvailability : ConstantClass
{
///
/// Constant AVAILABLE for LayerAvailability
///
public static readonly LayerAvailability AVAILABLE = new LayerAvailability("AVAILABLE");
///
/// Constant UNAVAILABLE for LayerAvailability
///
public static readonly LayerAvailability UNAVAILABLE = new LayerAvailability("UNAVAILABLE");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public LayerAvailability(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static LayerAvailability FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator LayerAvailability(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LayerFailureCode.
///
public class LayerFailureCode : ConstantClass
{
///
/// Constant InvalidLayerDigest for LayerFailureCode
///
public static readonly LayerFailureCode InvalidLayerDigest = new LayerFailureCode("InvalidLayerDigest");
///
/// Constant MissingLayerDigest for LayerFailureCode
///
public static readonly LayerFailureCode MissingLayerDigest = new LayerFailureCode("MissingLayerDigest");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public LayerFailureCode(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static LayerFailureCode FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator LayerFailureCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LifecyclePolicyPreviewStatus.
///
public class LifecyclePolicyPreviewStatus : ConstantClass
{
///
/// Constant COMPLETE for LifecyclePolicyPreviewStatus
///
public static readonly LifecyclePolicyPreviewStatus COMPLETE = new LifecyclePolicyPreviewStatus("COMPLETE");
///
/// Constant EXPIRED for LifecyclePolicyPreviewStatus
///
public static readonly LifecyclePolicyPreviewStatus EXPIRED = new LifecyclePolicyPreviewStatus("EXPIRED");
///
/// Constant FAILED for LifecyclePolicyPreviewStatus
///
public static readonly LifecyclePolicyPreviewStatus FAILED = new LifecyclePolicyPreviewStatus("FAILED");
///
/// Constant IN_PROGRESS for LifecyclePolicyPreviewStatus
///
public static readonly LifecyclePolicyPreviewStatus IN_PROGRESS = new LifecyclePolicyPreviewStatus("IN_PROGRESS");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public LifecyclePolicyPreviewStatus(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static LifecyclePolicyPreviewStatus FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator LifecyclePolicyPreviewStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ReplicationStatus.
///
public class ReplicationStatus : ConstantClass
{
///
/// Constant COMPLETE for ReplicationStatus
///
public static readonly ReplicationStatus COMPLETE = new ReplicationStatus("COMPLETE");
///
/// Constant FAILED for ReplicationStatus
///
public static readonly ReplicationStatus FAILED = new ReplicationStatus("FAILED");
///
/// Constant IN_PROGRESS for ReplicationStatus
///
public static readonly ReplicationStatus IN_PROGRESS = new ReplicationStatus("IN_PROGRESS");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ReplicationStatus(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ReplicationStatus FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ReplicationStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RepositoryFilterType.
///
public class RepositoryFilterType : ConstantClass
{
///
/// Constant PREFIX_MATCH for RepositoryFilterType
///
public static readonly RepositoryFilterType PREFIX_MATCH = new RepositoryFilterType("PREFIX_MATCH");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public RepositoryFilterType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static RepositoryFilterType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator RepositoryFilterType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ScanFrequency.
///
public class ScanFrequency : ConstantClass
{
///
/// Constant CONTINUOUS_SCAN for ScanFrequency
///
public static readonly ScanFrequency CONTINUOUS_SCAN = new ScanFrequency("CONTINUOUS_SCAN");
///
/// Constant MANUAL for ScanFrequency
///
public static readonly ScanFrequency MANUAL = new ScanFrequency("MANUAL");
///
/// Constant SCAN_ON_PUSH for ScanFrequency
///
public static readonly ScanFrequency SCAN_ON_PUSH = new ScanFrequency("SCAN_ON_PUSH");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ScanFrequency(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ScanFrequency FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ScanFrequency(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ScanningConfigurationFailureCode.
///
public class ScanningConfigurationFailureCode : ConstantClass
{
///
/// Constant REPOSITORY_NOT_FOUND for ScanningConfigurationFailureCode
///
public static readonly ScanningConfigurationFailureCode REPOSITORY_NOT_FOUND = new ScanningConfigurationFailureCode("REPOSITORY_NOT_FOUND");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ScanningConfigurationFailureCode(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ScanningConfigurationFailureCode FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ScanningConfigurationFailureCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ScanningRepositoryFilterType.
///
public class ScanningRepositoryFilterType : ConstantClass
{
///
/// Constant WILDCARD for ScanningRepositoryFilterType
///
public static readonly ScanningRepositoryFilterType WILDCARD = new ScanningRepositoryFilterType("WILDCARD");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ScanningRepositoryFilterType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ScanningRepositoryFilterType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ScanningRepositoryFilterType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ScanStatus.
///
public class ScanStatus : ConstantClass
{
///
/// Constant ACTIVE for ScanStatus
///
public static readonly ScanStatus ACTIVE = new ScanStatus("ACTIVE");
///
/// Constant COMPLETE for ScanStatus
///
public static readonly ScanStatus COMPLETE = new ScanStatus("COMPLETE");
///
/// Constant FAILED for ScanStatus
///
public static readonly ScanStatus FAILED = new ScanStatus("FAILED");
///
/// Constant FINDINGS_UNAVAILABLE for ScanStatus
///
public static readonly ScanStatus FINDINGS_UNAVAILABLE = new ScanStatus("FINDINGS_UNAVAILABLE");
///
/// Constant IN_PROGRESS for ScanStatus
///
public static readonly ScanStatus IN_PROGRESS = new ScanStatus("IN_PROGRESS");
///
/// Constant PENDING for ScanStatus
///
public static readonly ScanStatus PENDING = new ScanStatus("PENDING");
///
/// Constant SCAN_ELIGIBILITY_EXPIRED for ScanStatus
///
public static readonly ScanStatus SCAN_ELIGIBILITY_EXPIRED = new ScanStatus("SCAN_ELIGIBILITY_EXPIRED");
///
/// Constant UNSUPPORTED_IMAGE for ScanStatus
///
public static readonly ScanStatus UNSUPPORTED_IMAGE = new ScanStatus("UNSUPPORTED_IMAGE");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ScanStatus(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ScanStatus FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ScanStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ScanType.
///
public class ScanType : ConstantClass
{
///
/// Constant BASIC for ScanType
///
public static readonly ScanType BASIC = new ScanType("BASIC");
///
/// Constant ENHANCED for ScanType
///
public static readonly ScanType ENHANCED = new ScanType("ENHANCED");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public ScanType(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static ScanType FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator ScanType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TagStatus.
///
public class TagStatus : ConstantClass
{
///
/// Constant ANY for TagStatus
///
public static readonly TagStatus ANY = new TagStatus("ANY");
///
/// Constant TAGGED for TagStatus
///
public static readonly TagStatus TAGGED = new TagStatus("TAGGED");
///
/// Constant UNTAGGED for TagStatus
///
public static readonly TagStatus UNTAGGED = new TagStatus("UNTAGGED");
///
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
///
public TagStatus(string value)
: base(value)
{
}
///
/// Finds the constant for the unique value.
///
/// The unique value for the constant
/// The constant for the unique value
public static TagStatus FindValue(string value)
{
return FindValue(value);
}
///
/// Utility method to convert strings to the constant class.
///
/// The string value to convert to the constant class.
///
public static implicit operator TagStatus(string value)
{
return FindValue(value);
}
}
}