DistributionViewerMtlsConfigTrustStoreConfig.fromMap constructor
DistributionViewerMtlsConfigTrustStoreConfig.fromMap(
- Map<String, dynamic> map
)
Implementation
factory DistributionViewerMtlsConfigTrustStoreConfig.fromMap(Map<String, dynamic> map) {
return DistributionViewerMtlsConfigTrustStoreConfig(
advertiseTrustStoreCaNames: (() { final guardedValue = map['advertiseTrustStoreCaNames']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
ignoreCertificateExpiry: (() { final guardedValue = map['ignoreCertificateExpiry']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
trustStoreId: pulumi.Input.fromValue(map['trustStoreId'] as String),
);
}