Interface CfnRepository.IS3Property
Information about the Amazon S3 bucket that contains the code that will be committed to the new repository.
Namespace: Amazon.CDK.AWS.CodeCommit
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IS3Property
Syntax (vb)
Public Interface IS3Property
Remarks
Changes to this property are ignored after initial resource creation.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeCommit;
var s3Property = new S3Property {
Bucket = "bucket",
Key = "key",
// the properties below are optional
ObjectVersion = "objectVersion"
};
Synopsis
Properties
Bucket | The name of the Amazon S3 bucket that contains the ZIP file with the content that will be committed to the new repository. |
Key | The key to use for accessing the Amazon S3 bucket. |
Object |
The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket. |
Properties
Bucket
The name of the Amazon S3 bucket that contains the ZIP file with the content that will be committed to the new repository.
string Bucket { get; }
Property Value
System.
Remarks
This can be specified using the name of the bucket in the AWS account . Changes to this property are ignored after initial resource creation.
Key
The key to use for accessing the Amazon S3 bucket.
string Key { get; }
Property Value
System.
Remarks
Changes to this property are ignored after initial resource creation. For more information, see Creating object key names and Uploading objects in the Amazon S3 User Guide.
ObjectVersion
The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket.
virtual string ObjectVersion { get; }
Property Value
System.
Remarks
Changes to this property are ignored after initial resource creation.