AgentcoreGatewayInterceptorConfiguration.fromMap constructor

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

Implementation

factory AgentcoreGatewayInterceptorConfiguration.fromMap(Map<String, dynamic> map) {
  return AgentcoreGatewayInterceptorConfiguration(
    inputConfiguration: (() { final guardedValue = map['inputConfiguration']; if (guardedValue == null) return null; return pulumi.Input.fromValue(AgentcoreGatewayInterceptorConfigurationInputConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    interceptionPoints: pulumi.Input.fromValue((map['interceptionPoints'] as List).cast<String>()),
    interceptor: (() { final guardedValue = map['interceptor']; if (guardedValue == null) return null; return pulumi.Input.fromValue(AgentcoreGatewayInterceptorConfigurationInterceptor.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
  );
}