DistributionOrderedCacheBehaviorForwardedValuesCookies.fromMap constructor

DistributionOrderedCacheBehaviorForwardedValuesCookies.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory DistributionOrderedCacheBehaviorForwardedValuesCookies.fromMap(Map<String, dynamic> map) {
  return DistributionOrderedCacheBehaviorForwardedValuesCookies(
    forward: pulumi.Input.fromValue(map['forward'] as String),
    whitelistedNames: (() { final guardedValue = map['whitelistedNames']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
  );
}