/* 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 AWS account ID. */ export type AccountId = string; /** * An Organizational Unit ID. */ export type OrganizationalUnitId = string; /** * An AWS resource type */ export type ResourceType = string; /** * A Base62 ID */ export type Base62Id = string; /** * Firewall managed service data. */ export type ManagedServiceData = string; /** * Firewall policy type. */ export type PolicyType = | "WAF" | "WAFV2" | "SHIELD_ADVANCED" | "SECURITY_GROUPS_COMMON" | "SECURITY_GROUPS_CONTENT_AUDIT" | "SECURITY_GROUPS_USAGE_AUDIT" | "NETWORK_FIREWALL" | "THIRD_PARTY_FIREWALL" | "DNS_FIREWALL" | "IMPORT_NETWORK_FIREWALL"; /** * Firewall policy option. */ export type PolicyOption = { NetworkFirewallPolicy?: NetworkFirewallPolicy; ThirdPartyFirewallPolicy?: ThirdPartyFirewallPolicy; } & PolicyOption1; /** * Firewall deployment mode. */ export type FirewallDeploymentModel = "DISTRIBUTED" | "CENTRALIZED"; export type PolicyOption1 = { [k: string]: unknown; }; /** * A resource ARN. */ export type ResourceArn = string; /** * Creates an AWS Firewall Manager policy. */ export interface AwsFmsPolicy { ExcludeMap?: IEMap; ExcludeResourceTags: boolean; IncludeMap?: IEMap; Id?: string; PolicyName: string; PolicyDescription?: string; RemediationEnabled: boolean; /** * @maxItems 8 */ ResourceTags?: | [] | [ResourceTag] | [ResourceTag, ResourceTag] | [ResourceTag, ResourceTag, ResourceTag] | [ResourceTag, ResourceTag, ResourceTag, ResourceTag] | [ResourceTag, ResourceTag, ResourceTag, ResourceTag, ResourceTag] | [ResourceTag, ResourceTag, ResourceTag, ResourceTag, ResourceTag, ResourceTag] | [ResourceTag, ResourceTag, ResourceTag, ResourceTag, ResourceTag, ResourceTag, ResourceTag] | [ResourceTag, ResourceTag, ResourceTag, ResourceTag, ResourceTag, ResourceTag, ResourceTag, ResourceTag]; ResourceType?: ResourceType; ResourceTypeList?: ResourceType[]; ResourceSetIds?: Base62Id[]; SecurityServicePolicyData: SecurityServicePolicyData; Arn?: ResourceArn; DeleteAllPolicyResources?: boolean; ResourcesCleanUp?: boolean; Tags?: PolicyTag[]; } /** * An FMS includeMap or excludeMap. */ export interface IEMap { ACCOUNT?: AccountId[]; ORGUNIT?: OrganizationalUnitId[]; } /** * A resource tag. */ export interface ResourceTag { Key: string; Value?: string; } /** * Firewall security service policy data. */ export interface SecurityServicePolicyData { ManagedServiceData?: ManagedServiceData; Type: PolicyType; PolicyOption?: PolicyOption; } /** * Network firewall policy. */ export interface NetworkFirewallPolicy { FirewallDeploymentModel: FirewallDeploymentModel; } /** * Third party firewall policy. */ export interface ThirdPartyFirewallPolicy { FirewallDeploymentModel: FirewallDeploymentModel; } /** * A policy tag. */ export interface PolicyTag { Key: string; Value: string; }