toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'arn': ?arn,
    'coreNetworkArn': ?coreNetworkArn,
    'coreNetworkAttachmentArn': ?coreNetworkAttachmentArn,
    'customerGatewayConfiguration': ?customerGatewayConfiguration,
    'customerGatewayId': ?customerGatewayId,
    'enableAcceleration': ?enableAcceleration,
    'localIpv4NetworkCidr': ?localIpv4NetworkCidr,
    'localIpv6NetworkCidr': ?localIpv6NetworkCidr,
    'outsideIpAddressType': ?outsideIpAddressType,
    'presharedKeyArn': ?presharedKeyArn,
    'presharedKeyStorage': ?presharedKeyStorage,
    'region': ?region,
    'remoteIpv4NetworkCidr': ?remoteIpv4NetworkCidr,
    'remoteIpv6NetworkCidr': ?remoteIpv6NetworkCidr,
    'routes': ?pulumi.Input.mapOptionalInputValue<List<VpnConnectionRoute>, List<Map<String, dynamic>>>(routes, (value) => pulumi.Input.encodeList<VpnConnectionRoute, Map<String, dynamic>>(value, (value) => value.toMap())),
    'staticRoutesOnly': ?staticRoutesOnly,
    'tags': ?tags,
    'tagsAll': ?tagsAll,
    'transitGatewayAttachmentId': ?transitGatewayAttachmentId,
    'transitGatewayId': ?transitGatewayId,
    'transportTransitGatewayAttachmentId': ?transportTransitGatewayAttachmentId,
    'tunnel1Address': ?tunnel1Address,
    'tunnel1BgpAsn': ?tunnel1BgpAsn,
    'tunnel1BgpHoldtime': ?tunnel1BgpHoldtime,
    'tunnel1CgwInsideAddress': ?tunnel1CgwInsideAddress,
    'tunnel1DpdTimeoutAction': ?tunnel1DpdTimeoutAction,
    'tunnel1DpdTimeoutSeconds': ?tunnel1DpdTimeoutSeconds,
    'tunnel1EnableTunnelLifecycleControl': ?tunnel1EnableTunnelLifecycleControl,
    'tunnel1IkeVersions': ?tunnel1IkeVersions,
    'tunnel1InsideCidr': ?tunnel1InsideCidr,
    'tunnel1InsideIpv6Cidr': ?tunnel1InsideIpv6Cidr,
    'tunnel1LogOptions': ?pulumi.Input.mapOptionalInputValue<VpnConnectionTunnel1LogOptions, Map<String, dynamic>>(tunnel1LogOptions, (value) => value.toMap()),
    'tunnel1Phase1DhGroupNumbers': ?tunnel1Phase1DhGroupNumbers,
    'tunnel1Phase1EncryptionAlgorithms': ?tunnel1Phase1EncryptionAlgorithms,
    'tunnel1Phase1IntegrityAlgorithms': ?tunnel1Phase1IntegrityAlgorithms,
    'tunnel1Phase1LifetimeSeconds': ?tunnel1Phase1LifetimeSeconds,
    'tunnel1Phase2DhGroupNumbers': ?tunnel1Phase2DhGroupNumbers,
    'tunnel1Phase2EncryptionAlgorithms': ?tunnel1Phase2EncryptionAlgorithms,
    'tunnel1Phase2IntegrityAlgorithms': ?tunnel1Phase2IntegrityAlgorithms,
    'tunnel1Phase2LifetimeSeconds': ?tunnel1Phase2LifetimeSeconds,
    'tunnel1PresharedKey': ?tunnel1PresharedKey,
    'tunnel1RekeyFuzzPercentage': ?tunnel1RekeyFuzzPercentage,
    'tunnel1RekeyMarginTimeSeconds': ?tunnel1RekeyMarginTimeSeconds,
    'tunnel1ReplayWindowSize': ?tunnel1ReplayWindowSize,
    'tunnel1StartupAction': ?tunnel1StartupAction,
    'tunnel1VgwInsideAddress': ?tunnel1VgwInsideAddress,
    'tunnel2Address': ?tunnel2Address,
    'tunnel2BgpAsn': ?tunnel2BgpAsn,
    'tunnel2BgpHoldtime': ?tunnel2BgpHoldtime,
    'tunnel2CgwInsideAddress': ?tunnel2CgwInsideAddress,
    'tunnel2DpdTimeoutAction': ?tunnel2DpdTimeoutAction,
    'tunnel2DpdTimeoutSeconds': ?tunnel2DpdTimeoutSeconds,
    'tunnel2EnableTunnelLifecycleControl': ?tunnel2EnableTunnelLifecycleControl,
    'tunnel2IkeVersions': ?tunnel2IkeVersions,
    'tunnel2InsideCidr': ?tunnel2InsideCidr,
    'tunnel2InsideIpv6Cidr': ?tunnel2InsideIpv6Cidr,
    'tunnel2LogOptions': ?pulumi.Input.mapOptionalInputValue<VpnConnectionTunnel2LogOptions, Map<String, dynamic>>(tunnel2LogOptions, (value) => value.toMap()),
    'tunnel2Phase1DhGroupNumbers': ?tunnel2Phase1DhGroupNumbers,
    'tunnel2Phase1EncryptionAlgorithms': ?tunnel2Phase1EncryptionAlgorithms,
    'tunnel2Phase1IntegrityAlgorithms': ?tunnel2Phase1IntegrityAlgorithms,
    'tunnel2Phase1LifetimeSeconds': ?tunnel2Phase1LifetimeSeconds,
    'tunnel2Phase2DhGroupNumbers': ?tunnel2Phase2DhGroupNumbers,
    'tunnel2Phase2EncryptionAlgorithms': ?tunnel2Phase2EncryptionAlgorithms,
    'tunnel2Phase2IntegrityAlgorithms': ?tunnel2Phase2IntegrityAlgorithms,
    'tunnel2Phase2LifetimeSeconds': ?tunnel2Phase2LifetimeSeconds,
    'tunnel2PresharedKey': ?tunnel2PresharedKey,
    'tunnel2RekeyFuzzPercentage': ?tunnel2RekeyFuzzPercentage,
    'tunnel2RekeyMarginTimeSeconds': ?tunnel2RekeyMarginTimeSeconds,
    'tunnel2ReplayWindowSize': ?tunnel2ReplayWindowSize,
    'tunnel2StartupAction': ?tunnel2StartupAction,
    'tunnel2VgwInsideAddress': ?tunnel2VgwInsideAddress,
    'tunnelBandwidth': ?tunnelBandwidth,
    'tunnelInsideIpVersion': ?tunnelInsideIpVersion,
    'type': ?type,
    'vgwTelemetries': ?pulumi.Input.mapOptionalInputValue<List<VpnConnectionVgwTelemetry>, List<Map<String, dynamic>>>(vgwTelemetries, (value) => pulumi.Input.encodeList<VpnConnectionVgwTelemetry, Map<String, dynamic>>(value, (value) => value.toMap())),
    'vpnConcentratorId': ?vpnConcentratorId,
    'vpnGatewayId': ?vpnGatewayId,
  };
}