Show / Hide Table of Contents

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 CfnRepository.IS3Property
Syntax (vb)
Public Interface CfnRepository.IS3Property
Remarks

Changes to this property are ignored after initial resource creation.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-s3.html

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.

ObjectVersion

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

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-s3.html#cfn-codecommit-repository-s3-bucket

Key

The key to use for accessing the Amazon S3 bucket.

string Key { get; }
Property Value

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-s3.html#cfn-codecommit-repository-s3-key

ObjectVersion

The object version of the ZIP file, if versioning is enabled for the Amazon S3 bucket.

string? ObjectVersion { get; }
Property Value

string

Remarks

Changes to this property are ignored after initial resource creation.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codecommit-repository-s3.html#cfn-codecommit-repository-s3-objectversion

Back to top Generated by DocFX