Show / Hide Table of Contents

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
System.Object
CfnGitHubRepository.S3Property
Implements
CfnGitHubRepository.IS3Property
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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-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.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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-s3.html#cfn-codestar-githubrepository-s3-bucket

Key

The S3 object key or file name for the ZIP file.

public string Key { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-s3.html#cfn-codestar-githubrepository-s3-key

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codestar-githubrepository-s3.html#cfn-codestar-githubrepository-s3-objectversion

Implements

CfnGitHubRepository.IS3Property
Back to top Generated by DocFX