Class CfnGitHubRepository.S3Property
The S3
property type specifies information about the Amazon S3 bucket that contains the code to be committed to the new repository.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeStar
Assembly: Amazon.CDK.AWS.CodeStar.dll
Syntax (csharp)
public class S3Property : Object, CfnGitHubRepository.IS3Property
Syntax (vb)
Public Class S3Property
Inherits Object
Implements CfnGitHubRepository.IS3Property
Remarks
S3
is a property of the AWS::CodeStar::GitHubRepository
resource.
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.CodeStar;
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 to be committed to the new repository. |
Key | The S3 object key or file name for the ZIP file. |
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 to be committed to the new repository.
public string Bucket { get; set; }
Property Value
System.String
Remarks
Key
The S3 object key or file name for the ZIP file.
public string Key { get; set; }
Property Value
System.String
Remarks
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