AliasConfiguration.fromJson constructor

AliasConfiguration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AliasConfiguration.fromJson(Map<String, dynamic> json) {
  return AliasConfiguration(
    aliasArn: json['AliasArn'] as String?,
    description: json['Description'] as String?,
    functionVersion: json['FunctionVersion'] as String?,
    name: json['Name'] as String?,
    revisionId: json['RevisionId'] as String?,
    routingConfig: json['RoutingConfig'] != null
        ? AliasRoutingConfiguration.fromJson(
            json['RoutingConfig'] as Map<String, dynamic>)
        : null,
  );
}