Class CfnCodeRepositoryProps
Properties for defining a CfnCodeRepository
.
Inheritance
System.Object
CfnCodeRepositoryProps
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class CfnCodeRepositoryProps : Object, ICfnCodeRepositoryProps
Syntax (vb)
Public Class CfnCodeRepositoryProps
Inherits Object
Implements ICfnCodeRepositoryProps
Remarks
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.Sagemaker;
var cfnCodeRepositoryProps = new CfnCodeRepositoryProps {
GitConfig = new GitConfigProperty {
RepositoryUrl = "repositoryUrl",
// the properties below are optional
Branch = "branch",
SecretArn = "secretArn"
},
// the properties below are optional
CodeRepositoryName = "codeRepositoryName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnCodeRepositoryProps() |
Properties
CodeRepositoryName | The name of the Git repository. |
GitConfig | Configuration details for the Git repository, including the URL where it is located and the ARN of the AWS Secrets Manager secret that contains the credentials used to access the repository. |
Tags | List of tags for Code Repository. |
Constructors
CfnCodeRepositoryProps()
public CfnCodeRepositoryProps()
Properties
CodeRepositoryName
The name of the Git repository.
public string CodeRepositoryName { get; set; }
Property Value
System.String
Remarks
GitConfig
Configuration details for the Git repository, including the URL where it is located and the ARN of the AWS Secrets Manager secret that contains the credentials used to access the repository.
public object GitConfig { get; set; }
Property Value
System.Object
Remarks
Tags
List of tags for Code Repository.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]