ArtifactsConfig Struct
The type returned from IArtifacts#bind.
| Source | aws-codebuild/lib/artifacts.ts |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codebuild as codebuild } from 'aws-cdk-lib';
const artifactsConfig: codebuild.ArtifactsConfig = {
artifactsProperty: {
type: 'type',
// the properties below are optional
artifactIdentifier: 'artifactIdentifier',
encryptionDisabled: false,
location: 'location',
name: 'name',
namespaceType: 'namespaceType',
overrideArtifactName: false,
packaging: 'packaging',
path: 'path',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codebuild as codebuild
artifacts_config = codebuild.ArtifactsConfig(
artifacts_property=codebuild.CfnProject.ArtifactsProperty(
type="type",
# the properties below are optional
artifact_identifier="artifactIdentifier",
encryption_disabled=False,
location="location",
name="name",
namespace_type="namespaceType",
override_artifact_name=False,
packaging="packaging",
path="path"
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;
ArtifactsConfig artifactsConfig = ArtifactsConfig.builder()
.artifactsProperty(ArtifactsProperty.builder()
.type("type")
// the properties below are optional
.artifactIdentifier("artifactIdentifier")
.encryptionDisabled(false)
.location("location")
.name("name")
.namespaceType("namespaceType")
.overrideArtifactName(false)
.packaging("packaging")
.path("path")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeBuild;
var artifactsConfig = new ArtifactsConfig {
ArtifactsProperty = new ArtifactsProperty {
Type = "type",
// the properties below are optional
ArtifactIdentifier = "artifactIdentifier",
EncryptionDisabled = false,
Location = "location",
Name = "name",
NamespaceType = "namespaceType",
OverrideArtifactName = false,
Packaging = "packaging",
Path = "path"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
artifactsConfig := &ArtifactsConfig{
ArtifactsProperty: &ArtifactsProperty{
Type: jsii.String("type"),
// the properties below are optional
ArtifactIdentifier: jsii.String("artifactIdentifier"),
EncryptionDisabled: jsii.Boolean(false),
Location: jsii.String("location"),
Name: jsii.String("name"),
NamespaceType: jsii.String("namespaceType"),
OverrideArtifactName: jsii.Boolean(false),
Packaging: jsii.String("packaging"),
Path: jsii.String("path"),
},
}
Properties
artifactsPropertyCfnProject.ArtifactsPropertyartifacts_propertyArtifactsPropertyartifactsPropertyArtifactsPropertyArtifactsPropertyArtifactsPropertyArtifactsPropertyArtifactsProperty required #The low-level CloudFormation artifacts property.