Options
All
  • Public
  • Public/Protected
  • All
Menu

Network Configuration. Used to define a network configuration for the accelerator.

Hierarchy

  • NetworkConfig

Implements

Index

Constructors

  • new NetworkConfig(values?: { centralNetworkServices: undefined | { delegatedAdminAccount: string; gatewayLoadBalancers: { name: string; endpoints: { name: string; account: string; subnet: string; vpc: string; }[]; subnets: string[]; vpc: string; crossZoneLoadBalancing: boolean | undefined; deletionProtection: boolean | undefined; targetGroup: string | undefined; tags: { ...; }[] ...; certificates: undefined | { name: string; type: "import" | "request"; privKey: string | undefined; cert: string | undefined; chain: string | undefined; validation: "EMAIL" | "DNS" | undefined; domain: string | undefined; san: string[] | undefined; deploymentTargets: { ...; }; }[]; customerGateways: undefined | { name: string; account: string; region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1"; ipAddress: string; asn: number; tags: { ...; }[] | undefined; vpnConnections: { ...; }[] | undefined; }[]; defaultVpc: { delete: boolean; excludeAccounts: string[] | undefined; }; dhcpOptions: undefined | { name: string; accounts: string[]; regions: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1")[]; ... 5 more ...; tags: { ...; }[] | undefined; }[]; directConnectGateways: undefined | { name: string; account: string; asn: number; gatewayName: string; virtualInterfaces: { name: string; connectionId: string; customerAsn: number; interfaceName: string; ownerAccount: string; region: "af-south-1" | ... 26 more ... | "us-isob-east-1"; ... 7 more ...; tags: { ...; }[] | undefined; }[] | undefined; trans...[]; elbAccountIds: undefined | { region: string; accountId: string; }[]; endpointPolicies: { name: string; document: string; }[]; firewallManagerService: undefined | { delegatedAdminAccount: string; notificationChannels: { snsTopic: string; region: string; }[] | undefined; }; prefixLists: undefined | { name: string; accounts: string[]; regions: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1")[]; addressFamily: "IPv4" | "IPv6"; maxEntries: number; entries: string[]; tags: { ...; }[] | und...[]; transitGatewayPeering: undefined | { name: string; requester: { transitGatewayName: string; account: string; region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | ... 21 more ... | "us-isob-east-1"; routeTableAssociations: string; tags: { ...; }[] | undefined; }; accepter: { ...; }; }[]; transitGateways: { name: string; account: string; region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1"; ... 8 more ...; tags: { ...; }[] | undefined; }[]; vpcFlowLogs: { trafficType: "ALL" | "ACCEPT" | "REJECT"; maxAggregationInterval: number; destinations: ("s3" | "cloud-watch-logs")[]; destinationsConfig: { s3: { lifecycleRules: { abortIncompleteMultipartUpload: number | undefined; ... 6 more ...; transitions: { ...; }[] | undefined; }[] | undefined; } | undefined; cloudWatchLog...; vpcPeering: undefined | { name: string; vpcs: string[]; tags: { key: string; value: string; }[] | undefined; }[]; vpcTemplates: undefined | { name: string; region: "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" | ... 18 more ... | "us-isob-east-1"; ... 25 more ...; targetGroups: { ...; }[] | undefined; }[]; vpcs: { name: string; account: string; region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1"; ... 25 more ...; targetGroups: { ...; }[] | undefined; }[] }): NetworkConfig
  • Parameters

    • Optional values: { centralNetworkServices: undefined | { delegatedAdminAccount: string; gatewayLoadBalancers: { name: string; endpoints: { name: string; account: string; subnet: string; vpc: string; }[]; subnets: string[]; vpc: string; crossZoneLoadBalancing: boolean | undefined; deletionProtection: boolean | undefined; targetGroup: string | undefined; tags: { ...; }[] ...; certificates: undefined | { name: string; type: "import" | "request"; privKey: string | undefined; cert: string | undefined; chain: string | undefined; validation: "EMAIL" | "DNS" | undefined; domain: string | undefined; san: string[] | undefined; deploymentTargets: { ...; }; }[]; customerGateways: undefined | { name: string; account: string; region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1"; ipAddress: string; asn: number; tags: { ...; }[] | undefined; vpnConnections: { ...; }[] | undefined; }[]; defaultVpc: { delete: boolean; excludeAccounts: string[] | undefined; }; dhcpOptions: undefined | { name: string; accounts: string[]; regions: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1")[]; ... 5 more ...; tags: { ...; }[] | undefined; }[]; directConnectGateways: undefined | { name: string; account: string; asn: number; gatewayName: string; virtualInterfaces: { name: string; connectionId: string; customerAsn: number; interfaceName: string; ownerAccount: string; region: "af-south-1" | ... 26 more ... | "us-isob-east-1"; ... 7 more ...; tags: { ...; }[] | undefined; }[] | undefined; trans...[]; elbAccountIds: undefined | { region: string; accountId: string; }[]; endpointPolicies: { name: string; document: string; }[]; firewallManagerService: undefined | { delegatedAdminAccount: string; notificationChannels: { snsTopic: string; region: string; }[] | undefined; }; prefixLists: undefined | { name: string; accounts: string[]; regions: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1")[]; addressFamily: "IPv4" | "IPv6"; maxEntries: number; entries: string[]; tags: { ...; }[] | und...[]; transitGatewayPeering: undefined | { name: string; requester: { transitGatewayName: string; account: string; region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | ... 21 more ... | "us-isob-east-1"; routeTableAssociations: string; tags: { ...; }[] | undefined; }; accepter: { ...; }; }[]; transitGateways: { name: string; account: string; region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1"; ... 8 more ...; tags: { ...; }[] | undefined; }[]; vpcFlowLogs: { trafficType: "ALL" | "ACCEPT" | "REJECT"; maxAggregationInterval: number; destinations: ("s3" | "cloud-watch-logs")[]; destinationsConfig: { s3: { lifecycleRules: { abortIncompleteMultipartUpload: number | undefined; ... 6 more ...; transitions: { ...; }[] | undefined; }[] | undefined; } | undefined; cloudWatchLog...; vpcPeering: undefined | { name: string; vpcs: string[]; tags: { key: string; value: string; }[] | undefined; }[]; vpcTemplates: undefined | { name: string; region: "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" | ... 18 more ... | "us-isob-east-1"; ... 25 more ...; targetGroups: { ...; }[] | undefined; }[]; vpcs: { name: string; account: string; region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1"; ... 25 more ...; targetGroups: { ...; }[] | undefined; }[] }
      • centralNetworkServices: undefined | { delegatedAdminAccount: string; gatewayLoadBalancers: { name: string; endpoints: { name: string; account: string; subnet: string; vpc: string; }[]; subnets: string[]; vpc: string; crossZoneLoadBalancing: boolean | undefined; deletionProtection: boolean | undefined; targetGroup: string | undefined; tags: { ...; }[] ...
      • certificates: undefined | { name: string; type: "import" | "request"; privKey: string | undefined; cert: string | undefined; chain: string | undefined; validation: "EMAIL" | "DNS" | undefined; domain: string | undefined; san: string[] | undefined; deploymentTargets: { ...; }; }[]
      • customerGateways: undefined | { name: string; account: string; region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1"; ipAddress: string; asn: number; tags: { ...; }[] | undefined; vpnConnections: { ...; }[] | undefined; }[]
      • defaultVpc: { delete: boolean; excludeAccounts: string[] | undefined; }
      • dhcpOptions: undefined | { name: string; accounts: string[]; regions: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1")[]; ... 5 more ...; tags: { ...; }[] | undefined; }[]
      • directConnectGateways: undefined | { name: string; account: string; asn: number; gatewayName: string; virtualInterfaces: { name: string; connectionId: string; customerAsn: number; interfaceName: string; ownerAccount: string; region: "af-south-1" | ... 26 more ... | "us-isob-east-1"; ... 7 more ...; tags: { ...; }[] | undefined; }[] | undefined; trans...[]
      • elbAccountIds: undefined | { region: string; accountId: string; }[]
      • endpointPolicies: { name: string; document: string; }[]
      • firewallManagerService: undefined | { delegatedAdminAccount: string; notificationChannels: { snsTopic: string; region: string; }[] | undefined; }
      • prefixLists: undefined | { name: string; accounts: string[]; regions: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1")[]; addressFamily: "IPv4" | "IPv6"; maxEntries: number; entries: string[]; tags: { ...; }[] | und...[]
      • transitGatewayPeering: undefined | { name: string; requester: { transitGatewayName: string; account: string; region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | ... 21 more ... | "us-isob-east-1"; routeTableAssociations: string; tags: { ...; }[] | undefined; }; accepter: { ...; }; }[]
      • transitGateways: { name: string; account: string; region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1"; ... 8 more ...; tags: { ...; }[] | undefined; }[]
      • vpcFlowLogs: { trafficType: "ALL" | "ACCEPT" | "REJECT"; maxAggregationInterval: number; destinations: ("s3" | "cloud-watch-logs")[]; destinationsConfig: { s3: { lifecycleRules: { abortIncompleteMultipartUpload: number | undefined; ... 6 more ...; transitions: { ...; }[] | undefined; }[] | undefined; } | undefined; cloudWatchLog...
      • vpcPeering: undefined | { name: string; vpcs: string[]; tags: { key: string; value: string; }[] | undefined; }[]
      • vpcTemplates: undefined | { name: string; region: "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" | ... 18 more ... | "us-isob-east-1"; ... 25 more ...; targetGroups: { ...; }[] | undefined; }[]
      • vpcs: { name: string; account: string; region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | ... 19 more ... | "us-isob-east-1"; ... 25 more ...; targetGroups: { ...; }[] | undefined; }[]

    Returns NetworkConfig

Properties

centralNetworkServices: undefined | CentralNetworkServicesConfig = undefined

An optional Central Network services configuration.

see

CentralNetworkServicesConfig

certificates: undefined | CertificateConfig[] = undefined

Certificate manager configuration

customerGateways: undefined | CustomerGatewayConfig[] = undefined

An array of Customer Gateway configurations.

see

CustomerGatewayConfig

defaultVpc: DefaultVpcsConfig = ...

A default VPC configuration.

see

DefaultVpcsConfig

dhcpOptions: undefined | DhcpOptsConfig[] = undefined

An optional list of DHCP options set configurations.

see

DhcpOptsConfig

directConnectGateways: undefined | DxGatewayConfig[] = undefined

An optional array of Direct Connect Gateway configurations.

example
directConnectGateways:
- name: Accelerator-DXGW
account: Network
asn: 64512
virtualInterfaces: []
transitGatewayAssociations: []
see

DxGatewayConfig

elbAccountIds: undefined | ElbAccountIdsConfig[] = undefined

An optional ELB root account ID

endpointPolicies: EndpointPolicyConfig[] = []

A list of VPC configurations. An array of VPC endpoint policies.

see

EndpointPolicyConfig

firewallManagerService: undefined | FirewallManagerConfig = undefined

Firewall manager service configuration

prefixLists: undefined | PrefixListConfig[] = undefined

An optional list of prefix list set configurations.

transitGatewayPeering: TransitGatewayPeeringConfig[] = []

Transit Gateway peering configuration.

see

TransitGatewayPeeringConfig

transitGateways: TransitGatewayConfig[] = []

An array of Transit Gateway configurations.

see

TransitGatewayConfig

vpcFlowLogs: VpcFlowLogsConfig = ...

A VPC flow logs configuration.

see

{@link t.VpcFlowLogsConfig}

vpcPeering: undefined | VpcPeeringConfig[] = undefined

An optional list of VPC peering configurations

see

VpcPeeringConfig

vpcTemplates: undefined | VpcTemplatesConfig[] = undefined

An optional list of VPC template configurations

see

VpcTemplatesConfig

vpcs: VpcConfig[] = []

An array of VPC configurations.

see

VpcConfig

FILENAME: "network-config.yaml" = 'network-config.yaml'

The name of the network configuration file.

Methods

  • getTgwRequestorAccountNames(accepterAccountName: string): string[]
  • Function to get list of account names which will be used as account principal for TGE peering role

    Parameters

    • accepterAccountName: string

    Returns string[]

  • Load from string content

    Parameters

    • content: string

    Returns undefined | NetworkConfig

Generated using TypeDoc