ArtifactStoreMapProperty Struct
A mapping of artifactStore objects and their corresponding AWS Regions.
There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.
You must include either
artifactStoreorartifactStoresin your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codepipeline as codepipeline } from 'aws-cdk-lib';
const artifactStoreMapProperty: codepipeline.CfnPipeline.ArtifactStoreMapProperty = {
artifactStore: {
location: 'location',
type: 'type',
// the properties below are optional
encryptionKey: {
id: 'id',
type: 'type',
},
},
region: 'region',
};
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_codepipeline as codepipeline
artifact_store_map_property = codepipeline.CfnPipeline.ArtifactStoreMapProperty(
artifact_store=codepipeline.CfnPipeline.ArtifactStoreProperty(
location="location",
type="type",
# the properties below are optional
encryption_key=codepipeline.CfnPipeline.EncryptionKeyProperty(
id="id",
type="type"
)
),
region="region"
)
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.codepipeline.*;
ArtifactStoreMapProperty artifactStoreMapProperty = ArtifactStoreMapProperty.builder()
.artifactStore(ArtifactStoreProperty.builder()
.location("location")
.type("type")
// the properties below are optional
.encryptionKey(EncryptionKeyProperty.builder()
.id("id")
.type("type")
.build())
.build())
.region("region")
.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.CodePipeline;
var artifactStoreMapProperty = new ArtifactStoreMapProperty {
ArtifactStore = new ArtifactStoreProperty {
Location = "location",
Type = "type",
// the properties below are optional
EncryptionKey = new EncryptionKeyProperty {
Id = "id",
Type = "type"
}
},
Region = "region"
};
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"
artifactStoreMapProperty := &ArtifactStoreMapProperty{
ArtifactStore: &ArtifactStoreProperty{
Location: jsii.String("location"),
Type: jsii.String("type"),
// the properties below are optional
EncryptionKey: &EncryptionKeyProperty{
Id: jsii.String("id"),
Type: jsii.String("type"),
},
},
Region: jsii.String("region"),
}
Properties
artifactStoreIResolvable | CfnPipeline.artifact_storetyping.Union[IResolvable, ArtifactStoreProperty]artifactStoreIResolvableArtifactStoreIResolvableArtifactStoreinterface{} required #Represents information about the S3 bucket where artifacts are stored for the pipeline.
You must include either
artifactStoreorartifactStoresin your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores.
The action declaration's AWS Region, such as us-east-1.