Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

References

Classes Codec

Classes Other

Interfaces

Type aliases Codec

Type aliases Other

Variables Other

Variables primitives

Functions Other

Functions combinators

Functions constructors

References

Renames and re-exports interface

Codec Type aliases

TypeOf<C>: C["_A"]
since

1.0.0

Type parameters

Other Type aliases

AllowDeny: TypeOf<typeof allowDeny>
AvailabilityZone: TypeOf<typeof availabilityZone>
Cidr: TypeOf<typeof cidr>
Definition<P>: TypeC<P> & { definitionName: string }

Type parameters

EnableDisable: TypeOf<typeof enableDisable>
Region: TypeOf<typeof region>
StorageClass: TypeOf<typeof storageClass>
Transition: TypeOf<typeof transition>
WithSize: number | string | any[] | Map<any, any> | Set<any>

Other Variables

PathReporter: Reporter<string[]> = ...
since

1.0.0

allowDeny: EnumType<"allow" | "deny"> = ...
availabilityZone: EnumType<"a" | "b" | "c" | "d" | "e" | "f"> = ...
cidr: CidrType = ...
deploymentTargets: TypeC<{ accounts: OptionalType<ArrayC<SizedType<string, Type<string, string, unknown>>>>; excludedAccounts: OptionalType<ArrayC<SizedType<string, Type<string, string, unknown>>>>; excludedRegions: OptionalType<ArrayC<SizedType<string, Type<string, string, unknown>>>>; organizationalUnits: OptionalType<ArrayC<SizedType<string, Type<string, string, unknown>>>> }> = ...
enableDisable: EnumType<"enable" | "disable"> = ...
lifecycleRuleConfig: TypeC<{ abortIncompleteMultipartUpload: OptionalType<NumberC>; enabled: OptionalType<BooleanC>; expiration: OptionalType<NumberC>; expiredObjectDeleteMarker: OptionalType<BooleanC>; id: OptionalType<StringC>; noncurrentVersionExpiration: OptionalType<NumberC>; noncurrentVersionTransitions: OptionalType<ArrayC<TypeC<{ storageClass: EnumType<"DEEP_ARCHIVE" | "GLACIER" | "GLACIER_IR" | "STANDARD_IA" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "Value should be an AWS S3 Storage Class.">; transitionAfter: NumberC }>>>; transitions: OptionalType<ArrayC<TypeC<{ storageClass: EnumType<"DEEP_ARCHIVE" | "GLACIER" | "GLACIER_IR" | "STANDARD_IA" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "Value should be an AWS S3 Storage Class.">; transitionAfter: NumberC }>>> }> = ...
logDestinationTypeEnum: EnumType<"s3" | "cloud-watch-logs"> = ...
nonEmptyString: SizedType<string, Type<string, string, unknown>> = ...

nonEmptyString comment

region: EnumType<"af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2" | "us-iso-west-1" | "us-iso-east-1" | "us-isob-east-1"> = ...
shareTargets: TypeC<{ accounts: OptionalType<ArrayC<SizedType<string, Type<string, string, unknown>>>>; organizationalUnits: OptionalType<ArrayC<SizedType<string, Type<string, string, unknown>>>> }> = ...
storageClass: EnumType<"DEEP_ARCHIVE" | "GLACIER" | "GLACIER_IR" | "STANDARD_IA" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "Value should be an AWS S3 Storage Class."> = ...
tag: TypeC<{ key: StringC; value: StringC }> = ...
transition: TypeC<{ storageClass: EnumType<"DEEP_ARCHIVE" | "GLACIER" | "GLACIER_IR" | "STANDARD_IA" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "Value should be an AWS S3 Storage Class.">; transitionAfter: NumberC }> = ...
undefined: UndefinedC
vpcFlowLogsConfig: TypeC<{ customFields: OptionalType<ArrayC<SizedType<string, Type<string, string, unknown>>>>; defaultFormat: BooleanC; destinations: ArrayC<EnumType<"s3" | "cloud-watch-logs">>; destinationsConfig: OptionalType<TypeC<{ cloudWatchLogs: OptionalType<TypeC<{ kms: OptionalType<SizedType<string, Type<string, string, unknown>>>; retentionInDays: OptionalType<NumberC> }>>; s3: OptionalType<TypeC<{ lifecycleRules: OptionalType<ArrayC<TypeC<{ abortIncompleteMultipartUpload: OptionalType<NumberC>; enabled: OptionalType<BooleanC>; expiration: OptionalType<NumberC>; expiredObjectDeleteMarker: OptionalType<BooleanC>; id: OptionalType<StringC>; noncurrentVersionExpiration: OptionalType<NumberC>; noncurrentVersionTransitions: OptionalType<ArrayC<TypeC<{ storageClass: EnumType<"DEEP_ARCHIVE" | "GLACIER" | "GLACIER_IR" | "STANDARD_IA" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "Value should be an AWS S3 Storage Class.">; transitionAfter: NumberC }>>>; transitions: OptionalType<ArrayC<TypeC<{ storageClass: EnumType<"DEEP_ARCHIVE" | "GLACIER" | "GLACIER_IR" | "STANDARD_IA" | "INTELLIGENT_TIERING" | "ONEZONE_IA" | "Value should be an AWS S3 Storage Class.">; transitionAfter: NumberC }>>> }>>> }>> }>>; maxAggregationInterval: NumberC; trafficType: EnumType<"ALL" | "ACCEPT" | "REJECT"> }> = ...

