Show / Hide Table of Contents

Interface IAssetStagingProps

Initialization properties for AssetStaging.

Inherited Members
IFingerprintOptions.ExtraHash
ICopyOptions.Exclude
ICopyOptions.Follow
ICopyOptions.IgnoreMode
IAssetOptions.AssetHash
IAssetOptions.AssetHashType
IAssetOptions.Bundling
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAssetStagingProps : IFingerprintOptions, ICopyOptions, IAssetOptions
Syntax (vb)
Public Interface IAssetStagingProps Inherits IFingerprintOptions, ICopyOptions, IAssetOptions
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK;

            DockerImage dockerImage;
            ILocalBundling localBundling;

            var assetStagingProps = new AssetStagingProps {
                SourcePath = "sourcePath",

                // the properties below are optional
                AssetHash = "assetHash",
                AssetHashType = AssetHashType.SOURCE,
                Bundling = new BundlingOptions {
                    Image = dockerImage,

                    // the properties below are optional
                    BundlingFileAccess = BundlingFileAccess.VOLUME_COPY,
                    Command = new [] { "command" },
                    Entrypoint = new [] { "entrypoint" },
                    Environment = new Dictionary<string, string> {
                        { "environmentKey", "environment" }
                    },
                    Local = localBundling,
                    Network = "network",
                    OutputType = BundlingOutput.ARCHIVED,
                    Platform = "platform",
                    SecurityOpt = "securityOpt",
                    User = "user",
                    Volumes = new [] { new DockerVolume {
                        ContainerPath = "containerPath",
                        HostPath = "hostPath",

                        // the properties below are optional
                        Consistency = DockerVolumeConsistency.CONSISTENT
                    } },
                    VolumesFrom = new [] { "volumesFrom" },
                    WorkingDirectory = "workingDirectory"
                },
                Exclude = new [] { "exclude" },
                ExtraHash = "extraHash",
                Follow = SymlinkFollowMode.NEVER,
                IgnoreMode = IgnoreMode.GLOB
            };

Synopsis

Properties

SourcePath

The source file or directory to copy from.

Properties

SourcePath

The source file or directory to copy from.

string SourcePath { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX