Class CfnRepository.S3Property
Information about the Amazon S3 bucket that contains the code that will be committed to the new repository.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeCommit
Assembly: Amazon.CDK.AWS.CodeCommit.dll
Syntax (csharp)
public class S3Property : Object, CfnRepository.IS3Property
Syntax (vb)
Public Class S3Property
Inherits Object
Implements CfnRepository.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
Constructors
S3Property() |
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. |
ObjectVersion | The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket. |
Constructors
S3Property()
public S3Property()
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.
public string Bucket { get; set; }
Property Value
System.String
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.
public string Key { get; set; }
Property Value
System.String
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.
public string ObjectVersion { get; set; }
Property Value
System.String
Remarks
Changes to this property are ignored after initial resource creation.