primitives Variables

Array: UnknownArrayC
since

1.7.1

boolean: BooleanC
since

1.0.0

number: NumberC
since

1.0.0

string: StringC
since

1.0.0

unknown: UnknownC
since

1.5.0

Other Functions

  • defaulted<T>(type: T, defaultValue: T["_A"], name?: string): DefaultedType<T>
  • Type parameters

    Parameters

    • type: T
    • defaultValue: T["_A"]
    • Optional name: string

    Returns DefaultedType<T>

  • definition<P>(name: string, props: P): Definition<P>
  • enums<T>(name: string, values: readonly T[], errorMessage?: string): EnumType<T>
  • Create an enumeration type.

    Type parameters

    • T: string | number

    Parameters

    • name: string
    • values: readonly T[]
    • Optional errorMessage: string

    Returns EnumType<T>

  • failure(es: ValidationError[]): string[]
  • since

    1.0.0

    Parameters

    • es: ValidationError[]

    Returns string[]

  • Type parameters

    Parameters

    • wrapped: T
    • Optional name: string

    Returns OptionalType<T>

  • parse<S, T>(type: Decoder<S, T>, content: S): T
  • Type parameters

    • S

    • T

    Parameters

    • type: Decoder<S, T>
    • content: S

    Returns T

  • success(): string[]
  • since

    1.0.0

    Returns string[]

combinators Functions

  • array<C>(item: C, name?: string): ArrayC<C>
  • since

    1.0.0

    Type parameters

    Parameters

    • item: C
    • Optional name: string

    Returns ArrayC<C>

  • dictionary<D, C>(domain: D, codomain: C, name?: string): RecordC<D, C>
  • Use record instead.

    since

    1.0.0

    deprecated

    Type parameters

    Parameters

    • domain: D
    • codomain: C
    • Optional name: string

    Returns RecordC<D, C>

  • interface<P>(props: P, name?: string): TypeC<P>
  • since

    1.0.0

    Type parameters

    Parameters

    • props: P
    • Optional name: string

    Returns TypeC<P>

  • intersection<A, B, C, D, E>(codecs: [A, B, C, D, E], name?: string): IntersectionC<[A, B, C, D, E]>
  • intersection<A, B, C, D>(codecs: [A, B, C, D], name?: string): IntersectionC<[A, B, C, D]>
  • intersection<A, B, C>(codecs: [A, B, C], name?: string): IntersectionC<[A, B, C]>
  • intersection<A, B>(codecs: [A, B], name?: string): IntersectionC<[A, B]>
  • since

    1.0.0

    Type parameters

    Parameters

    • codecs: [A, B, C, D, E]
    • Optional name: string

    Returns IntersectionC<[A, B, C, D, E]>

  • Type parameters

    Parameters

    • codecs: [A, B, C, D]
    • Optional name: string

    Returns IntersectionC<[A, B, C, D]>

  • Type parameters

    Parameters

    • codecs: [A, B, C]
    • Optional name: string

    Returns IntersectionC<[A, B, C]>

  • Type parameters

    Parameters

    • codecs: [A, B]
    • Optional name: string

    Returns IntersectionC<[A, B]>

  • partial<P>(props: P, name?: string): PartialC<P>
  • since

    1.0.0

    Type parameters

    Parameters

    • props: P
    • Optional name: string

    Returns PartialC<P>

  • record<D, C>(domain: D, codomain: C, name?: string): RecordC<D, C>
  • since

    1.7.1

    Type parameters

    Parameters

    • domain: D
    • codomain: C
    • Optional name: string

    Returns RecordC<D, C>

  • union<CS>(codecs: CS, name?: string): UnionC<CS>
  • since

    1.0.0

    Type parameters

    Parameters

    • codecs: CS
    • Optional name: string

    Returns UnionC<CS>

constructors Functions

  • literal<V>(value: V, name?: string): LiteralC<V>
  • since

    1.0.0

    Type parameters

    • V: LiteralValue

    Parameters

    • value: V
    • Optional name: string

    Returns LiteralC<V>

Generated using TypeDoc