AgentcoreGatewayRuleAction.fromMap constructor
AgentcoreGatewayRuleAction.fromMap(
- Map<String, dynamic> map
)
Implementation
factory AgentcoreGatewayRuleAction.fromMap(Map<String, dynamic> map) {
return AgentcoreGatewayRuleAction(
configurationBundle: (() { final guardedValue = map['configurationBundle']; if (guardedValue == null) return null; return pulumi.Input.fromValue(AgentcoreGatewayRuleActionConfigurationBundle.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
routeToTarget: (() { final guardedValue = map['routeToTarget']; if (guardedValue == null) return null; return pulumi.Input.fromValue(AgentcoreGatewayRuleActionRouteToTarget.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
);
}