# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 from typing import ( Mapping, ) class AppConfig: """ Configuration values for the sample app. TODO: Fill these in with your own values. """ def __init__(self): # A map of regions to Deadline Client Linux AMIs. As an example, the base Linux Deadline 10.1.19.4 AMI ID # from us-west-2 is filled in. It can be used as-is, added to, or replaced. Ideally the version here # should match the one used for staging the render queue and usage based licensing recipes. self.deadline_client_linux_ami_map: Mapping[str, str] = {'us-west-2': 'ami-04ae356533dc07fb5'} # Whether the DeadlineResourceTrackerAccessRole IAM role required by Deadline's Resource Tracker should be created in this CDK app. # # If you have previously used this same AWS account with either Deadline's AWS Portal feature or Spot Event Plugin and had used the # Deadline Resource Tracker, then you likely have this IAM role in your account already unless you have removed it. # # Note: Deadline's Resource Tracker only supports being used by a single Deadline Repository per AWS account. self.create_resource_tracker_role: bool = True config: AppConfig = AppConfig()