import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class EgressEndpoint { PackagingConfigurationId ! : Value < string > ; Url ! : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface AssetProperties { EgressEndpoints ? : List < EgressEndpoint > ; Id : Value < string > ; PackagingGroupId : Value < string > ; ResourceId ? : Value < string > ; SourceArn : Value < string > ; SourceRoleArn : Value < string > ; Tags ? : List < ResourceTag > ; } export default class Asset extends ResourceBase < AssetProperties > { static EgressEndpoint = EgressEndpoint ; constructor ( properties ) { super ( 'AWS::MediaPackage::Asset' , properties ) ; } }