Class S3SourceProps
Construction properties for S3Source
.
Inheritance
System.Object
S3SourceProps
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class S3SourceProps : Object, IS3SourceProps, ISourceProps
Syntax (vb)
Public Class S3SourceProps
Inherits Object
Implements IS3SourceProps, ISourceProps
Remarks
ExampleMetadata: infused
Examples
var bucket = new Bucket(this, "MyBucket");
new Project(this, "MyProject", new ProjectProps {
Source = Source.S3(new S3SourceProps {
Bucket = bucket,
Path = "path/to/file.zip"
})
});
Synopsis
Constructors
S3SourceProps() |
Properties
Bucket | |
Identifier | The source identifier. |
Path | |
Version | The version ID of the object that represents the build input ZIP file to use. |
Constructors
S3SourceProps()
public S3SourceProps()
Properties
Bucket
Identifier
The source identifier.
public string Identifier { get; set; }
Property Value
System.String
Remarks
This property is required on secondary sources.
Path
public string Path { get; set; }
Property Value
System.String
Version
The version ID of the object that represents the build input ZIP file to use.
public string Version { get; set; }
Property Value
System.String
Remarks
Default: latest