IRepository

class aws_rfdk.deadline.IRepository(*args, **kwargs)

Bases: IConstruct, Protocol

Interface for Deadline Repository.

Methods

configure_client_ecs(*, container_instances, containers)

Configures an ECS Container Instance and Task Definition for deploying a Deadline Client that directly connects to this repository.

This includes:

  • Ingress to database & filesystem Security Groups, as required.

  • IAM Permissions for database & filesystem, as required.

  • Mounts the Repository File System via UserData

Parameters:
  • container_instances (Union[ECSContainerInstanceProps, Dict[str, Any]]) – Configuration of ECS host instances to permit connecting hosted ECS tasks to the repository.

  • containers (Union[ECSTaskProps, Dict[str, Any]]) – Configuration to directly connect an ECS task to the repository.

Return type:

IContainerDirectRepositoryConnection

Returns:

A mapping of environment variable names and their values to set in the container

configure_client_instance(*, host, mount_point)

Configure a Deadline Client, that is running in an Amazon EC2 instance, for direct connection to this repository.

This includes:

  • Ingress to database & filesystem Security Groups, as required.

  • IAM Permissions for database & filesystem, as required.

  • Mounts the Repository File System via UserData

  • Configures Deadline to direct-connect to the Repository.

Parameters:
  • host (IHost) – The Instance/UserData which will directly connect to the Repository.

  • mount_point (str) – The location where the Repositories file system will be mounted on the instance.

Return type:

None

Attributes

node

The tree node.

root_prefix

The path to the Deadline Repository directory.

This is expressed as a relative path from the root of the Deadline Repository file-system.

secrets_management_settings

Deadline Secrets Management settings.

version

The version of Deadline for Linux that is installed on this Repository.