interface ArtifactStoreMapProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CodePipeline.CfnPipeline.ArtifactStoreMapProperty |
Java | software.amazon.awscdk.services.codepipeline.CfnPipeline.ArtifactStoreMapProperty |
Python | aws_cdk.aws_codepipeline.CfnPipeline.ArtifactStoreMapProperty |
TypeScript | @aws-cdk/aws-codepipeline » CfnPipeline » ArtifactStoreMapProperty |
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
artifactStore
orartifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as codepipeline from '@aws-cdk/aws-codepipeline';
const artifactStoreMapProperty: codepipeline.CfnPipeline.ArtifactStoreMapProperty = {
artifactStore: {
location: 'location',
type: 'type',
// the properties below are optional
encryptionKey: {
id: 'id',
type: 'type',
},
},
region: 'region',
};
Properties
Name | Type | Description |
---|---|---|
artifact | IResolvable | Artifact | Represents information about the S3 bucket where artifacts are stored for the pipeline. |
region | string | The action declaration's AWS Region, such as us-east-1. |
artifactStore
Type:
IResolvable
|
Artifact
Represents information about the S3 bucket where artifacts are stored for the pipeline.
You must include either
artifactStore
orartifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must useartifactStores
.
region
Type:
string
The action declaration's AWS Region, such as us-east-1.