import { ResourceBase , ResourceTag } from '../resource' ; import { Value , List } from '../dataTypes' ; export class TargetAddress { Ip ! : Value < string > ; Port ? : Value < string > ; constructor ( properties ) { Object . assign ( this , properties ) ; } } export interface ResolverRuleProperties { ResolverEndpointId ? : Value < string > ; DomainName : Value < string > ; RuleType : Value < string > ; TargetIps ? : List < TargetAddress > ; Tags ? : List < ResourceTag > ; Name ? : Value < string > ; } export default class ResolverRule extends ResourceBase < ResolverRuleProperties > { static TargetAddress = TargetAddress ; constructor ( properties ) { super ( 'AWS::Route53Resolver::ResolverRule' , properties ) ; } }