import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class ArtifactDetails { MaximumCount ! : Value < number > ; MinimumCount ! : Value < number > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class ConfigurationProperties { Description ? : Value < string > ; Key ! : Value < boolean > ; Name ! : Value < string > ; Queryable ? : Value < boolean > ; Required ! : Value < boolean > ; Secret ! : Value < boolean > ; Type ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class Settings { EntityUrlTemplate ? : Value < string > ; ExecutionUrlTemplate ? : Value < string > ; RevisionUrlTemplate ? : Value < string > ; ThirdPartyConfigurationUrl ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface CustomActionTypeProperties { Category : Value < string > ; ConfigurationProperties ? : List < ConfigurationProperties > ; InputArtifactDetails : ArtifactDetails ; OutputArtifactDetails : ArtifactDetails ; Provider : Value < string > ; Settings ? : Settings ; Tags ? : List < ResourceTag > ; Version : Value < string > ; } export default class CustomActionType extends ResourceBase < CustomActionTypeProperties > { static ArtifactDetails = ArtifactDetails ; static ConfigurationProperties = ConfigurationProperties ; static Settings = Settings ; constructor ( properties ) { super ( 'AWS::CodePipeline::CustomActionType' , properties ) ; } }