import { ResourceBase } from '../resource' ; import { Value , List } from '../dataTypes' ; export class OrganizationManagedRuleMetadata { TagKeyScope ? : Value < string > ; TagValueScope ? : Value < string > ; Description ? : Value < string > ; ResourceIdScope ? : Value < string > ; RuleIdentifier ! : Value < string > ; ResourceTypesScope ? : List < Value < string > > ; MaximumExecutionFrequency ? : Value < string > ; InputParameters ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export class OrganizationCustomRuleMetadata { TagKeyScope ? : Value < string > ; TagValueScope ? : Value < string > ; Description ? : Value < string > ; ResourceIdScope ? : Value < string > ; LambdaFunctionArn ! : Value < string > ; OrganizationConfigRuleTriggerTypes ! : List < Value < string > > ; ResourceTypesScope ? : List < Value < string > > ; MaximumExecutionFrequency ? : Value < string > ; InputParameters ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface OrganizationConfigRuleProperties { OrganizationManagedRuleMetadata ? : OrganizationManagedRuleMetadata ; OrganizationConfigRuleName : Value < string > ; OrganizationCustomRuleMetadata ? : OrganizationCustomRuleMetadata ; ExcludedAccounts ? : List < Value < string > > ; } export default class OrganizationConfigRule extends ResourceBase < OrganizationConfigRuleProperties > { static OrganizationManagedRuleMetadata = OrganizationManagedRuleMetadata ; static OrganizationCustomRuleMetadata = OrganizationCustomRuleMetadata ; constructor ( properties ) { super ( 'AWS::Config::OrganizationConfigRule' , properties ) ; } }