TelemetryRuleForOrganizationRuleDestinationConfigurationVpcFlowLogParameters.fromMap constructor
TelemetryRuleForOrganizationRuleDestinationConfigurationVpcFlowLogParameters.fromMap()
Implementation
factory TelemetryRuleForOrganizationRuleDestinationConfigurationVpcFlowLogParameters.fromMap(Map<String, dynamic> map) {
return TelemetryRuleForOrganizationRuleDestinationConfigurationVpcFlowLogParameters(
logFormat: (() { final guardedValue = map['logFormat']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
maxAggregationInterval: (() { final guardedValue = map['maxAggregationInterval']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
trafficType: (() { final guardedValue = map['trafficType']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}