CfnCodeRepositoryMixinProps
- class aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnCodeRepositoryMixinProps(*, code_repository_name=None, git_config=None, tags=None)
Bases:
objectProperties for CfnCodeRepositoryPropsMixin.
- Parameters:
code_repository_name (
Optional[str]) – The name of the Git repository.git_config (
Union[IResolvable,GitConfigProperty,Dict[str,Any],None]) – 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 (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – List of tags for Code Repository.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_sagemaker import mixins as sagemaker_mixins cfn_code_repository_mixin_props = sagemaker_mixins.CfnCodeRepositoryMixinProps( code_repository_name="codeRepositoryName", git_config=sagemaker_mixins.CfnCodeRepositoryPropsMixin.GitConfigProperty( branch="branch", repository_url="repositoryUrl", secret_arn="secretArn" ), tags=[CfnTag( key="key", value="value" )] )
Attributes
- code_repository_name
The name of the Git repository.
- git_config
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.