/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * An example resource schema demonstrating some basic constructs and validation rules. */ export interface AwsOpensearchserviceDomain { ClusterConfig?: ClusterConfig; DomainName?: string; AccessPolicies?: { [k: string]: unknown; }; EngineVersion?: string; AdvancedOptions?: { /** * This interface was referenced by `undefined`'s JSON-Schema definition * via the `patternProperty` "[a-zA-Z0-9]+". */ [k: string]: string; }; LogPublishingOptions?: { [k: string]: LogPublishingOption; }; SnapshotOptions?: SnapshotOptions; VPCOptions?: VPCOptions; NodeToNodeEncryptionOptions?: NodeToNodeEncryptionOptions; DomainEndpointOptions?: DomainEndpointOptions; CognitoOptions?: CognitoOptions; AdvancedSecurityOptions?: AdvancedSecurityOptionsInput; DomainEndpoint?: string; DomainEndpoints?: { /** * This interface was referenced by `undefined`'s JSON-Schema definition * via the `patternProperty` "^.*$". */ [k: string]: string; }; EBSOptions?: EBSOptions; Id?: string; Arn?: string; DomainArn?: string; EncryptionAtRestOptions?: EncryptionAtRestOptions; /** * An arbitrary set of tags (key-value pairs) for this Domain. */ Tags?: Tag[]; ServiceSoftwareOptions?: ServiceSoftwareOptions; } export interface ClusterConfig { InstanceCount?: number; WarmEnabled?: boolean; WarmCount?: number; DedicatedMasterEnabled?: boolean; ZoneAwarenessConfig?: ZoneAwarenessConfig; DedicatedMasterCount?: number; InstanceType?: string; WarmType?: string; ZoneAwarenessEnabled?: boolean; DedicatedMasterType?: string; } export interface ZoneAwarenessConfig { AvailabilityZoneCount?: number; } /** * This interface was referenced by `undefined`'s JSON-Schema definition * via the `patternProperty` "[a-zA-Z0-9]+". */ export interface LogPublishingOption { CloudWatchLogsLogGroupArn?: string; Enabled?: boolean; } export interface SnapshotOptions { AutomatedSnapshotStartHour?: number; } export interface VPCOptions { SecurityGroupIds?: string[]; SubnetIds?: string[]; } export interface NodeToNodeEncryptionOptions { Enabled?: boolean; } export interface DomainEndpointOptions { CustomEndpointCertificateArn?: string; CustomEndpointEnabled?: boolean; EnforceHTTPS?: boolean; CustomEndpoint?: string; TLSSecurityPolicy?: string; } export interface CognitoOptions { Enabled?: boolean; IdentityPoolId?: string; UserPoolId?: string; RoleArn?: string; } export interface AdvancedSecurityOptionsInput { Enabled?: boolean; MasterUserOptions?: MasterUserOptions; InternalUserDatabaseEnabled?: boolean; AnonymousAuthEnabled?: boolean; SAMLOptions?: SAMLOptions; AnonymousAuthDisableDate?: string; } export interface MasterUserOptions { MasterUserPassword?: string; MasterUserName?: string; MasterUserARN?: string; } export interface SAMLOptions { Enabled?: boolean; Idp?: Idp; MasterUserName?: string; MasterBackendRole?: string; SubjectKey?: string; RolesKey?: string; SessionTimeoutMinutes?: number; } export interface Idp { MetadataContent: string; EntityId: string; } export interface EBSOptions { EBSEnabled?: boolean; VolumeType?: string; Iops?: number; VolumeSize?: number; Throughput?: number; } export interface EncryptionAtRestOptions { KmsKeyId?: string; Enabled?: boolean; } export interface Tag { /** * The key of the tag. */ Value: string; /** * The value of the tag. */ Key: string; } export interface ServiceSoftwareOptions { CurrentVersion?: string; NewVersion?: string; UpdateAvailable?: boolean; Cancellable?: boolean; UpdateStatus?: string; Description?: string; AutomatedUpdateDate?: string; OptionalDeployment?: boolean; }