Skip to content
v2.277.0

DefinitionRepositoryProperty Struct ​

Contains information about a source code repository that hosts the workflow definition files.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_omics as omics } from 'aws-cdk-lib';
const definitionRepositoryProperty: omics.CfnWorkflow.DefinitionRepositoryProperty = {
  connectionArn: 'connectionArn',
  excludeFilePatterns: ['excludeFilePatterns'],
  fullRepositoryId: 'fullRepositoryId',
  sourceReference: {
    type: 'type',
    value: 'value',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_omics as omics

definition_repository_property = omics.CfnWorkflow.DefinitionRepositoryProperty(
    connection_arn="connectionArn",
    exclude_file_patterns=["excludeFilePatterns"],
    full_repository_id="fullRepositoryId",
    source_reference=omics.CfnWorkflow.SourceReferenceProperty(
        type="type",
        value="value"
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.omics.*;

DefinitionRepositoryProperty definitionRepositoryProperty = DefinitionRepositoryProperty.builder()
        .connectionArn("connectionArn")
        .excludeFilePatterns(List.of("excludeFilePatterns"))
        .fullRepositoryId("fullRepositoryId")
        .sourceReference(SourceReferenceProperty.builder()
                .type("type")
                .value("value")
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Omics;

var definitionRepositoryProperty = new DefinitionRepositoryProperty {
    ConnectionArn = "connectionArn",
    ExcludeFilePatterns = new [] { "excludeFilePatterns" },
    FullRepositoryId = "fullRepositoryId",
    SourceReference = new SourceReferenceProperty {
        Type = "type",
        Value = "value"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

definitionRepositoryProperty := &DefinitionRepositoryProperty{
	ConnectionArn: jsii.String("connectionArn"),
	ExcludeFilePatterns: []*string{
		jsii.String("excludeFilePatterns"),
	},
	FullRepositoryId: jsii.String("fullRepositoryId"),
	SourceReference: &SourceReferenceProperty{
		Type: jsii.String("type"),
		Value: jsii.String("value"),
	},
}

Properties ​

connectionArnoptionalstringconnection_arnoptionalstrconnectionArnoptionalStringConnectionArnoptionalstringConnectionArnoptional*string#
The Amazon Resource Name (ARN) of the connection to the source code repository.
excludeFilePatternsoptionalstring[]exclude_file_patternsoptionaltyping.List[str]excludeFilePatternsoptionalList<String>ExcludeFilePatternsoptionalstring[]ExcludeFilePatternsoptional*[]*string#
A list of file patterns to exclude when retrieving the workflow definition from the repository.
fullRepositoryIdoptionalstringfull_repository_idoptionalstrfullRepositoryIdoptionalStringFullRepositoryIdoptionalstringFullRepositoryIdoptional*string#
The full repository identifier, including the repository owner and name.

For example, 'repository-owner/repository-name'.

sourceReferenceoptionalIResolvable | CfnWorkflow.SourceReferencePropertysource_referenceoptionaltyping.Union[IResolvable, SourceReferenceProperty]sourceReferenceoptionalIResolvableSourceReferenceoptionalIResolvableSourceReferenceoptionalinterface{}#
The source reference for the repository, such as a branch name, tag, or commit ID.