toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'actions': ?pulumi.Input.mapOptionalInputValue<List<AgentcoreGatewayRuleAction>, List<Map<String, dynamic>>>(actions, (value) => pulumi.Input.encodeList<AgentcoreGatewayRuleAction, Map<String, dynamic>>(value, (value) => value.toMap())),
    'conditions': ?pulumi.Input.mapOptionalInputValue<List<AgentcoreGatewayRuleCondition>, List<Map<String, dynamic>>>(conditions, (value) => pulumi.Input.encodeList<AgentcoreGatewayRuleCondition, Map<String, dynamic>>(value, (value) => value.toMap())),
    'description': ?description,
    'gatewayArn': ?gatewayArn,
    'gatewayIdentifier': ?gatewayIdentifier,
    'priority': ?priority,
    'region': ?region,
    'ruleId': ?ruleId,
    'systems': ?pulumi.Input.mapOptionalInputValue<List<AgentcoreGatewayRuleSystem>, List<Map<String, dynamic>>>(systems, (value) => pulumi.Input.encodeList<AgentcoreGatewayRuleSystem, Map<String, dynamic>>(value, (value) => value.toMap())),
    'timeouts': ?pulumi.Input.mapOptionalInputValue<AgentcoreGatewayRuleTimeouts, Map<String, dynamic>>(timeouts, (value) => value.toMap()),
  };
}