Interface ICfnCodeRepositoryProps
Properties for defining a CfnCodeRepository
.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public interface ICfnCodeRepositoryProps
Syntax (vb)
Public Interface 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
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. |
Properties
CodeRepositoryName
The name of the Git repository.
virtual string CodeRepositoryName { get; }
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.
object GitConfig { get; }
Property Value
System.Object