toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'arn': ?arn,
    'endpointConfigurations': ?pulumi.Input.mapOptionalInputValue<List<EndpointGroupEndpointConfiguration>, List<Map<String, dynamic>>>(endpointConfigurations, (value) => pulumi.Input.encodeList<EndpointGroupEndpointConfiguration, Map<String, dynamic>>(value, (value) => value.toMap())),
    'endpointGroupRegion': ?endpointGroupRegion,
    'healthCheckIntervalSeconds': ?healthCheckIntervalSeconds,
    'healthCheckPath': ?healthCheckPath,
    'healthCheckPort': ?healthCheckPort,
    'healthCheckProtocol': ?healthCheckProtocol,
    'listenerArn': ?listenerArn,
    'portOverrides': ?pulumi.Input.mapOptionalInputValue<List<EndpointGroupPortOverride>, List<Map<String, dynamic>>>(portOverrides, (value) => pulumi.Input.encodeList<EndpointGroupPortOverride, Map<String, dynamic>>(value, (value) => value.toMap())),
    'thresholdCount': ?thresholdCount,
    'trafficDialPercentage': ?trafficDialPercentage,
  };
}