CfnWorkflowVersionPropsMixin
- class aws_cdk.mixins_preview.aws_omics.mixins.CfnWorkflowVersionPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a new workflow version for the workflow that you specify with the
workflowIdparameter.When you create a new version of a workflow, you need to specify the configuration for the new version. It doesn’t inherit any configuration values from the workflow.
Provide a version name that is unique for this workflow. You cannot change the name after HealthOmics creates the version. .. epigraph:
Don't include any personally identifiable information (PII) in the version name. Version names appear in the workflow version ARN.
For more information, see Workflow versioning in AWS HealthOmics in the AWS HealthOmics User Guide .
- See:
- CloudformationResource:
AWS::Omics::WorkflowVersion
- Mixin:
true
- 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 import mixins from aws_cdk.mixins_preview.aws_omics import mixins as omics_mixins cfn_workflow_version_props_mixin = omics_mixins.CfnWorkflowVersionPropsMixin(omics_mixins.CfnWorkflowVersionMixinProps( accelerators="accelerators", container_registry_map=omics_mixins.CfnWorkflowVersionPropsMixin.ContainerRegistryMapProperty( image_mappings=[omics_mixins.CfnWorkflowVersionPropsMixin.ImageMappingProperty( destination_image="destinationImage", source_image="sourceImage" )], registry_mappings=[omics_mixins.CfnWorkflowVersionPropsMixin.RegistryMappingProperty( ecr_account_id="ecrAccountId", ecr_repository_prefix="ecrRepositoryPrefix", upstream_registry_url="upstreamRegistryUrl", upstream_repository_prefix="upstreamRepositoryPrefix" )] ), container_registry_map_uri="containerRegistryMapUri", definition_repository=omics_mixins.CfnWorkflowVersionPropsMixin.DefinitionRepositoryProperty( connection_arn="connectionArn", exclude_file_patterns=["excludeFilePatterns"], full_repository_id="fullRepositoryId", source_reference=omics_mixins.CfnWorkflowVersionPropsMixin.SourceReferenceProperty( type="type", value="value" ) ), definition_uri="definitionUri", description="description", engine="engine", main="main", parameter_template={ "parameter_template_key": omics_mixins.CfnWorkflowVersionPropsMixin.WorkflowParameterProperty( description="description", optional=False ) }, parameter_template_path="parameterTemplatePath", readme_markdown="readmeMarkdown", readme_path="readmePath", readme_uri="readmeUri", storage_capacity=123, storage_type="storageType", tags={ "tags_key": "tags" }, version_name="versionName", workflow_bucket_owner_id="workflowBucketOwnerId", workflow_id="workflowId" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::Omics::WorkflowVersion.- Parameters:
props (
Union[CfnWorkflowVersionMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['accelerators', 'containerRegistryMap', 'containerRegistryMapUri', 'definitionRepository', 'definitionUri', 'description', 'engine', 'main', 'parameterTemplate', 'parameterTemplatePath', 'readmeMarkdown', 'readmePath', 'readmeUri', 'storageCapacity', 'storageType', 'tags', 'versionName', 'workflowBucketOwnerId', 'workflowId']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
ContainerRegistryMapProperty
- class CfnWorkflowVersionPropsMixin.ContainerRegistryMapProperty(*, image_mappings=None, registry_mappings=None)
Bases:
objectUse a container registry map to specify mappings between the ECR private repository and one or more upstream registries.
For more information, see Container images in the AWS HealthOmics User Guide .
- Parameters:
image_mappings (
Union[IResolvable,Sequence[Union[IResolvable,ImageMappingProperty,Dict[str,Any]]],None]) – Image mappings specify path mappings between the ECR private repository and their corresponding external repositories.registry_mappings (
Union[IResolvable,Sequence[Union[IResolvable,RegistryMappingProperty,Dict[str,Any]]],None]) – Mapping that provides the ECR repository path where upstream container images are pulled and synchronized.
- 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_omics import mixins as omics_mixins container_registry_map_property = omics_mixins.CfnWorkflowVersionPropsMixin.ContainerRegistryMapProperty( image_mappings=[omics_mixins.CfnWorkflowVersionPropsMixin.ImageMappingProperty( destination_image="destinationImage", source_image="sourceImage" )], registry_mappings=[omics_mixins.CfnWorkflowVersionPropsMixin.RegistryMappingProperty( ecr_account_id="ecrAccountId", ecr_repository_prefix="ecrRepositoryPrefix", upstream_registry_url="upstreamRegistryUrl", upstream_repository_prefix="upstreamRepositoryPrefix" )] )
Attributes
- image_mappings
Image mappings specify path mappings between the ECR private repository and their corresponding external repositories.
- registry_mappings
Mapping that provides the ECR repository path where upstream container images are pulled and synchronized.
DefinitionRepositoryProperty
- class CfnWorkflowVersionPropsMixin.DefinitionRepositoryProperty(*, connection_arn=None, exclude_file_patterns=None, full_repository_id=None, source_reference=None)
Bases:
objectContains information about a source code repository that hosts the workflow definition files.
- Parameters:
connection_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the connection to the source code repository.exclude_file_patterns (
Optional[Sequence[str]]) – A list of file patterns to exclude when retrieving the workflow definition from the repository.full_repository_id (
Optional[str]) – The full repository identifier, including the repository owner and name. For example, ‘repository-owner/repository-name’.source_reference (
Union[IResolvable,SourceReferenceProperty,Dict[str,Any],None]) – The source reference for the repository, such as a branch name, tag, or commit ID.
- 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_omics import mixins as omics_mixins definition_repository_property = omics_mixins.CfnWorkflowVersionPropsMixin.DefinitionRepositoryProperty( connection_arn="connectionArn", exclude_file_patterns=["excludeFilePatterns"], full_repository_id="fullRepositoryId", source_reference=omics_mixins.CfnWorkflowVersionPropsMixin.SourceReferenceProperty( type="type", value="value" ) )
Attributes
- connection_arn
The Amazon Resource Name (ARN) of the connection to the source code repository.
- exclude_file_patterns
A list of file patterns to exclude when retrieving the workflow definition from the repository.
- full_repository_id
The full repository identifier, including the repository owner and name.
For example, ‘repository-owner/repository-name’.
- source_reference
The source reference for the repository, such as a branch name, tag, or commit ID.
ImageMappingProperty
- class CfnWorkflowVersionPropsMixin.ImageMappingProperty(*, destination_image=None, source_image=None)
Bases:
objectSpecifies image mappings that workflow tasks can use.
For example, you can replace all the task references of a public image to use an equivalent image in your private ECR repository. You can use image mappings with upstream registries that don’t support pull through cache. You need to manually synchronize the upstream registry with your private repository.
- Parameters:
destination_image (
Optional[str]) – Specifies the URI of the corresponding image in the private ECR registry.source_image (
Optional[str]) – Specifies the URI of the source image in the upstream registry.
- 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_omics import mixins as omics_mixins image_mapping_property = omics_mixins.CfnWorkflowVersionPropsMixin.ImageMappingProperty( destination_image="destinationImage", source_image="sourceImage" )
Attributes
- destination_image
Specifies the URI of the corresponding image in the private ECR registry.
- source_image
Specifies the URI of the source image in the upstream registry.
RegistryMappingProperty
- class CfnWorkflowVersionPropsMixin.RegistryMappingProperty(*, ecr_account_id=None, ecr_repository_prefix=None, upstream_registry_url=None, upstream_repository_prefix=None)
Bases:
objectIf you are using the ECR pull through cache feature, the registry mapping maps between the ECR repository and the upstream registry where container images are pulled and synchronized.
- Parameters:
ecr_account_id (
Optional[str]) – Account ID of the account that owns the upstream container image.ecr_repository_prefix (
Optional[str]) – The repository prefix to use in the ECR private repository.upstream_registry_url (
Optional[str]) – The URI of the upstream registry.upstream_repository_prefix (
Optional[str]) – The repository prefix of the corresponding repository in the upstream registry.
- 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_omics import mixins as omics_mixins registry_mapping_property = omics_mixins.CfnWorkflowVersionPropsMixin.RegistryMappingProperty( ecr_account_id="ecrAccountId", ecr_repository_prefix="ecrRepositoryPrefix", upstream_registry_url="upstreamRegistryUrl", upstream_repository_prefix="upstreamRepositoryPrefix" )
Attributes
- ecr_account_id
Account ID of the account that owns the upstream container image.
- ecr_repository_prefix
The repository prefix to use in the ECR private repository.
- upstream_registry_url
The URI of the upstream registry.
- upstream_repository_prefix
The repository prefix of the corresponding repository in the upstream registry.
SourceReferenceProperty
- class CfnWorkflowVersionPropsMixin.SourceReferenceProperty(*, type=None, value=None)
Bases:
objectContains information about the source reference in a code repository, such as a branch, tag, or commit.
- Parameters:
type (
Optional[str]) – The type of source reference, such as branch, tag, or commit.value (
Optional[str]) – The value of the source reference, such as the branch name, tag name, or commit ID.
- 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_omics import mixins as omics_mixins source_reference_property = omics_mixins.CfnWorkflowVersionPropsMixin.SourceReferenceProperty( type="type", value="value" )
Attributes
- type
The type of source reference, such as branch, tag, or commit.
- value
The value of the source reference, such as the branch name, tag name, or commit ID.
WorkflowParameterProperty
- class CfnWorkflowVersionPropsMixin.WorkflowParameterProperty(*, description=None, optional=None)
Bases:
objectA workflow parameter.
- Parameters:
description (
Optional[str]) – The parameter’s description.optional (
Union[bool,IResolvable,None]) – Whether the parameter is optional.
- 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_omics import mixins as omics_mixins workflow_parameter_property = omics_mixins.CfnWorkflowVersionPropsMixin.WorkflowParameterProperty( description="description", optional=False )
Attributes
- description
The parameter’s description.
- optional
Whether the parameter is optional.