interface IArtifacts
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodeBuild.IArtifacts |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#IArtifacts |
Java | software.amazon.awscdk.services.codebuild.IArtifacts |
Python | aws_cdk.aws_codebuild.IArtifacts |
TypeScript (source) | aws-cdk-lib » aws_codebuild » IArtifacts |
Obtainable from
Artifacts
.s3()
The abstract interface of a CodeBuild build output.
Implemented by Artifacts
.
Properties
Name | Type | Description |
---|---|---|
type | string | The CodeBuild type of this artifact. |
identifier? | string | The artifact identifier. |
type
Type:
string
The CodeBuild type of this artifact.
identifier?
Type:
string
(optional)
The artifact identifier.
This property is required on secondary artifacts.
Methods
Name | Description |
---|---|
bind(scope, project) | Callback when an Artifacts class is used in a CodeBuild Project. |
bind(scope, project)
public bind(scope: Construct, project: IProject): ArtifactsConfig
Parameters
- scope
Construct
— a root Construct that allows creating new Constructs. - project
IProject
— the Project this Artifacts is used in.
Returns
Callback when an Artifacts class is used in a CodeBuild Project.