Show / Hide Table of Contents

Interface IProjectProps

Inherited Members
ICommonProjectProps.AllowAllOutbound
ICommonProjectProps.AutoRetryLimit
ICommonProjectProps.Badge
ICommonProjectProps.BuildSpec
ICommonProjectProps.Cache
ICommonProjectProps.CheckSecretsInPlainTextEnvVariables
ICommonProjectProps.ConcurrentBuildLimit
ICommonProjectProps.Description
ICommonProjectProps.EncryptionKey
ICommonProjectProps.Environment
ICommonProjectProps.EnvironmentVariables
ICommonProjectProps.FileSystemLocations
ICommonProjectProps.GrantReportGroupPermissions
ICommonProjectProps.Logging
ICommonProjectProps.ProjectName
ICommonProjectProps.QueuedTimeout
ICommonProjectProps.Role
ICommonProjectProps.SecurityGroups
ICommonProjectProps.SsmSessionPermissions
ICommonProjectProps.SubnetSelection
ICommonProjectProps.Timeout
ICommonProjectProps.Visibility
ICommonProjectProps.Vpc
Namespace: Amazon.CDK.AWS.CodeBuild
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IProjectProps : ICommonProjectProps
Syntax (vb)
Public Interface IProjectProps Inherits ICommonProjectProps
Remarks

ExampleMetadata: infused

Examples
Repository ecrRepository;


            new Project(this, "Project", new ProjectProps {
                Environment = new BuildEnvironment {
                    BuildImage = WindowsBuildImage.FromEcrRepository(ecrRepository, "v1.0", WindowsImageType.SERVER_2019),
                    // optional certificate to include in the build image
                    Certificate = new BuildEnvironmentCertificate {
                        Bucket = Bucket.FromBucketName(this, "Bucket", "amzn-s3-demo-bucket"),
                        ObjectKey = "path/to/cert.pem"
                    }
                }
            });

Synopsis

Properties

Artifacts

Defines where build artifacts will be stored.

SecondaryArtifacts

The secondary artifacts for the Project.

SecondarySources

The secondary sources for the Project.

Source

The source of the build.

Properties

Artifacts

Defines where build artifacts will be stored.

IArtifacts? Artifacts { get; }
Property Value

IArtifacts

Remarks

Could be: PipelineBuildArtifacts, NoArtifacts and S3Artifacts.

Default: NoArtifacts

SecondaryArtifacts

The secondary artifacts for the Project.

IArtifacts[]? SecondaryArtifacts { get; }
Property Value

IArtifacts[]

Remarks

Can also be added after the Project has been created by using the Project#addSecondaryArtifact method.

Default: - No secondary artifacts.

See: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-multi-in-out.html

SecondarySources

The secondary sources for the Project.

ISource[]? SecondarySources { get; }
Property Value

ISource[]

Remarks

Can be also added after the Project has been created by using the Project#addSecondarySource method.

Default: - No secondary sources.

See: https://docs.aws.amazon.com/codebuild/latest/userguide/sample-multi-in-out.html

Source

The source of the build.

ISource? Source { get; }
Property Value

ISource

Remarks

Note: if NoSource is given as the source, then you need to provide an explicit buildSpec.

Default: - NoSource

Back to top Generated by DocFX