import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class Project { id ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class IamRole { arn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AccessPolicyResource { Portal ? : Portal ; Project ? : Project ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class User { id ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class IamUser { arn ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Portal { id ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class AccessPolicyIdentity { User ? : User ; IamUser ? : IamUser ; IamRole ? : IamRole ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface AccessPolicyProperties { AccessPolicyIdentity : AccessPolicyIdentity ; AccessPolicyPermission : Value < string > ; AccessPolicyResource : AccessPolicyResource ; } export default class AccessPolicy extends ResourceBase < AccessPolicyProperties > { static Project = Project ; static IamRole = IamRole ; static AccessPolicyResource = AccessPolicyResource ; static User = User ; static IamUser = IamUser ; static Portal = Portal ; static AccessPolicyIdentity = AccessPolicyIdentity ; constructor ( properties ) { super ( 'AWS::IoTSiteWise::AccessPolicy' , properties ) ; } }