aws-cdk-lib.aws_codepipeline.CfnPipeline.ArtifactStoreMapProperty

interface ArtifactStoreMapProperty

LanguageType name
.NETAmazon.CDK.AWS.CodePipeline.CfnPipeline.ArtifactStoreMapProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline#CfnPipeline_ArtifactStoreMapProperty
Javasoftware.amazon.awscdk.services.codepipeline.CfnPipeline.ArtifactStoreMapProperty
Pythonaws_cdk.aws_codepipeline.CfnPipeline.ArtifactStoreMapProperty
TypeScript aws-cdk-lib » 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 or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores .

Example

// 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',
};

Properties

NameTypeDescription
artifactStoreIResolvable | ArtifactStorePropertyRepresents information about the S3 bucket where artifacts are stored for the pipeline.
regionstringThe action declaration's AWS Region, such as us-east-1.

artifactStore

Type: IResolvable | ArtifactStoreProperty

Represents information about the S3 bucket where artifacts are stored for the pipeline.

You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores .


region

Type: string

The action declaration's AWS Region, such as us-east-1.