@Stability(value=Stable) public static final class CfnPipeline.ArtifactStoreProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnPipeline.ArtifactStoreProperty>
CfnPipeline.ArtifactStoreProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnPipeline.ArtifactStoreProperty |
build()
Builds the configured instance.
|
CfnPipeline.ArtifactStoreProperty.Builder |
encryptionKey(CfnPipeline.EncryptionKeyProperty encryptionKey)
Sets the value of
CfnPipeline.ArtifactStoreProperty.getEncryptionKey() |
CfnPipeline.ArtifactStoreProperty.Builder |
encryptionKey(IResolvable encryptionKey)
Sets the value of
CfnPipeline.ArtifactStoreProperty.getEncryptionKey() |
CfnPipeline.ArtifactStoreProperty.Builder |
location(String location)
Sets the value of
CfnPipeline.ArtifactStoreProperty.getLocation() |
CfnPipeline.ArtifactStoreProperty.Builder |
type(String type)
Sets the value of
CfnPipeline.ArtifactStoreProperty.getType() |
@Stability(value=Stable) public CfnPipeline.ArtifactStoreProperty.Builder location(String location)
CfnPipeline.ArtifactStoreProperty.getLocation()location - The S3 bucket used for storing the artifacts for a pipeline. This parameter is required.
You can specify the name of an S3 bucket but not a folder in the bucket. A folder to contain the pipeline artifacts is created for you based on the name of the pipeline. You can use any S3 bucket in the same AWS Region as the pipeline to store your pipeline artifacts.this@Stability(value=Stable) public CfnPipeline.ArtifactStoreProperty.Builder type(String type)
CfnPipeline.ArtifactStoreProperty.getType()type - The type of the artifact store, such as S3. This parameter is required.this@Stability(value=Stable) public CfnPipeline.ArtifactStoreProperty.Builder encryptionKey(CfnPipeline.EncryptionKeyProperty encryptionKey)
CfnPipeline.ArtifactStoreProperty.getEncryptionKey()encryptionKey - The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service ( AWS KMS) key.
If this is undefined, the default key for Amazon S3 is used. To see an example artifact store encryption key field, see the example structure here: AWS::CodePipeline::Pipeline .this@Stability(value=Stable) public CfnPipeline.ArtifactStoreProperty.Builder encryptionKey(IResolvable encryptionKey)
CfnPipeline.ArtifactStoreProperty.getEncryptionKey()encryptionKey - The encryption key used to encrypt the data in the artifact store, such as an AWS Key Management Service ( AWS KMS) key.
If this is undefined, the default key for Amazon S3 is used. To see an example artifact store encryption key field, see the example structure here: AWS::CodePipeline::Pipeline .this@Stability(value=Stable) public CfnPipeline.ArtifactStoreProperty build()
build in interface software.amazon.jsii.Builder<CfnPipeline.ArtifactStoreProperty>CfnPipeline.ArtifactStorePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.