// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.IO;
namespace AWS.Deploy.Common
{
///
/// The container for the deployment bundle used by an application.
///
public class DeploymentBundle
{
///
/// The directory from which the docker build command will be executed.
///
public string DockerExecutionDirectory { get; set; } = "";
///
/// The list of additional dotnet publish args passed to the target application.
///
public string DockerBuildArgs { get; set; } = "";
///
/// The path to the Dockerfile. This can either be an absolute path or relative to the project directory.
///
public string DockerfilePath { get; set; } = "";
///
/// The ECR Repository Name where the docker image will be pushed to.
///
public string ECRRepositoryName { get; set; } = "";
///
/// The ECR Image Tag of the docker image.
///
public string ECRImageTag { get; set; } = "";
///
/// The path of the zip file containing the assemblies produced by the dotnet publish command.
///
public string DotnetPublishZipPath { get; set; } = "";
///
/// The directory containing the assemblies produced by the dotnet publish command.
///
public string DotnetPublishOutputDirectory { get; set; } = "";
///
/// The build configuration to use for the dotnet build.
///
public string DotnetPublishBuildConfiguration { get; set; } = "Release";
///
/// Publishing your app as self-contained produces an application that includes the .NET runtime and libraries.
/// Users can run it on a machine that doesn't have the .NET runtime installed.
///
public bool DotnetPublishSelfContainedBuild { get; set; } = false;
///
/// The list of additional dotnet publish args passed to the target application.
///
public string DotnetPublishAdditionalBuildArguments { get; set; } = "";
}
}